Data Pipeline is not working with more lines

with jsonlines.open(path) as reader:
    # Here we only read the 1st line from the .jsonl file.
    for line in itertools.islice(reader, 1): # I will change this to 3
        logger.info(f"Loaded earnings call for {line['ticker']}")
        yield PromptObject(prompt="", data=line)

When change first 1 line to first 2 lines. It 's oke. But change first 1 line to first 3 lines or more than.
It stops program and returns:
Saving answers: 0 answers [00:00, ? answers/s]2024-09-13 19:10:57,576 - lamini.generation.generation_pipeline - INFO - Using 3.10 InferenceQueue Interface
2024-09-13 19:10:57,579 - lamini.api.utils.reservations - INFO - Attempt reservation 20 mistralai/Mistral-7B-Instruct-v0.3 5 None
2024-09-13 19:10:58,766 - lamini.api.utils.reservations - INFO - Made initial reservation {'reservation_id': 1743888, 'capacity': 5, 'start_time': '2024-09-13T19:11:08.942213', 'end_time': '2024-09-13T19:11:58.942213', 'capacity_remaining': 5, 'dynamic_max_batch_size': 5}
2024-09-13 19:11:08,947 - main - INFO - Loaded earnings call for CSTE
2024-09-13 19:11:08,947 - main - INFO - Generating question for CSTE, 2019-Q2
2024-09-13 19:11:08,948 - main - INFO - Loaded earnings call for GDOT
2024-09-13 19:11:08,948 - main - INFO - Generating question for GDOT, 2020-Q3
2024-09-13 19:11:08,949 - main - INFO - Loaded earnings call for ABM
2024-09-13 19:11:08,949 - main - INFO - Generating question for ABM, 2021-Q2
2024-09-13 19:11:08,950 - lamini.generation.process_generation_batch - INFO - Sending batch with 3
Saving answers: 0 answers [01:52, ? answers/s]

I find that because the transcript of test_set_transcripts.jsonl very long so that it breaks the code


[Feature] Search hacks

Add ability to search for hacks.

Implemented in https://github.com/Prevter/GDOpenHack/commit/936dc86b0c32b5be36d5e95badf6761b08a25275
Will clean up it later.


add error function for error_log

do somethings for error log to debug

Hi @clh021, thank you for your contribution!
I left a comment about the change to where the error messages get written. In general I like your change, but I would like it to be configurable, and keep the same default behavior for now.
Let me know if you have any questions. Thanks again!


No assembly references for package? .NET 4.5

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[] iOS
[] .NET Standard

Version of OS(s) listed above with issue
xamarin ios10
Version of Library
.NET 4.5
Expected Behaviour
Actual Behavior
I am getting the current error while trying to install the Package to my application build:
Error		Could not install package 'Plugin.BluetoothLE 5.3.2'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile49', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Pcl is not supported.


[AWIBOF-7143] Change mio and mpio pool capacity

reduced the sizes to smaller

Signed-off-by: munseop.lim<EMAIL_ADDRESS>

pool size를 줄였습니다


install-falco linux script contains MiTM opportunity via curl HTTP

I don't see a copy of the install script here, but figure it's an ok place to report this.  Please let me know if there is a better place to send this.
Within install-script which I have just retrieved from https://s3.amazonaws.com/download.draios.com/stable/install-falco I have noticed the following concerning lines:
curl -s -o /etc/yum.repos.d/draios.repo http://download.draios.com/stable/rpm/draios.repo
curl -s -o /etc/apt/sources.list.d/draios.list http://download.draios.com/stable/deb/draios.list
These are both plaintext requests, which I believe are a poor practice and best avoided when you're installing an application intending to increase your security posture.
I can verify that the repo files can be retrieved fine via HTTPS from the s3 bucket at for example https://s3.amazonaws.com/download.draios.com/stable/rpm/draios.repo and given that the bucket is referenced directly elsewhere in the install script it should be fine to change this line also.
Cheers.

I have also observed the same line being recommended within the wiki

You're right--the install script should only use https requests. We'll make these changes.

And I've updated the sysdig and falco wikis to use https urls.

The fix is in place, but I'll keep the issue open until the next falco release just so I can double-check that the updated install script was copied to download.draios.com.

We've done the falco release and the installer script does indeed only have https:// links now, so closing.


Use changedTouches instead of touches.

This is because the "touchend" event removes the touch from event.touches on iOS, but it can still be accessed via event.changedTouches.

I'm not sure this is necessarily what we want e.g. if you put one finger down at a time, event.changedTouches will contain one touch for each event, so it could mess up d3.behavior.zoom.  We probably want to patch d3.behavior.drag instead.  I'll need to think about it.

Okay, I've added another commit that adds an optional "touches" argument to d3.svg.touches.  So d3.behavior.drag can use changedTouches instead as this is all it cares about.


How would you simulate a stepper motor, or at least get a hinge joint to move a specific length, from one angle to another?

I would like to simulate a stepper motor.
Stepper motors precisely move from position to another angle. Stepper motors also tend to hold the positions they are in.
If simulating a stepper motor is too much to ask I would like to know how to move a hinge joint only by a certain angle using the mjcb callbacks. For example, if I could get an actuator to move a joint to only move 20 degrees, or if I could only get an actuator to apply force for 2 seconds and then stop.
My Attempt
I modified the simulate.cc file to move only for a small duration using mjcb_act_dyn and mjcb_act_gain callbacks.
I also set the stiffness of the joint to 2 in the XML model file.
I expected the joint to just move a little bit. 100 steps, if you will.
Instead it opened the joint all the way.
Here is the link to the XML and the meshes
Here is the modified simulate.cc C++ file
Below I have included the changes I made to the simulate.cc file
int dyn;
int bias;
int gain;

mjtNum gain_callback(const mjModel *m, const mjData *d, int id_01)
{
    return gain;
}
mjtNum dyn_callback(const mjModel *m, const mjData *d, int id_01)
{
    return dyn;
}
mjtNum bias_callback(const mjModel *m, const mjData *d, int id_01)
{
    return bias;
}

int flip;

int first_count;
int second_count;

