Add numbered_reference_annotator

Following on from #12, #13, #14, this PR adds one of the utilities used by deep_reference_parser. This function takes numbered reference sections in prodigy format and applies a regex to annotate the individual reference sections as prodigy spans.

Moved to https://github.com/wellcometrust/deep_reference_parser/pull/5


Misleading documentation on Delayed Data

Many of the statements in the delayed data section is not correct, since it is now possible to create a reporting suite with optional timestamps: https://experienceleague.adobe.com/docs/analytics/admin/admin-tools/manage-report-suites/edit-report-suite/report-suite-general/timestamp-optional.html?lang=en

Hi @ercanyuz, thanks for the report! Can you indicate which markdown file you're referring to, or which page on Adobe Developer you're referencing?
https://developer.adobe.com/analytics-apis/docs/1.4/

Hi Russ, exactly that part here:
https://developer.adobe.com/analytics-apis/docs/1.4/guides/data-insertion/variable-reference/#user-agent-client-hint-fields
(the newly introduced User Agent Client Hints)
On Wed, Mar 22, 2023 at 12:48 AM Russ Whitchurch @.***>
wrote:

Hi @ercanyuz https://github.com/ercanyuz, thanks for the report! Can
you indicate which markdown file you're referring to, or which page on
Adobe Developer you're referencing?
https://developer.adobe.com/analytics-apis/docs/1.4/
—
Reply to this email directly, view it on GitHub
https://github.com/AdobeDocs/analytics-1.4-apis/issues/117#issuecomment-1478735480,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABP246HNHGUV7ZHJZBHXFJTW5I46NANCNFSM6AAAAAAVB57JNY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @gigazelle, I was apparently referring to an old version of the documentation. Sorry and please ignore.


provisioner vagrant default username should be vagrant instead of ubuntu

Issue Type

Bug report

Molecule and Ansible details
molecule 2.8.3
ansible 2.4.3

Molecule installation method: pip
Ansible installation method: pip

Actual Behaviour (Bug report only)
the instance_config.yml is generated with user: ubuntu as default, in the case of vagrant provider it will simplify to use default user: vagrant. Also in the documentation i was not able to find a way to override the default user: ubuntu.

Vagrant is providing that information to Molecule.
[jodewey:/tmp/test/chrony] [.venv] 1 % molecule create

cd molecule/default/.molecule
[jodewey:/tmp/test/chrony/molecule/default/.molecule] [.venv] % VAGRANT_VAGRANTFILE=Vagrantfile
vagrant ssh-config

Host instance
  HostName <IP_ADDRESS>
  User ubuntu
  Port 2222
  UserKnownHostsFile /dev/null
  StrictHostKeyChecking no
  PasswordAuthentication no
  IdentityFile /private/tmp/test/chrony/molecule/default/.molecule/.vagrant/machines/instance/virtualbox/private_key
  IdentitiesOnly yes
  LogLevel FATAL

could you please advise how to override that user?

Vagrant is doing it, try a different box?

I meant the Vagrantfile is generated by molecule, if i would like to override some parameters on the generated Vagrantfile like for example specify config.ssh.username, would it be possible?

Yes, I understand.  That cannot be changed.  Why is the ubuntu user such a problem?  The ubuntu/xenial64 box is setting this.  If you do not like that user you will need to select another box.

because it seems it cannot login. the default user should be vagrant, but i might be wrong, in that box could be ubuntu.
Anyway i have the log that hangs here:
[   27.966894] cloud-init[1303]: Cloud-init v. 0.7.9 running 'modules:final' at Fri, 23 Feb 2018 17:17:48 +0000. Up 27.26 seconds.
[   28.028448] cloud-init[1303]: ci-info: no authorized ssh keys fingerprints found for user ubuntu.
[   28.028683] cloud-init[1303]: Cloud-init v. 0.7.9 finished at Fri, 23 Feb 2018 17:17:48 +0000. Datasource DataSourceNoCloud [seed=/dev/sdb][dsmode=net].  Up 27.96 seconds
[  OK  ] Started Execute cloud user/final scripts.
[  OK  ] Reached target Cloud-init target.

Ubuntu 16.04.2 LTS ubuntu-xenial ttyS0

ubuntu-xenial login:

and then going on time out because no ssh and ask for username/password authentication.
with this error
fatal: [instance]: UNREACHABLE! => {
        "changed": false,
        "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[<IP_ADDRESS>]:2222' (ECDSA) to the list of known<EMAIL_ADDRESS>Permission denied (publickey,password).\r\n",
        "unreachable": true
    }

and the error seems related to:
fatal: [instance]: UNREACHABLE! => {
        "changed": false,
        "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[<IP_ADDRESS>]:2222' (ECDSA) to the list of known<EMAIL_ADDRESS>Permission denied (publickey,password).\r\n",
        "unreachable": true
    }

changing box using ubuntu14 seems working properly, but it would invalidate the value of testing.... ok i will try to find another ubuntu16 box... thanks for help

tried just now from molecule/default/.molecule path, where Vagrantfile is located. runnin vagrant ssh is able to ssh into the machine without anyproblem with user ubuntu by default. i do not know what i might miss.

Can you describe what you are doing?  How are you trying to log into the box and it fails?  Can you cut and paste?  Have you tried molecule login?  This handles it all for you.

molecule login is login in properly.
my issue was: I left the connection_options.ansible_ssh_user: vagrant from the previous box and i was looking for an error where it was just merely mine (misconfiguration).
Basically it is all working, my mistake.
Thank you.


There are files in the plugins repo missing licenses

For example script/tool/test/analyze_command_test.dart and other files in the script directory.
In general we should probably apply all the logic we have in flutter/flutter to make sure all files have licenses.

Turns out there are about 350 files without license blocks :/

~200 example/ files
~115 test files
~20 script/ files
The rest is pretty much all actual plugin code.


pls add fullscreen/maximize window and pot player option doesn't work

pls add fullscreen/maximize window and pot player option doesn't work

[image: image.png]
What's the name of your potplayer exe file and where is it located?
On Thu, Oct 17, 2024 at 8:48 PM ranehal @.***> wrote:

pls add fullscreen/maximize window and pot player option doesn't work
—
Reply to this email directly, view it on GitHub
https://github.com/j-unayed/FTPaddict/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWAIOXSEP34OB5YF2MEOHJTZ37E3TAVCNFSM6AAAAABQD53TX2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4TIOJXGA2DMNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add dot() methods to ActiveProtocol and ShamirProtocol.

Added in https://github.com/cicada-mpc/cicada-mpc/commit/afa3fb4df766e38396498cf584bd28a49703d4db I also added an argument to the example script to make testing this easier. Calling it like: python examples/dot.py -p shamir will run it with the ShamirProtocol object and -p active with the ActiveProtocol object.


autocomplete for swr doesn't work on vscode

Bug report
Description / Observed Behavior
SWR autocomplete / code suggestion doesn't appear for useSWRImmutable, useSWR, useSWRSubscription import

Expected Behavior
autocomplete should work for SWR code in vscode
Repro Steps / Code Example

Just type the useSWR
It doesn't show auto completion and import autocomplete on vscode
on good news, mutate autosuggestion works

Additional Context
SWR version.  latest
Add any other context about the problem here.
One fix i can think of is migrating from old default export into named export

I've also observed this behavior.

Seems like #2563 tried to resolve it but doesn't work as expected.
The reason is that it is bundled by bunchee as export { useSWR as default }, and it seems like the TypeScript cannot auto-import as default modules. I've opened an issue to Typescript here and will come back to this issue once it is resolved.

@vikyw89 Resolved with https://github.com/microsoft/TypeScript/pull/54871, let's test it out after the next Typescript release :)

Hey @vikyw89 it's been a while, TypeScript v5.2.2 has been released and will be supported on the next VS Code release 😄.
If you want to check it out now, you can try it on the vscode insiders.

Awesome ! Thank you so much

@vikyw89 @yash-sharma01  New release came out and it seems to be working.
I guess you can close this issue now.


Min edit distance with sequence of variable length

I have a question that I need to ask you. There are two different sequences, A and B. I need to compare sequence A with sequence B to find the segment on sequence B that has the smallest editing distance from sequence A. If I take the length of sequence A as the window and move one distance on sequence B each time, the following problem will occur.

If the length of the fragments on sequence B is not fixed, for example, if the length distribution is [len (A) -2, len (A)+2], the results will be more accurate, but there will be significant performance loss. I would like to know if you would have a better way to solve this problem. Looking forward to your reply.

For this use case you would probably want to use Smith Waterman. I have plans to add this to rapidfuzz for a while already: https://github.com/maxbachmann/RapidFuzz/issues/175 however I am not really sure when I will get around to it.


Run cargo-machete in CI

What problem does this solve or what need does it fill?
Sometimes a crate dependency becomes unused as the crate evolves. This is hard to spot manually because you have to check over the imports of every single .rs file. Removing unused dependencies is important because it can decrease compile times, which are prevalent to a large project such as Bevy.
What solution would you like?
Run cargo-machete and remove all unused dependencies. (Make sure to verify that the affected crates still compile! There can be false positives!)
Then, either in the same PR or a follow-up one, add cargo-machete to ci so it can be checked for every pull request using Github Actions. For now this check will not be required to merge a PR, since there is a chance of false positives. False positives can be added to Cargo.toml's [package.metadata.cargo-machete] section to ignore them.
What alternative(s) have you considered?
I can't really think of any good alternatives.
Additional context
I found a few false positives when first trying it out, such as:

ron in example_showcase
thiserror in bevy_time
rustc-hash in bevy_ecs
And more

Can it be done by enabling rustc lint https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unused-crate-dependencies ?

not a fan of cargo machete as it has false positive. it's been already talked about, see https://github.com/bevyengine/bevy/pull/7734.
For me this means that it's more in the controversial zone than "good first issue"

Can it be done by enabling rustc lint https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unused-crate-dependencies ?

That would be interesting to test adding as a workspace lint and seeing how many false positives are raised.

not a fan of cargo machete as it has false positive. it's been already talked about, see #7734.
For me this means that it's more in the controversial zone than "good first issue"
We're already checking for unused dependencies with cargo-udeps https://github.com/bevyengine/bevy/blob/main/.github/workflows/validation-jobs.yml#L265-L288

Ok, that all makes sense. I was not aware that cargo-udeps was in the build system. I'm going to close this as not planned, but it may be worth experimenting with #![deny(unused_crate_dependencies)].


Endpoint/Message/Schema spec updates

Updates for Endpoint, Message, and Schema specs aligning with resource model updates
Resource model files
Code generator for OpenAPI and document schemas (JSON and Avro) in tools
Removed all the "manually" built schemas and OpenAPIs

Signed-off-by: Clemens Vasters<EMAIL_ADDRESS>

Approved on the 11/9 call


Variance values for cell-level uncertainty.

Basic implementation of this is done. I need to test it further. Right now it works as follows,
SELECT VAR(B) FROM SANE_R;
gives the following result
+-------------+
|  EXPR_1_VAR |
+-------------+
|           0 |
|           0 |
|8.96187201351742 |
|           0 |
|           0 |
|           0 |
|           0 |
+-------------+

