Update Composer dependencies (2023-10-03-00-10)

Visual regression test passed!
View the visual regression test report


review oauth, add oauth field to endpoints

closes #1869

Coverage increased (+0.03%) to 79.117% when pulling 2dbc5c314be2cfe4b3b958fc834f4534e6d01c40 on abemassry:docs-review-auth into 9c2d6f47f2886af6b0ec43e5b6d44cb6c58f8900 on linode:develop.

Stacking these now appears to get in the way a bit:

If we're going to have multiple of these descriptors stacked, thoughts on right aligning them?
Example:

Either way looks good to me.

@abemassry adjustments here https://github.com/abemassry/manager/pull/25

Coverage increased (+0.03%) to 79.117% when pulling d14b5e178cb40f26164c84633ce0239ef6f740e8 on abemassry:docs-review-auth into 9c2d6f47f2886af6b0ec43e5b6d44cb6c58f8900 on linode:develop.


This sample is not working with APS connect

Its failing at  Install and configure Connector
Request https://api-isv-oa.aps.odin.com/aps/2/applications/ returned code 500
Error: APS::Util::Exception
Message: Message: Error in application metadata: setting metadata with id 'appID' cannot be found
START OVER
ngROK output :
POST /v1/app                   201 CREATED
POST /v1/app                   201 CREATED
GET  /v1/                      200 OK
GET  /v1/                      200 OK
GET  /v1/                      200 OK
GET  /v1/                      200 OK
GET  /v1/                      200 OK
GET  /v1/                      200 OK
GET  /v1/                      200 OK
GET  /v1/                      200 OK
config.yml :
debug: true
fallball_service_url: 'https://service-dot-fall-ball.appspot.com/v1/'
fallball_service_authorization_token: 1013f0b782709d635d02934f0090a4ffbb77cae9
oauth_key: fallball-connector-v1-60c1f2e0ee
oauth_secret: 1f6f3b9b3c9a406eb8e661c273f176dc
diskspace_resource: DISKSPACE
users_resource: USERS
gold_users_resource: GOLD_USERS
devices_resource: DEVICES
default_user_limit: 10
gold_user_limit: 15

You should use fallball-connector from https://github.com/ingrammicro/fallball-connector/releases
Master fallball-connector v1.1.1, but https://app.aps.odin.com/ only v1.0.*

I contacted support and they have done some changes in sampe and we managed to get a working connector. Thanks though.


Can not load multilingual model. (ERROR in huggingface transformers library)

At calling
model = uform.get_model('unum-cloud/uform-vl-multilingual')

which calls at line 293
tokenizer = AutoTokenizer.from_pretrained('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')

generates the following error:

NOTE: I have the latest version of transformers lib (4.30.2)

I think the file vocab.txt is missing in https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2/tree/main but i dont kown if this is the issue

Hello. I tried to load the model and tokenizer and everything was ok (I used the same version of transformers and the latest version of uform from pypi). Could you please reinstall transformers and uform and try again?

@javiabellan, do you still experience this issue?


bmc_application: restore power and usb settings

This commit contains 2 improvements:

Internal operations are not triggering persistency updates anymore. Minimizing flash wear.
After a flash command the power and USB settings are restored to their previous values

fixes https://github.com/turing-machines/tpi/issues/14


Hand mode on chrome://newtab/ page

Hand mode doesn't work on chrome://newtab/and other similar pages.

Thanks! I'll work on it on Friday so it'll be ready about Monday

Hi, download the latest build from here:
https://github.com/kiwibrowser/src.next/releases
and revert if the issue still occurs, else you can close this issue.
The issue seems to be fixed.


add word2vec

add word2vec
bug fix for CPUTrainer
add CPUDataloaderTrainer
add CPUDatasetTrainer

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


[BUG] I've been getting errors after deploying with Vercel.

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Expected Behavior
Application error: a client-side exception has occurred (see the browser console for more information).
I have looked into similar questions, but I couldn't find an answer.
Steps To Reproduce
After I input the message, this error pops up during the response process.
Environment
chrome 127.0.6533.99

Anything else?
No response

I got the same error. Redis setup is obligatory. After setting the environment variables UPSTASHREDISRESTURL and UPSTASHREDISRESTTOKEN, the error is gone.

@irosyadi Thank you for sharing.
Those error messages will also be output to Vercel's error logs. First, please check both the client and server error logs.

I got the same error. Redis setup is obligatory. After setting the environment variables UPSTASHREDISRESTURL and UPSTASHREDISRESTTOKEN, the error is gone.

Adding these two properties does make it work properly, but occasionally it still throws errors. My understanding is that I shouldn't need the history because it relies on Redis, and UPSTASHREDISRES doesn't seem very stable.

Try going to your project's settings in Vercel, then navigate to Settings > Functions. Configure the region to the one closest to you and set the maximum function duration to 60 seconds (higher durations are available with paid plans) then redeploy your project.


how to hide obsidian header title in double-linked notes

Is the above snippet used in the style settings plugin or in css snippets?

It is a css snippet


add MAINTAINERS

I think we can have a MAINTAINERS list on test/tooling project just like runc/specs.
I mentioned this on the TOB mailing list but seems no feedback from TOB members.
So maybe we discuss this just inside this project? @mrunalp

@liangchenye Yes, it makes sense.

I created a PR to add a MAINTAINERS file
https://github.com/opencontainers/ocitools/pull/23
I'm glad to be one of the maintainers.


Fix macOS aarch64 compile errors

Fixing macOS aarch64 compile errors. df was bringing in an x86 symbol and libc had to be bumped so 'cp' would link properly.

Also muted the test that was breaking bash terminals. https://github.com/uutils/coreutils/issues/1719

latest tempfile 3.1.0 is min version 1.40.0,  https://github.com/uutils/coreutils/blob/master/Cargo.toml#L345 latest half is still 1.32.  Did you want me to bump it to 1.40.0 for tempfile?

@chadbrewbaker No, we should update when we have a real need :)

Sorry didn't read your comment in time. Bumped to 1.40.0 since we already had comments in mainline Cargo.toml about 1.40.0 minimum.  Perhaps as another PR bisect back to the first version that doesn't break the tests and add that to the CI file and the Readme saying  the tests are passing back to min version X?

So should I keep this at 1.40.0 or pin everything to 1.33.0 and note that tempfile might not be fully supported?

The reference about 1.40 is for tempfile 3.2 as comment for the future.
For now, we are relying on 3.1. So, please keep 1.33 as minimal version.

Done.


migrate to mocha, split out plugins, mapparams defaults to false

WIP

@yunong @micahr plugins broken out!
All functionality is intact, added more unit tests for queryParser and bodyParser. Also made mapParams: false the default behavior.

Looks great, thanks for breaking this out @DonutEspresso. It would be great to get this in for 5.0

@DonutEspresso looks good. If we're going this route, let's move all plugins out of server, even CORS. It's fine for the server to pull it in as a dependency. Also, when you're moving the files over to new repos, please save the git logs for the files so we're not starting anew.

Not sure what to do with CORS - the tests require restify so pulling CORS out would result in a circular dependency for tests (or we keep CORS tests in core). We also have existing PRs open against CORS.
The git history is complex, let me see what I can do.


Notification: convert explanation to TextBlock and remove safe filter

Changes

Convert notification explanation to a TextBlock to make input easier.
Remove | safe filter from explanation since it is no longer a rich text input.

Testing

Create a new sublanding page and add a notification. If you add more than one line to explanation the text area should grow to accommodate the text.

This works as advertised, but we may want to consider leaving the safe filter on there as an undocumented way to use HTML to add some inline formatting, in a pinch. I get that part of the idea was not using RTF, but I like allowing that as a middle ground. Not a dealbreaker for me by any means, though.

Oh interesting, I didn't realize you could put HTML into a TextBlock… now it looks like we didn't need the RTF in the beginning 🤦♂
@chosak do you have a preference? I know you asked about this.

Maybe also add this to the other page types we want to have it while we're here and already creating a migration file?

I was going to do that in another issue, but sure I can add it here to cut down on migration files!

@chosak do you have a preference?

I would prefer not to encourage putting HTML in TextBlocks. Using | safe is somewhat dangerous because it trusts whatever the editor puts in the field, including, say <script> tags.
That being said, we do unfortunately have some existing cases where we manually render the notification with embedded HTML tags. I believe the conference registration form template does this. Its success/error/at-capacity messages are all rich text. Here's where the success message is rendered, and here's what was used last time (redacted):

That being said, we do unfortunately have some existing cases where we manually render the notification with embedded HTML tags. I believe the conference registration form template does this. Its success/error/at-capacity messages are all rich text. Here's where the success message is rendered, and here's what was used last time (redacted):

Yeah thinking about it I lean toward no | safe as well and re-adding it if for some reason there was a use case for it. As much as we can lock down these patterns the better we can manage what to check changes against. The hardcoded ones can do whatever they want (though from a design standpoint should likely follow the Wagtail one). It looks like the conference one has a link on the last line and could be recreated with the Wagtail one easily without markup in explanation.

As noted in my original comment, I'm not strictly hung up on allowing the safe filter, but Andy raises a better point: the notification macro needs to better handle the situation if the passed in explanation is from a rich text field – i.e., it shouldn't wrap it in a paragraph.

As noted in my original comment, I'm not strictly hung up on allowing the safe filter, but Andy raises a better point: the notification macro needs to better handle the situation if the passed in explanation is from a rich text field – i.e., it shouldn't wrap it in a paragraph.

Realized that the conference registration form is passing into message, not explanation. This is good to go 👍