// run event loop
int main(int argc, const char** argv)
{
    mjcb_act_gain = gain_callback;

    first_count = 100;

    // initialize everything
    init();

    // request loadmodel if file given (otherwise drag-and-drop)
    if( argc>1 )
    {
        mju_strncpy(filename, argv[1], 1000);
        settings.loadrequest = 2;
    }

    // start simulation thread
    std::thread simthread(simulate);

    // event loop
    while( !glfwWindowShouldClose(window) && !settings.exitrequest )
    {
        // start exclusive access (block simulation thread)
        mtx.lock();

        // load model (not on first pass, to show "loading" label)
        if( settings.loadrequest==1 )
            loadmodel();
        else if( settings.loadrequest>1 )
            settings.loadrequest = 1;

        // handle events (calls all callbacks)
        glfwPollEvents();

        // prepare to render
        prepare();

        // end exclusive access (allow simulation thread to run)
        mtx.unlock();

        // render while simulation is running
        render(window);
        if (m)
        {
            mjcb_act_dyn = dyn_callback;
            mjcb_act_bias = bias_callback;

            if ((int)((int)(d->time*10) % (int)1) == (int)0 && ((int)d->time > (int)2))
            {
                if (first_count > 0)
                {
                    first_count--;
                    std::cout << first_count << "\n";
                    // bias = -1;
                    gain = -1;
                    dyn = 2.9;

                }
            }
        }
    }

You don't need the callbacks. Just use a high gain position actuator on a joint with enough damping.

You don't need the callbacks.

@yuvaltassa
If I don't use callbacks then how would I control the actuator from the C++ file?

data->ctrl[i] = something;

@yuvaltassa
Thanks.
Though I commented out the callbacks, used d->ctrl, used a motor joint, added damping, but the joint still opens all the way. It'll open slower or faster depending on how much damping I set for the joint. It opens all the way though I have a loop apply the `d->ctrl[0] to the joint for a short amount of time.

Is there a way to send a conflicting commands to the joint to get it to stay in place instead of damping? I know this doesn't work because I tried it, but something like d->ctrl[0] = -1 and d->ctrl[0] = 1?


Instructions on how to run demo?

I am getting errors when trying to run the demo using npm commands that I reverse-engineered:
$ npm run build:demo                                                                                11:11:08

><EMAIL_ADDRESS>build:demo /Users/Rahul/Desktop/Axcio/react-layout-components
> npm run build && browserify -t babelify demo/app.jsx --outfile demo/bundle.js

><EMAIL_ADDRESS>build /Users/Rahul/Desktop/Axcio/react-layout-components
> babel modules/ --out-dir lib/

modules/components/Box.jsx -> lib/components/Box.js
modules/components/Container.jsx -> lib/components/Container.js
SyntaxError: modules/components/Page.jsx: Unexpected token (3:15)
  1 | import React from 'react'
  2 |
> 3 | export default const Page = ({ style, children }) => (
    |                ^
  4 |   <div style={{ ...styles, ...style }}>
  5 |     {children}
  6 |   </div>
npm ERR! code ELIFECYCLE
npm ERR! errno 1
....

I'm not even sure I am running the correct commands.

Not familiar with this project (I just stumbled here via Twitter) but from what I can tell this might be on your end. Is modules/components/Page.jsx your file? If so what happens if you make line 3 be just const Page = and then do export default Page later. You cannot use const on the same line as your export default

@willmanduffy actually modules/components/Page.jsx is not my file, it is part of the library. However, I made the change you suggested and that fixed the issue. Thanks for the help, I'll submit a PR for it.


增加代码copyright

你好，我也做了个类似的插件，https://github.com/sunbooshi/note-to-mp
暂时只支持微信公众号。
但我发现markdown文件下的部分代码貌似是我仓库里的代码。
我刚刚给我的代码都增加了copyright，能否把你引用的我的代码也加上下面的copyright。
感谢！
/*
 * Copyright (c) 2024 Sun Booshi
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

Your plugin supports copy/paste to MP from the beginning, but this repo supports uploading articles from OB to the WeChat Platform by the network's API.  This is my first idea, then you copy it. So do I.
Second, all CSS files are totally from other authors in the open-source world, why are you not doing it. Maybe you should be thinking about what is meaning of the open-source world.
If you admit to referencing my initiation ideas, that's great for going into the open-source world for you.
Thx, I hope you can understand what I am saying. If you are supposed to add some copyright text in this repo, you could pull a request for that, I will review it.


[Bug]: after updating puppeteer from 22.6.0 to version 22.13.1, render method is getting failed with Error: Report timeout. Last profiler operation: (recipe) chrome-pdf.

Minimal, reproducible example
async generateReport() {
        try {
            await this.jsreport.init();

            const response = await this.jsreport.render({
                template: {
                    content: '
Hello, {{name}}!
',
                    engine: 'handlebars',
                    recipe: 'chrome-pdf'
                },
                data: {
                    name: 'John Doe'
                }
            });

            const buffer = Buffer.from(response.content, 'base64');
            // Save or send the buffer as needed
            console.log('Report generated successfully.');
        } catch (error) {
            console.error('Failed to generate report:', error);
        } finally {
            await this.jsreport.close();
        }
    }

Background
after updating puppeteer to version 22.13.1 , render method is getting failed with error "Report render failed
(because) report timeout. Last profiler operation: (recipe) chrome-pdf
Error: Report timeout. Last profiler operation: (recipe) chrome-pdf"
and I am not seeing this issue for puppeteer versions up to 22.8.2, if I update puppeteer above 22.8.2 getting above error
Packages used :
"@jsreport/jsreport-chrome-pdf": "4.1.0",
"@jsreport/jsreport-core": "4.4.0",
"@jsreport/jsreport-handlebars": "4.0.1",
Expectation
report creation should works fine using @jsreport-core using puppeteer version 22.13.1
Reality

report creation is failing at render()
Puppeteer configuration file (if used)
const {join} = require('path');

/**
 * @type {import("puppeteer-core").Configuration}
 */
module.exports = {
  // Changes the cache location for Puppeteer.
  cacheDirectory: join(__dirname,'node_modules', '.cache', 'puppeteer'),
};

Puppeteer version
22.13.1
Node version
18.17.1
Package manager
npm
Package manager version
9.6.7
Operating system
Windows

It might be this issue https://github.com/puppeteer/puppeteer/issues/12471 but better report it to the jsreport project.

Hi @OrKoN ,
I’m encountering a problem with report creation in Puppeteer versions 22.9.0 and later. Everything works fine with Puppeteer version 22.8.2. I’ve tried both keeping @jsreport/jsreport-core at older versions and upgrading it to the latest, but the issue persists.
Has anyone else faced similar issues or found a solution? Any guidance on this issue.
Thanks in advance!


Can not view gddo page for a large package

When viewing the gddo page for github.com/softlayer/softlayer-go, I see a message saying "The documentation displayed here is incomplete. Use the godoc command to read the complete documentation." instead of the expected gddo representation of the package's GoDoc comments.
Screenshot
Chrome Version 55.0.2883.95 (64-bit)
MacOS 10.12.2
This appears to be a recurrence of the package size issue in #175.

The limit size now is 400000, I can try re-examine all the truncated packages and see by how much we want to bump up it.

Resolved by 95a6c63, closing.


page.evaluate not waiting

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.13.0
Platform / OS version: Mac oS 10.13.6
URLs (if applicable):
Node.js version: 11.2.0

What steps will reproduce the problem?
Please include code that reproduces the issue.
const crawler = async () => {
  try {
    const browser = await puppeteer.launch({
      headless: process.env.NODE_ENV === 'production'
    });
    const page = await browser.newPage();
    const url = 'http://www.example.com';

    await page.goto(url);
    const text = await page.evaluate(async () => {
      console.log('11')
      const result = document.querySelector('.something');
      if (result) {
        return result;
      }
    });

    if (text) {
      console.log(text);
    } else {
      console.log('no result');
    }
    await page.close();
    await browser.close();
   } catch (e) {
     console.error(e);
     await page.close();
     await browser.close();
   }
}

What is the expected result?
1 should be printed in console first.
What happens instead?
no result is printed in console

You use console.log() inside page.evaluate() function, so it outputs in the browser console. You can see the output if you delete await page.close(); await browser.close(); lines and open DevTools console in the browser.

@vsemozhetbyt Thank you! It works like a charm


Add TagHelperContext.Items bag to enable passing values between tag helpers and content

Add a new property public IDictionary<string, object> Items { get; } to the TagHelperContext class to facilitate the passing of arbitrary items between Tag Helpers running on the same element.
e.g.
[HtmlElementName("my-tag")]
public class MyTagHelper : TagHelper {
    public override void Process(TagHelperContext context, TagHelperOutput output) {
        context.Items["message"] = "This came from the MyTagHelper class!";
    }
}

[HtmlElementName("my-tag")]
public class MyOtherTagHelper : TagHelper {
    public override void Process(TagHelperContext context, TagHelperOutput output) {
        var message = context.Items["message"];
    }
}

I don't feel like a single bag to communicate between multiple TagHelpers on the same elment has a whole lot of value and doesn't help solve the major problem of communicating between child => parent and vice versa.
Ultimately it will be less common for TagHelper authors to write multiple TagHelpers that communicate among each other on the same element which is why this item should probably be re-thought to provide greater value.

in an offline discussion, thought we ended with agreement some of the existing property bags (FormContext.FormData, ViewContext.ViewData, likely a few others) had reasonable semantics but not quite the correct scope. this led us to a proposed design where public IDictionary<string, object> Items { get; } is backed by a CopyOnWriteDictionary and each TagHelperContext would initialize that dictionary to its parent's dictionary.
this design provides

communication of arbitrary information between tag helpers targeting the same element (no harm though likely not a primary scenario, agreed)
communication of arbitrary information between tag helpers and any tag helper nested within
worry-free cleanup of per-helper content -- parent and sibling scopes never see a tag helper's changes to its Items content
communication of arbitrary information from nested tag helpers back to their parent; all that's required is the parent creating its (well-known) Items entry before executing its childen

The way this item is worded leads me to believe the Items bag is only accessible to TagHelpers running on the same element. If that Items bag is communicated down scope-wise via CopyOnWriteDictionary then I'm 100% on board.

:+1:
-----Original Message-----
From: "N. Taylor Mullen"<EMAIL_ADDRESS>Sent: 1/27/2015 11:19 AM
To: "aspnet/Razor"<EMAIL_ADDRESS>Cc: "Damian Edwards"<EMAIL_ADDRESS>Subject: Re: [Razor] Add TagHelperContext.Items bag to enable passing valuesbetween tag helpers and content (#238)
The way this item is worded leads me to believe the Items bag is only accessible to TagHelpers running on the same element. If that Items bag is communicated down scope-wise via CopyOnWriteDictionary then I'm 100% on board.
—
Reply to this email directly or view it on GitHub.=

b95e73e2b05b528f6f029e1bd93d037d16f47130
677df32160dab9754d6ef6155932dd54f3170fe9


hashing session key

Hey there! I was wondering what advantage there is to hashing the session key in the db rather than just using a random value such as the original UUID. Does it add any security? If so, could you give an example of a potential security breach that it could prevent? Thanks! Great project btw 👍

Thanks for opening an issue.
The session key is essentially a password (for that session). And for the same reasons we shouldn't store passwords in plain text, my thinking is that we shouldn't store any secrets in plain text.

Thanks for the quick response!
That's logical reasoning.  Your answer led me to look deeper into why passwords themselves should be hashed, and I've found two main reasons.  One which seems relevant to the session situation and one that doesn't.

Hashing passwords prevent attackers with db read access from acquiring user's passwords, which is generally considered very sensitive personal data and is commonly used in other systems as well as the current system. This doesn't necessarily apply to our session key since it is specific to our system and not necessarily "sensitive personal" information.

Hashing passwords prevents attackers with db read only access from acquiring information to "elevate" their access to the db by authenticating to the server.  This does apply to the session key since anyone with a valid session id and key can authenticate to the server.

Mostly just writing out my thoughts here. If you have any thoughts to add I'd love to hear it. Thanks again!

Mostly just writing out my thoughts here. If you have any thoughts to add I'd love to hear it. Thanks again!

👍 love this, thanks!


Fix gitbase version command

Related to https://github.com/src-d/gitbase/issues/387
On the latest master of Githbase f12563a96d2b80eb46c476222dd77a704ed6cd10
$ make packages
$ ./build/gitbase_darwin_amd64/gitbase version

gitbase (undefined) - build undefined

This PR fixes a typo in a previous work #389, where const need to be a var, according to the documentation.
Not sure if it's worth adding a test to CI to check for this.

\cc @ajnavarro @dpordomingo for reivew

Rebased on latest master


Update dependencies across packages

@aryan9600 looks like BitBucket changed in go-git-providers and the tests here now panic. Can you look into this?

its panicking because we go-git-providers uses the returned response without checking if its nil: https://github.com/fluxcd/go-git-providers/blob/v0.15.3/stash/repositories.go#L226
i don't know why is there an error in the first place, since there have been no changes to the relevant e2e code. @souleb any ideas?

Created a fix instead in https://github.com/fluxcd/go-git-providers/pull/223

Based on the CI failure there the certificate of the testing instance has expired. Given this, and the fact that it's in a testing package, going to merge and ignore the failure for now.


Benchmark against OpenSSL verification

Can we make any use of openssl ./configure conditional, make it clear in the configure help that its for comparison tests and benchmarks?  I don't care if it defaults to off or on.

I fail to parse your sentence.

@gmaxwell I was assuming we already had a configure flag for OpenSSL, and I didn't understand what you thought had to be changed about it, but I assume you mean we just need to make using OpenSSL configurable? That seems reasonable... @theuni feel like having a look?

ACK.


Remove Beanstalk configuration

Currently we have a Docker-based Beanstalk configuration for the web UI.
We should revert to using vanilla Java for Beanstalk (like Iglu Scala Schema Registry does) and instead support standard Docker as part of https://github.com/snowplow/docker-snowplow/issues/3

Pushing back


Remove extra file extension from cinder template

This removes the extra .yaml extension from the cinder
job-ks-endpoints.yaml.yaml template

What is the purpose of this pull request?: Remove extra .yaml extension from cinder job-ks-endpoints.yaml.yaml
What issue does this pull request address?: Fixes #189
Notes for reviewers to consider:
Specific reviewers for pull request: @v1k0d3n @alanmeadows

LGTM

lgtm

LGTM


Calender Card does not Show appointments

Hello together,
Why are some appointments not displayed in the Card view? I have appointments on the 26th and have also saved an icon. However, this is not displayed in the current month although the 26th and other appointments are in this month. If I change the card to the next month, I can see the appointments (the icon) on the corresponding days!

Have you updated the Google calendar config files?
You need to specify to tsync 41 days rather than the default 1 week.

Yes, my appointments are also available in Atomic Calendar Revive, but not visible in the current one. if I change the map to august, I also see my appointment from 26.07 see in the pictures!

Im not sure I understand what is happening. Please could you supply your configuration along with the contents of the file google_calendars.yaml most specifically the max_results option.
The appointment on the 26/07, is this a one-off appointment or recurring?
This will allow me to setup a similar configuration.
Currently it sounds like the max results is set incorrectly in the google_calendars file, if it is set to the default, it will pull the first week or two weeks i believe for the month that is selected.

Ok I have found my mistake! It was just like you said the max_results function now everything works exactly as it should, Perfect. Thanks for your support and this great repository!
Many greetings Nico


Updated Action to run new Conversion tests and changed Java 11 to Java 15

DO NOT MERGE

DO NOT MERGE


Framework for Mechanisms (Active/Passive)

We'll need some way to specify mechanisms  (either active or passive) and where they are mounted on a robot. Additionally, there needs to be some sort of API that allows us to interact with an active mechanism

Rough Spec:
A SimMechanism object should be created, similar in style to the SimBasicSensor
A spec for a SimMechanism  (the base class) should be look like this:
interface IMechanismSpec {
  type: string;
  mountFace: SensorMountingFace;
  ioMap: IMechanismIOConfig[]; // 1 entry for each IO that is needed

  // Getters and setters for the various IO channels
}

interface IMechanismIOConfig {
  id:  string; // Identifier for this IO channel
  ioType: string; // Could also be an enum of "PWM" | "DIGITAL_IN" | "DIGITAL_OUT" | "ANALOG_IN"
  ioChannel: number;
}

// Rough sketch of the SimMechanism base class
// Very incomplete, and this should save the spec properties somewhere
abstract class SimMechanism extends SimObject {
  public abstract getValue(ioIdentifier: string): number | boolean; // Get a value from an input IO device
  public abstract setValue(ioIdentifier: string, value: number | boolean): void; // Set a value to an output IO device

}

General concepts:

A SimMechanism is made up of some 1 or more physical bodies that can be controlled via 0 or more IO devices

e.g. a passive mechanism can simply define itself as a plow (or similar), with no IO devices

Each IO device in a mechanism represents a sensor or actuator that is integral to that mechanism

e.g. A gripper mechanism should have at least 1 PWM IO device that represents a servo controlling the gripper

All actual mechanisms are subclasses of the SimMechanism class
Similar to sensors, there should be a MechanismManager that handles interaction with the mechanism

The manager should also verify that all channel type/channel number combinations for IO devices are unique (i.e. there should only be 1 Digital channel 0 defined)

Basic Gripper Mechanism
For the purposes of the FTC Sim, we can define a basic gripper that is made up of a set of parallel jaws, controlled by a single DIGITAL_OUT device (if this is set to LOW, the jaw is open, and if HIGH, the jaw is closed).
|              |   ^
| <-width->    |   |  depth
|______________|   v

interface IGripperMechanismSpec extends IMechanismSpec {
  type: "gripper";
  depth: number; // see crude drawing above
  maxWidth: number; // see crude drawing above
  minWidth: number;
}

class GripperMechanism extends SimMechanism {
  constructor(.........., spec: IGripperMechanismSpec) {
       // instantiate this. Should take in a single DIGITAL_OUT device
  }

  setValue(ioIdentifier: string, value: number | boolean): void {
    // This should update the open/closed state of the jaws
    // When transitioning state, check to see if there is an object within the jaws and act accordingly
  }

  update() {
    // This function should manage the behavior of the gripper
    // e.g. set flags/manipulate object position if the jaws are closed
    // This should get called every update cycle
  }
}

i would guess that we need a way to see if the mechanism had grabbed something or not.
Would that be a different sensor or instead could it be returned in a getValue call?
i.e.
setValue(close grip)
wait(1 second)
if(getValue() == close grip)
print(we grabbed something)
else
print(we didnt get anything)

Ah yes, we could have another DIGITAL_IN device act as a "is there an object" sensor


Translation bugs

Found a pile of translation bugs, fixed them in this pr.

Looks good. I'll merge.


scylla_node: start_scylla: fix wait for binary interface timeout path

Looking at https://jenkins.scylladb.com/view/master/job/scylla-master/job/dtest-daily-debug/135/testReport/, for example, we see that many tests in resharding_test and materialized_views_test.py::TestInterruptBuildProcess fail with
ccmlib.node.NodeError: 30 Jan 2023 05:31:16 [node1] Missing: ['Starting listening for CQL clients']:
Scylla version 5.3.0~dev-0.20230130.84a69b6adb3d w.....
See system.log for remainder

This is caused by a long standing bug (introduced in c1762841eec615ba315be1b4b841aaef5108281d):
            try:
                t = timeout * 4 if timeout is not None else 420 if self.cluster.scylla_mode != 'debug' else 900
                self.wait_for_binary_interface(from_mark=self.mark, process=self._process_scylla, timeout=60)
            except TimeoutError as e:
                if not self.wait_for_starting(from_mark=self.mark, timeout=t):
                    raise NodeError(f"{e}")
                pass

wait_for_starting return value indicates if bootstrap or resharding took place,
not if 'Starting listening for CQL clients' was found.
In addition there are secondary bugs related to the timeout passed to it
which this PR fixes.
Tested with ./scripts/run_test.sh --cassandra-dir=$CASSANDRA_DIR -n 6 resharding_test.py::TestReshardingVariants materialized_views_test.py::TestInterruptBuildProcess

Please backport to all live branches.


Stream back deploy & function logs

Add ability for user to see deploy logs in CLI. Also the ability for user to see function logs in the CLI (potentially separate issue)
We could stream back deploy logs on netlify watch and netlify deploy
Notes:
If this requires adding leaking firebase client into the CLI, we should put this feature off until a bespoke logs API is usable via https://open-api.netlify.com/#/default
Fallback potentially looks like: https://github.com/netlify/cli/issues/70 ?
Future/potential alt API:
Potentially a master netlify logs command

This functionality was initially implemented in https://github.com/netlify/cli/pull/762 but later reverted because of NodeJS compatibility issues. I'm think maybe we can precompile incompatible code and include that. Opening again to investigate further.

@RaeesBhatti That would be an amazing feature (that competition already has implemented), would be nice to give it a second shot I think 😃

I would love to see this!

This has been added in<EMAIL_ADDRESS>🎉

netlify logs:deploy to have an interactive selector for currently active builds
netlify logs:functions to have an interactive selector for all functions on a site
netlify logs:functions my-function-name to instantly stream the logs for a given function, in this case my-function-name


Allow arbitrary self-describing data

Currently, we can generate a set of hardcoded self-describing events and entities. If we wish to provide different ones, we must make a change in the codebase to do this.
Already, we have encountered scenarios where we did this.
It might be tricky to implement, but if we could find a solution where the user provides a template for the data they want in a custom object, then we may be able to satisfy any custom data requirements without needing to add them directly to the codebase.
Alternatively, I'm not sure how feasible it is - but if the user could plug in their own generator functions for this data at runtime, that might be a cool solution.

One way to solve - point to an iglu schema and generate data according to that schema


[Speculative decoding] Add periodic log with time spent in proposal/scoring/verification

Log values whenever rejection sampler produces metrics
Measures average time spent proposing each token, time spent scoring, and time spent verifiying.

QQ; should we enable it only disable_log_stats=False?

What is the motivation ?

What is the motivation ?

oh because normally many users don't want to emit this kind of logs (and I thought that's why we have the disable_log_stats as an argument)

Hmm good point. Let me see if I can pipe down that argument.


Which of the deploy scripts are currently in use

Description:
So I found 3 scripts related to deployment:

deploy-edge-to-cdn.sh
release.sh
travis-deploy.sh

Of the 3, only travis-deploy.sh is called by Travis. What are the other 2 for? Can they be removed if travis-deploy.sh already does everything? I'm not super-confident in my bash-reading skills, so I though I'd ask.

deploy-edge-to-cdn.sh is the original (for me) Travis script that targeted cdn.ractivejs.org. release.sh is what I wrote to make deployment easier when I started releasing 0.8 patches, then used to get the process for automated publishing sorted out, and finally what travis-deploy.sh is based on. The Travis deployment script seems to be stable enough that the others can safely go. You could leave release.sh sitting around as manual-release.sh if you wanted to in case Travis ever decides to be entirely uncooperative.

Are we still using cdn.ractivejs.org or can we drop that since we're on unpkg?

Yes, I think the cdn was last updated around 0.8.1. I tried to get ractivejs.org updated to show unpkg rather than the cdn, but you see how well that went 😄.


Cell type percentages per spot based on Tangram cell probabilities?

Hi,
from the matrix P(spatial spots X cells) I'd like to get the percentages for each cell type per spot.
Starting from the probability matrix spatial spots X cells, I was thinking to proceed in this way:

assign to each cell a known cell type
calculate the median probability per cell type, obtaining the matrix spatial spot X cell type
normalize each row value on the rowSum
(optional) filter out values < 0.01 and rescale percentages similarly in (3)

Do you see any pitfalls in this methodology? Would you recommend any another strategies to calculate cell type percentages per spot? I observed that generalising on cell types starting from individual cell probabilities gives me slightly better predictions rather than calculating the probability for each cell type, but maybe it's data-dependent.
Best,
Carlo

Ciao Carlo,
In order to get the percentage of cell types per spot I would deconvolve. This means that you need to have prior information of how many cells you have per spot (eg via segmenting the corresponding H&E, if using Visium). You then need to deterministically assign the cells within the spot, then compute the percentage.
Alternatively, you can attempt the strategy you described although I am not entirely sure results will be consistent. Can you describe me in more detail how you want to do (1) and (3)?
Ciao,


Create a source for Azure Service Bus Topics

The design looks very close to Google Pub/Sub, therefore the source should:

Take the resource ID of a topic to subscribe to.
Reconcile a subscription for pulling messages from that topic.

https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview

(slightly off-topic but having a TriggerMesh-managed Azure account, if possible with Google Suite auth, would be such a game changer for development and for enabling e2e tests)

@sebgoa  can we haz this ^

yes, let's do it


feat(@schematics/angular): save ng new options as defaults

If a create an app with the CLI with the --inline-template option, I don't just want the AppComponent with inline template, I surely want inline templates everywhere.
Same goes for --inline-style and --skip-tests.
So this PR save the options used during ng new, which are related to future generate commands, as defaults in .angular-cli.json.
This is particularly helpful for beginners : skipping tests (= less files to mess with) and inlining templates (easier to see relations between class and view) is better to learn at first, but having to reconfigure the .angular-cli.json after the ng new is cumbersome, especially when people don't understand yet at this time what they are configuring.
I just need confirmation that || and && operators work here, but I suppose the tests will answer this question.

@Brocco @hansl

Thanks for fixing this @cyrilletuzi 👍


type jsluice.object has no field or method getKeys

When I try to use jsluice as a package I get the error message: type jsluice.object has no field or method getKeys when I do something like:
secondArg := arguments.NamedChild(1)
if secondArg.Type() == "object" {
    params := secondArg.AsObject().getKeys()
    m.Method = "POST"
    m.BodyParams = params
}

I've used url-match-jquery.go as a reference to create a custom url matcher for a project that uses a custom function to call api endpoints.
I likely am doing something wrong myself as I do not have that much experience with go, what could be the problem here?

Hey @YouGina! Thank you for raising an issue!
This looks to be an oversight on my part with not exporting some of the types that jsluice uses internally.
As of this commit, you should be able to call secondArg.AsObject().GetKeys() (note the capital G on GetKeys).
Thanks for bringing this to my attention!

Hi @bf-tomnomnom , thank you for taking the time to look into this issue!


What's the License? Is it intentionally dual-licensed?

I noticed that this project is dual-licensed under both the MIT and Apache 2.0 licenses. Just curious, is there a specific reason for choosing to offer both licenses? Thanks!

I think it was following the practice from the Rust tooling ecosystem. https://internals.rust-lang.org/t/rationale-of-apache-dual-licensing/8952/5

Yep, that was the rationale here, the idea was to copy what both https://github.com/rust-lang/rust and https://github.com/rust-lang/rust-analyzer currently do

Understood. Thanks, @sluongng and @withered-magic!


Changed max length on body from 10 to 1000

Description of PR...
Fixing the maxlength 10 problem with the body of a message in DNN 9.4.1
Changes made

Changed MaxLength="10" to MaxLength="1000" on the txtBody input field.

PR Template Checklist

[X ] Fixes Bug

Please mark which issue is solved
#51
Close #

Can somebody merge this pull request please?


chore/146623139/integrate travisci with readme badge

What does this PR do?
Travis CI is an interface for vetting build structures. It determines if a build passes or fails. It comes with a badge to indicate the type of build.
Description of Task to be completed?
. Setup a .travis.yml file in the root directory.
. config the travis file and include all the settings.
. Add travis badge to readme file
Any background context you want to provide?
Travis integration is kind of integration known as continious integration.
What are the relevant pivotal tracker stories?
Integrate Travis CI badge and attach badge to readme

You markdowns are not coming out properly. Please check the PR description again.

i will fix it this morning. just seeing the mail. thanks
On Wed, Jun 7, 2017 at 11:20 PM, Adebayo Adesanya<EMAIL_ADDRESS>wrote:

You markdowns are not coming out properly. Please check the PR description
again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/andela/zabuza-cfh/pull/6#issuecomment-306941834, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AbNlbILYZ7jlgOnmjfbunFTNiqJ-bwzrks5sByIsgaJpZM4NyylO
.


Create an abstraction model for TypeInfo

cc @davidfowl \ @NTaylorMullen  \ @dougbu

MVC PR: https://github.com/aspnet/Mvc/pull/2961

Overall looks good.

Updates. No longer in design.

Looks really good. :watch: for complex test variations.

Updated.

:shipit:

Aren't TypeInfo and friends implementable? Or is it just too hard because there are too many things?
/cc @nguerrera

@davidfowl, TypeInfo has too many things we don't care about. Additionally TypeInfo.Properties[0].PropertyType is an instance of Type which just makes the API quite asymmetric and consequently more work to implement.

@davidfowl @pranavkm At this time, TypeInfo et al cannot be implemented by user code on System.Runtime-based platforms. This will change, but right now that's where we're at now. Plus, I agree that the surface is quite large if you only need to model a small subset.

@dougbu updated

:shipit:


Allow configuring AppID via envvar

First of all, thanks for this plugin. :-)
In our gocd server, we have separate pipelines for our production deploy and our staging deploy, however, they both use the same pipeline template. Unfortunately, we can't use this plugin with the template because staging and production have different AppIds on Amazon OpsWorks.
If we could configure the AppID with an envvar this would be solved, since different pipelines with the same template can be configured with different envvars.

@Malabarba great to hear that plugin is useful for you. So as far as I understand what you mean is passing a placeholder for env var in the AppID field. And I totally agree that it will make it easier to reuse. I'll try to have a look at this some time soon. Also, feel free to submit a PR for this too.


[Bug] The currently activated Python version 3.10.6 is not supported by the project (3.9.2)

Is there an existing issue for this?

[X] I have searched the existing issues

What projects are you seeing the problem on?
No response
Current behavior
I'm evaluating a new version of the dev container before it's being used by developers. The default version of Python installed with apt got updated from v3.9.2 to v3.10.6. This leads Python projects that expect v3.9.2 to fail.
Question: But why? They should be able to install v.3.9.2 by themselves...
$ nx run-many --target=prepare-python
...

    ✖  nx run schematic-api-client-python:prepare-python
       The currently activated Python version 3.10.6 is not supported by the project (3.9.2).
       Trying to find and use a compatible version.

       Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
       Warning: run-commands command "poetry install" exited with non-zero status code

    ✖  nx run openchallenges-notebook:prepare-python
       The currently activated Python version 3.10.6 is not supported by the project (3.9.2).
       Trying to find and use a compatible version.

       Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
       Warning: run-commands command "poetry install" exited with non-zero status code

    ✖  nx run schematic-api:prepare-python
       The specified Python version (3.10.6) is not supported by the project (3.10.0).
       Please choose a compatible version or loosen the python constraint specified in the pyproject.toml file.

        >  NX   ERROR: Something went wrong in run-commands - Command failed: poetry env use 3.10.0

          Pass --verbose to see the stacktrace.

    ✖  nx run schematic-notebook:prepare-python
       The currently activated Python version 3.10.6 is not supported by the project (3.9.2).
       Trying to find and use a compatible version.

       Poetry was unable to find a compatible version. If you have one, you can explicitly use it via the "env use" command.
       Warning: run-commands command "poetry install" exited with non-zero status code

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Ran target prepare-python for 4 projects (2s)

Expected behavior

Investigate why the projects couldn't install Python v3.9.2 with Pyenv

Anything else?
No response
Commit ID
No response
Are you developing inside the dev container?

[X] I am using the dev container

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Troubleshooting prepare-python for Schematic API
The task prepare-python fails:
vscode@f82a8bc3fa7f:~/sage-monorepo/apps/schematic/api$ nx prepare-python

> nx run schematic-api:prepare-python

The specified Python version (3.10.6) is not supported by the project (3.10.0).
Please choose a compatible version or loosen the python constraint specified in the pyproject.toml file.
 >  NX   ERROR: Something went wrong in run-commands - Command failed: poetry env use 3.10.0
   Pass --verbose to see the stacktrace.

 ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  NX   Ran target prepare-python for project schematic-api (1s)

    ✖    1/1 failed
    ✔    0/1 succeeded [0 read from cache]

When I step into the project folder and display the versions available and active:
vscode@f82a8bc3fa7f:~/sage-monorepo/apps/schematic/api$ pyenv versions
  system
* 3.10.0 (set by /home/vscode/sage-monorepo/apps/schematic/api/.python-version)
  3.11.0

But running the individual commands from the project folder works:
pyenv install --skip-existing 3.10.0
pyenv local 3.10.0
poetry env use 3.10.0
poetry run pip install "cython<3.0.0"
poetry run pip install --no-build-isolation pyyaml==5.4.1
poetry install --with prod,dev

Running the task prepare-python after manually installing the environment with the above commands still fails.
Creation of .venv
Running the command manually in the folder creates the folder .venv:
vscode@f82a8bc3fa7f:~/sage-monorepo/apps/schematic/api$ poetry env use 3.10.0
Creating virtualenv schematic-api in /home/vscode/sage-monorepo/apps/schematic/api/.venv
Using virtualenv: /home/vscode/sage-monorepo/apps/schematic/api/.venv

But running the following task fails to create the folder .venv in the project folder:
    "prepare-python": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          "pyenv install --skip-existing 3.10.0",
          "pyenv local 3.10.0",
          "poetry env use 3.10.0"
        ],
        "cwd": "apps/schematic/api",
        "parallel": false
      }
    },