8.96 seems ... a bit high.  If memory serves, SANE_R's B attribute can only take values from 1-5.  A 9 shouldn't even be possible, even with an even split of samples with B=1 and B= 5.

Just tested it out.  The numbers seem a bit more sane.  We should do a code review, but otherwise looks good.  Let's integrate it into the UI

I had made a mistake with the indexes in the earlier one. But the variance calculation is still wrong. When I get classes from the classifiers getVotesForInstance method, I thought that we get the PDF for the model, but the probabilities don't add up to one. I'm not sure if I have understood something wrong here.

Ok, the returned values were probabilities which the classifiers belonging to each class assign for the given instance. It is not the PDF.
There was a function for variance in the moa Instances class, which when used with the class index returned the required attributes variance. The variance seems to be working correctly now.

Yeah, the only lens we have at the moment is a categorical version of the DCR lens.  Realistically, this is not something for which variance will be particularly helpful.  We probably need a few more lenses before we can test this process end-to-end rather than with just unit test cases.

Variance is now calculated by sampling.

Cool!  Close the ticket after the code review.


Comment out strings with newlines properly

Introduce a _comment_out helper function to be used
in answerfile generation. Tests included.
Also unify ini file loading in answerstore and refactor
into a class method.
Related: OAMG-5861

Can one of the admins verify this patch?

/rerun

/rerun

/rerun


apis: update breaking driver existence check changes

Bring libtock-rs into consistency with the changes in this PR.
Only apis/gpio/src/lib.rs needed to be changed. The rest is a grepped driver_check -> exists.

Added ppannuto's suggested change and resquashed.
diff