[LOST FEATURE] pass standard events onClick, onDoubleClick

Pass standard events onClick, onDoubleClick and etc to components for handle user input and override standard behavior

We offer some standard events like onElementClick or  onNodeContextMenu you can use. When that is not enough you can implement a custom node with your own event handlers.


fix wrong polish translation

resubmit PR

https://github.com/Leecason/element-tiptap/pull/37

Thank you!

Great! How often do you merge to master?

Already released in 1.17.1
Because i update your commit message with semantic message for CI to make CHANGELOG.md, so the commit hash changed, the ci robot will not leave a release comment in this PR.
Thank you~


Disallow multiple esp-hal-common versions

Closes #932
We disallow multiple copies of esp-hal-common in the same dependency graph. This replaces cryptic One of the feature flags must be provided and similar errors, which can be very confusing when the user thinks they provide the required features (just not for the duplicate crate).
Must

[x] The code compiles without errors or warnings.
[x] All examples work.
[x] cargo fmt was run.
[x] Your changes were added to the CHANGELOG.md in the proper section.
[x] You updated existing examples or added examples (if applicable).
[x] Added examples are checked in CI

Nice to have

[x] You add a description of your work to this PR.
[x] You added proper docs for your newly added features and code.

The resulting error message is as follows:
error: failed to select a version for `esp-hal-common`.
    ... required by package `esp32-hal v0.16.0 (https://github.com/bugadani/esp-hal.git?rev=9d03306#9d03306f)`
    ... which satisfies git dependency `hal2` of package `multi v0.1.0 (C:\_Hobby\multi)`
versions that meet the requirements `^0.13.0` are: 0.13.1