Error:
> nx run schematic-api:prepare-python

The specified Python version (3.10.6) is not supported by the project (3.10.0).
Please choose a compatible version or loosen the python constraint specified in the pyproject.toml file.
 >  NX   ERROR: Something went wrong in run-commands - Command failed: poetry env use 3.10.0
   Pass --verbose to see the stacktrace.

Attempt: Cd into the project folder
This does not work. The same, system version of Python is printed.
    "prepare-python": {
      "executor": "nx:run-commands",
      "options": {
        "commands": [
          "cd apps/schematic/api && python --version"
        ],
        "parallel": false
      }
    },

A solution has been found in #1689, which consists in initializing pyenv again after install a new Python environment.
Another reason for this error was because pyenv is initialize when bash shells are created (see the Dockerfile of the devcontainer). Since Nx runs task with an sh shell, using it run pyenv-related commands failed because pyenv had not been initialized.


Jenayah: Watch lwkkkk.com

Jenayah requests the watch of the watch_keyword lwkkkk\.com. See the MS search here and the Stack Exchange search here.

lwkkkk\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


[Checkbox] Fix checkbox indeterminate edge

Fixes #12772
I'm still indeterminate ;) about whether we should support indeterminate on the DOM API. While this is consistent across browser this appears inconsistent for users that are used to Edge behavior. React currently does not even support indeterminate (facebook/react#1798) so I don't really see the benefit in polyfilling this behavior.
The original PR #12671 mentioned automated testing as the primary drive behind the change and I wonder why this has to happen on the dom and not the props.
I did some refactoring while working on this to make the component consistent with other implementation patterns.