diff --git a/apis/gpio/src/lib.rs b/apis/gpio/src/lib.rs
index 8328358..bc2d500 100644
--- a/apis/gpio/src/lib.rs
+++ b/apis/gpio/src/lib.rs
@@ -57,7 +57,8 @@ pub struct Gpio<S: Syscalls>(S);

 impl<S: Syscalls> Gpio<S> {
     /// Returns Ok() if the driver was present.This does not necessarily mean
-    /// that the driver is working.
+    /// that the driver is working, as it may still fail to allocate grant
+    /// memory.
     pub fn exists() -> Result<(), ErrorCode> {
         S::command(DRIVER_NUM, EXISTS, 0, 0).to_result()
     }

It looks like some of those CI errors are real — unit tests that need to be updated to match the new expectations.

I rebased to master. The tests are passing, so I think this PR should be merged.


Avoid generating CSS file

I love this module but I'd like to avoid having a generated CSS file. Is there any way I can do that?

preview: false should do the trick.

As @VPenkov says, even if i only need a scss partials file generated with the sprite, a css file is outputed too in the same folder.
If we use a custom template and scss partial maybe we could asume that the css file could be ommit in most cases.
Reading the code maybe a preview.css = false (or path to css specific dest) configuration option here could do the trick without breaking changes ? : https://github.com/shakyShane/gulp-svg-sprites/blob/master/index.js#L313


feat(client): Add ability to go offline/online

Current dependencies on/for this PR:

main

PR #2163

PR #2170

PR #2185

PR #2186   👈

This comment was auto-generated by Graphite.


Provide information about the source ADD format and version

I think it would make sense that we provide information in the parse result (or API Element) that contains some information about the source document such as the format itself (Swagger, OpenAPI, API Blueprint) and the version of that format.
Although the goal of API Elements is that the format is canonical and the original source shouldn't matter. When telling users about the errors/warnings or linking to the underlying specification it can be needed. I believe Apiary editor for example tells the user the format used in the error/warning messages so it has to detect this itself.
Perhaps this could be some kind of link element that links to the specific format/version. I am not entirely sure what link relation we should use, I've used via in the example below but I don't think that is semantically correct. That should be a link to the underlying source not the sources specification.
For example:

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md
https://apiblueprint.org/documentation/specification.html (we don't provide versioned specs but probably should in future if we intend to diverge major versions).

This could perhaps look something like:
{
  "element": "parseResult",
  "meta": {
    "links": [
      {
        "element": "link",
        "attributes": {
          "title": {
            "element": "string",
            "content": "Swagger 2"
          },
          "relation": {
            "element": "string",
            "content": "via"
          },
          "href": {
            "element": "string",
            "content": "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md"
          }
        }
      }
    ]
  },
  "content": []
}

This could simplify Dredd as well. Currently its parse function returns two results, the media type and the API Elements object. As Dredd needs to know the media type in multiple occasions later on, it's a bit tedious to keep the information together in the rest of the flow. If it's in one package out of the box, that would be nice.
And yes, I know one of the occasions is a dirty "if/else media type" branching, which is something beating the purpose of API Elements, but it's there for backward compatibility. Although scheduled to be removed, it's gonna live with us for a while. Theoretical purity meets reality 🙂

Yes I think this has been discussed in the past. We need to embed the meta information from the original document inside the api elements it self. It creates a lot of problems and bypasses currently.
What the new doc renderer needs is:

lineNumber and character possition of ADD in annotations
Type of the ADD document; I'd rather have the canonical mimetype there than a title. I can assume title title from the mime-type and I can localize it (if needed). The link to spec is a good idea.


Add check to ensure user's email address is a work email address.

Resolves #36

LGTM, just needs to be rebased


rigorously compare french data & outputs to bob's versions

predictions for P,R,K should be very very similar
identify known differences, e.g. in the exact coefficients for the garcia-gordon model, etc.
bob's final, french-specific code is in 'stream_metab_usa/starter_files/One station metab code.R'

see test-french.R (PR pending)


Fix CircleCI setup on wagtail/wagtail

In the past few PRs that modify the CircleCI setup (#10751, #10743, #10709), the CircleCI builds always succeeded on the PR, but always 💥 on Wagtail's own main branch.
For some reason CircleCI uses a higher tier runner on my PR builds:

while Wagtail's builds use a lower tier:

I'm experimenting with this PR by creating it from a branch in wagtail/wagtail instead of my fork. If it fails, then my theory checks out. I'll try adding --parallel=2 and see if it works after that.

OK, confirmed the issue can be replicated with this PR.


Introducing params_for_update schema fields for Hosts

Introducing credential endpoints for host. Referencing this.

Actually now that I look at this I don't think HMC hosts support authentication, there was no verify_credentials method and they don't do scanning

@agrare I'll close the PR then 👌

@agrare we may need to reopen the PR bc this provider allows for edit (or remove the flag that says this host can be edited at all)

That right - HMC hosts don't support any kind of auth so we don't need to be able to update.


Cannot read property 'immutableProps' of undefined

I don't know why i'm getting this error. Someone could help how to track the problem?
Cannot read property 'immutableProps' of undefined
Thanks!

I have the same issue +1

@paulocesarpcfj @sunnyvempati I assume you're doing something like this:
reduxForm()(MyForm)

If that's the case, until a fix gets released, can you try at least do reduxForm({})? It should fix.

Possible fix in #3052

If that's the case, until a fix gets released, can you try at least do reduxForm({})? It should fix.

Works for me. Thanks!

@gustavohenke thank you!

@gustavohenke It worked for me too! Thank you very much. Should I close the issue, then or maintain opened cause of the bug?

@paulocesarpcfj the PR #3052 closed it! But rest assured that @erikras will post an update here as soon as the fix gets released.

@erikras Any idea when this will be released? 🙂

@erikras Any idea when this will be released? 🙂

@MichaelDeBoey I'm pretty sure that this is going to be soon. For now you can simply change your calls from reduxForm() to reduxForm({}).

Any idea when this will be released? It's been almost a month

Fix published in v7.0.0.


MFI error

Solve the error: has dtype incompatible with int64, please explicitly cast to a compatible dtype first.
Please recheck if this is the best way to solve, may another solution is better

Hello @nauZetdev
Yeah mfi (like many others 😓) in 0.3.14 had some issues. But the development version has been revamped a few months ago that should be much better. Curious if true on your end. 😎
Kind Regards,
KJ


Docker

[ ] Write your own Dockerfile (this should include all the software and libraries/packages needed to run your analysis pipeline, but not this project itself - i.e., do not git clone your project repo inside your Dockerfile). This Dockerfile should live in the root of your project repository.
[ ] Use GitHub Actions to build your Docker image from your Dockerfile. Do NOT include any of your data or code in the docker images!
[ ] Include instructions in the project README on how to use your project with and without Docker.

hey @SiqiTao! according to my understanding, there are two main parts that need to get done here:

Write Dockerfile
Build Docker image from Dockerfile

I have been reviewing all lecture videos/ notes tonight to get a sense of Docker. So I have been trying to do part 1 - write Dockerfile. There are still many uncertainties so I will need to consult TA during lab tomorrow to finish the Dockerfile. Can you be in charge of part 2 - build Docker image then? At the same time, we can ask @danfke and @iamMoid for help as well! Tbh I'm still quite lost now lol.

lol I was trying to write the first part as well but yes I will look into the second part later! I am so confused too hahaha

I would suggest following the slack channel for 522 to be aware of the challenges others are facing.

Based on my observations, it is difficult to install R packages on a docker image that is based on Python. However, the jupyter/datascience-notebook docker file supports both! Here is an example that @ttimbers suggested on slack: https://github.com/jupyter/docker-stacks/blob/master/datascience-notebook/Dockerfile which can serve as a good starting point.

Sooooo finally, the Dockerfile run smoothly, and I was able to run Makefile successfully with this Dockerfile.
@SiqiTao it's ready for you to take over. thank you!!


TypeError: download is not a function

Windows, Node.js version 19.7.0 (installed via node version manager)
My settings.json: (I am trying to download FTB Inferno and following the modpacks.ch directions in the readme)
{
    "curseforge_api_key": "<excluded but known valid>",
    "pack_id": "99",
    "pack_version": "6475"
}

I feel like I'm missing something obvious here.
The console becomes filled with a few hundred of these (presumably one for each mod):
TypeError: download is not a function
    at download_mod (file:///D:/GitSecondary/MC-Modpack-Downloader/src/modpacks.ch.js:21:15)
    at file:///D:/GitSecondary/MC-Modpack-Downloader/src/modpacks.ch.js:35:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

The download npm package is installed, as well as all the others. I tried renaming it to downloadCall in the import and usage because of this post but the error still wasn't resolved.

Can indeed reproduce, couldn't be bothered to figure out the root cause, so decided to move away from the download package altogether.
Should be working again.
Sometimes individual files may still fail for whatever reason, rerunning the script should successfully download these remaining files.

Much appreciated. I ran it again and got this:
cmd_logs.txt
Got some of those ECONNRESET errors but they didn't appear again on another run
Didn't try to use the downloaded files in a launcher yet though. I'll report back when I do.

The ECONNRESET issue should also be resolved with the latest code.


run_replay.py cannot deal with github urls and gets stuck in infinite loop

python run_replay.py --traj_path=trajectories/fuchur/gpt4__klieret__swe-agent-test-repo__default_from_url__t-0.20__p-0.95__c-2.00__install-1/klieret__swe-agent-test-repo-i1.traj --data_path=trajectories/fuchur/gpt4__klieret__swe-agent-test-repo__default_from_url__t-0.20__p-0.95__c-2.00__install-1/all_preds.jsonl --config_file=config/default_from_url.yaml

INFO     💽 Loaded dataset from klieret__swe-agent-test-repo-i1.jsonl
INFO     🌱 Environment Initialized
INFO     ▶  Beginning task 0
Traceback (most recent call last):
  File "/Users/fuchur/Documents/24/git_sync/SWE-agent/run.py", line 85, in main
    observation, info = env.reset(index)
  File "/Users/fuchur/Documents/24/git_sync/SWE-agent/sweagent/environment/swe_env.py", line 135, in reset
    self.base_commit = self.record["base_commit"]
KeyError: 'base_commit'
WARNING  ❌ Failed on klieret__swe-agent-test-repo-i1: 'base_commit'
INFO     Beginning environment shutdown...
INFO     Agent container stopped
INFO     🌱 Environment Initialized
INFO     ▶  Beginning task 1
Traceback (most recent call last):
  File "/Users/fuchur/Documents/24/git_sync/SWE-agent/run.py", line 85, in main
    observation, info = env.reset(index)
  File "/Users/fuchur/Documents/24/git_sync/SWE-agent/sweagent/environment/swe_env.py", line 135, in reset
    self.base_commit = self.record["base_commit"]
KeyError: 'base_commit'
WARNING  ❌ Failed on klieret__swe-agent-test-repo-i1: 'base_commit'
INFO     Beginning environment shutdown...
INFO     Agent container stopped
INFO     🌱 Environment Initialized
INFO     ▶  Beginning task 2
Traceback (most recent call last):
  File "/Users/fuchur/Documents/24/git_sync/SWE-agent/run.py", line 85, in main
    observation, info = env.reset(index)
  File "/Users/fuchur/Documents/24/git_sync/SWE-agent/sweagent/environment/swe_env.py", line 135, in reset
    self.base_commit = self.record["base_commit"]
KeyError: 'base_commit'

I think this is a deprecated feature related to something we explored that didn't end up making it into the final model. @john-b-yang will know for sure.

Being able to do replays is quite nice for testing purposes (like testing the "open PR" mechanism etc.). If it's not much used right now, I'll just merge the fix for now and we can remove the whole thing later if we choose so.

ah ok if you found a use for this we should keep it! thanks

I just cleaned up this file a bit in db344162b1d243eff87fd5fb291313839ba99124 (mainly just removed process_synthetic_trajs function, --action_trajs_path argument).
This an important + helpful file. The main use case is if a user is interested in creating a demonstration for a new configuration from an existing set of actions (reflected by the --traj_path argument). Instead of having to create it manually with python run.py --model human ..., one can just run
python run_replay.py \
        --traj_path trajectories/carlosejimenez/<experiment>/pallets_flask-123.traj \
        --config_file config/<new config file name>.yaml \
        --data_path path/to/file/with/pallets_flask-123-task-instance.jsonl # Optional, automatically inferred from experiment folder if available \
        --suffix run1 # Optional \


[WIP]fix(cloudid): optimized saml sso

这个 PR 实现什么功能/修复什么问题:

[ ] 功能、bugfix描述
[ ] 冒烟测试
[ ] 单元测试编写

是否需要 backport 到之前的 release 分支:

release/3.5

/area cloudid
/cc @zexi

Codecov Report

Merging #9888 (6c8236d) into master (1d1a014) will increase coverage by 0.27%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #9888      +/-   ##
=========================================
+ Coverage    5.97%   6.24%   +0.27%
=========================================
  Files         849     477     -372
  Lines      132095   82616   -49479
=========================================
- Hits         7895    5162    -2733
+ Misses     123499   77037   -46462
+ Partials      701     417     -284

Flag
Coverage Δ

aFlag
6.24% <ø> (+0.27%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/validators/validators_cert.go
37.06% <0.00%> (ø)

pkg/cloudprovider/route_table.go

pkg/multicloud/aws/networkinterface.go

pkg/compute/baremetal/diskconfig.go

pkg/cloudcommon/db/owner.go

pkg/apigateway/clientman/clientman.go

pkg/util/fileutils2/seeker.go

pkg/util/sysutils/hostname.go

pkg/cloudcommon/db/lockman/inmemory.go

pkg/cloudcommon/db/modelbase.go

... and 363 more

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 1d1a014...6c8236d. Read the comment docs.

Codecov Report

Merging #9888 (6c8236d) into master (1d1a014) will increase coverage by 0.27%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #9888      +/-   ##
=========================================
+ Coverage    5.97%   6.24%   +0.27%
=========================================
  Files         849     477     -372
  Lines      132095   82616   -49479
=========================================
- Hits         7895    5162    -2733
+ Misses     123499   77037   -46462
+ Partials      701     417     -284

Flag
Coverage Δ

aFlag
6.24% <ø> (+0.27%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/validators/validators_cert.go
37.06% <0.00%> (ø)

pkg/cloudprovider/route_table.go

pkg/multicloud/aws/networkinterface.go

pkg/compute/baremetal/diskconfig.go

pkg/cloudcommon/db/owner.go

pkg/apigateway/clientman/clientman.go

pkg/util/fileutils2/seeker.go

pkg/util/sysutils/hostname.go

pkg/cloudcommon/db/lockman/inmemory.go

pkg/cloudcommon/db/modelbase.go

... and 363 more

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 1d1a014...6c8236d. Read the comment docs.


Undocumented router workaround.

Besides replacing * as {0,} in Express,
there is one more workaround should do with regex in router (in Express 4.x):
. (dot, period, which matches almost anything) should be replaced to [\s\S] in regex pattern, because dot in regex pattern will also be escaped.
Hope this can also be fixed in Express 5.

Hey @boxsnake, have you taken a look at newer versions of path-to-regexp?  In 5.0 we will be updating to the newest version.  You can test our these changes in the route tester tool.  Hopefully that helps.

Hey @boxsnake, have you taken a look at newer versions of path-to-regexp? In 5.0 we will be updating to the newest version. You can test our these changes in the route tester tool. Hopefully that helps.

Before I made this issue, I have tested with newest path-to-regexp and it works fine.
The router tester tool seems to use an old version of path-to-regexp which makes :username(.*) to (?:(\.*)).
If the new version of path-to-regexp, I think the problem will be resolved.
Since the . dot workaround is undocumented in Express 4.x guide, I hope the workaround can be also documented in order to save developer's time in debugging for this.

Hi @boxsnake , yes, the plan is to get it upgraded and all the breaking changes in path-to-regexp for 5.x. There are multiple issues about this open in this repo, so we don't need another to track it :)

Since the . dot workaround is undocumented in Express 4.x guide, I hope the workaround can be also documented in order to save developer's time in debugging for this.

Please open an issue (or even make a pull request!) in the website repository .


keybase-installer fails on windows with msys2

Hey guys.
I'm trying to install keybase on windows 7 in the msys2 environment:
$ node --version
v0.10.32

$ npm --version
1.4.28

$ gpg --version
gpg (GnuPG) 1.4.18

Here's what happens:
$ keybase-installer
info: Made temporary directory: C:\Users\celliso2\AppData\Local\Temp\keybase_install_9qw3ggaMNh7qLws_iK_9wQ
info: cleaning up tmpdir C:\Users\celliso2\AppData\Local\Temp\keybase_install_9qw3ggaMNh7qLws_iK_9wQ
error: exit code 2
warn: gpg: invalid key resource URL `C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\secring.gpg'
warn: gpg: keyblock resource `(null)': general error
warn: gpg: invalid key resource URL `C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\pubring.gpg'
warn: gpg: keyblock resource `(null)': general error
warn: gpg: fatal: can't create `/home/celliso2/.gnupg/C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\trustdb.gpg': No such file or directory
warn: secmem usage: 0/0 bytes in 0/0 blocks of pool 0/65536

$ keybase
bash: keybase: command not found

The two files it's looking for exist, but are empty:
$ ls -all 'C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\pubring.gpg'
-rw-r--r-- 1 celliso2 None 0 Jan 26 16:55 C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\pubring.gpg

$ ls -all 'C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\secring.gpg'
-rw-r--r-- 1 celliso2 None 0 Jan 26 16:55 C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\secring.gpg

But the other path /home/celliso2/.gnupg/C:\Users\celliso2\AppData\Roaming\.keybase-installer\keyring\trustdb.gpg is clearly borked.
Anything else I can send to help figure this out?

oops, added it to keybase-issues


Fixes Multi-Line Headers and handles multiple Adresses

fixes issues like this: https://github.com/Webklex/php-imap/issues/156
header lines with multiple email adresses (and names) are now parsed correctly.

Hi @Oliver-Holz ,
many thanks for your pr! :)
Best regards,

@Webklex Thanks for the fast merge 👍

And released as v2.7.0 :)


private/topblock no longer working?

Describe the issue
I'm trying to get another document going with
pi:
topblock: no
private: yes
and it doesn't seem to work.
See #507 for background.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

@cabo, Can you provide your source document?
I was able to get in text (similar header in HTML & PDF):
                                               K. Nanayakkara Rathnayake
                                                            19 June 2021

            Standard for Data Transmission via Smoke Signals

with
<?xml version="1.0" encoding="utf-8"?>
  <?rfc topblock="no"?>
  <?rfc private="true"?>
  <rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="none" docName="draft-smoke-signals-00" category="info">
  ...

Actually, <?rfc topblock="no"?> had no effect on the output.

Thank you.  I was able to get  to work today; no idea why that didn't work yesterday.
topblock only seems to be implemented in base (and seems to be ignored in html.by), but I can't get it to work even in text.  I don't have a lot of time today; will need to spend some more time later for investigating.
(This is not urgent before I-D deadline, obviously; this is about usage of xml2rfc by another SDO.)

#628 is much, much more urgent.


Fixed text autocorrect & Message Builder AtUser repeated return nil

Message Builder AtUser repeated return nil:
https://github.com/larksuite/oapi-sdk-go/blob/v3_main/service/im/v1/ext_model.go#L269

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.wenlingang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


docker commands need full container name, add an interceptor for fuzzy searching

Details
make docker start, docker stop, docker restart, docker rm, docker logs and docker exec support using part of the container name instead of full name to run.
Breakdown

Add a root docker interceptor, when the command is start, stop, restart, rm, logs or exec, run the bash file docker-fuzzy-command-interceptor.sh with all the parameters, the rest of the command run directly.
Find the container name in the parameters. Note that there could be options before or after the input container name which should be record.
Run docker ps --format "{{.Names}}" and grep the input container name. Note that start should only match the stopped containers, and stop, restart, rm, logs, exec should only match the running containers.
If there's only 1 result, use sed to change the container name of original command to the full name, and then run the command.
If there are more than 1 result, print all the matched container and prompt to ask user which one is the right one, and if the user input is the valid option, use sed to change the container name of original command to the full name, and then run the command. If the user input is invalid, print error and exit 1.
If there's no result, print error and exit 1.

Acceptance Criteria

docker start, stop, restart, rm, logs and exec can run with a substring of the container name.
If there's no matched container, the console will show error.
If there's multiple matched containers, the console will prompt and list all the possible container for user to choose.
Has README.md with usage.

Consider Levenshtein distance for better fuzzy searching.


[backport 3.18.x] CAMEL-18834: camel-core - StringQuoteHelper should remove quotes for …

…… (#8941)
CAMEL-18834: camel-core - StringQuoteHelper should remove quotes for single element
Currentlyt RouteTemplateLocalBeanTest#testLocalBeanFactoryMethod is failing without this fix.
Description

Target

[ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[ ] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[ ] I checked that each commit in the pull request has a meaningful subject line and body.

[ ] I formatted the code using mvn -Pformat,fastinstall install && mvn -Psourcecheck

Thanks @davsclaus !


[Logitech Litra] Version of litra-rs is too high?

Extension
https://www.raycast.com/timrogers/logitech-litra
Description
Error:
You are running v1.1.2 of the `litra` CLI which is too new for this Raycast extension. Please downgrade to v0.2.0 or a later version within the same major version.:

Is it normal that your litra-rs version "runs ahead" of the raycast extension? Do I need to downgrade litra-rs to continue using the raycast extension?
Steps To Reproduce
Update litra-rs to latest version.
Use the raycast litra extension.
Current Behaviour
No response
Expected Behaviour
No response

@Nenuial Thanks for flagging this! This is a bug.

@raycastbot rename this issue to "Current versions of litra CLI not supported due to new major version"

Fix awaiting review now: https://github.com/raycast/extensions/pull/12054


Asynchronous parsing

The parsing of a template and the generation of the output from a template could take some time. Should there be the option of using non-blocking asynchronous methods?

As per this blog post the answer is: NO!
If the call wants parsing and rendering to be async: they can implement the most suitable way.


[#release] prepare for 2.1.0

2.1.0-SNAPSHOT -> 2.1.0

Codecov Report

Merging #7244 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #7244   +/-   ##
=======================================
  Coverage   39.21%   39.21%
=======================================
  Files        3299     3299
  Lines       95835    95835
  Branches    11841    11841
=======================================
+ Hits        37579    37582    +3
+ Misses      55338    55334    -4
- Partials     2918     2919    +1

Impacted Files
Coverage Δ

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

...pinpoint/profiler/instrument/AccessorAnalyzer.java
57.14% <0.00%> (-8.58%)
:arrow_down:

...or/metric/response/ReuseResponseTimeCollector.java
77.19% <0.00%> (-3.51%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70.00% <0.00%> (-3.34%)
:arrow_down:

...vercorp/pinpoint/web/vo/ApplicationAgentsList.java
66.66% <0.00%> (-2.57%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
78.39% <0.00%> (ø)

...point/rpc/client/DefaultPinpointClientHandler.java
72.40% <0.00%> (+0.32%)
:arrow_up:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
19.76% <0.00%> (+1.16%)
:arrow_up:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
74.16% <0.00%> (+1.66%)
:arrow_up:

...cluster/zookeeper/ZookeeperClusterDataManager.java
54.83% <0.00%> (+1.93%)
:arrow_up:

... and 3 more

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 d7c5936...934aa37. Read the comment docs.


fix issue:1477 some tasks would be running all the time when db delayed(#1477)

What is the purpose of the pull request
fix issue:1477 some tasks would be running all the time when db delayed

split the submit to two part: submit to db and submit to queue.
while(true) retry submit task to db and queue.

Verify this pull request
server model is difficult for ut because some db operations. there maybe some refactors in the feature.
This pull request is code cleanup without any test coverage.

Codecov Report

Merging #1501 into dev will decrease coverage by <.01%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             dev   #1501      +/-   ##
========================================
- Coverage   2.77%   2.77%   -0.01%
========================================
  Files        272     272
  Lines      13602   13621      +19
  Branches    2160    2167       +7
========================================
  Hits         378     378
- Misses     13205   13224      +19
  Partials      19      19

Impacted Files
Coverage Δ

.../org/apache/dolphinscheduler/common/Constants.java
0% <ø> (ø)
:arrow_up:

...server/master/runner/MasterBaseTaskExecThread.java
0% <0%> (ø)
:arrow_up:

...va/org/apache/dolphinscheduler/dao/ProcessDao.java
0% <0%> (ø)
:arrow_up:

...ler/server/master/runner/MasterTaskExecThread.java
0% <0%> (ø)
:arrow_up:

...dolphinscheduler/common/queue/TaskQueueZkImpl.java
0% <0%> (ø)
:arrow_up:

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 4d8d74a...ee8ee7b. Read the comment docs.


Capture exceptions by const& in docs.

Hi,
The core guidelines recommend catching by const& for all but very small value types. One of my colleagues filed a PR internally with catch (nlohmann::json::type_error& e), instead of catch (const nlohmann::json::type_error& e), with the explanation that it was copied from the documentation. The error here holds a string however, so it is not a simple type that fits in a single register, I think const & is appropriate. This PR updates the documentation's exception catching to be all const.
Automated replace performed with the following command:
find ./ -type f -name *.cpp -print0 | xargs -0 sed -i -e 's|catch (json|catch (const json|g'

Pull request checklist
Read the Contribution Guidelines for detailed information.

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp. The whole process is described here.

coverage: 100.0%. remained the same when pulling e5fb288b90ae6e6302bfd115a4417760a3e11c81 on iwanders:catch-by-const-in-docs into 5d2754306d67d1e654a1a34e1d2e74439a9d53b3 on nlohmann:develop.

Failure here seems unrelated to these changes?
Use of uninitialized value $Clang in concatenation (.) or string at /usr/bin/scan-build line 1859.
sh: 1: : Permission denied
scan-build: error: Cannot find an executable 'clang' relative to scan-build. Consider using --use-analyzer to pick a version of 'clang' to use for static analysis.
gmake[3]: *** [CMakeFiles/ci_clang_analyze.dir/build.make:72: CMakeFiles/ci_clang_analyze] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:1143: CMakeFiles/ci_clang_analyze.dir/all] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:1150: CMakeFiles/ci_clang_analyze.dir/rule] Error 2
gmake: *** [Makefile:465: ci_clang_analyze] Error 2
Error: Process completed with exit code 2.

Thanks!


Frontend2 4 draft

mergeMsg:
WARN:
home.css and courses.css styles may overflow to other panes
next: centering google map
waiting on :
-backend functionality for pane 4

Closes #80 and #57


Instructions unclear regarding first column

Hi!
The instructions for creating the mapping file say that column A should be the login name of the user, however in the illustration, it has an SID instead.
The instructions or illustration should be amended to clarify which is correct (or if both are acceptable)

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

ID: d8379014-03ff-3ab5-aa1f-5d9c3a02be68
Version Independent ID: cfabc646-70ea-6b24-7d16-ea0955479aa5
Content: Create a user-mapping file for data content migration - Migrate to SharePoint and OneDrive
Content Source: migration/create-a-user-mapping-file-for-data-content-migration.md
Service: sharepoint-online
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@douglasac10  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hello @douglasac10
How are you?
I see that the article has been updated recently to clarify that SP2013&2016 can accept SID and Login name as the instructions says, and a new screenshot has been added.
Hope this clarifies it to you,
Thanks

@douglasac10 Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Arrange code in proper directories

There is no tag for dynamic programming and questions like LCS are lying in miscellaneous category. It is good time to arrange the code in proper directories other wise it won't take long until it gets out of hand

If you don't mind, I can do it for you and also add codes for matrix exponentiation, range sum using segment trees, Djikstra algorithm, Minimum spanning tree algorithms.

Ok
I will assign it to you.


Add option to specify .env file in now.json

I use 'now -E' to deploy a .env file when deploying Next.js projects to now, which is a really great feature. Sometimes, I irritatingly forget to specify the '-E' flag when running 'now' and have to redeploy.
It would great if I could specify the option to also deploy a .env file in in now.json so I don't need to remember to specify '-E' each time - perhaps by file name, for those than might want to have different .env files for different environments.
Tagging in @timneutkens after discussing on Slack

@iaincollins see PR 👍


Fix minor typos and correct dead link

Correct dead book image link. Correct minor typos.

Thanks for this!


fstar --help should document what happens with --codegen

Here's the specification that I inferred by playing around. Feel free to correct it if it's wrong.
--codegen OCaml|FSharp Generate code for execution. For every "module M" directive found in any of the .fst files passed on the command-line, write out to disk a corresponding "M.(ml|fs)" file in the current working directory. For prefixed modules such as "FStar.Heap", the file is FStar_Heap.(ml|fs).

write out to disk a corresponding "M.(ml|fs)" ...except when there is a corresponding --codgen-lib flag.
The meaning of --codegen-lib should also be specified (see #372).

Feel free to document this on our new wiki:
https://github.com/FStarLang/FStar/wiki/codegen-and-codegen-lib-flags

If I want to document something, where should it go? Right now, we have the tutorial, the README.md, the --help flag, the doc folder, and the wiki? Is there a rule to determine what goes where?

Here is my take on this:

the --help flag is only for one line (80 chars) descriptions not for complete documentation
the Wiki is for in-depth technical documentation (think reference manual)
the Tutorial is for getting new users quickly up to speed

You should not use README.md or the doc folder for documentation. I know this was previously done for README.md, but I don't think that's a good idea, and I've moved all those things to the wiki recently.

https://github.com/FStarLang/FStar/wiki/Executing-F*-code done


返回表字段 兼容mysql8

mysql8的字段全部是大写，虽然select的字段是小写，但是返回仍然是大写，给他重新设下别名

[This message is created by hyperf-bot]
Hi @lphkxd, this is a READ-ONLY repository, please submit your Pull Request to hyperf/hyperf repository, this Pull Request will close automatically.

[This message is created by hyperf-bot]
Hi @lphkxd, this is a READ-ONLY repository, please submit your Pull Request to hyperf/hyperf repository, this Pull Request will close automatically.


Implement textDocument/documentLink

The obvious use would be to link #include directives to their resolved target files.
Clangd does currently support go-to-definition here, which gets the job done but isn't as discoverable (the editor doesn't know where to show the links).

Pending code review: D70872.


1.1.0

Description

Small description

Related issues

GH issues

Npm releases
n/a

tested failed e2e. they work for me


upgrade(installer): Support apm libraries configs

What does this PR do?
To configure tracing libraries through the installer we can't assume they will be installed (customer may not be using SSI). It should work out of the box as soon as REMOTE_POLICIES is enabled.
This PR changes the current setup to:

Support packages with only configuration
Create the datadog-apm-libraries config-only package

Motivation
Describe how you validated your changes
E2E + tests on VMs
Possible Drawbacks / Trade-offs
Additional Notes

/merge

/merge -c

/merge


Revisiting issue 15: Slots/labels

Hi @laurens94,
I wanted to revisit this topic: https://github.com/laurens94/vue-timeline-chart/issues/15 - as the proposed solution was to add information outside the component. It's viable for small information, such as a label, but becomes a challenge to maintain consistency on the row heights, especially if there is a lot of information to match on a row (task, assignee, date, etc.). Could you please reconsider adding a slot (#beforerow -  or similar), so any HTML can be added to the same row?
Thanks again for the great library!
BR,
N.

I see, that's indeed tricky.
I'd love to simply add additional slots for you, however I tested it out a bit and it would require a refactor of the internal logic to get your desired outcome.
Currently the logic to determine positioning of items / mousepos etc is all based on a single element (.timeline). Whenever we add an element to the rows in a way that the row height would be adjusted to that element, items in the row are pushed away and it would break all positioning/zooming logic.
What you might want to try is adding the elements (as labels) or outside of the element (as you probably already did), watch their height with a resizeObserver, sync that height to each group's cssVariables and apply it by overwriting the css (I just added the possiblity to set cssVariables prop to groups as well since v2.5.0).
I added the #timestamps-before and #timestamps-after slots in this release as well so you can insert your own content into the timestamps element now.
Adding something like a #beforerow would result in the same structure as the #group-label, so I don't think it makes sense to add it at the moment.
I'll keep this feature request on the roadmap, but probably won't be working on it soon. So let me know if the syncing of heights using cssVariables works!


Statistics page shows zero users

Since July 4th the statistics page on ATN shows zero users (again). For example:
https://addons.thunderbird.net/thunderbird/addon/mail-merge/statistics/usage/?last=30

Apparently the data went online yesterday again (creating a single data point for 112.13 for some of my Add-ons). Let's hope it stays online...

stats should all be caught up now, sorry about that.


refactor(sbb-title): implement styles as described in coding standards

Codecov Report

Merging #1422 (d6ea8d9) into master (ab917b0) will increase coverage by 2.63%.
The diff coverage is 65.77%.

:exclamation: Current head d6ea8d9 differs from pull request most recent head df7ca09. Consider uploading reports for the commit df7ca09 to get more accurate results

@@            Coverage Diff             @@
##           master    #1422      +/-   ##
==========================================
+ Coverage   54.85%   57.48%   +2.63%
==========================================
  Files          49       60      +11
  Lines        1659     2218     +559
  Branches      406      575     +169
==========================================
+ Hits          910     1275     +365
- Misses        671      854     +183
- Partials       78       89      +11

Impacted Files
Coverage Δ

src/components/sbb-clock/sbb-clock.tsx
0.00% <0.00%> (ø)

src/components/sbb-logo/sbb-logo.tsx
0.00% <0.00%> (ø)

src/components/sbb-signet/sbb-signet.tsx
0.00% <0.00%> (ø)

src/components/sbb-teaser-hero/sbb-teaser-hero.tsx
80.00% <ø> (-12.86%)
:arrow_down:

src/components/sbb-teaser/sbb-teaser.tsx
78.94% <ø> (ø)

...etable-barrier-free/sbb-timetable-barrier-free.tsx
100.00% <ø> (ø)

...ents/sbb-timetable-button/sbb-timetable-button.tsx
52.54% <ø> (ø)

...ts/sbb-timetable-cus-him/sbb-timetable-cus-him.tsx
76.92% <ø> (ø)

.../sbb-timetable-duration/sbb-timetable-duration.tsx
82.60% <ø> (ø)

...bb-timetable-occupancy/sbb-timetable-occupancy.tsx
100.00% <ø> (ø)

... and 52 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[bug]  decoration doesn't work on Wayland

Describe the bug
On wayland when "decorations": false in tauri.conf.json , the decoration doesn't hide but when std::env::set_var("GDK_BACKEND", "x11");  it hidden   but I do not want  to set it to x11.
Reproduction
1.set "decorations": false in tauri.conf.json
2.start your tauri application
Expected behavior
the decoration is not visible when using wayland without  setting.
Platform and versions
Environment
  › OS: openSUSE 20230322 X64
  › Node.js: 16.18.0
  › npm: 9.3.1
  › pnpm: 7.17.0
  › yarn: 1.22.19
  › rustup: 1.25.2
  › rustc: 1.67.1
  › cargo: 1.67.1
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.2.3
  › @tauri-apps/api [NPM]: 1.2.0
  › tauri [RUST]: 1.2.4,
  › tauri-build [RUST]: 1.2.1,
  › tao [RUST]: 0.15.8,
  › wry [RUST]: 0.23.4,

App
  › build-type: bundle
  › CSP: unset
  › distDir: ../dist
  › devPath: http://localhost:1420/
  › framework: React
  › bundler: Vite

App directory structure
  ├─ src-tauri
  ├─ .vscode
  ├─ src
  ├─ public
  ├─ dist
  ├─ .github
  ├─ node_modules
  ├─ .git
  └─ docker

Stack trace
No response
Additional context
No response

I'm developing on an Ubuntu based OS and bumped into the same problem. Took me a while before realizing...
Environment
  › OS: Ubuntu 23.04 X64
  › Node.js: 18.12.0
  › npm: 9.5.1
  › pnpm: Not installed!
  › yarn: 0.32+git
  › rustup: 1.25.2
  › rustc: 1.68.0
  › cargo: 1.68.0
  › Rust toolchain: stable-x86_64-unknown-linux-gnu

Packages
  › @tauri-apps/cli [NPM]: 1.0.2 (outdated, latest: 1.3.1)
  › @tauri-apps/api [NPM]: 1.3.0
  › tauri [RUST]: 1.3.0,
  › tauri-build [RUST]: 1.3.0,
  › tao [RUST]: 0.16.1,
  › wry [RUST]: 0.24.3,

App
  › build-type: bundle
  › CSP: unset
  › distDir: public
  › devPath: http://localhost:5173/
  › framework: Svelte

App directory structure
  ├─ .svelte-kit
  ├─ node_modules
  ├─ public
  ├─ src
  ├─ src-tauri
  └─ static

I can also confirm the same issue on wayland, arch linux.
[✔] Environment
    - OS: Arch Linux Rolling Release X64
    ✔ webkit2gtk-4.0: 2.40.3
    ✔ rsvg2: 2.56.2
    ✔ rustc: 1.70.0 (90c541806 2023-05-31)
    ✔ Cargo: 1.70.0 (ec8a8a0ca 2023-04-25)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 20.4.0
    - yarn: 1.22.19
    - npm: 9.8.0

[-] Packages
    - tauri [RUST]: 1.4.0
    - tauri-build [RUST]: 1.4.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: 1.4.0
    - @tauri-apps/cli [NPM]: 1.4.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist
    - devPath: http://localhost:8080/
    - framework: Vue.js (Vue CLI)
    - bundler: Webpack

This bug is from tao


InvalidRequestError Please reduce the length of message

I was running the Example jupyter notebook at https://github.com/microsoft/autogen/blob/main/notebook/agentchat_auto_feedback_from_code_execution.ipynb
# followup of the previous question
user_proxy.send(
    recipient=assistant,
    message="""Plot a chart of their stock price change YTD and save to stock_price_ytd.png.""",
)

While running the above cell, I got below error.
{
	"name": "InvalidRequestError",
	"message": "This model's maximum context length is 8192 tokens. However, your messages resulted in 11433 tokens. Please reduce the length of the messages.",
	"stack": "---------------------------------------------------------------------------
InvalidRequestError                       Traceback (most recent call last)
/workspaces/autogen/notebook/agentchat_auto_feedback_from_code_execution.ipynb Cell 12 line 2
      1 # followup of the previous question
----> 2 user_proxy.send(
      3     recipient=assistant,
      4     message=\"\"\"Plot a chart of their stock price change YTD and save to stock_price_ytd.png.\"\"\",
      5 )

File /workspaces/autogen/autogen/agentchat/conversable_agent.py:334, in ConversableAgent.send(self, message, recipient, request_reply, silent)
    332 valid = self._append_oai_message(message, \"assistant\", recipient)
    333 if valid:
--> 334     recipient.receive(message, self, request_reply, silent)
    335 else:
    336     raise ValueError(
    337         \"Message can't be converted into a valid ChatCompletion message. Either content or function_call must be provided.\"
    338     )

File /workspaces/autogen/autogen/agentchat/conversable_agent.py:462, in ConversableAgent.receive(self, message, sender, request_reply, silent)
    460 if request_reply is False or request_reply is None and self.reply_at_receive[sender] is False:
    461     return
--> 462 reply = self.generate_reply(messages=self.chat_messages[sender], sender=sender)
    463 if reply is not None:
    464     self.send(reply, sender, silent=silent)

File /workspaces/autogen/autogen/agentchat/conversable_agent.py:781, in ConversableAgent.generate_reply(self, messages, sender, exclude)
    779     continue
    780 if self._match_trigger(reply_func_tuple[\"trigger\"], sender):
--> 781     final, reply = reply_func(self, messages=messages, sender=sender, config=reply_func_tuple[\"config\"])
    782     if final:
    783         return reply

File /workspaces/autogen/autogen/agentchat/conversable_agent.py:606, in ConversableAgent.generate_oai_reply(self, messages, sender, config)
    603     messages = self._oai_messages[sender]
    605 # TODO: #1143 handle token limit exceeded error
--> 606 response = oai.ChatCompletion.create(
    607     context=messages[-1].pop(\"context\", None), messages=self._oai_system_message + messages, **llm_config
    608 )
    609 return True, oai.ChatCompletion.extract_text_or_function_call(response)[0]

File /workspaces/autogen/autogen/oai/completion.py:799, in Completion.create(cls, context, use_cache, config_list, filter_func, raise_on_ratelimit_or_timeout, allow_format_str_template, **config)
    797     base_config[\"max_retry_period\"] = 0
    798 try:
--> 799     response = cls.create(
    800         context,
    801         use_cache,
    802         raise_on_ratelimit_or_timeout=i < last or raise_on_ratelimit_or_timeout,
    803         **base_config,
    804     )
    805     if response == -1:
    806         return response

File /workspaces/autogen/autogen/oai/completion.py:830, in Completion.create(cls, context, use_cache, config_list, filter_func, raise_on_ratelimit_or_timeout, allow_format_str_template, **config)
    828 with diskcache.Cache(cls.cache_path) as cls._cache:
    829     cls.set_cache(seed)
--> 830     return cls._get_response(params, raise_on_ratelimit_or_timeout=raise_on_ratelimit_or_timeout)

File /workspaces/autogen/autogen/oai/completion.py:220, in Completion._get_response(cls, config, raise_on_ratelimit_or_timeout, use_cache)
    218         response = openai_completion.create(**config)
    219     else:
--> 220         response = openai_completion.create(request_timeout=request_timeout, **config)
    221 except (
    222     ServiceUnavailableError,
    223     APIConnectionError,
    224 ):
    225     # transient error
    226     logger.info(f\"retrying in {retry_wait_time} seconds...\", exc_info=1)

File ~/.local/lib/python3.10/site-packages/openai/api_resources/chat_completion.py:25, in ChatCompletion.create(cls, *args, **kwargs)
     23 while True:
     24     try:
---> 25         return super().create(*args, **kwargs)
     26     except TryAgain as e:
     27         if timeout is not None and time.time() > start + timeout:

File ~/.local/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py:155, in EngineAPIResource.create(cls, api_key, api_base, api_type, request_id, api_version, organization, **params)
    129 @classmethod
    130 def create(
    131     cls,
   (...)
    138     **params,
    139 ):
    140     (
    141         deployment_id,
    142         engine,
   (...)
    152         api_key, api_base, api_type, api_version, organization, **params
    153     )
--> 155     response, _, api_key = requestor.request(
    156         \"post\",
    157         url,
    158         params=params,
    159         headers=headers,
    160         stream=stream,
    161         request_id=request_id,
    162         request_timeout=request_timeout,
    163     )
    165     if stream:
    166         # must be an iterator
    167         assert not isinstance(response, OpenAIResponse)

File ~/.local/lib/python3.10/site-packages/openai/api_requestor.py:299, in APIRequestor.request(self, method, url, params, headers, files, stream, request_id, request_timeout)
    278 def request(
    279     self,
    280     method,
   (...)
    287     request_timeout: Optional[Union[float, Tuple[float, float]]] = None,
    288 ) -> Tuple[Union[OpenAIResponse, Iterator[OpenAIResponse]], bool, str]:
    289     result = self.request_raw(
    290         method.lower(),
    291         url,
   (...)
    297         request_timeout=request_timeout,
    298     )
--> 299     resp, got_stream = self._interpret_response(result, stream)
    300     return resp, got_stream, self.api_key

File ~/.local/lib/python3.10/site-packages/openai/api_requestor.py:710, in APIRequestor._interpret_response(self, result, stream)
    702     return (
    703         self._interpret_response_line(
    704             line, result.status_code, result.headers, stream=True
    705         )
    706         for line in parse_stream(result.iter_lines())
    707     ), True
    708 else:
    709     return (
--> 710         self._interpret_response_line(
    711             result.content.decode(\"utf-8\"),
    712             result.status_code,
    713             result.headers,
    714             stream=False,
    715         ),
    716         False,
    717     )

File ~/.local/lib/python3.10/site-packages/openai/api_requestor.py:775, in APIRequestor._interpret_response_line(self, rbody, rcode, rheaders, stream)
    773 stream_error = stream and \"error\" in resp.data
    774 if stream_error or not 200 <= rcode < 300:
--> 775     raise self.handle_error_response(
    776         rbody, rcode, resp.data, rheaders, stream_error=stream_error
    777     )
    778 return resp

InvalidRequestError: This model's maximum context length is 8192 tokens. However, your messages resulted in 11433 tokens. Please reduce the length of the messages."
}

Autogen should automatically handle the the context length of the message. Right?
### Tasks

#156

@sonichi @piyush-at-sangti  This is a symptom of a bigger change that is needed. Autogen should never stop working due to errors. Agents should be spun up to do any activity that could potentially cause an error of any kind.  The agents are designed to read the error messages and figure out what to do next (rewrite code and try again; report problem to user; etc).  If Autogen is failing it is because it is doing too much in it's core program and not via an agent.
Let me know your thoughts.

Sure. That should be the goal. The progress in #156 is encouraging. I wish it can be accelerated with your help :)

I’d like to help! Is 156 just focused on context length? Or, is there a place that is more focused on overall architecture? Thank you.
On Oct 21, 2023, at 9:48 AM, Chi Wang @.***> wrote:

Sure. That should be the goal. The progress in #156https://github.com/microsoft/autogen/issues/156 is encouraging. I wish it can be accelerated with your help :)
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/autogen/issues/238#issuecomment-1773816052, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABS7E4XRGPCQBXCIX3365D3YAPODZAVCNFSM6AAAAAA6ADNED2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZTHAYTMMBVGI.
You are receiving this because you commented.Message ID: @.***>

We are closing this issue due to inactivity; please reopen if the problem persists.


ErrorPath does not work when declared in error return object for async validators

Description
When using the error return object to define the errorPath it does not display the error message as expected.
Validation does work properly.
Minimal Reproduction

https://ngx-formly-custom-async-validator-tests.stackblitz.io/
https://stackblitz.com/...
Your Environment

Angular version: 7.2.11
Formly version: 5.8.0

Additional context
Add any other context about the problem here.
I have tried to define the errorPath as part of the validator options in the app module as well but that didn't work as well. This was the problem initially when I created #2352 which I thought was causing this problem as well.

Your response times are legendary! 😮 👍


[Suggestion] Migrate settings

When a config file is updated with a mod update, it is preferential to migrate settings over instead of forcing pack creators to go through and manually reapply all custom settings to the new file, many of which have a new location.

I'll try to do this the next time I make a major change to the configuration, but hopefully I don't have to do that for a while.

I've implemented a property migration system in the new configuration management library I'm using, so this should no longer be an issue.


Separate docs versions

Reference URL for looking at netlify logs:
https://app.netlify.com/sites/pachyderm-docs/deploys/5dc5c4b00d6dd40009757842

@Connor-Wallace I just wanted to put this PR on your radar because we're doing some janky HTML templating in doc/build.sh, including some styling on our docs version selector that doesn't work on OS X (but does work on Linux).
I wanted to let you know because while I think this is probably fine for now, I think you might know the most about what a better process might look like, so I figured in case we do need to change this you'll have some context


NewsComputers/Articles: (extended description)

| 'Off to the races': DARPA, Harvard breakthrough brings quantum computing years closer - Breaking Defense |
| Researchers improve magnets for computing |
| A universal framework describing the scrambling of quantum information in open systems |
| Photonic chip that 'fits together like Lego' opens door to semiconductor industry |
| Physicists 'entangle' individual molecules for the first time, hastening possibilities for quantum computing |

#3057 merged into #3060


[CMT-824-1176] Patch 19

Description

Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.

This pull request ...
Fixed issue

Please indicate the fixed issues with this exact format Fixes #232 where 232 is the number of the issue. This will trigger an auto-close if the issue when this PR is merged.
Supported keywords:
Fixes #1,#2,#3
close #1, #2, #3
fix #1 #2 #3
resolve #1,#2 #3
Resolves: #1,#2,#3
closed : #1, #2, #3

Fixes #(issue)
Type of change

Please delete options that are not relevant and check the box.

[ ] Add a new article/page
[ ] Fix a Typo
[ ] Add a new translation
[ ] Other

Resources

Any screenshots, links or relevant resources to explain better the changes.

this PR has 141 old commits attached, just for the newsletter translation.
please redo a clean PR.
you can ask here or on telegram if you need any help


Translate Codebase & Index

I submit this partial PR to make sure there is no one else working in parallel with the same translation

Thanks.  Closing in favour of https://github.com/heroku/12factor/pull/50


Automated cherry pick of #7267: fix GetOrCreateVpcForClassicNetwork

Cherry pick of #7267 on release/3.3.
#7267: fix GetOrCreateVpcForClassicNetwork

/lgtm
/approve


Any examples for Angular2+ ?

Hi, I would like to know that do you guys have any examples for Angular2+ or React?
Thanks

Hi Pinyarash,
I’ve contacted my former team whether they can share any details around that.
Just a quick FYI, at some point in 2016 they started to focus on this https://wiki.opendaylight.org/view/TransportPCE:Main


activate exercise_mode / high_temptarget_raises_sensitivity at 101

The current cutoff for activating exercise_mode / high_temptarget_raises_sensitivity is > 110 ( >= 111 ).  This seems to cause confusion over the behavior of temp targets in the 101-110 range.  To simplify things, this PR proposes removing the + 10 threshold, so that exercise_mode / high_temptarget_raises_sensitivity apply proportionally to any temp target > 100 ( >= 101 ).

Note to clarify: for people with regular targets >100 mg/dL, this would also apply the sensitivity adjustment when a temp target is >100. So: for someone who normally targets 150 but targets 130, for example, prior to a meal, that will actually cause opposite impact. Flagging this to note in the docs that we possibly want to discourage people with such high targets not to use exercise mode or variations of settings if they're not comfortable with targets closer to 100.

Any objections to merging this to 0.7.0-dev for testing?


Abort is crashing the server in Bun

What version of Hono are you using?
4.4.10
What runtime/platform is your app running on?
Bun
What steps can reproduce the bug?
Following up of #3032 which solved the issue but something else is going on.
When hooking up OpenAI streaming library with a Hono SSE endpoint, an abort to the client makes the hole server stop.
The logs:
> bun run t.js
aborted
AbortError: The operation was aborted.

Bun v1.1.17 (Linux x64)

The code:
import { Hono } from "hono";
import { streamSSE } from "hono/streaming";
import { OpenAI } from "openai";
// import { serve } from "@hono/node-server";

const hono = new Hono();

const openai = new OpenAI();

hono.get("t", async (c) => {
  const thread = await openai.beta.threads.create();
  const assistantStream = openai.beta.threads.runs.stream(thread.id, {
    assistant_id: "XXX",
    additional_messages: [
      {
        role: "user",
        content: "Count from 1 to 100 in letters",
      },
    ],
  });
  return streamSSE(c, async (stream) => {
    stream.onAbort(() => {
      assistantStream.controller.abort();
    });
    return new Promise((resolve, reject) => {
      assistantStream
        .on("event", (event) => {
          stream.writeSSE({
            event: "event",
            data: JSON.stringify(event),
          });
        })
        .on("abort", () => {
          console.log("aborted");
          resolve();
        })
        .on("end", resolve)
        .on("error", (err) => {
          console.error(err);
          reject(err);
        });
    });
  });
});

// serve(hono);
export default hono;

Again, it works normally with NodeJS.
I'm not sure if it's caused by Bun itself or if Hono is missing a catch or something.
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response

Hi @abaudhuin
Can you figure out if it is caused by Hono's side or the "OpenAI and Bun" matter?

HI @yusukebe
I tried having a look but i can't figure out myself, sorry.
The only thing I can see is that this error is logged AbortError: The operation was aborted. and it's not the case with NodeJS.
I'm guessing it's originated from Bun but I'm not sure if it's a broken behavior from Bun or error handling issue from Hono.

This could be a bug in Bun, or it could be a missing exception handler where streams are used

New findings.
I implemented the stream manually without the OpenAI lib:
hono.get("t", async (c) => {
  const controller = new AbortController();
  // Dummy stream from example doc
  const r = await fetch("http://localhost:3000/t", {
    signal: controller.signal,
  });
  return streamSSE(c, async (stream) => {
    stream.onAbort(() => {
      controller.abort();
    });
    return new Promise((resolve, reject) => {
      const reader = r.body.getReader();
      const decoder = new TextDecoder();
      const read = async () => {
        try {
          const { done, value } = await reader.read();  // THIS LINE HERE
          if (done) {
            stream.close();
            resolve();
            return;
          }
          stream.writeSSE({
            data: decoder.decode(value),
            event: "time-update",
          });
          read();
        } catch (e) {
          if (e.name === "AbortError") {
            resolve();
            return;
          }
          console.error(e);
          reject(e);
        }
      };
      read();
    });
  });
});

This works fine: abortError is properly catched.
However, if I move the reader.read() line up 1 line outside of the try, it reproduces the global crash of my initial case.
Tbh I'm not really sure what it means in term of source of the issue.
Do you have any insights?

I think it makes sense given your most recent example. When exception occurs and there's no one to catch, it makes sense Bun crashes. It does because it doesn't know any better. You haven't told it.
But when you put in try...catch, you do tell it what to do and so it works as expected.
This may help you.
When you return a streaming response, Hono has successfully completed its job. However you still have a process running and if it crashes, it won't be caught by Hono onError handler. This is something that I had to learn myself twice. It might be the source of your confusion too.
This means that it is your own responsibility to catch any exceptions that occur in the code after Hono has returned response (in this case streamSSE one).
I think the last section here tells the same thing too. https://hono.dev/docs/helpers/streaming#error-handling
Let me know what you think!

Hello, thanks for your answer.
Sorry my previous message is both a bit wrong and miss leading.
Here is a repo with a step by step repro: https://github.com/abaudhuin/bun-hono-stream-abort-repro
(You will need an OpenAI key and and assistant ID)
I couldn't reproduce without OpenAI's lib but the behavior is still very suspect.
After a streamed request being aborted the entire process seems to be frozen. All subsequent requests hang forever.
No error seem to be thrown.
I think something is wrong, but I'm still not sure where.

Hi @abaudhuin !
This issue is fixed with the latest Bun. Please try it. I'll close this, but if you still have a problem, feel free to reopen it.


Moe writing branch from c467733bfa0ab1ad39bdd736465fa1576dabcf21

I will close this PR right now. A new PR may be created later after everything is fully validated.

I will close this PR right now. A new PR may be created later after everything is fully validated.


[TEST - DO NOT MERGE] Switch to beta version of MakeCode

There's now a beta tag that includes the config change: https://github.com/microsoft/pxt-microbit/compare/v7.1.12...v7.1.13
I'll merge this for now as it's a big step forward from our deployment.


namespacing css using the exclusive filter

I am trying to use the exclusive filter to namespace css, but I can't get it to return the updated frame.text
var _cleanHtml = function(srcCode) {
    var cleanHTML = sanitizeHtml(srcCode, {
      allowedTags: config.allowedTags, // array of html elements, which includes 'style' tag
      allowedAttributes: false,
      exclusiveFilter: function(frame) {
        if(frame.tag === 'style') {
          frame.text = _namespaceCss(frame.text);
          console.log(frame.text); // contains namespaced css
        }
      }
    });

   console.log(cleanHTML); // contains non-namespaced css :(

    return cleanHTML;
  };

I noticed the frame object contains a function called updateParentNodeText. Is is possible to use this to update the frame.text?

exclusiveFilter is not meant to alter the frame object. It should return a boolean value that tells sanitize-html whether to filter the tag out.


Fix AutoTVM int8 vnni dense task extraction problem

This PR is a minor fix on the AutoTVM int8 vnni dense task extraction.
VNNI dense strategy is used only when the input-weight-out datatypes are u8s8s32 and the weight layout is NC16n4c.
Without altering the weight layout, for a simple dense workload:
def @main(%data: Tensor[(1, 16), uint8] /* ty=Tensor[(1, 16), uint8] /, %weight: Tensor[(32, 16), int8] / ty=Tensor[(32, 16), int8] /) -> Tensor[(1, 32), int32] {
nn.dense(%data, %weight, units=None, out_dtype="int32") / ty=Tensor[(1, 32), int32] */
}
There are two non-VNNI tasks extracted:
[Task(func_name=dense_nopack.x86, args=(('TENSOR', (1, 16), 'uint8'), ('TENSOR', (32, 16), 'int8'), None, 'int32'), kwargs={}, workload=('dense_nopack.x86', ('TENSOR', (1, 16), 'uint8'), ('TENSOR', (32, 16), 'int8'), None, 'int32')),
Task(func_name=dense_pack.x86, args=(('TENSOR', (1, 16), 'uint8'), ('TENSOR', (32, 16), 'int8'), None, 'int32'), kwargs={}, workload=('dense_pack.x86', ('TENSOR', (1, 16), 'uint8'), ('TENSOR', (32, 16), 'int8'), None, 'int32'))]
WIth this fix, one VNNI task is extracted:
[Task(func_name=dense_vnni.x86, args=(('TENSOR', (1, 16), 'uint8'), ('TENSOR', (2, 4, 16, 4), 'int8'), None, 'int32'), kwargs={}, workload=('dense_vnni.x86', ('TENSOR', (1, 16), 'uint8'), ('TENSOR', (2, 4, 16, 4), 'int8'), None, 'int32'))]

So autotvm doesn't run alter layout during tuning, and task extraction for an op that requires alter layout is done in a very strange way. When I added VNNI dense in https://github.com/apache/tvm/pull/10230, I didn't want to follow the existing ad-hoc approach that supports task extraction for such ops (like https://github.com/apache/tvm/blob/main/python/tvm/topi/x86/conv2d.py#L223-L235).
For now, if you want to tune vnni dense with autotvm, you need to apply alter layout before you extract tasks.

When I added VNNI dense in #10230, I didn't want to follow the existing ad-hoc approach that supports task extraction for such ops

BTW, why did not you want to follow this standard autotvm rules?
@masahi

BTW, why did not you want to follow this standard autotvm rules?

Just like you said "Approach looks hacky but how it is implemented now", I don't like how things are done currently. I know VNNI op is much faster than generic ones that don't require alter layout, so it makes no sense that I have to add a new compute that takes unaltered weight as input just for task extraction.


Extract request body as raw string

Is it possible to get the request body as a raw string instead of JSON or form format?
It seems like this should be possible, considering there is an impl for it:
https://github.com/sammhicks/picoserve/blob/564108f870e7ac2b1aecf6b8295b44007cca58bf/src/extract.rs#L301
However, I tried this with the alloc feature enabled, which compiled but s was always empty
get(|s: alloc::string::String| async move {
    log::info!("{s}");
}),

When I implemented my own StringExtractor, it worked:
use embedded_io_async::Read;
use picoserve::{
    response::{Connection, IntoResponse, ResponseWriter, StatusCode},
    ResponseSent,
};

pub struct StringExtractor(pub alloc::string::String);

/// Rejection used for [StringExtractor].
pub enum StringRejection {
    /// Error decoding the body as UTF-8
    BodyIsNotUtf8,
    /// Error deserializing Form
    BadForm,
}

impl IntoResponse for StringRejection {
    async fn write_to<R: Read, W: ResponseWriter<Error = R::Error>>(
        self,
        connection: Connection<'_, R>,
        response_writer: W,
    ) -> Result<ResponseSent, W::Error> {
        (StatusCode::BAD_REQUEST, "Not valid UTF-8")
            .write_to(connection, response_writer)
            .await
    }
}

impl<'r, State> picoserve::extract::FromRequest<'r, State> for StringExtractor {
    type Rejection = StringRejection;

    async fn from_request<R: embedded_io_async::Read>(
        _state: &'r State,
        _request_parts: picoserve::request::RequestParts<'r>,
        request_body: picoserve::request::RequestBody<'r, R>,
    ) -> Result<Self, Self::Rejection> {
        Ok(Self(
            core::str::from_utf8(
                request_body
                    .read_all()
                    .await
                    .map_err(|_| StringRejection::BadForm)?,
            )
            .map_err(|_| StringRejection::BodyIsNotUtf8)?
            .into(),
        ))
    }
}

Good find, it's a bug!
Turns out that the extraction logic for alloc::vec::Vec was buggy, and by extension, the extraction logic for alloc::string::String!


[Bug]: Direct IP Address won't save

Entering an IP number in the configuration does not enable the 'Save' button.
I can access the console with X32-Edit (it is via VPN) but Companion will not save the IP address.

Should have a better default for frame rate for Fades. Bumping that up allowed access.


Nas all

**Hi 👽 ! If you are interested in ⚙Advanced Phishing⚙ and the ✨Evilginx3✨ tool then I offer you Google Gmail and Custom Phishlets (Paypal, Cryptos...) with a ✅Free Tutorial✅ which arrives if the 📈Telegram reaches 50 Subscribers📈
⏳ GOOGLE GMAIL PHISHLET 2024 WITH PROOF ⏳
->
⛔https://www.youtube.com/watch?v=nA47UknIE6A⛔
🔓 Ask your questions and a free tutorial from 50 subs on telegram !!!
->
📩https://t.me/Noremorse1011📩**


ISPN-10255 incorrect detail about LRU eviction with near cache

https://issues.jboss.org/browse/ISPN-10255
Backport to 9.4.x

Integrated, thanks Don!


colbertv1 validation

Hello,
I am trying to follow the instructions that you posted on colbertv1 branch read.me file.
when I use the top1000.dev file for validation, load_topK_pids function needs label (line 111).
But, top1000.dev file has a format <qid, pid, query, passage> like described in "https://msmarco.blob.core.windows.net/msmarcoranking/top1000.dev.tar.gz"
Do I miss something?
Thank you

load_topk seems to match top1000.dev format. Would that work?

See issue #39


Disable action buttons when there is no icon

Action buttons should not be active when there is no icon added. In that case it downloads an empty file.

It would be good if the bottom bar were completely hidden.


Switch Case default branch, initilization.

Switch case default branch initializes to x when it should initialise to register data_q.
Code line  below
 data_d = data_q;

will produce x to procmux input A
assign data_d = \$procmux$5 (1'bx, 2'b01, { \$procmux$7_CMP , \$procmux$6_CMP  });

but if data_d will get it's default value from input "we" instead of reg data_q it works.
//        data_d = we; This works.

  assign data_d = \$procmux$5 (we, 2'b01, { \$procmux$7_CMP , \$procmux$6_CMP  });

Used script
design -reset
read_verilog u_test.v
hierarchy -top u_test
proc; opt; memory; dff2dffe; wreduce; clean; opt
write_verilog -norename y_u_bug.v

X initialisation code
module u_test (we, wad, rad, clk, rst);

    input    [3:0] wad;
    input    we;
    output   [3:0] rad;
    input    clk;
    input    rst;

    wire [3:0]  rad;
    reg  [3:0]  r_q;
    wire [3:0]  r_d;
    reg  data_d, data_q;

    assign rad = r_q;

    always @(posedge clk) begin
        if (rst) begin
            data_q <= 1;
	     r_q        <= 0;
        end
        else begin
           data_q <= data_d;
	    r_q        <= r_d;
        end
    end

    always @(*) begin

        data_d = data_q;
//        data_d = we; This works.

        case ( { we, we } )
            2'b10 :
                begin
                    data_d = 1'b0;
                end
            2'b01 :
                begin
                    data_d = 1'b1;
                end
            default:;
        endcase

    end

    assign r_d = data_q ? wad : r_q;

endmodule

and it's result
/* Generated by Yosys 0.6+      28 (git sha1 ea61aae, gcc 7.0.2 -fPIC -Os) */

(* top =  1  *)
(* src = "u_test.v:1" *)
module u_test(we, wad, rad, clk, rst);
  (* src = "u_test.v:18" *)
  wire \$0\data_q[0:0] ;
  (* src = "u_test.v:18" *)
  wire [3:0] \$0\r_q[3:0] ;
  wire \$auto$dff2dffe.cc:158:make_patterns_logic$17 ;
  wire \$auto$dff2dffe.cc:158:make_patterns_logic$20 ;
  wire \$procmux$6_CMP ;
  wire \$procmux$7_CMP ;
  (* src = "u_test.v:6" *)
  input clk;
  (* src = "u_test.v:14" *)
  wire data_d;
  (* src = "u_test.v:14" *)
  wire data_q;
  (* src = "u_test.v:12" *)
  wire [3:0] r_d;
  (* src = "u_test.v:11" *)
  wire [3:0] r_q;
  (* src = "u_test.v:5" *)
  output [3:0] rad;
  (* src = "u_test.v:7" *)
  input rst;
  (* src = "u_test.v:3" *)
  input [3:0] wad;
  (* src = "u_test.v:4" *)
  input we;
  assign \$auto$dff2dffe.cc:158:make_patterns_logic$17  = | { data_q, rst };
  assign \$auto$dff2dffe.cc:158:make_patterns_logic$20  = | { \$procmux$7_CMP , \$procmux$6_CMP , rst };
  reg [3:0] \$auto$dff2dffe.cc:215:handle_dff_cell$16 ;
  always @(posedge clk)
    if (\$auto$dff2dffe.cc:158:make_patterns_logic$17 )
      \$auto$dff2dffe.cc:215:handle_dff_cell$16  <= \$0\r_q[3:0] ;
  assign r_q = \$auto$dff2dffe.cc:215:handle_dff_cell$16 ;
  reg [0:0] \$auto$dff2dffe.cc:215:handle_dff_cell$19 ;
  always @(posedge clk)
    if (\$auto$dff2dffe.cc:158:make_patterns_logic$20 )
      \$auto$dff2dffe.cc:215:handle_dff_cell$19  <= \$0\data_q[0:0] ;
  assign data_q = \$auto$dff2dffe.cc:215:handle_dff_cell$19 ;
  assign \$0\r_q[3:0]  = rst ? 4'b0000 : wad;
  function [0:0] \$procmux$5 ;
    input [0:0] a;
    input [1:0] b;
    input [1:0] s;
    (* parallel_case *)
    casez (s)
      2'b?1:
        \$procmux$5  = b[0:0];
      2'b1?:
        \$procmux$5  = b[1:1];
      default:
        \$procmux$5  = a;
    endcase
  endfunction
  assign data_d = \$procmux$5 (1'bx, 2'b01, { \$procmux$7_CMP , \$procmux$6_CMP  });
  assign \$procmux$6_CMP  = { we, we } == 1'b1;
  assign \$procmux$7_CMP  = { we, we } == 2'b10;
  assign \$0\data_q[0:0]  = rst ? 1'b1 : data_d;
  assign r_d = wad;
  assign rad = r_q;
endmodule

When initialised to input "we" there is no x's as in code below.
assign data_d = $procmux$5 (we, 2'b01, { $procmux$7_CMP , $procmux$6_CMP  });

/* Generated by Yosys 0.6+      28 (git sha1 ea61aae, gcc 7.0.2 -fPIC -Os) */

(* top =  1  *)
(* src = "u_test.v:1" *)
module u_test(we, wad, rad, clk, rst);
  (* src = "u_test.v:18" *)
  wire \$0\data_q[0:0] ;
  (* src = "u_test.v:18" *)
  wire [3:0] \$0\r_q[3:0] ;
  wire \$auto$dff2dffe.cc:158:make_patterns_logic$17 ;
  wire \$procmux$6_CMP ;
  wire \$procmux$7_CMP ;
  (* src = "u_test.v:6" *)
  input clk;
  (* src = "u_test.v:14" *)
  wire data_d;
  (* src = "u_test.v:14" *)
  reg data_q;
  (* src = "u_test.v:12" *)
  wire [3:0] r_d;
  (* src = "u_test.v:11" *)
  wire [3:0] r_q;
  (* src = "u_test.v:5" *)
  output [3:0] rad;
  (* src = "u_test.v:7" *)
  input rst;
  (* src = "u_test.v:3" *)
  input [3:0] wad;
  (* src = "u_test.v:4" *)
  input we;
  assign \$auto$dff2dffe.cc:158:make_patterns_logic$17  = | { data_q, rst };
  reg [3:0] \$auto$dff2dffe.cc:215:handle_dff_cell$16 ;
  always @(posedge clk)
    if (\$auto$dff2dffe.cc:158:make_patterns_logic$17 )
      \$auto$dff2dffe.cc:215:handle_dff_cell$16  <= \$0\r_q[3:0] ;
  assign r_q = \$auto$dff2dffe.cc:215:handle_dff_cell$16 ;
  always @(posedge clk)
      data_q <= \$0\data_q[0:0] ;
  assign \$0\r_q[3:0]  = rst ? 4'b0000 : wad;
  function [0:0] \$procmux$5 ;
    input [0:0] a;
    input [1:0] b;
    input [1:0] s;
    (* parallel_case *)
    casez (s)
      2'b?1:
        \$procmux$5  = b[0:0];
      2'b1?:
        \$procmux$5  = b[1:1];
      default:
        \$procmux$5  = a;
    endcase
  endfunction
  assign data_d = \$procmux$5 (we, 2'b01, { \$procmux$7_CMP , \$procmux$6_CMP  });
  assign \$procmux$6_CMP  = { we, we } == 1'b1;
  assign \$procmux$7_CMP  = { we, we } == 2'b10;
  assign \$0\data_q[0:0]  = rst ? 1'b1 : data_d;
  assign r_d = wad;
  assign rad = r_q;
endmodule

Afaics this is alright. I cannot see any problem with the x in this circuit (produced by proc; opt; dff2dffe; opt; show -stretch):

Because you called dff2dffe, there is now an FF with enable input in the circuit. This FF will only be enabled if rst, or {we,we} == 2'b10 or  {we,we} == 2'b01 [1]. The output of the pmux is only used when rst is inactive. So when {we,we} == 2'b10 or  {we,we} == 2'b01 are both zero, the x coming out of the pmux is never used. The x is left in the circuit during coarse grain synthesis to enable higher order optimizations. As soon as you run something like opt -full, an eager optimization is used that gets rid of the x:

If you think you have found a synthesis bug, it is generally advisable to write a test bench that demonstrates a difference between the original HDL design and the post-synthesis netlist. If such a testbench cannot be written, then by definition the synthesis result is correct.
[1] It could be argued that the coarse-grain optimizer should be able to see that the latter two are const zero. During gate-level logic optimization this is optimized away. The final netlist after a complete run of synth does not use the we input anymore.


Fixes #1185, ?-icon for new live map

introduces a new icon for 'unknown'
correct usage of unknown in cgeopopup

I'll merge...


fixed overlapping items

Related Issue
[Cite any related issue(s) this pull request addresses. If none, simply state “None”]
Fixes:  #3256
Description
On the "About Us" page, the theme switch button is overlapping with the avatar, causing visual clutter and making it difficult for users to toggle the theme.

Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
Before:

After:

Checklist:

[X] I have made this change from my own.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

update branch @shivam8112005


Add snipe_once to only capture pokemons which are not in the pokedex

Short Description:
If they only want to capture pokemons only once so they can fill up their pokedex, then this option can help.

Wouldn't "order": ["missing"], do that already?

Oh... let me check that.

"order": ["missing"] does this. Closing.


chore: Get optimization for adding plugin details to actions

The optimization done in adding missing plugin details to a list of actions, was set for only one signature of this function. This PR takes it to the other signature as well.

Summary by CodeRabbit

Refactor

Improved the process for enriching actions with missing plugin details for enhanced performance and reliability.

Converting to draft. This may be makes some tests fail on EE. Verify that before merging.


fix calculateBMI method

There is currently a method called calculateBMI that lives in /lib/calculateBMI.js.
It is incomplete and needs to be fixed!
This method takes height in inches and weight in pounds and returns BMI to one decimal point
Acceptance Criteria:

Running yarn test calculateBMI results in tests passing.
You have written a skeleton method for someone else to work on.
You have written tests surrounding your skeleton method.
Running yarn lint does not print any errors to the console!
Optional: write one or two more tests surrounding the method you are solving to account for potential edge cases.

Please include the skeleton of a new method + an accompanying test for someone else to work on at the time of creating a pull request! A pull request will most likely be denied if it does not contain a skeleton method for someone else to work on! For more information, please read the Contributing Guide.
Thank you so much for your contribution!

I can do it ;)


[Cyberduck] Missing required property "title" for List.Item

Extension
https://www.raycast.com/scottaglia/cyberduck
Description
Error: Missing required property "title" for List.Item
Cyberduck: 8.8.1 (41263)
Steps To Reproduce

Open Raycast (Alt + Space)
Type FTP
Error appears

Current Behaviour
No response
Expected Behaviour
No response

@raycastbot close this issue


[release/1.2.z][TC-1778]-SPDX 2.3 Support-add supported formats to upload/scan ui page

Backport of https://github.com/trustification/trustification/pull/1756
https://issues.redhat.com/browse/TC-1778

Merging this PR as it is backport of a PR reviewed and tested already


feat: port CategoryTheory.Skeletal

[x] depends on: #2394

This PR/issue depends on:

leanprover-community/mathlib4#2394
By Dependent Issues (🤖). Happy coding!

This PR/issue depends on:

leanprover-community/mathlib4#2394
By Dependent Issues (🤖). Happy coding!

Fixed the docstrings. Should be good now.


How to find the size of the selected elements

Hello
How can I find the size of the selected elements in a multi-select dropdown ?
I tried the below code using events..... but get a error in the browser console...
Thanks
Jay
HTML:-
events="{ onItemSelect: multiValueSelected(entityPropertyType.selectedDropdowns) }
Javascript
	$scope.multiValueSelected = function(selectedDropdowns){
		$scope.searchButtonDisabled = false;
		$log.debug("Size selected ::: " +selectedDropdowns.length);
	}

Errors log in browser console:-
Error: $scope.externalEvents.onItemSelect is not a function
.link/$scope.setSelectedItem@https://localhost:7002/mdm/scripts/vendors/angularjs-dropdown-multiselect.js:277:25
anonymous/fn@https://localhost:7002/mdm/bower_components/angular/angular.min.js line 230 > Function:2:842
b@https://localhost:7002/mdm/bower_components/angular/angular.min.js:125:349
Ic[b]</<.compile/</</e@https://localhost:7002/mdm/bower_components/angular/angular.min.js:272:394
tf/this.$get</n.prototype.$eval@https://localhost:7002/mdm/bower_components/angular/angular.min.js:144:463
tf/this.$get</n.prototype.$apply@https://localhost:7002/mdm/bower_components/angular/angular.min.js:145:183
Ic[b]</<.compile/</<@https://localhost:7002/mdm/bower_components/angular/angular.min.js:272:444
m.event.dispatch@https://localhost:7002/mdm/bower_components/jquery/dist/jquery.min.js:4:8497
m.event.add/r.handle@https://localhost:7002/mdm/bower_components/jquery/dist/jquery.min.js:4:5235
 angular.min.js:117:210

Size selected ::: 2

@jjayaraman I think we can get selected item size directly from multiselected dropdown using $scope.selectedModel.length.
And event onItemSelec()t is called using events html attribute like events="onItemSelect()". Working example you can find on JS Fiddel


Unexpected ordinal numerals when traversing an array

var numberToWords = require("number-to-words");
const tw = numberToWords.toWords;
[1,4,5,7].map((d) => tw(d));
[1,4,5,7].map(tw);

When the library is used with an implicit passed parameter (second example), every array element except the first is an ordinal numeral:
The result of [1,4,5,7].map((d) => tw(d)); is ["one", "four", "five", "seven"]
The result of [1,4,5,7].map(tw); is: ["one", "fourth", "fifth", "seventh"]

That's because toWords takes a second optional (and now deprecated) argument.
https://github.com/marlun78/number-to-words/blob/master/src/toWords.js#L33
With the current version you'll have to use the first of the two examples above.

Ok, thanks for clarifying!