the package `esp-hal-common` links to the native library `esp-hal-common`, but it conflicts with a previous package which links to `esp-hal-common` as well:
package `esp-hal-common v0.13.1 (https://github.com/bugadani/esp-hal.git?rev=f70838a#f70838a2)`
    ... which satisfies git dependency `esp-hal-common` of package `esp32-hal v0.16.0 (https://github.com/bugadani/esp-hal.git?rev=f70838a#f70838a2)`
    ... which satisfies git dependency `hal` of package `multi v0.1.0 (C:\_Hobby\multi)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='esp-hal-common' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

It's a bit... dense, but the last paragraph seems to be really helpful, if one reads it.

Thanks for this, And yeah, that error message definitely leaves a lot to be desired... as you mentioned though, at least it does eventually tell the user what they need to do.
I have no issues with this, @bjoernQ @MabezDev any opinions?


Private method Configure - Initializers

Hi there,
I have an issue trying to set up my instagram environment with client id and client secret in 'initializers/instragram.rb'
Instagram.configure do |config|
config.client_id = "XXX"
config.client_secret = "XXX"
end
When lauching my rails server, i have this error message :
*initializers/instagram.rb:1: private method configure' called for Instagram:Module (NoMethodError) 	from /Library/Ruby/Gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in load'
my rails version : 3.1.3
Do you have any idea how to solve this issue ?
Many thanks,

Having this same issue.

I was able to hack the gem into submission, and it seems to be working just fine for me now. It probably could be done a ton better, but hey, I've got it working for now. I also upgraded faraday to a newer version for my own needs, to make it compatible with a few other gems I'm using. I'm running Rails 3.2.
https://github.com/letuboy/instagram-ruby-gem

Is this still valid? Pull requests welcome.

Well, I'd like to make it work the correct way. Currently I fixed it by just moving the configure method into the root file for the Instagram module. It needs to work correctly in the Instagram::Configuration module before I do the pull request. I'll fix it sometime in the next few days, and then do a pull request.


Add close old issues

Proposal: Close Old Issue Bot
Description: The Close Old Issue Bot is an automated tool designed to identify and close inactive or resolved issues in a timely manner. It improves issue management efficiency by reducing clutter and ensuring active focus on relevant tasks.
Features:

Issue Tracking: Monitors issue activity and identifies those that have remained inactive for a specified period.
Automatic Closure: Closes old or resolved issues based on predetermined criteria, promoting a clean and organized issue tracker.
Customizable Settings: Allows users to define their own criteria for determining issue activity and closure, adapting to the specific needs of their project.

Assign this to me under gssoc'23
i will create a pr soon


TAG Documentation Update: TAG  Network

This issue supports updating the TAG README, Charter and moving documents to the TAG’s Gdrive. The work will be tracked in the TOC Tracking issue #1366.
The following points should be addressed:

PR updating TAG repo README in accordance to the template
PR removing TAG repo charter
PR updating TAG charter in the TOC repo charter folder according to the template
The aim of this update is to ensure that no information is lost from the TAG’s repo level charter.
Move all TAG related shared documents ( Like meeting notes and slides ) to the<EMAIL_ADDRESS>drive for the TAG.
The aim of this update is to ensure no documents get lost in private or company accounts. Reach out to @riaankleinhans for assistance on that.

Created a PR to add TAG Network identifiers in the landscape.yml file to the projects listed on the TAG Network README.
This would allow of updating the README according to the temple, omitting listed projects and adding a filtered TAG Network landscape link.

Hello @riaankleinhans, I would like to work on this issue. Would it be alright if I address one point at a time and create a PR for each? For example, the first step could be to arrange the README file according to the template.

Hello @riaankleinhans, I would like to work on this issue. Would it be alright if I address one point at a time and create a PR for each? For example, the first step could be to arrange the README file according to the template.

Thank you @rohitsrma for the offer. This issue is spread over a few repos and I already have it as a work in progress locally. Should push PRs before the end of this week.

Hello @riaankleinhans, I would like to work on this issue. Would it be alright if I address one point at a time and create a PR for each? For example, the first step could be to arrange the README file according to the template.

Thank you @rohitsrma for the offer. This issue is spread over a few repos and I already have it as a work in progress locally. Should push PRs before the end of this week.

@rohitsrma I could guide you on addressing this issue if you are still open to it.
The work in the TOC repo is created in #1395
What remain to be done here is:

Update the README according to the template
You could also refer to the competed README update linked here

@nicholasjackson @ZackButcher @leecalcote for comment here as well

Hello @riaankleinhans, I would love to work on this, but it looks like there is already a PR up.

Hello @riaankleinhans, I would love to work on this, but it looks like there is already a PR up.

Yes, This PR is done. But there is more work to be done over here
Look at the context, review all the PRs already created, review the templates.
Would be great if you want to pick up on of the other TAG's updates.

Hello @riaankleinhans, I would love to work on this, but it looks like there is already a PR up.

Yes, This PR is done. But there is more work to be done over here
Look at the context, review all the PRs already created, review the templates.
Would be great if you want to pick up one of the other TAG's updates.

Thank you! I'll go through these.


Disable output buffering?

My site needs a page that returns very large amounts of text, on the order of several hundred MB. Slim's output buffering makes this problematic: not only does it use lots of memory, but nothing shows up on the user's screen until the whole page is done building.
I'd really like to disable output buffering so my controller can send the page in pieces as it's built. Is that possible?

Which version of Slim are you using?

I'm using Slim 2.6.2, the latest! I guess this is changing with Slim 3
coming out soon?
On Sun, Sep 27, 2015 at 2:47 AM, John Porter<EMAIL_ADDRESS>wrote:

Which version of Slim are you using?
—
Reply to this email directly or view it on GitHub
https://github.com/slimphp/Slim/issues/1502#issuecomment-143533507.

I just wanted to verify it so we know :) I'm not sure yet on how to resolve the issue, but we know where to be looking now.

Yes - you can turn off output buffering on Slim 3, Set the outputBuffering setting to false.

Can you do the same on Slim2 though?

You can flush the buffer.... yourself... http://php.net/manual/en/function.ob-flush.php ... It's a bit of a pain...

As Slim 3 is released, we are only fixing Security issues on Slim 2.


Feat/shelter

Add addshelter and searchShelterAll function and add them to the router
Moreover I create the unit test for shelter, in the testing it will create the new collection in mongo db, which is because we don't want to effect the data save in the original db, after the testing we will delete the new testing db.

looks good


Tweak ICache tests to fill functional coverage defined so far

There are 4 patches in the series.

Make it more likely that a branch will land at the edge of the address space (to check wrapping)
Allow the ready signal to be high when a branch hits (this has no effect, but is allowed by the spec, so we may as well do it sometimes).
Make the "cancelled_valid" sequence spot what it was supposed to spot
Fix the wiring downstream of the "cancelled_valid" sequence (I was turning on the monitor after the run phase had completed, which meant it didn't see very much!).

Force-push adds an extra constraint to base addresses in the first patch.

Force-push rebases and adds a fix for an integer overflow.


CI: K8sCustomCalls Basic test with byte-counter Loads byte-counter and gets consistent values

/home/jenkins/workspace/Cilium-PR-K8s-1.13-net-next/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:518
Failed to update call map with reference to custom program ('bpftool map update pinned /sys/fs/bpf/tc/globals/cilium_calls_custom_00316 key 0 0 0 0 value pinned /sys/fs/bpf/tc/globals/cilium_bytecounter'): Error: bpf obj get (/sys/fs/bpf/tc/globals/cilium_calls_custom_00316): No such file or directory
command terminated with exit code 255

Expected command: kubectl exec -n kube-system cilium-c72sc -- bpftool map update pinned /sys/fs/bpf/tc/globals/cilium_calls_custom_00316 key 0 0 0 0 value pinned /sys/fs/bpf/tc/globals/cilium_bytecounter
To succeed, but it failed:
Exitcode: 255
Err: exit status 255
Stdout:

Stderr:
 	 Error: bpf obj get (/sys/fs/bpf/tc/globals/cilium_calls_custom_00316): No such file or directory
	 command terminated with exit code 255

/home/jenkins/workspace/Cilium-PR-K8s-1.13-net-next/src/github.com/cilium/cilium/test/k8sT/CustomCalls.go:214

https://jenkins.cilium.io/job/Cilium-PR-K8s-1.13-net-next/1169/testReport/junit/Suite-k8s-1/13/K8sCustomCalls_Basic_test_with_byte_counter_Loads_byte_counter_and_gets_consistent_values/
fa10e525_K8sCustomCalls_Basic_test_with_byte-counter_Loads_byte-counter_and_gets_consistent_values.zip
19:31:31 STEP: Making sure all endpoints are in ready state
19:31:33 STEP: Copying custom byte-counter program to Cilium pod
19:31:34 STEP: Loading custom byte-counter program
19:31:36 STEP: Retrieving pods information
19:31:36 STEP: WaitforPods(namespace="default", filter="-l zgroup=testapp")
19:31:36 STEP: WaitforPods(namespace="default", filter="-l zgroup=testapp") => <nil>
19:31:36 STEP: Attaching a program on ingress side (IPv4)
19:31:36 STEP: Updating call map with reference to custom program
FAIL: Failed to update call map with reference to custom program ('bpftool map update pinned /sys/fs/bpf/tc/globals/cilium_calls_custom_00316 key 0 0 0 0 value pinned /sys/fs/bpf/tc/globals/cilium_bytecounter'): Error: bpf obj get (/sys/fs/bpf/tc/globals/cilium_calls_custom_00316): No such file or directory
command terminated with exit code 255

Expected command: kubectl exec -n kube-system cilium-c72sc -- bpftool map update pinned /sys/fs/bpf/tc/globals/cilium_calls_custom_00316 key 0 0 0 0 value pinned /sys/fs/bpf/tc/globals/cilium_bytecounter
To succeed, but it failed:
Exitcode: 255
Err: exit status 255
Stdout:

Stderr:
 	 Error: bpf obj get (/sys/fs/bpf/tc/globals/cilium_calls_custom_00316): No such file or directory
	 command terminated with exit code 255

19:31:37 STEP: Cleaning up pinned artefacts
=== Test Finished at 2021-03-25T19:31:37Z====

This happens because the PRs have not been rebased. We can see the new test execute in Jenkins but the agent behaves as if it didn't know the new customCalls code. For example, the flag isn't displayed at the beginning of the logs with the other flags, the new map isn't loaded, etc. The test thus fails.


Reload modified file dialog: add checkbox to enable auto-reload

This dialog should have a checkbox or similar to enable the "Automatically reload modified files" option.

Visual Studio does this and it's quite convenient:

There is currently an option in the settings to Automatically Reload Modified Files - unlike the Visual Studio screenshot above, it is done regardless of the presence of unsaved changes.
VS Code reloads automatically (even when there are unsaved changes) - but retains the Undo history so an unwanted reload can be corrected using Undo.


update experimental feature callouts

Proposed changes:

The update has been made on main already, it's a matter of harmonising the callouts across docs versions.
Relates to https://github.com/RasaHQ/rasa/pull/10165

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

thanks @melindaloubser1 🙏🏻


Losing items when thrown at sign

Especially when in an confined area (I.E underground), weapon will bounce out of bounds

have bounce counter to check if bounced too many times, then just replace whatever block it hits. TEMP FIX


typos - style - enhance plots (borders)

Hi @KronosTheLate, a few typos, and add syntax coloring in Readme.md.
Also, adding axes labels (and maybe units) is quite useful.
For the border issue observed on discourse, you can use border=:dotted, as explained in https://github.com/JuliaPlots/UnicodePlots.jl#know-issues.

Nice, thanks. All the changes look good to me - anything you want to discuss or add before merging?

It was only the obvious changes: I didn't dig further, and I must admit I am biased towards UnicodePlots related stuff.
It would be great to adjust the discourse post with these changes after merge :)

The discourse post is updated. Thanks ^_^

Thanks for using UnicodePlots !

Thanks for using UnicodePlots !

Arre you kidding me? It is one of my favorite Julia packges. Simply genius ^_^. If you are a key contrubutor to it, thank you for your work <3


Updated SQL SKU to (sku.tier) to all queries

This PR is fix to #26

@tsubasaxZZZ Can you please review and merge with draft/v2.5 branch?


Add PROBE_STACK to JSONParser::Walk (Fix #3900)

This PR fixes the infinite recursion bug in JSON.parse.
Fixes #3900
/cc @DaramG @MikeHolman

Could you add a unit test for this?

LGTM

@obastemur All tests passed; both comments are addressed. Thus I squashed the commits.


Still no idea on how to use it

If I try to register a new device it spits a ~not implemented message and I have no idea how to even configure this client, do I place my API key somewhere?

@raulvc please, provide some information on which command you ran, what were the parameters, the printed message or something


Bump framework version to 5.25.167

$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/4805148512


Assets

[x] Finish converting to AssetManager/AssetCollection system.

In general the assets API has been converted into more OOP approach. AssetManager should eventually be a facade for Asset::collection($source)->add/load type syntax.

Closing in favor of smaller issues now that these are done.


Mixed pitch font not being applied in org-mode after update

What did you expect to happen?
When I open an org file, I have a hook to turn on writeroom-mode. Because of this, mixed-pitch mode automatically gets called (see:ui zen) and should enable mixed-pitch mode. This should use the doom-variable-pitch-font (in my case, ETBembo) for the text
What actually happened?
Writeroom mode turns on correctly but emacs is using doom-font instead of doom-variable-pitch-font, presumably because mixed-pitch-mode ins't being applied correctly.
Additional details:

This happened after I ran doom upgrade yesterday
My config hasn't changed
After some debugging, I think I've established that removing the call to text-scale-set solves this issue

I did this by removing zen mode and manually adding back writeroom mode and mixed pitch mode in my config.el
Then, I tried to replicate zen mode by copying the config
As soon as I call text-scale-set in the org-mode hook, I see this problem
Similarly, then I turned on zen mode but went in the config.el in zen model and commented out the text-scale-set function. This also fixes the problem (text is too small though)

The problem only happens if I do text scaling in a hook. If I call it interactively after opening the org-mode buffer, the text size increases without any problems
mixed-pitch-mode seems to stay on - calling mixed-pitch-mode from M-x first displays a message saying mixed-pitch-mode disabled and then, when calling it again, I get the message mixed-pitch-mode enabled.

Steps to reproduce:

Update to latest doom emacs
Turn on zen mode
Set

(setq doom-font (font-spec :family "Fira Code" :size 14 :weight 'semi-light)
      doom-variable-pitch-font (font-spec :family "ETBembo" :size 15))

Add writeroom-mode to org-mode hook
Open an org file (see screenshots)

System information:
doom info throws an error: helm-M-x-execute-command: Symbol’s value as variable is void: distro
I'm on MacOS Big Sur. Using Emacs 27.1
doom version : Doom v2.0.9 (HEAD -> develop d5019f0b5 2021-03-02 23:48:54 -0500
Screenshots

How it looks when I open an org-file:

How it should look (I manually disable and enable mixed-pitch mode)

How this same image looks if I cooment-out text-scale-set from the doom files in .emacs.d/modules/ui/zen/config.el, then restart emacs, and open an org file (basically, scaling doesn't happen so text is small):

I cannot reproduce this. Please update Doom, then check *Messages* for errors or warnings after activating mixed-pitch-mode.
That you have to toggle mixed-pitch-mode again, to get it to work, indicates that an error occurred when zen mode was first activated. Any error can short circuit elisp is unpredictable ways.

I had a similar issue. I narrowed it down to two things (both break it):

I had a non-doom theme (base16 theme)
I have a :custom-face section in my use-package! org config (have tried this and a custom-set-faces section)

Both break the mixed/variable pitch mode in org (and seemingly in doom emacs in general). Both worked before the last upgrade.
For now I have disabled both and get the correct mixed mode in both org-mode and writeroom mode, but have not found a way to change the faces ouside of changing doom-variable-pitch-font

I'm seeing the same the issue with doom-dark+, which of course does support solaire-mode. After enabling variable-pitch mode in an org file I have to toggle solaire-mode off and on to get the font to change. This happens whether or not I have custom faces set.
I'm using the emacs 28 pgtk+native-comp package from AUR.

@dm19 Try (add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)


Feeds: make it easy to set json to feed

Hello!
I have been playing around with feeds a bit. I'm having to do a lot of complicated and cumbersome things to just set a json value to a feed topic. I would like the following scenario to be possible:
const userData = { name: "michelle", address: "0x0", avatar: "some reference" }
const userFeed = await bee.setFeed(topic "userData", privatekey, value userData)
const retrievedUserFeed = await bee.getFeed(topic "userData", address)
Right now i have to go through so many functions and steps that it is not feasible to expect the median react dev to understand this imo.

I made this script as helper function in my app:
import { bee } from "bee.js"
import { Utils } from "@ethersphere/bee-js";

function hex_to_ascii(str1) {
    var hex = str1.toString();
    var str = '';
    for (var n = 0; n < hex.length; n += 2) {
        str += String.fromCharCode(parseInt(hex.substr(n, 2), 16));
    }
    return str;
}

export const setFeed = async (topic, value, pk) => {
    const encodedTopic = await bee.makeFeedTopic(topic)
    const dataObject = Utils.Data.prepareData(JSON.stringify(value))

    try {
        const swarmReference = await bee.uploadData(dataObject)
        const feedWriter = bee.makeFeedWriter('sequence', encodedTopic, pk)
        const response = await feedWriter.upload(swarmReference)
        return response
    } catch (error) {
        console.error(error)
    }
}
export const getFeed = async (topic, address) => {
    try {
        const encodedTopic = await bee.makeFeedTopic(topic)
        const feedReader = bee.makeFeedReader('sequence', encodedTopic, address)
        const feedUpdate = await feedReader.download()
        const retrievedData = await bee.downloadData(feedUpdate.reference)
        const hexData = await Utils.Hex.bytesToHex(retrievedData)
        const stringData = hex_to_ascii(hexData)
        const readObject = JSON.parse(stringData)
        return readObject
    } catch (error) {
        console.error(error)
    }

}

Thanks, we are planning to build something like this.
In the meanwhile it is also possible to do this a bit more simple:
export const setFeed = async (topic, value, pk) => {
    try {
        const encodedTopic = await bee.makeFeedTopic(topic)
        const swarmReference = await bee.uploadData(JSON.stringify(value))
        const feedWriter = bee.makeFeedWriter('sequence', encodedTopic, pk)
        const response = await feedWriter.upload(swarmReference)
        return response
    } catch (error) {
        console.error(error)
    }
}
export const getFeed = async (topic, address) => {
    try {
        const encodedTopic = await bee.makeFeedTopic(topic)
        const feedReader = bee.makeFeedReader('sequence', encodedTopic, address)
        const feedUpdate = await feedReader.download()
        const retrievedData = await bee.downloadData(feedUpdate.reference)
        const readObject = JSON.parse(new TextDecoder().decode(retrievedData))
        return readObject
    } catch (error) {
        console.error(error)
    }

}

Further simplifications with the current (0.7.1) API:
export const setFeed = async (topic, value, pk) => {
    try {
        const encodedTopic = await bee.makeFeedTopic(topic)
        const swarmReference = await bee.uploadData(JSON.stringify(value))
        const feedWriter = bee.makeFeedWriter('sequence', encodedTopic, pk)
        const response = await feedWriter.upload(swarmReference)
        return response
    } catch (error) {
        console.error(error)
    }
}
export const getFeed = async (topic, address) => {
    try {
        const encodedTopic = await bee.makeFeedTopic(topic)
        const feedReader = bee.makeFeedReader('sequence', encodedTopic, address)
        const feedUpdate = await feedReader.download()
        const retrievedData = await bee.downloadData(feedUpdate.reference)
        return retrievedData.json()
    } catch (error) {
        console.error(error)
    }

}


Tag Support

I use tags a lot so really hope you would support tags in case sonarr support is added. rn I use mediarr for sonarr but it does not support tags so really hope you support it.
Also is this supported in exclude?
'"animation" in Genres || "anime" in Genres'

I think I can add new filtering options, I will check what can we add

Tag support would indeed be useful to have. Thanks

Actually we already support Genre and Language in the rules. They are both a list of tags based on the OMDB information.
And you can use it like:
'"Comedy" in Genre && "Animation" not in Genre'

The case is the same for Language
'"English" in Language

Actually we already support Genre and Language in the rules. They are both a list of tags based on the OMDB information. And you can use it like:
'"Comedy" in Genre && "Animation" not in Genre'

The case is the same for Language
'"English" in Language

Nice to know. Is there a complete listing of syntax and options? I don’t see a mention of this in the readme  and now I’m wondering what else I’m missing and unaware of. Thanks!

The syntax to use for rules is in the documentation of the engine that we use: github.com/antonmedv/expr
The variables that you can use are in the ListItem definition: https://github.com/lightglitch/seekerr/blob/1c189faf0d86d5e36fefc777d1a8f4a692a5df4f/provider/provider.go#L46
Don't know if this a bit to technical for you but I can improve the docs later.


dont work

when i wanted to test if miner is working i found dude on discord then he said he would help me set it up, he created the miner on his pc with nanopool and my exodus wallet, after 6 minutes i saw that its working so he disabled the miner but when i created the silent eth miner with the same settings except i enabled install or inject option into %appdata% and when i started spreading it, minimum 40 people downloaded it and i saw no results at the pool...

Screenshot all the settings and I'll look at it.

Screenshot all the settings and I'll look at it.

for me its also not work on a gtx 970 4gb

Ethereum doesn't work on 4 GB cards since the DAG size is larger than that: https://github.com/UnamSanctam/SilentETHMiner#requirements


Fix Race conditions in FileSystemBytecodeCache

Fix race conditions in FileSystemBytecodeCache.  See https://github.com/pallets/jinja/issues/1654 for a detailed description of the race conditions.

fixes 1654

Checklist:

[x] Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
[x] Add or update relevant docs, in the docs folder and in code.
[x] Add an entry in CHANGES.rst summarizing the change and linking to the issue.
[n/a] Add .. versionchanged:: entries in any relevant code docs.
[x] Run pre-commit hooks and fix any issues.
[x] Run pytest and tox, no tests failed.

I'm going to remove the tests because in the past having tests that relied on race conditions was very flaky and caused confusion for contributors when unrelated PRs failed.

ok

FWIW, the test relies on the absence of a race, if that makes a difference

The problem with that is that there no guarantee that a race happened and was handled vs normal behavior happened. And any such check would then rely on producing the race, which is flaky.


Fix incorrect index in decode function

Actually something is going wrong here -- I keep getting this output:
Error detected while processing function <SNR>32_Named_to_character:
line    6:
E486: Pattern not found:
E486: Pattern not found:
E486: Pattern not found:
E486: Pattern not found:

Not sure why it's having trouble with those, or even reporting an error at all, because of the /e flag in the substitute?

Ok should be fixed in new commit -- I was escaping i[0] in the replace string when I shouldn't have been.


0.9-beta 初始化报错libcrypto.so.1.1

./kube-install -init -ostype "centos7"
Initialization in progress, please wait...
systemctl: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
systemctl: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
2024/01/31 17:11:23 Error waiting for command execution: exit status 127......
[Error] 2024-01-31 17:11:23.058575685 +0800 CST m=+1.565824484 Initialization failed, the basic dependency package is missing!
[root@localhost kube-install]#

92/10000
实时翻译
92/10000实时翻译划译请确认几个问题：您的操作系统版本和内核是什么？主机系统的“系统ctl”软件是否正常工作？libcrypto中是否存在冲突或位置错误？您是否使用纯主机系统进行安装？
划译
Please confirm a few questions:
What is your operating system version and kernel?
Is the "system ctl" software of the host system working properly?
Is there a conflict or incorrect location in libcrypto?
Do you use a pure host system for installation?

Please confirm a few questions:
--What is your operating system version and kernel?
--Is the "system ctl" software of the host system working properly?
--Is there a conflict or incorrect location in libcrypto?
--Do you use a pure host system for installation?


Issue#131

Summary
Implemented the solution with regex that matches years in a range of 1900-2999, months in a range of 01-12 and days in a range of 01-31.
Used the following article as a reference.
Also uncommented tests - passes them all.
I believe the regex doesn't matches specific dates (like leap years cases or specific 30, 31 days month), the more correct regex is way too complex, maybe we could stick with the current implementation for now?
Close issue(s)
Closes #131

Hi @dmitriydb ! Thanks for taking your time to research this. You are right it will get too complex and it's just better to stick with the LocalDate.parse() for now.
The plan was to create a custom validator with annotation in the future anyway. So then the validation could be done by LocalDate.parse() instead of regex. I will update the original issue.
See "A Custom Validator with Spring Boot" section in here
Are you interested to create a custom validator for this?

@mepox Hi, I made the changes, please see PR #166
I was afraid of using custom validator with LocalDate.parse() initially because I thought in general using try-catch for control flow is a bad thing.
But I think it's still better then using a complex regex validation.
What do you think?

Hi @dmitriydb ! Good thinking. In this case is OK to use try-catch to keep things simple. I will review the PR.


Docs.installation

Update installation docs to all point to the same place. Plus a few formatting/reorg suggestions to make docs more readable.

This seems helpful, but it also seems to imply that poetry is required for development which is assuredly not the case.  I found poetry while convenient to be resource-hungry and full of bugs when I tried to use it, but perhaps it has improved since then?

Oops!  I was thinking of the old roedoejet/mothertongues repository ... now I see that Poetry is now required here!  Ignore my last comment...


[ScreenOCR] Korean OCR Not working

Extension
https://www.raycast.com/huzef44/screenocr
Raycast Version
1.77.3
macOS Version
14.2 (23C64)
Description
Korean OCR is not working
Steps To Reproduce

Select Korean in Select Recognition Languages

Launch Recognize Text command
Get Error!

Current Behaviour
Whenever I screenshot some Korean text, it says "No text detected"
Expected Behaviour
It should correctly recognize Korean text

I'll try to fork it and see what the issue is when I have time~

What macOS version are you using? VisionKit is unfortunately bundled with macOS and there’s no way to update it individually.

@neo773 Sonoma 14.2 (23C64)


how to make the rpc call example to work with nodemcu

Hello guys. i have a nodemcu that i want to connect to the thingsboard cloud and use the switch widget. when i try to upload the 0002-arduino_rpc.ino sketch on the a Arduino it compiles correctly but when i try to change the board to nodemcu it gives me this error
In file included from C:\Users\hoovd\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266/Arduino.h:29:0,                  from sketch\switch_with_new_library.ino.cpp:1: C:\Users\hoovd\Documents\Arduino\libraries\ThingsBoard\src/ThingsBoard.h: In instantiation of 'void ThingsBoardSized<PayloadSize, MaxFieldsAmt, Logger>::process_message(char*, uint8_t*, unsigned int) [with unsigned int PayloadSize = 64u; unsigned int MaxFieldsAmt = 8u; Logger = ThingsBoardDefaultLogger; uint8_t = unsigned char]': C:\Users\hoovd\Documents\Arduino\libraries\ThingsBoard\src/ThingsBoard.h:387:5:   required from 'static void ThingsBoardSized<PayloadSize, MaxFieldsAmt, Logger>::on_message(char*, uint8_t*, unsigned int) [with unsigned int PayloadSize = 64u; unsigned int MaxFieldsAmt = 8u; Logger = ThingsBoardDefaultLogger; uint8_t = unsigned char]' C:\Users\hoovd\Documents\Arduino\libraries\ThingsBoard\src/ThingsBoard.h:247:5:   required from 'bool ThingsBoardSized<PayloadSize, MaxFieldsAmt, Logger>::RPC_Subscribe(const RPC_Callback*, size_t) [with unsigned int PayloadSize = 64u; unsigned int MaxFieldsAmt = 8u; Logger = ThingsBoardDefaultLogger; size_t = unsigned int]' C:\Users\hoovd\Documents\Arduino\ThingsBoard\switch_with_new_library\switch_with_new_library.ino:145:52:   required from here C:\Users\hoovd\Documents\Arduino\libraries\ThingsBoard\src/ThingsBoard.h:329:16: error: return-statement with a value, in function returning 'void' [-fpermissive]          return false;                 ^ C:\Users\hoovd\Documents\Arduino\libraries\ThingsBoard\src/ThingsBoard.h:334:16: error: return-statement with a value, in function returning 'void' [-fpermissive]          return false;                 ^ exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Could someone tell me how to edit my code to work with my nodemcu?

Same issue here. The compilation goes well if the board is Arduino but not for ESP8266.
I try using a separate connection from the thingsboard  with pubsubclient just for RPC, it works but then it keeps reconnecting from time to time.

Fixed.


Columns header moves two columns right after open or create a new window

When I enable View->columns, HexFiend shows columns header in right position when it launch. But after create a new window of open a file, the new created window's columns header shifts two columns to the right.

My system is macOS 10.15.6 (19G2021)
HexFiend Version 2.13.1<PHONE_NUMBER>)

FWIW, I cannot reproduce this on 10.14.6 (18G4032)


Sphere ESXi 7.0 Update 2 (82227) changed how to change configuration settings for Hostd service in vSphere

Per this VMware KB https://kb.vmware.com/s/article/82227, to change configuration settings for the Hostd service, you have to follow different steps:
From the article:
In previous releases you may be instructed by other KB articles to change some settings of ESXi service "hostd" by directly editing its configuration file (/etc/vmware/hostd/config.xml) manually and restarting the "hostd" service.
_Since 7.0 U2 the service configuration settings are not stored in this file (/etc/vmware/hostd/config.xml), but in a special config store database.
The settings in the database are accessible by a tool : /bin/configstorecli.
Steps to configure the settings:
Run the command to create a temporary JSON file:
/bin/configstorecli config current get -c esx -g services -k hostd -outfile tmp.json
Run the command to edit the file:
/bin/vi tmp.json
Run the command to apply the file to the Database:
/bin/configstorecli config current set -c esx -g services -k hostd -infile tmp.json
Run the command to restart hostd service:
$ /etc/init.d/hostd restart
Note:
To see all possible hostd configuration properties, run the command:
configstorecli schema get -c esx -g services -k hostd
We can "Update" only a single property by supplying a JSON "diff", run the command:
configstorecli config current update -c esx -g services -k hostd -infile tmp.json
Where tmp.json can contain only the properties that need to be modified.
E.g.:
cat tmp.json
{
"some_sub_object": {
"some_property": "some_value"
}
}

To see the default hostd configuration in the config store default database, run the command:
/bin/configstorecli config default get -c esx -g services -k hostd_

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

ID: 632b837d-2dc7-8a66-67de-9eb5e93eb04e
Version Independent ID: d7d7cc4b-25d4-e313-3153-d57c65362f82
Content: Troubleshoot slow replication or stuck migration in agentless VMware migration - Azure Migrate
Content Source: articles/migrate/troubleshoot-replication-vmware.md
Service: azure-migrate
GitHub Login: @piyushdhore-microsoft
Microsoft Alias: piyushdhore

@j-dahl7
Thanks for your feedback! We will investigate and update as appropriate.


:memo: Improved README with direct links to github profiles

Because i'm a lazy man and i wont check the profiles if i need to copy/paste instead of clicking ;)

Can one of the admins verify this patch?

Oh wait, i forgot to remove the unnecessary label associated with the team.


[ENH] Add initial svg handling

Removes a TODO
Adds a supported mime type for latex
This currently creates a svg-file from the inline svg component, which can be handled by other tools later
This basically fixes #370 as their the svg is now not handled as an text type anymore

sphinx-jupyterbook-latex has been added as a default to jupyter-book from v0.10.2 onwards. So, SVG should be handled on the fly, regardless of this change.

jupyter-book is dependent on myst-nb, but myst-nb is in not dependent on jupyter-book (i.e. can and is used outside of jupyter-book)
Closing this as, since #380, this is easy to configure:
extensions =  ["sphinx.ext.imgconverter"]
nb_mime_priority_overrides = [
     # builder name, mime type, priority
	("latex", "image/svg+xml", 15)
]

this could be added to the documentation


Keyboard Mapping settings file / cloud saved

Description of the new feature / enhancement
Make it so when you map the keys a file generates with those changes
Scenario when this would be used?
I use powertoys in different computers and it'd be faster if I could just copy the settings file to my other computers so I dont have to do it all over again
Supporting information
No response

Do you mean something like mentioned in #3381 ?


Package config schemas aren't used at startup

With Atom closed, add the following to your ~/.atom/config.cson file:

'markdown-preview':
  liveUpdate: 4

Open Atom
Run atom.config.get('markdown-preview.liveUpdate') from the Console
4 is printed out

This schema for this package states this key path should be a boolean, https://github.com/atom/markdown-preview/blob/dfc0f9617dc42885ec719134931c78293d275524/lib/main.coffee#L26-L28 but no validation error is logged at startup.

/cc @benogle


ConfigFormatError

Describe the bug
I'm not really sure
Steps/commands/code to Reproduce
Use Codespaces and run the command in the readme
Error message/results
Traceback (most recent call last):
  File "/opt/conda/lib/python3.11/site-packages/config/init.py", line 803, in load
    items = p.container()
            ^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/config/parser.py", line 292, in container
    result = self.mappingbody()
             ^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/config/parser.py", line 195, in mappingbody
    raise pe
config.parser.ParserError: Unexpected identifier at (3, 21)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/workspaces/SWE-agent/run.py", line 492, in <module>
    main(getargs())
  File "/workspaces/SWE-agent/run.py", line 488, in main
    Main(args).main()
    ^^^^^^^^^^
  File "/workspaces/SWE-agent/run.py", line 289, in init
    self.agent = Agent("primary", args.agent)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 253, in init
    self.model = getmodel(
                 ^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/models.py", line 846, in getmodel
    return OpenAIModel(args, commands)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspaces/SWE-agent/sweagent/agent/models.py", line 228, in init
    cfg = config.Config(os.path.join(os.getcwd(), "keys.cfg"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/lib/python3.11/site-packages/config/init.py", line 707, in _init
    self.load_file(stream_or_path, kwargs.get('encoding'))
  File "/opt/conda/lib/python3.11/site-packages/config/__init.py", line 816, in load_file
    self.load(f)
  File "/opt/conda/lib/python3.11/site-packages/config/__init.py", line 807, in load
    raise cfe
config.ConfigFormatError: Unexpected identifier at (3, 21)

System Information
Windows 11 Pro
Checklist

[X] I'm running with the latest docker container/on the latest development version
[X] I've searched the other issues for a duplicate
[X] I have copied the full command/code that I ran
[X] I have copied the full log file/error message that was the result (if applicable)
[X] I have enclosed code/log messages in triple backticks (docs) and clicked "Preview" to make sure it's displayed correctly.

Could you show me how your keys.cfg looks?

[!warning]
Please replace your keys with some random text so they don't get stolen

I think the ' was missing

Now I get this
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 496, in _make_request
conn.request(
File "/opt/conda/lib/python3.11/site-packages/urllib3/connection.py", line 395, in request
self.endheaders()
File "/opt/conda/lib/python3.11/http/client.py", line 1289, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/opt/conda/lib/python3.11/http/client.py", line 1048, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.11/http/client.py", line 986, in send
self.connect()
File "/opt/conda/lib/python3.11/site-packages/docker/transport/unixconn.py", line 27, in connect
sock.connect(self.unix_socket)
PermissionError: [Errno 13] Permission denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/urllib3/util/retry.py", line 470, in increment
raise reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/urllib3/util/util.py", line 38, in reraise
raise value.with_traceback(tb)
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/urllib3/connectionpool.py", line 496, in _make_request
conn.request(
File "/opt/conda/lib/python3.11/site-packages/urllib3/connection.py", line 395, in request
self.endheaders()
File "/opt/conda/lib/python3.11/http/client.py", line 1289, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/opt/conda/lib/python3.11/http/client.py", line 1048, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.11/http/client.py", line 986, in send
self.connect()
File "/opt/conda/lib/python3.11/site-packages/docker/transport/unixconn.py", line 27, in connect
sock.connect(self.unix_socket)
urllib3.exceptions.ProtocolError: ('Connection aborted.', PermissionError(13, 'Permission denied'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/docker/api/client.py", line 213, in _retrieve_server_version
return self.version(api_version=False)["ApiVersion"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/api/daemon.py", line 181, in version
return self._result(self._get(url), json=True)
^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/utils/decorators.py", line 44, in inner
return f(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/api/client.py", line 236, in _get
return self.get(url, **self._set_request_timeout(kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', PermissionError(13, 'Permission denied'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspaces/SWE-agent/sweagent/environment/utils.py", line 354, in get_container
client = docker.from_env()
^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/client.py", line 94, in from_env
return cls(
^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/client.py", line 45, in init
self.api = APIClient(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/api/client.py", line 197, in init
self._version = self._retrieve_server_version()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/docker/api/client.py", line 220, in _retrieve_server_version
raise DockerException(
docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', PermissionError(13, 'Permission denied'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspaces/SWE-agent/run.py", line 492, in
main(get_args())
File "/workspaces/SWE-agent/run.py", line 488, in main
Main(args).main()
^^^^^^^^^^
File "/workspaces/SWE-agent/run.py", line 290, in init
self.env = SWEEnv(args.environment)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/environment/swe_env.py", line 136, in init
self._reset_container()
File "/workspaces/SWE-agent/sweagent/environment/swe_env.py", line 414, in _reset_container
self._init_container()
File "/workspaces/SWE-agent/sweagent/environment/swe_env.py", line 437, in _init_container
self.container, self.parent_pids = get_container(
^^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/environment/utils.py", line 369, in get_container
raise RuntimeError(msg) from e
RuntimeError: Probably the Docker daemon is not running. Please start the Docker daemon and try again. You might need to allow the use of the docker socket (https://github.com/princeton-nlp/SWE-agent/issues/159) or symlink the socket if it's at a non-standard location (https://github.com/princeton-nlp/SWE-agent/issues/20#issuecomment-2047506005).
@PierrunoYT ➜ /workspaces/SWE-agent (main) $

Could you try rebuilding the container? Hit Ctrl Shift P and

Let me try

Could you try rebuilding the container? Hit Ctrl Shift P and

Do I need to use the Github Token to create a Pull Request?

I tried it out now I get this
     (Current directory: /OpenDevin__OpenDevin)
     bash-$

2024-05-03 19:25:02,829 - openai._base_client - INFO - Retrying request to /chat/completions in 0.849225 seconds
2024-05-03 19:25:03,679 - openai._base_client - INFO - Retrying request to /chat/completions in 1.987373 seconds
2024-05-03 19:25:06,405 - openai._base_client - INFO - Retrying request to /chat/completions in 0.969970 seconds
2024-05-03 19:25:07,375 - openai._base_client - INFO - Retrying request to /chat/completions in 1.987327 seconds
2024-05-03 19:25:10,579 - openai._base_client - INFO - Retrying request to /chat/completions in 0.856825 seconds
2024-05-03 19:25:11,437 - openai._base_client - INFO - Retrying request to /chat/completions in 1.659597 seconds
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
yield
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 167, in handle_request
raise UnsupportedProtocol(
httpcore.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 952, in _request
response = self._client.send(
^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
with map_httpcore_exceptions():
File "/opt/conda/lib/python3.11/contextlib.py", line 158, in exit
self.gen.throw(typ, value, traceback)
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
yield
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 167, in handle_request
raise UnsupportedProtocol(
httpcore.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 952, in _request
response = self._client.send(
^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
with map_httpcore_exceptions():
File "/opt/conda/lib/python3.11/contextlib.py", line 158, in exit
self.gen.throw(typ, value, traceback)
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
yield
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 233, in handle_request
resp = self._pool.handle_request(req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpcore/_sync/connection_pool.py", line 167, in handle_request
raise UnsupportedProtocol(
httpcore.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 952, in _request
response = self._client.send(
^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_client.py", line 1015, in _send_single_request
response = transport.handle_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 232, in handle_request
with map_httpcore_exceptions():
File "/opt/conda/lib/python3.11/contextlib.py", line 158, in exit
self.gen.throw(typ, value, traceback)
File "/opt/conda/lib/python3.11/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/workspaces/SWE-agent/run.py", line 363, in main
self.run(index)
File "/workspaces/SWE-agent/run.py", line 347, in run
info, trajectory = self.agent.run(
^^^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 814, in run
thought, action, output = self.forward(
^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 509, in forward
thought, action, output = self.forward_with_error_check(observation, state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 663, in forward_with_error_check
output = self.forward_model(observation, state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/agent/agents.py", line 571, in forward_model
return self.model.query(self.local_history)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/tenacity/init.py", line 289, in wrapped_f
return self(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/tenacity/init.py", line 379, in call
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/tenacity/init.py", line 325, in iter
raise retry_exc.reraise()
^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/tenacity/init.py", line 158, in reraise
raise self.last_attempt.result()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/opt/conda/lib/python3.11/site-packages/tenacity/init.py", line 382, in call
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/workspaces/SWE-agent/sweagent/agent/models.py", line 264, in query
response = self.client.chat.completions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_utils/_utils.py", line 277, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/resources/chat/completions.py", line 579, in create
return self._post(
^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 1240, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 921, in request
return self._request(
^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 976, in _request
return self._retry_request(
^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 1053, in _retry_request
return self._request(
^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 976, in _request
return self._retry_request(
^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 1053, in _retry_request
return self._request(
^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/openai/_base_client.py", line 986, in _request
raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.
WARNING  ❌ Failed on OpenDevin__OpenDevin-i411: Connection error.
INFO     Beginning environment shutdown...
INFO     Agent container stopped

Sounds like swe-agent is running and you ran into a different issue with a malformated URL (--data_path, I presume). You can open a new issue with the full command etc.


Array merge does not preserve keys

Issue Summary
In the makeRequest method inside the Client class is following curl settings:
 curl_setopt_array($curl, array_merge([
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_HEADER => 1,
            CURLOPT_CUSTOMREQUEST => strtoupper($method),
            CURLOPT_SSL_VERIFYPEER => false,
        ], $this->curlOptions));

Output of the merged array will be:
array:4 [
  0 => true
  1 => 1
  2 => "POST"
  3 => false
]

As you can see, keys are removed. To fix this you need to use array_replace function or just add operator:
  curl_setopt_array($curl, [
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_HEADER => 1,
            CURLOPT_CUSTOMREQUEST => strtoupper($method),
            CURLOPT_SSL_VERIFYPEER => false,
        ] + $this->curlOptions);

Then the output is correct:
array:4 [
  19913 => true
  42 => 1
  10036 => "POST"
  64 => false
]

Can I post a pull request?
Technical details:

sendgrid/sendgrid: ^5.1
PHP Version: 7.0.11

This issue is listed here: https://github.com/sendgrid/php-http-client/issues/12


Upgraded xproj to csproj + upgraded Cake.Core to 0.2.2

Thanks for this great package!

Hey dear contributors, any interest in this PR?


Encode "+" as "%2B" since "+" is a valid SemVer character.

Currently this library is generating PURLs like<EMAIL_ADDRESS>The PURL spec says that versions should be a "percent-encoded string", and while the + character is fine to use while escaping   for application/x-www-form-urlencoded content, the original RFC3986 spec for general URIs does not mention using + to escape  .
I think it's preferable to escape + because downstream parsers of the URL will likely unescape the + as  , resulting in invalid PURL versions as in<EMAIL_ADDRESS>incompatible.
There's a good analysis of this problem in https://github.com/package-url/purl-spec/pull/261 as well.

another example where not-escaping + is undesirable<EMAIL_ADDRESS>Downstream Purl libraries will likely interpret that package name as libstdc  `