Should we keep the new test and the utility method in this pull request? I can't think of a better API for forwardRef, maybe using a different wording like applyRef so we don't confound it with the React API.

Waiting for React to address the issue might be the best move. The e2e test use case can be solved differenty, with a data attribute for instance cc @hareaca.

@oliviertassinari Yes, sure we can do that using data attributes, but its getting dirty. But as the things are getting more complicated here i would agree to revert.

Should we keep the new test and the utility method in this pull request?

The test makes only sense if we do merge this. Otherwise we are testing what browsers do not what the component does.
I'm going to to close this here and open one PR for the utility method and one to revert #12671 .


[HUDI-8370] Removed excessive DataBucket::preWrite

Change Logs
DataBucket::preWrite sets new current location, using fileID from DataBucket, only for first record in the bucket. But fileID is set only during DataBucket initialization, where we use passed first record. So, we actually don't need to call preWrite.
Impact
No impact
Risk level (write none, low medium or high below)
Low
Documentation Update
No need
Contributor's checklist

[x] Read through contributor's guide
[x] Change Logs and Impact were stated clearly
[x] Adequate tests were added if applicable
[x] CI passed

@danny0405 ,
I've also reviewed lifecycle of current location for Flink stream write:

We don't need to call preWrite(), it updates only fileID, which is similar for all records in the bucket. And each record has set current location.


Add certificate page for editions

Done in https://github.com/macterra/artx-market/commit/3b2baf64728068435bb9b922777951f2b528212f


fix: updating player list issue

This is a fix for the issue posted here
https://github.com/user-attachments/assets/3e120148-0e06-46ae-8627-2c768307fe98

Closed in favor of:
https://github.com/Thomas-Smyth/ftp-tail/commit/ab3dbc5d782c8addfde09c58b2e731da0baa86da


Remove replies (and possibly other actions) to own posts/comments from notifications

Expected behaviour
Notifications should contain only actions taken by other users and their reactions to my account/posts/comments.
Actual behavior
Commenting to own post/comment is recorded in the notifications.

How to reproduce

Write a comment.
Reply to that comment.

Browser: Chrome 64
Operating system: Windows 10

When Utopian leaked the access tokens, I was fast enough to revoke my tokens since ginabot sent instant notification that I liked a post with %100 vote.
I also follow who I vote via trails on gina. Nevertheless I do like the current state.


RunC compatibility?

Is RunC compatibility outside the scope of this project?
Would it make sense to include a go lib to translate the image input or output?

image translation feels outside the scope.  supporting runc natively seems reasonable.

@bparees is this hard to implement? i'd be interested in it

Extremely.
Ben Parees | OpenShift
On Nov 2, 2016 06:22, "Ionut Palade"<EMAIL_ADDRESS>wrote:

@bparees https://github.com/bparees is this hard to implement? i'd be
interested in it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/source-to-image/issues/514#issuecomment-257825712,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvl3pxvU7WPPjMykrx-qRpo4XVKCAPYks5q6GRdgaJpZM4IxPwn
.

opened in trello: https://trello.com/c/Eigu8zz3


[RHPAM-3689] Add JBPM Cluster jar in Kieserver image

Signed-off-by: desmax74<EMAIL_ADDRESS>Thanks for submitting your Pull Request!
Please make sure your PR meets the following requirements:

[x] Pull Request title is properly formatted: [RHPAM-XYZ] Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Attached commits represent units of work and are properly formatted
[x] You have read and agreed to the Developer Certificate of Origin (DCO) (see CONTRIBUTING.md)
[x] Every commit contains Signed-off-by: Your Name<EMAIL_ADDRESS>- use git commit -s

@spolti

/retest

depends on https://github.com/jboss-container-images/jboss-kie-modules/pull/457

Replaced by https://github.com/jboss-container-images/rhpam-7-image/pull/492/

why close it instead of just update it?


"You already own this item"

Please use Discussion board if you want get some help out of it. Please report issue if there is a bug.

Version of react-native-iap
^7.5.5
Version of react-native
0.64.2
Platforms you faced the error (IOS or Android or both?)
Android
Expected behavior
ofc a successful payment
Actual behavior
"You already own this item" popup appears, and payment was fail
Tested environment (Emulator? Real Device?)
Real Device: Xiaomi Redmi 9
Steps to reproduce the behavior

Buy item "xxx.xxx"
Payment success
Buy that item again
Popup "You already own this item" appears
Payment failed