Has the anchor community looked into merging this code?

I'll work on getting CI passing -- thanks for the fix! 🙌


Combine Job (ZenHub Issue #535)

Before this can be mereged:

[x] Github Action Code complete & PRed
[x] base class implemented as scaffold with cli argument passing (-ds & --data-source)
[ ] actually query S3 & write to S3
[ ] add test that fails on a bad datasource being passed
[ ] add test that fails if it cannot actually query the right files in S3
[x] delete /infrastructure directory

Github Action for this work: https://github.com/usds/justice40-tool/pull/548

@esfoobar-usds is picking up this work in #535


Added fantomas for fsharp

I couldn't find a way to make it work with stdin so it takes the file and outputs the result to stdout

I did all the lines asked in the contributor guide and it worked for me :-)

Looks like there are 2 flags for stdin
--fsi <string>        Read F# source from stdin as F# signatures.
--stdin               Read F# source from standard input.

Did these not work? If not this should probably be reported upstream

This thread is being closed automatically by Tidier because it is labeled with "waiting on response" and has not seen any activity for 90 days. But don't worry—if you have any information that might advance the discussion, leave a comment and I will be happy to reopen the thread :)


Synthesis failed for release-please

Hello! Autosynth couldn't regenerate release-please. :broken_heart:
Here's the output from running synth.py:
2020-05-14 06:37:09,602 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/release-please
2020-05-14 06:37:09,605 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/release-please.git /home/kbuilder/.cache/synthtool/release-please:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/release-please': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 600, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 472, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 519, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/release-please.git', PosixPath('/home/kbuilder/.cache/synthtool/release-please')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth is still having trouble generating release-please. :sob:
Here's the output from running synth.py:
2020-05-14 16:12:51,898 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/release-please
2020-05-14 16:12:51,902 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/release-please.git /home/kbuilder/.cache/synthtool/release-please:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/release-please': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 600, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 472, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 519, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/release-please.git', PosixPath('/home/kbuilder/.cache/synthtool/release-please')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth is still having trouble generating release-please. :sob:
Here's the output from running synth.py:
2020-05-14 19:39:15,479 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/release-please
2020-05-14 19:39:15,484 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/release-please.git /home/kbuilder/.cache/synthtool/release-please:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/release-please': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 601, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 520, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/release-please.git', PosixPath('/home/kbuilder/.cache/synthtool/release-please')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth is still having trouble generating release-please. :sob:
Here's the output from running synth.py:
2020-05-15 05:48:40,366 autosynth [INFO] > logs will be written to: /tmpfs/src/github/synthtool/logs/googleapis/release-please
2020-05-15 05:48:40,369 synthtool [ERROR] > Failed executing git clone --single-branch https://github.com/googleapis/release-please.git /home/kbuilder/.cache/synthtool/release-please:

fatal: could not create work tree dir '/home/kbuilder/.cache/synthtool/release-please': No space left on device

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 601, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 473, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 520, in _inner_main
    working_repo_path = synthtool_git.clone(f"https://github.com/{args.repository}.git")
  File "/tmpfs/src/github/synthtool/synthtool/sources/git.py", line 83, in clone
    shell.run(cmd, check=True)
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 39, in run
    raise exc
  File "/tmpfs/src/github/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', '--single-branch', 'https://github.com/googleapis/release-please.git', PosixPath('/home/kbuilder/.cache/synthtool/release-please')]' returned non-zero exit status 128.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Clarify which ops don't need a trailing semicolon

Sorry the linter trouble... I thought as it is a comment it would be acceptable -.-


consolidate apigateway and redis to single pod

Redis is only needed by apigateway, so structure the deployment
of apigateway as a single pod container two containers and do
not expose redis outside of the pod.

ready for review


Set up Code of Conduct

Set up a code of conduct, as GitHub also suggest

Funny coincidence 😄 I was looking at this right now.

I've liked https://www.contributor-covenant.org, in case you don't already have anything in mind.

@wdg can we merge this?

Yes!


Rename tile.x and tile.y to tile.tx and tile.ty

Closes #15
This PR is an alternative to #20.