Is this related to google play cache too? like #1166
Code (iam using hook):
async function checkCurrentPurchase(purchase: ProductPurchase | undefined) {
  if (!purchase) return
  ...
  try {
    const isConsumable = true
    await finishTransaction(purchase, isConsumable)
    ...
  } catch () {
    ...
}

Any help would be appreciated, thanks.

That message comes from the native SDK. So that means that the user has actually purchased the product

but this is a consumable item, which should be bought over and over?

Are you marking the receipt of the consumable as acknowledged server-side by chance?
I was having the same issue and was acknowledging server-side which turned out to be the mistake. As per Google's documentation, only non-consumables should be acknowledged, and consumables should be consumed. It appears that if you acknowledge a receipt server-side that's supposed to be consumable, it puts the purchase into a non-consumable state.
This library seems to take care of all acknowledgement/consummation of items client-side natively as long as you call finishTransaction() after performing your server operations as per the docs.
You should verify the receipt but no need to acknowledge/consume the receipt server-side since this library takes care of all of that on the client device.

acknowledging server-side

For consumable without any server-side acknowledgement, and if the app gets closed, finishTransaction() never gets called and still this error occurs. I want to track non-acknowledged transactions when app freshly opens.

Having a similar issue here. We were not marking our products are consumable, and now some users can not re-purchase them.
I want to:
1- retrieve a list of all purchased non-consumable products from a user,
2- clear that list for them, so they can start purchasing them again.

@pnmartinez Same issue with me,
Any idea, how can I
1- retrieve a list of all purchased non-consumable products from a user?
2- clear that list for them, so they can start purchasing them again?

I also facing same issue

any solution?


新拉的代码启动报错[plugin:vite:css] [sass] An importer must have either canonicalize and load methods, or a findFileUrl method.

Version
Vben Admin V5
Describe the bug?

Reproduction

System Info
node版本20.16.0
pnpm版本9.14.4
删除pnpm-lock.yaml文件也报错
电脑机型mac

Relevant log output
No response
Validations

[X] Read the docs
[X] Ensure the code is up to date. (Some issues have been fixed in the latest version)
[X] I have searched the existing issues and checked that my issue does not duplicate any existing issues.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

没重现，pnpm install 过程报错了没有

已解决了
---原始邮件---
发件人: "Li @.>
发送时间: 2024年12月9日(周一) 下午5:24
收件人: @.>;
抄送<EMAIL_ADDRESS>主题: Re: [vbenjs/vue-vben-admin] 新拉的代码启动报错[plugin:vite:css] [sass] An importer must have either canonicalize and load methods, or a findFileUrl method. (Issue #5019)
没重现，pnpm install 过程报错了没有
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>


got corrupted stream if using MaxSliceSize for HEVC encoding on ICL

Revert commit 195f95e due to a regression (https://github.com/Intel-Media-SDK/MediaSDK/issues/1805 ) firstly.
Run the command line below to get output.hevc
/usr/share/mfx/samples/sample_encode h265 -qsv-ff -mss 10000 -i input.yuv -o output.hevc -w 1920 -h 1080
then use a player to playback output.hevc or use video tool to check output.hevc

@AntonGrishin , can you take a look?

Not reproducible on latest media-driver (https://github.com/intel/media-driver/commit/7857d6bea214b755d610c1a478d4e1e23da31cdb) and latest MediaSDK (https://github.com/Intel-Media-SDK/MediaSDK/commit/9890dff6064a7f8fe738899fc0c39b33a2d181b5)


Book codes are missing!

It seems this repository doesn't contain the codes for the book. Please re-upload the project files again. Thanks.

Hi @ssia279,
Sorry that it took a while to look into this issue.
The code files for the book are located inside this directory: https://github.com/PacktPublishing/Flutter-for-Beginners-Second-Edition/tree/main/hello_world/lib
Additional files for chapter 11 are located here: https://github.com/PacktPublishing/Flutter-for-Beginners-Second-Edition/tree/main/hello_world/test/chapter_11
Can you take a look and verify if these were the files that were missing?


[Support] Integrating Laravel Boilerlate + Forum

I'm basically trying to integrate the roles with the forum. What i mean is like in my example below i am able to grab the user's name and avatar or anything else that can be grabbed from the users table.

What I need to do is grab the user's role and display it with the name that way it can specif if the user is an administrator or member or moderator etc.
could you assist me with this?
Laravel Boilerplate: https://github.com/rappasoft/laravel-5-boilerplate

I figured it out :D

Glad you figured it out. Could you maybe share any useful info here in case someone else has the same difficulty using Laravel 5 Boilerplate?

all i did was place:
    /**
     * The roles that belong to the user.
     */
    public function roles()
    {
        return $this->belongsToMany('Role', config('access.assigned_roles_table'), 'user_id', 'role_id');
    }

in the User.php Model file.
Gonna have to tell rappasoft this too, to add it when he gets time.


Autograde tests

Added pytest tests for the autograde module!

@lwasser so this is a weird bug that's causing this to fail. For some reason, the tests I wrote for the autograde wrapper are causing tests that rely on the pytest fixture pt_hist in the file test_base_data to fail. It is giving it 106 bins instead of 6 bins. In my new tests, I never touch that fixture or that file at all.  But there should be a more elegant solution than that, right? Any idea what's going on here? Thanks!

@lwasser fixed all formatting issues and this is ready for review!

@lwasser all green on CI

this addressed issue #105


add start_stop_order to VersionedConfig.slots

This ensures that the attribute is set on VersionedConfig itself,
not on the proxied Config object. The later works, but only until
the configuration is updated and the Config object is switched out
with a new one that doesn't have the attribute.
fixes #1147

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1149 opened

Start Time: 2021-06-07T09:11:02.540+0000

Duration: 28 min 11 sec

Commit: d8c784c6319dc47c94cb0688fcb23b81f5a8db00

Test stats :test_tube:

Test
Results

Failed
0

Passed
9497

Skipped
8766

Total
18263

Trends :test_tube:

:green_heart: Flaky test report
Tests succeeded.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
0

Passed
9497

Skipped
8766

Total
18263


Add MakeSlice function

MakeSlice is similar to NewSlice, but can be called with
a Go string type. This exists to make testing integration
with Gorocksdb easier.
This exists due to some complexity of calling NewSlice from
tests in other projects using Gorocksdb.

Sorry @tecbot, your comment go buried in my email. You're right about StringToSlice being a better name, I've made that change.


Fix issue where test for existing service instances was skipped

Fix issue where test for existing service instances was skipped
This work item was migrated from CodePlex
CodePlex work item ID: '6500'
Assigned to: 'tfabraham'
Vote count: '0'

[UnknownUser@4/26/2010]
Resolved with changeset 42375.

[UnknownUser@2/21/2013]

[UnknownUser@5/16/2013]


Automator: update istio/api@master dependency in istio/istio@master

Generated by Automator - 2021-09-14T15:06:20+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
28ad83dc813c2efb1e027bf5139cf036763492e4
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Also waiting on https://github.com/istio/istio/pull/35146?

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
b5ea74b0b689f59e7923857af1042d8e062784a4
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Superseded by https://github.com/istio/istio/pull/35252


Add compiled release

Can you release a compiled version (binary) of this alarm clock?

No. Now it is beta version. There are some bugs. I will put it into Google Play. Then I can.


VAT category code Intra-Community Supply (BT-118) requires deliver to country code (BT-80) which is not settable

Following error occurs on validation when items contain VAT category code intra-community supply (BT-118):
"org.mustangproject.validator.ZUGFeRDValidator","level":"ERROR","message":"Error 24: [BR-IC-12]-In an Invoice with a VAT breakdown (BG-23) where the VAT category code (BT-118) is \"Intra-community supply\" the Deliver to country code (BT-80) shall not be blank. [ID BR-IC-12] from /xslt/en16931schematron/EN16931-CII-validation.xslt)".
Steps to reproduce: Generate any valid xml with ZUGFeRD2PullProvider with an Invoice containing one or more Product objects with .setTaxCategoryCode("K") and a .setTaxExemptionReason("Intra-Community supply").
I can't find a method or field to set the deliver to country code for this invoice. Afaik, there is nothing that sets "qdt:CountryIDType", i.e. CountryCode (BT-80).
Proposed solution: Add a method to add a CountryCode for a ShipToTradeParty.
In addition, if we use setTaxCategoryCode("G") for exports outside the EU, there is another error: [BR-G-10]-A VAT Breakdown (BG-23) with the VAT Category code (BT-118) \"Export outside the EU\" shall have a VAT exemption reason code (BT-121), meaning \"Export outside the EU\" or the VAT exemption reason text (BT-120) \"Export outside the EU\" (or the equivalent standard text in another language). [ID BR-G-10] from /xslt/en16931schematron/EN16931-CII-validation.xslt). This is related to this issue. I wonder why this doesn't work even though I used the method setTaxExemptionReason.

Hi there,
you can set your deliver to country code using invoice.setDeliveryAddress. It takes a trade party object. Maybe you'd want to skip the email address otherwise a CII warning instead of an error is issued.
HTH


Pods accumulate lots of RAM

Checks

[X] I have checked for existing issues.
[X] This report is about the User-Community Airflow Helm Chart.

Chart Version
8.7.1
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.1", GitCommit:"8f94681cd294aa8cfd3407b8191f6c70214973a4", GitTreeState:"clean", BuildDate:"2023-01-18T15:51:24Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"darwin/arm64"}

Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.12+7566c4d", GitCommit:"22147459669562208c3082141eece03824c0a417", GitTreeState:"clean", BuildDate:"2022-10-24T10:40:54Z", GoVersion:"go1.17.12", Compiler:"gc", Platform:"linux/amd64"}

Helm Version
version.BuildInfo{Version:"v3.11.1", GitCommit:"293b50c65d4d56187cd4e2f390f0ada46b4c4737", GitTreeState:"clean", GoVersion:"go1.19.5"}

Description
The Pods accumulate a lot of RAM quickly. Is this behavior normal?

Relevant Logs
No response
Custom Helm Values
No response

@robkuehl this is not typical, so you might want to check if any of your dag definitions have a memory leak (note, I am talking about the python definitions, not the dags themselves).
Or if you have a custom airflow image, anything you have changed in it could be the cause.
Its also possible that you have found a bug in airflow itself, which version are you using?


Add SessionReplayBroadcastReceiver

Add a broadcast receiver to receive the $mp_replay_id from the Session Replay SDK

This change (and 7.5.2 -> 7.5.3) somehow breaks tests for me (when MixpanelAPI is instantiated).
Permission com.digitalchargingsolutions.b2c.integ.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION is required by your application to receive broadcasts, please add it to your manifest
java.lang.RuntimeException: Permission com.digitalchargingsolutions.b2c.integ.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION is required by your application to receive broadcasts, please add it to your manifest
	at androidx.core.content.ContextCompat.obtainAndCheckReceiverPermission(ContextCompat.java:970)
	at androidx.core.content.ContextCompat$Api26Impl.registerReceiver(ContextCompat.java:1117)
	at androidx.core.content.ContextCompat.registerReceiver(ContextCompat.java:822)
	at androidx.core.content.ContextCompat.registerReceiver(ContextCompat.java:769)
	at com.mixpanel.android.mpmetrics.MixpanelAPI.<init>(MixpanelAPI.java:199)
	at com.mixpanel.android.mpmetrics.MixpanelAPI.<init>(MixpanelAPI.java:123)
	at com.mixpanel.android.mpmetrics.MixpanelAPI.getInstance(MixpanelAPI.java:463)
	at com.bmw.chargenow.utils.analytics.AnalyticsTracker.<init>(AnalyticsTracker.kt:42)

MixpanelAPI.java:199 points to
       ContextCompat.registerReceiver(
                mContext.getApplicationContext(),
                sessionReplayReceiver,
                SessionReplayBroadcastReceiver.INTENT_FILTER,
                ContextCompat.RECEIVER_NOT_EXPORTED
        );

I have tried adding <uses-permission android:name="${applicationId}.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION" /> to the manifest, but that didn't help. Could also not solve it by quick googling.

@carstenhag Are your tests running with targetSdk <= 32? If so, can you bump that up to >=33?
I found this other Github issue which seems relevant here: https://github.com/robolectric/robolectric/issues/9124

Yep Robolectric was the issue, thank you! We were specifying @Config(sdk = [Build.VERSION_CODES.P]), afaik due to an old bug, but it seems resolved, so now we are using the default (latest sdk).


Add frontend for search

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #23

PR #24   👈

This stack of pull requests is managed by Graphite.


Add option to highlight the corresponding selected stack variable from the IL View to the Stack View.

What is the feature you'd like to have?
The feature is mainly stated in the title. It is a minor one, but it would be helpful to show (maybe highlight) the variable on the Stack View that corresponds to the currently selected IL View variable. This helps a lot for exploiting Buffer Overflows in functions with many stack variables since a search bar doesn't exist for the Stack View (which would also be very nice to have).

I think this is a duple of https://github.com/Vector35/binaryninja-api/issues/2991 ?

Closing for now, but feel free to correct me if not and I can re-open. If so though, I recommend up-voting the other issue!


remove redundant type hints from couple bindings

Couple days ago I learned that type hints should not be used when creating bindings from c++. I took a look at my recent prs, I think some (most?) bindings were already corrected but I have also found couple redundant ones.

Virtual methods, signals and any other form of binds that do not work with MethodBind must still use type hints.
We check the declaration of the target C++ method to detect the signature types. Virtual methods do not target any C++ method, neither do signals; they themselves are the method declarations, hence they need to specify the types.

Thanks for explanation! And sorry for bogus pr :)


Update Zephyr version to v4.0.0

@bperraudin I think we can merge with the 4 failing checks. Errors must be fix in the module repositories.


[2.2][docs] cookbook - update to current version, fix links

Replaces https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2749

fixes dead links
fixes old namespaces
use short arrays over long ones, since min version is PHP 5.6 now

closes https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/2404

Thanks @TomasVotruba , I finished this up in #2793

Thank you! @keradus

thanks @TomasVotruba and @keradus :)  :+1:


update dora metrics

Update DORA metrics image (on staging only) to add initial Pagerduty integration for failure metrics collection

/test all

/test all

/lgtm

/approve


Nested accordions not independent of parents.

When I embed an accordion set inside another accordion then clicking on one of the nested accordion items results in itself and the parent collapsing. Opening an accordion with children opens all children as well.
The code I currently see this issue with:

        Random Information

My other content

This content is accessible by Assistive Technology and Screen Readers only when the collapsible area is visible to the user.

        This link is also accessible only when the collapsible area is visible.

            Random Information

My other content

This content is accessible by Assistive Technology and Screen Readers only when the collapsible area is visible to the user.

            This link is also accessible only when the collapsible area is visible.

            Dummy Text and Controls

            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

These controls are accessible for interaction by Assistive Technology and Screen Readers only when the collapsible area is visible to the user.

            <input type='test' placeholder='Please enter some info here' style='width: 20%' />

            <input type='test' placeholder='Another control' />

            Header with image

        Dummy Text and Controls

        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

These controls are accessible for interaction by Assistive Technology and Screen Readers only when the collapsible area is visible to the user.

        <input type='test' placeholder='Please enter some info here' style='width: 20%' />

        <input type='test' placeholder='Another control' />

        Header with image

If I am missing something here my apologies, though I suspect that an event is bubbling up where it doesn't belong.

Sorry for a late reply - I will take a look into this problem.

I found a problem with the code which does not allow to have nested accordion, thinking on the solution but so it is tricky.... any ideas or PR is always welcome.

@Flojer0 I made some changes in the code in version 0.4.1 It has some minor fixes and some fixes related to the nested accordions. Could you give it a shot and let me know if my changes help you?

Thanks, sorry I didn't catch this message this morning. I'll look at it first thing tomorrow morning and let you know :)