Closing in favor of #20


Policy for general supports?

I think this is a companion of #3643, #3631, and #3301, and is in line with the spirit of NEP 29, but it covers more aspects. This is not urgent or mission-critical, but would be nice to see how difficult to reach a consensus.
The question is: What would be the lowest supported version for each of the following items in a major release of CuPy?

CUDA Toolkit? (rel: #3301)
Compute capability?
Device architecture? (For example, CUDA's cuda_fp16.h is not really useful until sm53.)
Satellite libraries? This includes NCCL, cuDNN, cuTENSOR, CUB (pre-CUDA 11), etc that do not come with CUDA Toolkit but are still part of the general CUDA ecosystem. (For example, when would be the good time to drop NCCL 1.x?)
Host compiler? (rel: #3530)

While the CUDA Toolkit Release Note does specify the support matrix, when using specific functionalities outlined above a stringent requirement is often imposed.
(I think I missed at least one item above...Will add it when I can recall it 😅)

Let me try describing the current status:

CUDA Toolkit

When we discussed https://github.com/cupy/cupy/issues/3301, one strong reason to support this decision (drop 8.0 / 9.1 but keep others) was that cuDNN for 8.0 / 9.1 is not released for a long time, which may indicate the

Compute capability
Device architecture

In general supporting old CC does not have an additional cost, so no strong motivation to aggressively drop old ones.
Exceptions may be:

CUDA Toolkit no longer supports that CC (e.g. compute_30 dropped in CUDA 11: https://github.com/cupy/cupy/pull/3578)
For technical reasons (e.g., to improve performance, like we did in CuPy v4: https://github.com/cupy/cupy/pull/616)

Satellite libraries

I think there's no policy here.
(I just recalled that NCCL 1.x only supports CUDA 8.0, so v8 will not support NCCL 1.x.)

Host compiler

Ideally, CuPy should be buildable by the default compiler on OS supported by CUDA toolkit.
Exception is CUB.

Thanks, @kmaehashi!

When we discussed #3301, one strong reason to support this decision (drop 8.0 / 9.1 but keep others) was that cuDNN for 8.0 / 9.1 is not released for a long time, which may indicate that the number of people using them is significantly decreasing.

I see, this is an interesting but perhaps very practical indicator indeed. I was thinking an NEP 29-like approach: "After X months from the official release of CUDA Toolkit version Y.Z, we will drop the support". Perhaps this is too aggressive in terms of the product lifecycles of NVIDIA GPUs?

In general supporting old CC does not have an additional cost, so no strong motivation to aggressively drop old ones.
Exceptions may be:

CUDA Toolkit no longer supports that CC (e.g. compute_30 dropped in CUDA 11: #3578)

Note: As we still support CUDA 9.0, we don't drop compute_30  in v8.

For technical reasons (e.g., to improve performance, like we did in CuPy v4: #616)

Another exception off top of my head (as I mentioned earlier) is fp16 support. Before sm53 it is crap, not really usable: https://github.com/cupy/cupy/pull/3617#issuecomment-659111349. The current solution is to detect the device CC at runtime to decide if fp16 can be used or not. (The fp16 kernels are still compiled, but not used for CC<53.)

Satellite libraries

I think there's no policy here.
(I just recalled that NCCL 1.x only supports CUDA 8.0, so v8 will not support NCCL 1.x.)

Example: cuTENSOR only supports CUDA 10.1+.

Host compiler

Ideally, CuPy should be buildable by the default compiler on OS supported by CUDA toolkit.
Exception is CUB.

As I mentioned in https://github.com/cupy/cupy/issues/3530#issuecomment-657163686, CUDA Toolkit's documentation is bad at this. For example, CuPy's complex headers has a stringent C++11 requirement, and the compilation would fail if the host compiler is not new enough (https://github.com/cupy/cupy/issues/2530#issuecomment-539366174). Another exception is cuFFT. Now this issue is "explicitly" acknowledged in CUDA 11 Release Notes and Installation Guide for Linux (both in a footnote...)

Deprecation plans for v9: #4300
I will include a link to this issue in the release note of the next release to gather comments/concerns from the community.


Fix bug: set have_dbdreader to False if it's not installed

Set have_dbdreader to False when it cannot be imported, so binary_to_timeseries() raises the proper ImportError instead of error out because the dbdreader variable is not defined.

Thanks that was indeed a typo.  OTOH, I'm not sure if we should continue to support dbd reading without dbd reader.

No worries! Glad to contribute 🛩


Fix up the implementation details of the RequestFailedException ctor.

Follow-up from https://github.com/Azure/azure-sdk-for-cpp/pull/2529

/check-enforcer override
The CI is passing (just not visible on GitHub UI): https://dev.azure.com/azure-sdk/public/_build?definitionId=1614

/check-enforcer override


VSCode can't save file. Notification "Saving '+page.svelte': Waiting for Inline Chat changes to be Accepted or Discarded..."

VSCode is stuck when i applied the code in editor, which had 0 suggestion/changes. When trying to save the file i am stuck with the notification "Saving '+page.svelte': Waiting for Inline Chat changes to be Accepted or Discarded..."

Copilot Chat Extension Version: Latest
VS Code Version: Latest
OS Version: Ubuntu 24.04
Logs:

Steps to Reproduce:

apply the code to editor once, accept all changes.
generate a new response from prompt with exact same code as the first time.
apply code in editor
try to save ( Ctrl + S or otherwise )

So, is it that no more inline chat UI is visible at that point?

So, is it that no more inline chat UI is visible at that point?

when i try to save after applying code in editor, if there are no changes to be applied sometimes gets stuck while being saved, sometimes doesn't let new code apply. attaching video for reference first for latter case.
https://github.com/user-attachments/assets/e717e62c-81ba-408c-8040-674bf5503d1b

@aeschli - it looks like a bulk edit is being previewed but not finished. Do you have a clue why that is?

Well, it's headless so no UI at all... I guess what happens is that no edits happens, so no accept/reject shows. Now, the UI that shows "no results, refine query" is invisible and therefore the run hangs

I can add logic for the "no edits" case but @aeschli you should also drive the controller from those messages. Like, add accept/discard to the modal and hook those up the controller methods

https://github.com/microsoft/vscode/blob/f5b85429639e2ade384f0a77e439cce05898c5c6/src/vs/workbench/contrib/chat/browser/actions/codeBlockOperations.ts#L273
@aeschli Are you sure no edits happen? Could you be pushing no-op edits?


onSelected does not trigger with PlutoGridMode.normal[Bug]

onSelected event does not trigger in mode: PlutoGridMode.normal
PlutoGrid(
columns: columns,
rows: rows,
mode: PlutoGridMode.normal,
onSelected: (PlutoGridOnSelectedEvent event) {
print('onSelected'); //does not trigger
},
)
Execution Environment
flutter --version
Flutter 3.10.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 796c8ef792 (4 weeks ago) • 2023-06-13 15:51:02 -0700
Engine • revision 45f6e00911
Tools • Dart 3.0.5 • DevTools 2.23.1
PlutoGrid version
pluto_grid: ^7.0.2

try static func like this:
onSelected: onSelected,
)
void onSelected(PlutoGridStateManager stateManager, PlutoGridOnSelectedEvent event) {
if (event.row != null) {
setState(() {
isRowSelected = true;
selectedUser = _users.firstWhereOrNull((element) => element.id == event.row!.cells["id"]!.value);
blockText = selectedUser!.blocked! ? "Unblock" : "Block";
});
} else {
isRowSelected = false;
}
}

I have same issue as sharpsaravanan.
I think this is because isEditableMode getter of PlutoGridMode enum is imlemented like this
bool get isEditableMode => isNormal || isPopup;

Ii should be like this
bool get isEditableMode => isNormal || isPopup || isSelectMode;


Define a simple workflow job and execute one-cmd tools through this Job

This next task is to execute compiler commands in level of

one-import-tf, one-import-tflite, one-import-onnx
one-optimize
one-quantize

What to do in this task is to define a Job and invoke command line tools through this Job.

Job itself can be created in fixed hard-code.
Implement with import-tf and optimize
not all options need to be implemented

Next related tasks

Reflect to TreeView GUI
Import .cfg and construct workflow of jobs
Full implementation of options - there's huge amount of options in one-optimize
Implement with one-quantize

Need to investigate

User scenario of editing workflow of jobs
Better term for "workflow of jobs"

This next task is to execute compiler commands in level of

one-import-tf, one-import-tflite, one-import-onnx
one-optimize
one-quantize

I think one-pack and one-codegen should also be included in this scope. In addition, as the next step, the case of one-profile can also be considered.

To properly support one-codegen, we need a backend compiler :(
I created a separate issue for this. https://github.com/Samsung/ONE-vscode/issues/7


Query - Why is it necessary to have images of fixed width

@bgshih In the paper it is mentioned that images are resized to a height of 32 while width is adjusted by keeping the original aspect ratio. But I see that the code resizes all images to a fixed size 32*100.
img = Image.scale(img, 100, 32)[1] in function  loadAndResizeImage
Is it necessary to do so when the architecture supports variable length sequences.

@mineshmathew : I think its not necessary to use the same width height restrictions and depends on the case at hand. Like in my case, having the width of 300 gives me better accuracy. I am going to try some more cases, will report if I find any more improvements. Hope it helps.

@mineshmathew , @ravikantb  if l understand, we have to rescale all the images to a fixed size (100,32) or other things . But it's problematic because if we have images of different dimension (97,35) (24,76) , (96,38) how to deal with such a problem ?

@ravikantb @bgshih  But when I want to train the images with different widths in a batch, Tensor cannot accept data with different width. Certainly, it is ok when I set batch_size as 1.


go get<EMAIL_ADDRESS>fails with "looping trying to add package"

Describe the bug
Not able to use "go get" on the recent release tags.
For example, running "go get<EMAIL_ADDRESS>fails with
go: import "github.com/rancher/k3s": looping trying to add package
The same issue is observed with other recent tags like v1.13.5-k3s.1
However no such issues with older version tags like v0.3.0 where the command executes successfully. The version of Go is 1.11.4. The error is seen whether GO111MODULE is set to "on" or not set at all.
To Reproduce

sudo rm -fr "$(go env GOPATH)/pkg/mod”
go get<EMAIL_ADDRESS>After going through a screenful of dependencies, the program aborts with following error.
....
....
go: downloading github.com/rancher/k3s v1.14.1-k3s.1
go: finding github.com/rancher/k3s v0.3.0
go: downloading github.com/rancher/k3s v0.3.0
go: import "github.com/rancher/k3s": looping trying to add package

Expected behavior
It is expected that the "go get" command runs to completion without any errors.

Seems to be a known issue when package structure is changed with pre-release or pseudo versions. Please see https://github.com/golang/go/issues/30394 for details. When changed to a full release version e.g v1.14.1, the issue is expected to get resolved.

This is a known issue we will revisit this after k8s 1.15 is released.    It should be much easier once k8s does a proper release.  I'm going to close for now.

Essentially duplicate of #268


Using AsyncLock magically causes tasks to complete

The following function should never return, but it does, somehow. At no point does it throw an exception, but it still manages to complete the task. I tried to debug it but I have no idea how this is even possible, so here is a minimal reproducable example:
public async Task StressTest()
{
    var testLock = new AsyncLock();

    var tasks = Enumerable.Range(0, 100)
        .Select(taskIndex => Task.Factory.StartNew(async () =>
        {
            while (true)
            {
                using var _ = await testLock.LockAsync();
            }
        }, TaskCreationOptions.LongRunning))
        .ToArray();

    await Task.WhenAll(tasks);
}

This was tested on .NET 8, running on Windows.

Your problem is actually due to Task.Factory.StartNew. That method should not be used with async methods.
More info: https://blog.stephencleary.com/2013/08/startnew-is-dangerous.html
To correct the code, use Task.Run instead of Task.Factory.StartNew. Task.Run doesn't support the LongRunning flag, but that's perfectly fine because the LongRunning flag is useless in this case anyway (it doesn't do what you think it does).


Automation: Main Next Integrate

@kian-thompson there were CI failures seen probably from your op compressor PR. I have tried to fix them. Can you review this commit: https://github.com/microsoft/FluidFramework/pull/15131/commits/0e61b20aa5494bf9291b1468998be1f9de011a5d.

fyi: PR is ready to merge but needs some cleanup. There is one fix-up commit added


Add Development Prerequistes section to README and create deps_check.py script.

Taken from feedback on #395 & #396, this PR adds a section on what tools are needed to contribute to wash and optionally run it's tests.
If we do switch to nextest (#396) i'll then update this section in that PR to include the requirement.
I created the table of contents from the Markdown All In One extension in VSCode. Shouldn't be too hard to keep up to date even if you don't have the extension though.
Signed-off-by: Matt Wilkinson<EMAIL_ADDRESS>

Assuming deps_check is intended to remain small and only check if deps are available on the path, why not convert it to a shell script? This avoids the need for a user to have python (even if that's unlikely these days), and leverages the strength of a shell script. I.e.
cargo = shutil.which('cargo')
if cargo is None:
    print('cargo not found. Please install Rust from https://rustup.rs/')
    exit(1)

Would become:
command -v cargo >/dev/null 2>&1 || echo "cargo not found. Please install Rust from https://rustup.rs/"

Assuming deps_check is intended to remain small and only check if deps are available on the path, why not convert it to a shell script? This avoids the need for a user to have python (even if that's unlikely these days), and leverages the strength of a shell script. I.e.
cargo = shutil.which('cargo')
if cargo is None:
    print('cargo not found. Please install Rust from https://rustup.rs/')
    exit(1)

Would become:
command -v cargo >/dev/null 2>&1 || echo "cargo not found. Please install Rust from https://rustup.rs/"

I agree we could do this, but the Python version is much more readable and editable. Python is also installed by default on Macs, Ubuntu, and has 1 click installation on Windows. It's also slightly better cross-platform considering bash isn't very well supported on Windows.
As a supporting case - the Rust language repo also uses Python to setup its development environment & dependencies, so this isn't without precedent.
I'll defer to a majority opinion though! I just think the benefits of Python scripts outweigh those of shell scripts most of the time.

My main concern is basically the same as stated in https://github.com/wasmCloud/wash/pull/396#discussion_r1117727579.
However, because this is offered as an optional script, I actually think I am ok with it. We are basically saying "hey, we have this handy script that checks everything for you if you want to use it!" which I think is acceptable


Fix vulnerability query text color in dark theme

The text color in the input field is white in the dark theme making it unreadable. This change makes the text remain black in the dark theme.

Hi thanks for the PR. Most of us maintainers are back from Kubecon and will take a look!


[Backport to main] 2.3.0 release notes (#4457)

Backport of https://github.com/opensearch-project/OpenSearch/pull/4457 to main

Codecov Report

Merging #4464 (c4b0c84) into main (517c19c) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #4464      +/-   ##
============================================
- Coverage     70.78%   70.68%   -0.10%
+ Complexity    57338    57303      -35
============================================
  Files          4617     4617
  Lines        275485   275485
  Branches      40328    40328
============================================
- Hits         194994   194724     -270
- Misses        64196    64436     +240
- Partials      16295    16325      +30

Impacted Files
Coverage Δ

...adcast/BroadcastShardOperationFailedException.java
55.55% <0.00%> (-44.45%)
:arrow_down:

.../java/org/opensearch/search/dfs/AggregatedDfs.java
54.83% <0.00%> (-41.94%)
:arrow_down:

...nsearch/rest/action/cat/RestCatRecoveryAction.java
43.61% <0.00%> (-40.43%)
:arrow_down:

.../admin/cluster/reroute/ClusterRerouteResponse.java
60.00% <0.00%> (-40.00%)
:arrow_down:

...n/decider/SnapshotInProgressAllocationDecider.java
34.78% <0.00%> (-39.14%)
:arrow_down:

...luster/routing/allocation/RoutingExplanations.java
62.06% <0.00%> (-37.94%)
:arrow_down:

...cluster/coordination/PublishClusterStateStats.java
33.33% <0.00%> (-37.51%)
:arrow_down:

...n/admin/indices/readonly/AddIndexBlockRequest.java
35.71% <0.00%> (-35.72%)
:arrow_down:

...ava/org/opensearch/search/dfs/DfsSearchResult.java
43.26% <0.00%> (-35.58%)
:arrow_down:

.../opensearch/client/indices/CloseIndexResponse.java
56.25% <0.00%> (-35.00%)
:arrow_down:

... and 460 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.