It's not effecting the nested accordions now, good job there! Though now the nested accordion isn't triggering at all. Here is what the code I showed previously gives me:

I did implement the nested accordion as a separate accordion under #accordion2. I assume this would be the correct way to set up this behavior. If that is correct the behavior looks to me like the nested accordions are not allowed to act at all. Though I don't have my head wrapped around the code yet so I don't know yet what is actually happening. I'll try to read through some of the code to help come up with ideas though.
Thanks for your help!

@Flojer0 you probably made a mistake in markup or accordion initialization. I updated it to v0.4.2 now with an updated README and most importantly with an example of nested accordions. Please take a look at this and see if it helps with your problem http://anvk.github.io/a11yAccordion/example.html

Apologies, there is a quirk in our setup I forgot to re-do when using the new JS file, my bad.
Everything appears to be working with regards to the nesting. Thanks a bunch for you time and help. I'll go ahead and close this now.


Move required software in README.md to top, Add ubuntu instructions t…

…o PREPARE_EXAMPLE.md

merged initial edits to README.md and PREPARE_EXAMPLE.md


Foreground event for notification added/dismissed

Is the bug with CPU loops when listening to notifications in foreground already fixed? If yes – what is the minimal Windows version where the functionality can be safely used?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d7bf8a3a-3e67-f3b9-f63c-ca53383d7f19
Version Independent ID: b64f8103-55c0-d8bd-52b9-b4b9f7b63fdf
Content: Notification listener - Windows UWP applications
Content Source: windows-apps-src/design/shell/tiles-and-notifications/notification-listener.md
Product: uwp
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

Hey @dajbych, thanks for reaching out! Looks like we fixed this in Build 17763 / October 2018 Update / Version 1809, which is the current latest non-Insider public version of Windows. I'll update the docs!

Is it possible to use the notification listener from a desktop app (not bridged) or it is only for UWP apps? Thanks.

Thanks for reaching out with your feedback. I'll work on updating the documentation with this info, but in the meantime you'll find quicker support by consulting our developer support resources. For community assistance with development questions I recommend that you ask on our forums or StackOverflow. Otherwise, please see the developer support page for your support options. If you get assistance through these other resources and believe that information would help us improve the docs, please come back and let us know.


kong produce spans which are not compatible to opentelemetry specification in http.url

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
?
Current Behavior
Kong with tracing enabled, sending spans over otlp.
The produced spans has an attribute http.url set here which contains ctx.request_uri which is the HTTP target if I understand it correctly. According to the opentelemetry semantic conventions for HTTP:

Attribute
Type
Description
Examples
Requirement Level

http.url
string
Full HTTP request URL in the form scheme://host[:port]/path?query[#fragment]. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. [1]
https://www.foo.bar/search?q=OpenTelemetry#SemConv
Required

The http.url attribute should contain the Full HTTP url, e.g. https://www.foo.bar/search?q=OpenTelemetry#SemConv and not /search?q=OpenTelemetry#SemConv as is currently implemented. This causes the spans from kong to not be processable by backends that try to parse this attribute as full URL according to the spec
Expected Behavior
Expected the value in http.url attribute to contain the full URL according to the specification, or for the value to be recorded into http.target which is the correct attribute for this value
Steps To Reproduce
No response
Anything else?
No response

Hi @blumamir, thanks for pointing this out.
I'll create a PR to fix it.


Upgrade to winit 0.18

[x] Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
[x] Updated documentation to reflect any user-facing changes - in this repository
[x] Updated documentation to reflect any user-facing changes - PR to the guide that fixes existing documentation invalidated by this PR.

This has 99% chance of breaking macOS, due to upgrading macOS specific dependencies I cant test.
Can someone please test and let me know what other changes I need to do?
I'll also look into getting CI setup for macOS
I cant even read the docs for metal and cocoa which is super annoying! https://docs.rs/crate/cocoa/0.18.4 https://docs.rs/crate/metal/0.13.0

Ok, I succesfully added CI for macOS, its good to know that it still compiles there. However I still want someone to test on macOS before I release vulkano 0.11.


VS2017 can't find "Eigen/Core"

I'm using VS2017 and CMAKE has no problem, but when I try to compile the solution in Visual Studio, I get an error that VS can't find "Eigen/Core"
To give you some background, I've downloaded eigen-3.3.7.  Inside eigen-3.3.7 there is a directory Eigen.  Inside of that is another directory src along with a lot of files that don't have extensions.   Using the CMake GUI, I tried setting the Eigen_Include_Directory to C:/Users/dllau/Downloads/eigen-3.3.7 as well as C:/Users/dllau/Downloads/eigen-3.3.7/Eigen.  Neither work.
Any suggestions?

Eigen/Core is directly under Eigen/ (look at it in eigen-3.3.7/Eigen you should see it with more than a dozens others)
It doesn't have the usual ".h" extension but is THE include to look for.
Hence "src" is NOT the place to look for it.
if unsuccessful try setting directly the Eigen path in the CMake UI stopping at level "..../eigen-3.3.7"
if still unsuccessful add it manually in VisualStudio in "Properties/C++/General/Additional Include Directories"


VM: Adds support for live memory growth back to boot time memory size

Allows you to shrink memory and then increase it back to boot time size without reboot VM.

Testsuite passed

Testsuite passed


Add Open Measurement APIs

Currently, there are not methods to follow the IMA's Open Measurement guide. These should be added.

Hello Kiro,
When we can expect a fix for the issue?
Thanks,

Hello @amusakhan2016 ,
I have https://github.com/googleads/videojs-ima/pull/994 which should add the APIs for the OMSDK. I will work on publishing a new version soon with these changes.

Hi @Kiro705,
We have both the options in place http://prntscr.com/12zrnlk but still having limited access in the request. http://prntscr.com/12zrq1z
Thanks

Hello @moeednisardms ,
If you implement the omsdk guide with the IMA simple example, do you still see limited access? If you could test this, it would help me to determine if the issue is the VideoJS-IMA plugin or IMA in general.
Let me know if this is or is not possible for you.
Thank you,
Jackson
IMA SDK Team

Hi @Kiro705,
OK. I will try to implement it and let you know.
thanks

HI @Kiro705,
I have implemented the OM SDK guide step by step using IMA simple example and still seeing limited access.
It seems that the issue is with IMA.
Thanks

Hi @Kiro705,
The below regex has fixed the issue for us.
new RegExp('[.+\.]examplevendor1\.com.$')
Thanks

Hi Kiro,
I hope all is well.
We noticed that OMID implementation has been updated. could you please let us know how to pass the OMID now?
below is the previous implementation we had
featureFlags:{'enableOmidBeta': true},
omidMode:{
FULL: [ new RegExp('[.+\.]moatads\.com.$') ]
},
Thanks


Allow creating tables with compound keys

I'm quite new to cassandra so I don't know if I grasp all the details in this issue. I needed to create a certain schema in order to get the best performance when querying against it.  In order to achieve that I needed to create a compound primary key (instead of a composite one), so I've modified a bit the table creation logic and the Keys structure.
cheers

Sure

Thanks a lot!
Sorry for taking long to review this.

Thanks for the contribution, I have now merged this to master.


Add an Opened event to TeachingTip

Filed to prompt discussion. I understand API changes are temporarily locked down. This is to prompt discussion for inclusion in MUX 2.8+ (and also make sure I don't forget to actually submit the code as a PR)
Description
Adds an Opened event to TeachingTip, like the Closed event. The payload is a TeachingTipOpenedEventArgs, but I didn't know if there was anything reasonable to put in there.
Arguably, there should also be an Opening event. I was trying to scope the changes to the smallest ones needed for the Terminal, but since we'll need to pursue another solution, we can likely increase the scope of this change if need be.
Motivation and Context

Relevant to #1607.
Downstream bug: https://github.com/microsoft/terminal/issues/12021 - P1 a11y bug that prompted this
See also #3257 and #3545 - what could have likely been another acceptable workaround for us.

How Has This Been Tested?
Tested only manually, by building a nuget package and ingesting that into the Terminal. Terminal side, I added a handler for the Opened event and used that to manually focus a TextBox in the TeachingTip. This proved that the event was fired after the TextBox was successfully added to the visual tree. Subsequent opening of the TeachingTip continued to successfully focus the TextBox.

Thank you for submitting this PR, the current focus of the team is to assist our users in moving from WinUI 2 to WinUI 3. We are closing this PR as it does not address resolving a critical issue for WinUI 2 or WinUI 3.

@gabbybilka I think we should reconsider this PR, without Opened/Opening event is totally unacceptable.


Remove Marketing contacts from quota?

Hello,
The FAQ doesn't tell if it is possible to reduce the number of Marketing Contact. For example I've launched a campaign and 3000 contacts become Marketing Contacts. I can see 2000 are not interested and will not communicate to them anymore. Can I "reset" the status so they are not in my Quota anymore (I will not MArketing them ever)?
Thank you for the information,
Pierre-Olivier
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d2cdb60b-ed42-48a3-0570-38c4ed69b283
Version Independent ID: 2ca3d180-fce5-78c1-f483-9ecc03b60c19
Content: Administration and setup frequently asked questions (Dynamics 365 Marketing)
Content Source: ce/marketing/setup-troubleshooting.yml
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Hi @popujol -- thanks for the question. If a contact has been marketed to, they count as part of the consumed quota. If a contact hasn't been marketed to in 12 months, it will reset and be removed from your consumed quota.
The Purchase and setup guide has quite a bit of information on quotas. Per the guide, "Each of the contacts that you engage through interactions during the contract period count against your total contact quota, even if you delete, or otherwise stop marketing to, an existing Marketing contact during the contract period."
Hopefully, this helps! If you need more info, visit the Dynamics 365 Marketing forum at https://community.dynamics.com/365/marketing/f/dynamics-365-for-marketing-forum - repost your question there and a developer will be able to help you.


add docker- to the sys-mgmt-agent-go image name

recheck

It looks like the verify job failed just due to a network blip that Go couldn't handle. This is an unfortunately common problem; hopefully it will pass on recheck.

Codecov Report

Merging #1584 into edinburgh will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           edinburgh    #1584   +/-   ##
==========================================
  Coverage      17.01%   17.01%
==========================================
  Files             78       78
  Lines           8817     8817
==========================================
  Hits            1500     1500
  Misses          7167     7167
  Partials         150      150

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b160dae...5d3dd74. Read the comment docs.


Date picker with other languages

Hi.
Can I set the Date Picker with other languages? Others locales?
I need in brazillian portuguese...
thanks

Hi,
Sorry I missed your issue. Actually, the date picker is rendered by your browser, so the locale will be the one of your browser. If you wish to display it in a different language, I guess you need to add a supplementary library to your project that would deal with that.
Best regards

Hi
My browsers are in Portuguese and the Date picker is in English.
Tested Brave, Safari and Chrome.
Newly generated React Typescript project with packages updated in yarn.
Let me know if you need more info.
Also will need simpler example to translate other fields to Portuguese.


[Feature Request] How to add I18N for datepicker shortcuts?

Existing Component
是
Component Name
datePicker
Description
I am working on internationalizing a project built  with element-ui. When I try to add i18n for the datepicker shortcuts, I always get the TypeError: Cannot read property '_t' of undefined error no matter I use this.$t() or set a getter for the vue_i18n
//i18n
{
  //....other things
 "datepickerOptions":{
  "today":"Today"
}

//pickeroptions
{
//....other things
shortcuts: [
      {
        text: this.todayI18n,       //"TypeError: Cannot read property '_t' of undefined"
        onClick(picker: any) {
          const end = new Date();
          const start = new Date();
          picker.$emit("pick", [start, end]);
        },
      ]
}

// component
export default class Component extends Vue {
//....other things
public get todayI18n(){
    return this.$t('datepickerOptions')['today'];
  }
}

Is there any way for  configuring the i18n for datepicker shortcuts?

Please read doc carefully. It's no Element bug


util/mkdef.pl: Trust configdata.pm

This script kept its own database of disablable algorithms, which is a
maintenance problem, as it's not always perfectly in sync with what
Configure does.  However, we do have all the data in configdata.pm,
produced by Configure, so let's use that instead.
Also, make sure to parse the *err.h header files, as they contain
function declarations that might not be present elsewhere.

Merged.  54f3b7d2f5a313e5c702f75ee030f8a08e6bf6aa (it seems like the make update thing was already done...)

This PR seems to have broken the no-deprecated config option. Ever since commit 54f3b7d2f5a building with no-deprecated fails the symbol presence test.

Okie, I'll have a look at that

Hmmm...  this was never cherry picked to 1.1.0...  It should be, will do now, as well as #5282

Cherry picked to 1.1.0 as well.  d8ba72c9f7e397942aabe1a0a3ad7019e774884a


WIP/POC: num-bigint support

Right now, the implementation feels disgusting because I mostly just added clones and amperstands wherever they were needed, but this is mostly just a proof-of-concept because I was looking for an implementation myself and noticed that someone else (see: #222) also wanted one.
Honestly, going forward, I think that there are far too many macros in use here and it would make a whole lot more sense to generalise the code with macros, so that we can just auto-magically implement these for as many types as we want. But, that would require a breaking change.
I don't think that this should affect the runtime of the primitive implementations but will want to benchmark that as well.
No idea how quickly I'll be able to work on this since I don't have a lot of time/energy to put into it, but figured I'd at least start out by opening a PR and seeing what people think, offer suggestions, etc.

Current changes:

Adds BigInt and BigUint submodules of proptest/num, for now.
Factors out separate uint and int submodules of proptest/num which include a generic BinaryTree. For now, this still re-exports wrappers to the individual type submodules to maintain compatibility. Ideally, in the future, we'd just get rid of these copies in favour of the generic versions.
Updates the BinaryTree implementation to include an extra "scratch" field which can be used to save old memory allocations for bigint implementations.

I think this is at a point where it's an improvement over the existing implementation, but would love a second opinion from @Centril or @AltSysrq since you'd be the ones merging. Not 100% sure where we want to export the generic version, or what to call it.

Thanks for the PR
My initial thought is that I'm not sure that bigint support should live in proptest, rather than in num-bigint. I view proptest's role here a bit closer to something like serde - crates that define new types would typically implement Serialize and Deserialize for their type, gated behind a serde feature flag, rather than the other way round (i.e. there's no num-bigint flag in serde).
In fact, num-bigint already has quickcheck and arbitrary feature flags, so it looks like there's already some history there. It's unfortunate we can't reuse those implementations very easily :/
Slowing down existing int types also seems like something we should ideally avoid, though I haven't looked at the code, so not sure exactly what sort of impact we're talking about. FWIW, I fairly often run proptest with --release, since I have quite a lot of long-running tests.
That said, keen to hear other people's points of view on this issue. There may be details about num-bigint that I'm not aware of that mean the impl really should live here :shrug: Happy to be corrected on this

So, my thought process here is that the logic for generating bigints is the same across multiple crates, and I just used num-bigint since it's a common type, but it could in theory be used across crates for other types.
How would you feel instead if this generated slices of ints instead of bigints? That way it could be converted to other types, but would also not be specific to the num-bigint crate. As it stands, the main reason why I made this is because it would be a lot easier to make with access to the internals in this crate, rather than from the ground up in other crates.

Going to close this since it's years old and I'm not particularly interested in resolving the conflicts. If someone else wants to take this on, please feel free to reuse my work.


Small typo on Table 2

Pythia-1.4B seems to be better than OPT-1.3B and Sheared-LLaMA-1.3B on LogiQA. :)

Thanks! We will update the draft.


Removal: Google.Chrome accepts EULA on user's behalf

"By downloading Chrome, you agree to the Google Terms of Service and Chrome and ChromeOS Additional Terms of Service"
Accepts the EULA terms on user's behalf, silently.
Microsoft Reviewers: Open in CodeFlow

This is not the same as a manifest passing explicit agreements. Users aren't required to accept agreements to download via https://www.google.com/chrome/index.html.

The license URL does not have a restriction for download based on: https://www.google.com/intl/en_us/chrome/terms/

"By downloading Chrome, you agree to the Google Terms of Service and Chrome and ChromeOS Additional Terms of Service"

This is not the same as a manifest passing explicit agreements. Users aren't required to accept agreements to download via https://www.google.com/chrome/index.html.

It contradicts what is stated here:
https://www.google.com/chrome/
"By downloading Chrome, you agree to the Google Terms of Service and Chrome and ChromeOS Additional Terms of Service"

This is not the same as a manifest passing explicit agreements. Users aren't required to accept agreements to download via https://www.google.com/chrome/index.html.

How is it not the same? By downloading Chrome the EULA is implicitly accepted, per the language on that page.

This is not the same as a manifest passing explicit agreements. Users aren't required to accept agreements to download via https://www.google.com/chrome/index.html.

They definitely are. How can you as a user avoiding the EULA by downloading, if it is accepted by mere downloading?

The difference is in how the installer handles the terms and licenses.
If you download the google chrome installer and use the command line switch /SILENT, the application will install and run perfectly fine. There is no blocking dialogue which requires accepting the terms of a EULA.  Because the publisher allows for the agreement to be implicit through the use of the silent switch, having the license URL is no different than what Google does by publishing the license URL on their downloads page. Users aren't required to read the EULA to download and install Chrome, so they aren't required to read the EULA to download and install it using WinGet.
With installers that require explicit agreements, users must read the EULA or agree to it before the install can continue. These agreements are the ones that cannot be suppressed with just a /SILENT switch. Even though there may be a --accept-licenses switch, that is still a form of the user explicitly saying I have read and agree to the license terms and conditions. Because the publisher of the installer has required that the user explicitly agree, having the license URL is not enough to satisfy the requirement.  Users must be required to either check a box or click accept on the agreement. So, if WinGet doesn't show the agreement and get explicit consent then WinGet cannot pass any form of --accept-licenses to the installer because the user, legally speaking, has not agreed to the EULA in the manner prescribed by the publisher of the installer.

We are actively working on the "verified publisher" feature so we can have the same mechanisms provided by WinGet in the "msstore" source available to the community repository.


[Package Issue]: TorProject.TorBrowser  Download request status is not success.

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Download request status is not success.
Steps to reproduce
$ winget install TorProject.TorBrowser
Actual behavior
$ winget install TorProject.TorBrowser
Found Tor Browser [TorProject.TorBrowser] Version 11.5
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://dist.torproject.org/torbrowser/11.5/torbrowser-install-win64-11.5_en-US.exe
An unexpected error occurred while executing the command:
Download request status is not success.
0x80190194 : Not found (404).
Expected behavior
successful install TorProject.TorBrowser
Environment
Windows Package Manager (Preview) v1.4.2161-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22622.586
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.2161.0

Screenshots and Logs

Thanks @NSO73

Still the issue, because each time Tor makes an update the url with the package changes.
$ winget install TorProject.TorBrowser
Encontrado Tor Browser [TorProject.TorBrowser] Versión 11.5.8
El propietario de esta aplicación le concede una licencia.
Microsoft no es responsable, ni tampoco concede ninguna licencia de paquetes de terceros.
Downloading https://dist.torproject.org/torbrowser/11.5.8/torbrowser-install-win64-11.5.8_en-US.exe
Se ha producido un error inesperado al ejecutar el comando:
Download request status is not success.
0x80190194 : No encontrado (404).

The solution would be as easy as changing the url to: https://dist.torproject.org/torbrowser/12.0.1/torbrowser-install-12.0.1_ALL.exe