Panic when running sst dev

Hi, i am having issues with SST ion, we are trying to make use of it in an Nx workspace, and encountered an issue where running anything with sst dev [command] would spit out an error that looks like this:  (this is the result of deploy, but same error when running sst dev too )
> pnpm exec sst deploy --profile sandbox --stage=development
Usage: sst deploy

Flags:
  --stage       The stage to deploy to
  --verbose     Enable verbose logging
  --help        Print help
  --target      Comma seperated list of target URNs

Examples:
  sst deploy --stage=production

Learn more at https://ion.sst.dev
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x30 pc=0x101f42670]

goroutine 1 [running]:
github.com/sst/ion/cmd/sst/cli.(*Cli).PrintHelp(...)
        /home/runner/work/ion/ion/cmd/sst/cli/cli.go:109
main.run()
        /home/runner/work/ion/ion/cmd/sst/main.go:80 +0x260
main.main()
        /home/runner/work/ion/ion/cmd/sst/main.go:41 +0x12c

thinking that Nx may somehow be the culprit i created an empty nextjs app, using pnpm create next-app with all defaults and then ran sst init this all claims to be successful, however when running pnpm dev i recieve a similar error to the above:
❯ pnpm dev --profile sandbox

><EMAIL_ADDRESS>dev /Users/breningham/Projects/my-app
> sst dev next dev "--profile" "sandbox"

Usage: sst dev [command]

Flags:
  --stage       The stage to deploy to
  --verbose     Enable verbose logging
  --help        Print help
  --silent      Do not output function invocation logs

Examples:
  sst dev
  sst dev next dev
  sst dev "next dev --turbo"

Learn more at https://ion.sst.dev
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x30 pc=0x103816670]

goroutine 1 [running]:
github.com/sst/ion/cmd/sst/cli.(*Cli).PrintHelp(...)
        /home/runner/work/ion/ion/cmd/sst/cli/cli.go:109
main.run()
        /home/runner/work/ion/ion/cmd/sst/main.go:80 +0x260
main.main()
        /home/runner/work/ion/ion/cmd/sst/main.go:41 +0x12c

FWIW:
 ```
 Node   : 20.12.0
OS     : darwin-arm64
pnpm   : 9.4.0
SST: 0.0.499 (installed with brew)

Hmm that's pretty strange.

I noticed this on Ubuntu 24.04 & OSX (arm) also, Node v20.11.1. I found the last non-panic-ing SST version to be 0.0.485 when installing (i.e. the panic starts from version 0.0.486 and onwards)
For me, I got the error when running sst --version (sic) (The regular command sst version works normally) as well as sst dev.

I found out that this error essentially happens whenever the cli does not understand an argument - for me it was the --profile=[profile] that tripped it up. but since it does not understand --version it makes sense that its throwing the same error.
Ideally, this should be fixed with an error message that states what it did not understand; im not a go developer, but i may look into helping with this on my free time.
NB: if you are using SSO/AWS Profiles, the workaround is to use the AWS_PROFILE=[profile] environment variable instead of --profile.
@wenzf have you tried wrapping the command in quotes? like: sst dev "remix vite:dev"

@breningham
Yes. Same result with "dev": "sst dev \"remix vite:dev\"" or using single quotes.
Worth noting that I'm using SST the very first time and I might miss a very basic thing leading to this error.

yeah this is my first time delving into SST, i have to say with ION being recommended to new users, i would have thought this stuff might have been ironed out a little. (i get that its pre-release, but IT IS RECOMMENDED for new starters...madness 😆 )
for the sake of people being able to help; @wenzf are you able to share the error you are receiving?

also, try adding --verbose to your command, it should tell you more info. but IIRC i got the "unexpected error" when i ran the sst command in the wrong directory (where the sst.config.ts was in apps/frontend , but i was running in the main root ), maybe a similar issue?

@breningham if it's only with dev, and the rest works, it's fully fine for me. All in all SST looks very promising.
Here are some logs:

Ubuntu 22.04.4 LTS.
SST 0.0.529
Node v20.11.0
I used a existing IAM user which I usually use for arc / @architect deployments. So I assume the permissions should be ok. There seems nothing in the logs that would indicate a permission issue.

My guess is that the issue is somewhere here:
time=2024-07-16T12:01:04.522+02:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : websocket: close 1005 (no status)"
sst dev remix vite:dev
× Unexpected error occurred. Please check the logs or run with --verbose for more details.
secu@secu:~/coding/withsst/ssttry2$ sst dev remix vite:dev --verbose
time=2024-07-16T12:00:56.915+02:00 level=INFO msg="checking for pulumi" path=/XXX/.config/sst/bin/pulumi
time=2024-07-16T12:00:57.038+02:00 level=INFO msg="checking for bun" path=/XXX/.config/sst/bin/bun
time=2024-07-16T12:00:57.045+02:00 level=INFO msg=args args="[remix vite:dev]" length=2
time=2024-07-16T12:00:57.046+02:00 level=INFO msg="starting server"
time=2024-07-16T12:00:57.046+02:00 level=INFO msg="initializing ui" isTTY=true
time=2024-07-16T12:00:57.103+02:00 level=INFO msg="here u go"
time=2024-07-16T12:00:57.103+02:00 level=INFO msg="initialized footer ui"
time=2024-07-16T12:00:57.103+02:00 level=INFO msg="no existing server found, starting new one"
time=2024-07-16T12:00:57.103+02:00 level=INFO msg="waiting for server to start"
time=2024-07-16T12:00:57.151+02:00 level=INFO msg="checking for pulumi" path=/XXX/.config/sst/bin/pulumi
time=2024-07-16T12:00:57.290+02:00 level=INFO msg="checking for bun" path=/XXX/.config/sst/bin/bun
time=2024-07-16T12:00:57.292+02:00 level=INFO msg="initializing project" version=0.0.531
time=2024-07-16T12:00:57.292+02:00 level=INFO msg="esbuild building" out=/XXX/.sst/platform/sst.config.123.mjs
time=2024-07-16T12:00:57.295+02:00 level=INFO msg="esbuild built" outfile=/XXX/.sst/platform/sst.config.123.mjs
time=2024-07-16T12:00:57.295+02:00 level=INFO msg="evaluating config"
time=2024-07-16T12:00:57.338+02:00 level=INFO msg="config evaluated"
time=2024-07-16T12:00:57.338+02:00 level=INFO msg="checking platform"
time=2024-07-16T12:00:57.338+02:00 level=INFO msg="checking provider" name=aws version=latest compare=latest
time=2024-07-16T12:00:57.338+02:00 level=INFO msg="loading home"
time=2024-07-16T12:00:57.338+02:00 level=INFO msg="credentials found"
time=2024-07-16T12:00:57.338+02:00 level=INFO msg="fetching bootstrap"
time=2024-07-16T12:00:59.282+02:00 level=INFO msg="found existing bootstrap" data="{\"version\":1,\"asset\":\"sst-asset-XXX\",\"state\":\"sst-state-shfaccmvwxzo\"}"
time=2024-07-16T12:00:59.282+02:00 level=INFO msg="loaded config" app=ssttry2 stage=secu
time=2024-07-16T12:00:59.283+02:00 level=INFO msg=server addr=<IP_ADDRESS>:13557
time=2024-07-16T12:00:59.283+02:00 level=INFO msg="getting endpoint"
time=2024-07-16T12:00:59.283+02:00 level=INFO msg=subscribed type=*aws.FunctionInvokedEvent
time=2024-07-16T12:00:59.283+02:00 level=INFO msg=subscribed type=*aws.FunctionResponseEvent
time=2024-07-16T12:00:59.283+02:00 level=INFO msg=subscribed type=*aws.FunctionErrorEvent
time=2024-07-16T12:00:59.283+02:00 level=INFO msg=subscribed type=*aws.FunctionLogEvent
time=2024-07-16T12:00:59.283+02:00 level=INFO msg=subscribed type=*project.StackEvent
time=2024-07-16T12:01:00.614+02:00 level=INFO msg="found endpoint endpoint" url="wss://XXX.iot.XXX.com/mqtt?X-Amz-Expires=86400"
time=2024-07-16T12:01:00.614+02:00 level=INFO msg="signed request" url="wss://XXX.iot.XXX.com/mqtt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=XXX"
time=2024-07-16T12:01:04.522+02:00 level=INFO msg=unsubscribing type=*aws.FunctionLogEvent
time=2024-07-16T12:01:04.522+02:00 level=INFO msg=unsubscribing type=*aws.FunctionResponseEvent
time=2024-07-16T12:01:04.522+02:00 level=INFO msg=unsubscribing type=*aws.FunctionErrorEvent
time=2024-07-16T12:01:04.522+02:00 level=INFO msg=unsubscribing type=*aws.FunctionInvokedEvent
time=2024-07-16T12:01:04.522+02:00 level=INFO msg=unsubscribing type=*project.StackEvent
time=2024-07-16T12:01:04.522+02:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : websocket: close 1005 (no status)"
× Unexpected error occurred. Please check the logs or run with --verbose for more details.
time=2024-07-16T12:01:04.528+02:00 level=INFO msg="waiting for footer to quit"
time=2024-07-16T12:01:04.529+02:00 level=ERROR msg="exited with error" err="exit status 1"

 sst --version
sst: deploy anything

  sst init               Initialize a new project
  sst dev [command]      Run in development mode
  sst deploy             Deploy your application
  sst add <provider>     Add a new provider
  sst install            Install all the providers
  sst secret             Manage secrets
  sst shell [command]    Run a command with linked resources
  sst remove             Remove your application
  sst unlock             Clear any locks on the app state
  sst version            Print the version of the CLI
  sst upgrade [version]  Upgrade the CLI
  sst telemetry          Manage telemetry settings
  sst refresh            Refresh the local app state

Learn more at https://ion.sst.dev
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x30 pc=0x16f858b]

goroutine 1 [running]:
github.com/sst/ion/cmd/sst/cli.(*Cli).PrintHelp(...)
        /home/runner/work/ion/ion/cmd/sst/cli/cli.go:109
main.run()
        /home/runner/work/ion/ion/cmd/sst/main.go:80 +0x2ab
main.main()
        /home/runner/work/ion/ion/cmd/sst/main.go:41 +0x13c

@wenzf let me ask the team to take a look.

When we had the sst workshop with Adam, some of the people also encountered this error failed to connect to mqtt me including. I figured it out that it was a problem with the misconfiguration of the AWS Region.
Now I also encountered this issue again when running sst dev
My aws cli profile has set region=eu-central-1 my sst config also I changed to region: 'eu-central-1' and got this error.
After setting the export AWS_REGION=eu-central-1 and run sst dev it worked.

After setting the export AWS_REGION=eu-central-1 and run sst dev it worked.

Sadly didnt work for me.

time=2024-09-24T20:55:47.349+02:00 level=INFO msg="fetching bootstrap"
time=2024-09-24T20:55:47.444+02:00 level=INFO msg="found existing bootstrap" data="{\"version\":4,\"asset\":\"sst-asset-ohomdotvfvte\",\"assetEcrRegistryId\":\"MY_ACCOUNT_ID\",\"assetEcrUrl\":\"MY_ACCOUNT_ID.dkr.ecr.eu-central-1.amazonaws.com/sst-asset\",\"state\":\"sst-state-ohomdotvfvte\"}"
time=2024-09-24T20:55:47.444+02:00 level=INFO msg="found endpoint endpoint" url="wss://XXXX.iot.eu-central-1.amazonaws.com/mqtt?X-Amz-Expires=86400"
time=2024-09-24T20:55:47.444+02:00 level=INFO msg="signed request" url="wss://XXXX.iot.eu-central-1.amazonaws.com/mqtt?X-Amz-Algorithm=AWS4-HMAC-SHA256&..."
time=2024-09-24T20:55:47.462+02:00 level=INFO msg="deployer done"
time=2024-09-24T20:55:47.462+02:00 level=INFO msg="watcher done"
time=2024-09-24T20:55:47.462+02:00 level=INFO msg="shutting down server"
time=2024-09-24T20:55:47.462+02:00 level=INFO msg="server done"
time=2024-09-24T20:55:47.489+02:00 level=INFO msg="done mosaic" err="failed to connect to mqtt: network Error : dial tcp: lookup XXXX.iot.eu-central-1.amazonaws.com on <IP_ADDRESS>:53: no such host"
time=2024-09-24T20:55:47.489+02:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : dial tcp: lookup XXXX.iot.eu-central-1.amazonaws.com on <IP_ADDRESS>:53: no such host"

looks like it tries to fetch bootstrap from my ECR, while i dont have one?


extending a language with another

How can I extend basic HTML language with another syntax without disabling the basic HTML? It seems that there are some things, that are still hardcoded into VSCode core and linked to text.html.basic that I loose if I use a html-based language that is not the text.html.basic.
In my case I'm trying to integrate Nunjucks templater into VSCode. I used the generator, and tried the plugin some other guy made (basically the same thing). And it boils down to the fact that I'm trading Nunjucks syntax coloring against all the cool staff basic VSC HTML offers (emmet, tag closing...). Legit HTML tag suggestions became replaced with some random on-the-fly-generated garbage and the coloring of the HTML syntax in Nunjucks language  plugin is inconsistent with the basic one anyway. On the other hand HTML is bickering about the errors in the script tags, if nunj is used there... So not worth it.
Is there a way already - if yes what is it? And if there is no - consider it a feature request/suggestion.

I have the same question.
I write vuejs recently, and I try to implement a plugin to support the syntax highlight and snippet of vuejs.
Since vuejs extends basic HTML and JavaScript, I want to inherit the embed support of HTML and JavaScript from Vs-code to my plugin. However I have check the document carefully and find no way.
I have try add "extensionDependencies":['vscode.html','vscode.javascript'], but it seems cannot work.
So how can I inherit/include/import some language support, include snippet and colorizer, to another language?

@Spown @unhealthy The ways to reuse language functionality are currently very limited. Nunjucks has it's own syntax and the html extension doesn't know what to do with it. The vscode API has the capability to programmatically invoke supports for a given language, but always on a real file resource. We have been discussing if we should add the capability that you can also pass an in-memory buffer, such as you could convert the Nunjucks code to HTML before passing to the html mode, but we haven't come to any conclusions, yet. At this time, for the case of Nunjucks, you have to go the full way, and (re-) implement all the functionality that you need. But at least you have full control, and e.g. don't see any snippets that don't make sense in your context.
In the case of vuejs, that seems to be based on normal html (correct me if I'm wrong, I just read a bit on it), you can participate in the HTML mode by adding additional providers (validation, suggestions, hovers...). You can add additional snippets, but they would be visible to all html files. Alternatively, you could also replace the full mode by your own and programmatically make calls to the HTML extension for things like suggestion, hovers...
All that said, we don't have any experience in that yet, so please ping me if you tried this and couldn't get it to work.
You might have also seen that the HTML mode is not a proper extension yet. It's legacy code using internal APIs. It's on the plan to bring it to the new APIs and when doing that we will have to find solutions to the embedded languages problem such as css and js in html.

At this time, for the case of Nunjucks, you have to go the full way, and (re-) implement all the functionality that you need. But at least you have full control, and e.g. don't see any snippets that don't make sense in your context.

ok, another question then: how can I re-implement emmet snippets in a language plugin?

ok, another question then: how can I re-implement emmet snippets in a language plugin?

Is the question to enable emmet snippets for a particular file type?
The emmet implementation maintains a table of file types in which emmet is enabled. You could provide a PR to enable this for your language. This is the source.

I thought emmet was an option to enable in a lang plugin... but it's totally unrelated, I see... I would say this hidden config is kinda wrong, either should it be a plugin configuration switch or a user setting... Anyway I got the big picture and I guess I'll just stick to the HTML lang for the time being. I guess you can close the issue.
Thanx

I agree that hard coding is not correct and needs to be improved. Closing this issue as suggested.

just wanted to add that TWIG pack is basically what I needed. It's syntax is consistent with Nunjucks and it has emmet and proper HTML handling

@Spown Emmet is not working for me with .nunjucks files even with https://github.com/Bajdzis/vscode-twig-pack

@jitendravyas vscode-twig-pack works with twig, html.twig files. I configure my nunj projects to use simply .html extensions in templates. If you want to use .nunjucks you have to configure it use the HTML syntax when the vscode-twig-pack is installed. I don't know how or whether it is possible.

@jitendravyas, @Spown,
We have done everything possible to Emmet supported all available languages.
You can use emmet.syntaxProfiles option in settings of Editor. For example:
"emmet.syntaxProfiles": {
  "nunjucks": "html"
}

Documentation: http://code.visualstudio.com/updates/v1_5#_settings-to-enabledisable-emmet-for-languages

Hey All,
From VS Code 1.15 onwards, please use emmet.includeLanguages instead of emmet.syntaxProfiles to get Emmet abbreviation expansion features in your language of choice.
We are making this move because of the confusion around what emmet.syntaxProfiles setting was originally meant for i.e Customizing final output and what it became i.e enabling emmet in new languages.
Please read more on this at Emmet 2.0


Engine commit fails to migrate to GOB

Copybara 'engine_github_to_gob': Failed to migrate '[refs/heads/main]'.
Copybara failed running your registered migration:
migration:
//depot/google3/mobile/flutter/tools/infra/copybara/copy.bara.sky:engine_github_to_gob
origin:    [refs/heads/main]
error:     The migration
//depot/google3/mobile/flutter/tools/infra/copybara/copy.bara.sky:engine_github_to_gob
was identified as potentially violating the GGoB review requirement.

Internal tracking issue: b/308694056

This is blocking all our repos. GOB team is looking into a fix. Will update here if anything.

The Gob fix has landed and populated. All our repos have recovered. Closing.


Phishing/Scam Addresses supplied by last years scam victom, Zhang CL who got scammed and lost 10571 dot

bellow are the list of new addresses that Zhang CL posted on the Main Polkadot page after sending his dot to a scam address. It is believed that these dot were then sent to other addresses.
We would like these address to be included on the list of records.
1461Dsvr9GmkRjUkdJcYGP6HFygwQeZcspc6W5QgJVAT59yt

13xuoAwwqfZuyAsRuUBasa8AhjdqzRbdyS3m52Lu6oCpFQRv
1X3M7sGA1Nbgd8Qh45uqdQMPNFXSHbWnvPp6CkQ9Ttp46dQ

13afnZRWDqmaRapMg6URQkDEnoxuVzHUCYo2v61dXaKHdgBB

1X3M7sGA1Nbgd8Qh45uqdQMPNFXSHbWnvPp6CkQ9Ttp46dQ

14QsifyV7XyEDay8C862PNLRngid2AGZmtCwz1K88x5gpf58
the transacton hash which started the whole mess is, https://polkascan.io/polkadot/transaction/0xa47ca656821e912fa7d53b77ca1117751734ae7e8feb29a4a829eefdd22d65d0

1exaAg2VJRQbyUBAeXcktChCAqjVP9TUxF3zo23R2T6EGdE
14gWkqi6J3U4mcRTCi7yy824S2GepSNqpM4xNjLTCzGQpCst

1exaAg2VJRQbyUBAeXcktChCAqjVP9TUxF3zo23R2T6EGdE
14gWkqi6J3U4mcRTCi7yy824S2GepSNqpM4xNjLTCzGQpCst

Thanks! Do you have a link to the original post? (The reason for asking is just for categorization, eg. see https://github.com/polkadot-js/phishing/blob/master/address.json - for instance not all are sites, the last is for a telegra.ph link)

Thanks! Do you have a link to the original post? (The reason for asking is just for categorization, eg. see https://github.com/polkadot-js/phishing/blob/master/address.json - for instance not all are sites, the last is for a telegra.ph link)

I do have these links. Can I forward these to you in dm on Telegram?  Do you have an telegram account username?

I do have these links. Can I forward these to you in dm on Telegram?  Do you have an telegram account username?


Change  to  tag for sorting icons

Updated the <span> tag to an <i> tag in order to allow Semantic UI icons to appear. Font Awesome icons work in either and <i> tag or a  tag but Semantic UI icons only show up if they are wrapped in an <i> tag.

@jewls618 Thank you for this. I'm gonna need to release this as a minor release which I'll do later this week.


Extend arrow not showing up on colorbar

I would like there to be an "extend" arrow on the colorbar, showing that the scale continues past 0.6. However, so far it will not display.

I put this issue on StackOverflow and received a helpful reply very quickly:
https://stackoverflow.com/questions/67720032/use-of-extend-in-a-contourf-plot-with-a-discrete-colorbar-not-working
All fixed!


dibs: I will implement exercise atbash-cipher

Work in progress

@stevejb71 I would love you feedback on this. I might have gone overboard and missing some Core library functions for this exercises.
Besides that, two test cases fail, and I can't figure out why? Would appreciate any pointers you might have.

Happy to give feedback. I'll take a look later today (Hong Kong time).

@dvberkel - I added a few comments - one of them includes how to fix the tests. Let me know when you are done making the changes you accept, and I can re-review.

@stevejb71 thanks for your review. They are very worthwhile. I will improve the code with your suggestions later today. I will drop you a line when I am finished

I updated the exercise with your suggestion. I couldn't provide a type signature for the substitute function. The function keyword and my suggestion kept conflicting. Do you have a solution?

I added a few comments to your last commit, but they are just suggestions for improvement in the non-public part of the code.
Given you have the tests passing now, I'd be happy to merge if you can just add a few tests with different block sizes (I think that is important as it is on the public interface).

I adopted your suggestion. Even though the code is not part of the public interface, it is important to show idiomatic code.

@stevejb71 How are these changes looking? Care to give your go on them?

I rebased in order to incorporate the latest changes

I opened that issue and it received not a lot of attention. The only comment was that it w as OK the way it is. That is why I did not add other tests.
We could decide otherwise and still test other block sizes. @stevejb71 what do you think?

I think we should add a test. 1 seems a bit of an edge case which would be good to test.

I will add a test with a different block size

@stevejb71 added a test with a different block size


Win 10 Game DVR bar behaves incorrectly when DS 4 is wireless.

If I am playing any game and open the gamebar with Win+G (or guide/PS button) the buttons on it will infinitely scroll quickly as if I am holding TAB button. This glitch doesn't happen in wired mode.

Same problem. Happens too in MS Store, scrolls to the bottom and won't stop. First noticed the issue while playing Skyrim (before remaster releases ;) because it was stuttering. Worked the problem down to my controller but tried a second PS4 controller and the same thing happened. Definitely stopped happening as soon as I shutdown DS4Windows.
I'll try using a USB cable to wire in as a temporary solution. Guessing MS updated something that broke something in the DS4Windows code. Might be in preparations for the PS4 dongle for PS4 Now coming out soon.

Double checked the new downloads page after last post,..
Literally said, "Posted 5 minutes ago"...
https://github.com/Jays2Kings/DS4Windows/releases/tag/v.1.4.52
Well, damn.
Thank you! Hope this fixes it!

I'm not certain this build will fix this, I'll try to see why this happens in future updates.

Yeah, I tested it and it unfortunately did not fix this issue on my rig. I had intended to post an update-reply but fell asleep, sorry  m(-__-)m
I can try grabbing screen clips.
The related issues I've seen:
-- both my controllers are showing >30ms latency
-- the Xbox pop-up menu scrolls infinitely between choices
-- the MS Store scrolls to the bottom continuously - like it'll force-scroll down as I try to scroll up - stops when I exit DS4W
-- Skyrim is stuttering badly like from some input trying to yank attention from the game's IRQ handling system
-- looking at sensor readings in DS4W, my gyro looks off... like the middle one is cranked hard right (both controllers)
Thank U for Ur quick response and attentiveness!  w(^_____^)w!!

On 2016/10/09, at 0:47, Jays2Kings<EMAIL_ADDRESS>wrote:
I'm not certain this build will fix this, I'll try to see why this happens in future updates.
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Unloading, reloading, killing drivers, updating drivers, switching Bluetooth and USB,... trying to trick it into working properly one way or another...
But fear it's got something to do with this:
http://www.bestbuy.com/site/sony-dualshock4-usb-wireless-adapter/5589800.p?skuId=5589800

The adaptor helped stablize my Bluetooth signal, but I still need DS4W to make it work with my game. DS4Win! Still staying awesome classy. W(^__^)W!!


Docker image?

This is a grate tool, I can help packaging it as a docker image if it would be helpful.

Thanks @am009 for your pull request! We will merge it after we tested it


Add missing functionality for osquery config

https://github.com/kolide/kolide-ose/blob/master/server/service/service_osquery.go#L61 GetClientConfig is missing code that adds decorators, YARA and File Paths.  These will need to be added. See also https://osquery.readthedocs.io/en/stable/deployment/configuration/

Fixed in fleet 2.


Bug with feast 0.19

A new field 'name' was added to the abstract class DataSource, and this will always take the value of event_timestamp_column since it the first argument.

Hi Flametaa,
In collaboration with the feast community this repo has been added to the main feast project as of v0.19. So you can use the functionality from within there.


⚠ Bofrost.be has degraded performance

In e39db4c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2021 ms

Resolved: Bofrost.be performance has improved in c0d6330.


pin jinja2 version

recently, lamvery would not compile
https://gist.github.com/ijin/1f966831894dad80c9d147b98eeec858
In addition, on running python setup.py install locally, jinja2 gave some errors.
Running Jinja2-2.9.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rcBfOJ/Jinja2-2.9.4/egg-dist-tmp-ZGzjgU
warning: no files found matching 'run-tests.py'
warning: no files found matching '*' under directory 'custom_fixers'
warning: no files found matching '*' under directory 'jinja2/testsuite/res'
warning: no previously-included files matching '*' found under directory 'docs/_build'
warning: no previously-included files matching '*.pyc' found under directory 'jinja2'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'jinja2'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
  File "build/bdist.linux-x86_64/egg/jinja2/asyncsupport.py", line 22
    async def concat_async(async_gen):
            ^
SyntaxError: invalid syntax

  File "build/bdist.linux-x86_64/egg/jinja2/asyncfilters.py", line 7
    async def auto_to_seq(value):
            ^
SyntaxError: invalid syntax

  File "/home/ubuntu/.venv/lib/python2.7/site-packages/Jinja2-2.9.4-py2.7.egg/jinja2/asyncsupport.py", line 22
    async def concat_async(async_gen):
            ^
SyntaxError: invalid syntax

  File "/home/ubuntu/.venv/lib/python2.7/site-packages/Jinja2-2.9.4-py2.7.egg/jinja2/asyncfilters.py", line 7
    async def auto_to_seq(value):
            ^
SyntaxError: invalid syntax

pinning jinja2 to a lower version (2.8.1) resolves this.

Changes Unknown when pulling d29779ee5d973aaf7dd2da78a139dad1107897fb on ijin:fix_compile_issue into ** on marcy-terui:master**.

Thanks!!
This problem seems to be caused by this.
ref: https://github.com/pallets/jinja/issues/643
Workaround:
pip install --upgrade pip

But I will merge this for safety.


Problems with STIL test results

Thanks to your excellent work，I can get satisfactory results when testing the Deepfakes manipulation in FF++, but very poor results when testing several other manipulation methods in FF++. I have used the train file for training and loaded the trained weights.

This is a screenshot of the code I tested , when I modify only the manipulation method, all the manipulation methods give the same result.

When I modify the method and compression in the test section of the ffpp.yaml file, the results are very poor

I will be grateful if you can answer my question.
### Tasks

Can you tell me how I should test the other manipulation methods in FF++?Thanks

@wjxzju @wizyoung Looking forward to hearing from you, thanks!


Subtitles not working with Vimeo VTT files

I am using react-native-video 6.0.0-alpha.7. I am attempting to enable subtitles in my video, but for some reason they are not showing. I am using the below implementation:
<Video
ref={playerRef}
source={{uri: selectedVideo}}
style={styles.videoPlayer}
resizeMode="cover"
controls={true}
paused={isPaused}
onProgress={onProgress}
rate={selectedPlaybackRate}
selectedTextTrack={{
type: 'title',
value: 'English CC',
}}
textTracks={[
{
title: 'English CC',
language: 'en',
type: TextTrackType.VTT,
uri: selectedVideoCaptionFile,
},
]}
/>
where selectedVideoCaptionFile = "https://captions.cloud.vimeo.com/captions/100860111.vtt?expires=1695002951&sig=5d130679090960aaef3949d434732655ec77afc2&cta.vtt" (this link is only good for a certain amount of time, but it does resolve well).
I've tested against "https://bitdash-a.akamaihd.net/content/sintel/subtitles/subtitles_en.vtt", and it works well, but with the aforementioned VTT file URL, for whatever reason the audio is muted, and no subtitles are showing.
Any suggestions?
System:
OS: macOS 13.5.2
CPU: (12) arm64 Apple M2 Pro
Memory: 804.48 MB / 32.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 19.8.1
path: ~/.nvm/versions/node/v19.8.1/bin/node
Yarn: Not Found
npm:
version: 9.7.1
path: ~/.nvm/versions/node/v19.8.1/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.12.1
path: /opt/homebrew/lib/ruby/gems/3.2.0/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK: Not Found
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10671973
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20
path: /Users/.jenv/shims/javac
Ruby:
version: 3.2.2
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: 0.72.4
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false

Library version: 6.0.0-alpha.7
Device: iOS, Android

I solved this issue by downloading the file and storing it locally as a .vtt file, now the captions are working. I then delete the file when the video player is closed.

@aguilanegra
How you are handling controls in Android, as I want to integrate controls in Android.

@rameshep1989 Which controls are you referring to specifically? At present my implmentation is using controls={true} and these are working well for Android, at least on my emulator.


ScheduleOptions.ID says optional, but runtime requires it

ScheduleOptions.ID says optional and will default with UUID, but runtime errors with "no schedule ID in options". Need to decide whether docs are wrong or runtime is wrong.
Also, please document that this may not be the actual workflow ID, it may have the timestamp appended.

Also, please document that this may not be the actual workflow ID, it may have the timestamp appended.

The schedule ID is not related to the workflow ID?

Typescript requires the ID, I think Go should be the same

Works for me, but it means https://github.com/temporalio/sdk-go/blob/v1.18.1/internal/schedule_client.go#L270 is wrong and needs to be updated.

The schedule ID is not related to the workflow ID?

The schedule ID is related but not the same. I ran into this writing tests just now. From https://github.com/temporalio/api/blob/v1.12.0/temporal/api/schedule/v1/message.proto#L252-L253:

The workflow id of the started workflow may not match this exactly, it may have a timestamp appended for uniqueness.

When I was trying to look up a scheduled workflow by the ID I put in the scheduled workflow action, it failed because there was a timestamp appended.

yeah I can update the comment.

The schedule ID is related but not the same. I ran into this writing tests just now. From https://github.com/temporalio/api/blob/v1.12.0/temporal/api/schedule/v1/message.proto#L252-L253:

that's the ID of the schedule workflow action, not the schedule, but I agree we should clarify it won't be used verbatim.

From the API there is no such thing as a schedule workflow action ID, only a start_workflow options for a workflow action. But the comment makes clear that ID may have something appended. We can make the same comment - meaning don't say "it won't be used verbatim", but rather "it may have timestamp appended". My tests at https://github.com/temporalio/sdk-features/pull/158 for instance rely on the prefix to disambiguate across runs.

yeah I agree we should have the same comment 👍

closed in https://github.com/temporalio/sdk-go/pull/959


youtube playlist download not working

Hi there
i Am unable to download a full youtube playlist , youtube-dl hangs after downloading the first video and  when i press enter it exit saying done . I saw the same issue when downloading a single video  , the program doesn't exit after downloading the video and just hangs , i have to always press enter.
youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.25
[debug] Python version 2.7.6 - Linux-3.13.0-49-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.
The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

root@ip-10-255-2-218:/home/ubuntu# youtube-dl --yes-playlist -vcitk https://www.youtube.com/watch?v=QAbQgLGKd3Y&list=PL6gx4Cwl9DGBsvRxJJOzG4r4k_zLKrnxl
[1] 17233
root@ip-10-255-2-218:/home/ubuntu# [debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--yes-playlist', u'-vcitk', u'https://www.youtube.com/watch?v=QAbQgLGKd3Y']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.25
[debug] Python version 2.7.6 - Linux-3.13.0-49-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] QAbQgLGKd3Y: Downloading webpage
[youtube] QAbQgLGKd3Y: Downloading video info webpage
[youtube] QAbQgLGKd3Y: Extracting video information
[youtube] QAbQgLGKd3Y: Downloading MPD manifest
[debug] Invoking downloader on u'https://r3---sn-o097znlk.googlevideo.com/videoplayback?id=4006d080b18a7776&itag=137&source=youtube&requiressl=yes&ms=au&mv=u&mm=31&mn=sn-o097znlk&pl=23&nh=IgpwcjAxLnBhbzAzKgkxMjcuMC4wLjE&ratebypass=yes&mime=video/mp4&gir=yes&clen=28572353&lmt=1418471383975228&dur=589.166&mt=1458935744&key=dg_yt0&upn=v4YfXpIA1jA&fexp=9405964,9408499,9415031,9416126,9416903,9420452,9421905,9422596,9423643,9423661,9423662,9427902,9428767,9429295,9430027,9431012,9431022,9431556,9432176&signature=709D0EF7BC432EFC815F94BB719913D524239240.2A385AE2F3710AE5C8312607FA5822C7251DDCCF&sver=3&ip=<IP_ADDRESS>&ipbits=0&expire=1458957480&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,mm,mn,pl,nh,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Android App Development for Beginners - 1 - Introduction-QAbQgLGKd3Y.f137.mp4
[download] 100% of 27.25MiB in 00:00
[debug] Invoking downloader on u'https://r3---sn-o097znlk.googlevideo.com/videoplayback?id=4006d080b18a7776&itag=141&source=youtube&requiressl=yes&ms=au&mv=u&mm=31&mn=sn-o097znlk&pl=23&nh=IgpwcjAxLnBhbzAzKgkxMjcuMC4wLjE&ratebypass=yes&mime=audio/mp4&gir=yes&clen=18788126&lmt=1418471135344384&dur=589.275&mt=1458935744&key=dg_yt0&upn=v4YfXpIA1jA&fexp=9405964,9408499,9415031,9416126,9416903,9420452,9421905,9422596,9423643,9423661,9423662,9427902,9428767,9429295,9430027,9431012,9431022,9431556,9432176&signature=0B33BA934E36DA8E8D29F8B3FE30B772771886.8C8B31C15211C2CE9DC76E8075241810B2310A52&sver=3&ip=<IP_ADDRESS>&ipbits=0&expire=1458957480&sparams=ip,ipbits,expire,id,itag,source,requiressl,ms,mv,mm,mn,pl,nh,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: Android App Development for Beginners - 1 - Introduction-QAbQgLGKd3Y.f141.m4a
[download] 100% of 17.92MiB in 00:00
[ffmpeg] Merging formats into "Android App Development for Beginners - 1 - Introduction-QAbQgLGKd3Y.mp4"
[debug] ffmpeg command line: avconv -y -i 'file:Android App Development for Beginners - 1 - Introduction-QAbQgLGKd3Y.f137.mp4' -i 'file:Android App Development for Beginners - 1 - Introduction-QAbQgLGKd3Y.f141.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:Android App Development for Beginners - 1 - Introduction-QAbQgLGKd3Y.temp.mp4'

You have to either put the URL into quotes or manually escape all the special shell characters. Read FAQ entry for details.


Topnav and footer updates

Updates to match marketing site.
Fixes #5057.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/f3c065f089767345b9c70b6752de50c2f2590bcd/

@jseldess thanks, I reviewed it and this is good to go


Allow fluent to send deferred messages

Pull Request addresses Issue/Bug:
Currently it's only possible to send static user messages using the fluent language as they will be interpreted before the bot execution.
Implemented behaviour:
I added the possibility to use functions instead of a string message in the Fluent class which will allow for deferred user message creation.
Build successful?
No, but this unrelated test fails for on a plain checkout as well.
1) convo.scriptingMemory.api
       time:
     AssertionError: $time invalid
      at Context.<anonymous> (test/convo/scriptingmemory.spec.js:463:5)

Unit Tests changed/added:
No, as this class is not tested at all.

can be useful indeed.
thanks!


Image texts are barely visible in dark mode

Image at the top of the document page uses black color to describe the function types.  These however aren't visible in dark mode.

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

ID: b95729c9-f6c5-1ca3-74b1-186d5165746d
Version Independent ID: e0a33812-e984-457b-8469-4d49f58f82ea
Content: Function types and features in the Durable Functions extension of Azure Functions
Content Source: articles/azure-functions/durable/durable-functions-types-features-overview.md
Service: azure-functions
GitHub Login: @jeffhollan
Microsoft Alias: azfuncdf

@Miggleness Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

This issue has been addressed in the linked PR, #please-close


$ inside PageObject should only search elements inside the SelenideDriver...

in which the PageObject was created.
Code sample:
var loginPage1 = browser1.open("/", LoginPage.class);
loginPage1.login();

LoginPage.java
class LoginPage() {
  public void login() {
    $("#log-me-in").click();  // this line fails because `$` refers to a "global" browser which was not opened in the test.
  }
}

Suggested solution:
When used inside a page object, method $ (and $$) could understand context and use the same SelenideDriver in which the page object was created.

I guess it's not technically possible, so let's just cancel this feature request.


Hide inaccessible shortcuts

If a keybindings extension defines a shortcut for cmd + k for example, VS Code still offers shortcut hints for the cmd+k based chords - even if there is no when clause on the new cmd + k keybinding.
Since the chords will never be accessible, should we update the UI not to suggest them?

@a-stewart We try to run static inference to prove if a context is entirely included in another. See here and here. But we don't ship a real SMT solver so the inference is limited to simple, obvious cases.
For example, you can try adding to your keybindings:
{ "key": "cmd+k", "command": "actions.find" },

Since this one has no context, it means it will always apply and therefore shadow all other cmd+k keybindings. The UI will reflect that. But I'm thinking you're running into an example that is more complex? How does the keybinding for cmd+k contributed by the extension look like?

Ah, apologies, I thought there was no where clause but it turns out there is.
     {
        "key": "ctrl+k",
        "mac": "ctrl+k",
        "command": "editor.action.deleteLines",
        "when": "textInputFocus && !editorReadonly",
        "comment": "KILL_LINE"
      },

Would your recommendation then be to do something like?
Have a command with no when clause which calls some no-op command, and then follow it up with a more precise command with a when clause. (Is there a defined order of precedence to ensure that kill line overrides the no-op?
     {
        "key": "ctrl+k",
        "mac": "ctrl+k",
        "command": "actions.no-op", // TODO find an actual no-op command to call.
      },
     {
        "key": "ctrl+k",
        "mac": "ctrl+k",
        "command": "editor.action.deleteLines",
        "when": "textInputFocus && !editorReadonly",
        "comment": "KILL_LINE"
      },

Yes, the keybinding rules are evaluated bottom to top. More details at https://code.visualstudio.com/docs/getstarted/keybindings#_keyboard-rules .
If you want to unbind all ctrl+k/cmd+k keybindings in all contexts, your idea is good, you first bind it to a noop action. You can even use the builtin no-op command with the command id noop.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Allow to set ignore_exceptions option

It's impossible to set ignore_exceptions to false directly with the Watir::Rails.ignore_exceptions = false with the current code. The fix fixes this.
The problem is that Rails.application.config.action_dispatch.show_exceptions is always true in reality. Seems that watir-rails initializes Rails application firstly with the default values for action dispatch library on require watir-rails in the env.rb and then immediately after this ignore_exceptions method is called not waiting for loading environment/test.rb. I think it's better to emulate the reals situation in tests - @ignore_exceptions is nil default.

Coverage decreased (-0.45%) to 88.69% when pulling 1c0a01ea8be9a0795e9c42a841b344b73518b63d on ka8725:master into 238bc1b96d09da4f47670f02c9130efe6104a192 on watir:master.

Coverage increased (+2.38%) to 91.52% when pulling 666855a46678464c46ddbeb97574673049bcfae2 on ka8725:master into 238bc1b96d09da4f47670f02c9130efe6104a192 on watir:master.

Coverage increased (+2.38%) to 91.52% when pulling 666855a46678464c46ddbeb97574673049bcfae2 on ka8725:master into 238bc1b96d09da4f47670f02c9130efe6104a192 on watir:master.

Merged. Thanks!
Will do a release ASAP.


How to access a compiler spec's returnaddress from the API?

Running the following script on an x86 GCC binary results in all empty lists being reported:
for func in currentProgram.getFunctionManager().getFunctions(True):
  cc = func.getCallingConvention()
  if cc is not None:
    print(cc.getReturnAddress().tolist())

i.e. no function has apparently a returnaddress specified, even though it is present in the compiler spec.
How can I access this property from the API?

In the python console, assuming you want the place where integer values are returned:
f = getFunctionAt(currentAddress)
dt = ghidra.program.model.data.IntegerDataType.dataType
f.getCallingConvention().getStorageLocations(currentProgram,[dt],False)

I'm actually interested in obtaining the place where a function call's return address is stored, not where its return values are stored. In the case of x86, that would be the ESP register, as is written in e.g. x86gcc.cspec

Ah, sorry, misread your question.
The returnaddress in x86gcc.cspec is set for the compiler spec.  This sets a default returnaddress for all prototypes contained in x86gcc.cspec.  A prototype can set its own returnaddress to use instead of the default (although all prototypes in x86gcc.cspec just use the default).
The getReturnAddress() method you are calling only returns a non-empty list if the prototype has overridden the default.  The return address actually being used in this case is in the program's BasicCompilerSpec, but it is not publicly accessible.  Its should be a simple fix to make PrototypeModel.getReturnAddress() return the default if that's what it's using.  I'll take a look.

Either exposing the default value as PrototypeModel.getReturnAddress() in absence of an override, or providing access to the raw compiler spec values and keeping the behavior as it is would be greatly appreciated and much better than the current solution I use, which is to parse the XML once again to extract the value :D


confusing message on dev build

Do NOT ignore this template or your issue will have a very high chance to be closed without comment.

Describe the bug
npm run dev for my project produces this confusing message:
vite v1.0.0-rc.1
[vite] Optimizable dependencies detected:
leaflet, vue
So optimizable dependencies have been found. Now what? Is there something I should be doing? Is it something vite is handling?
Reproduction
Since vue is in the list I imaging this message shows up on any vue build.
System Info

required vite version: v1.0.00-rc.1
required Operating System: Windows 10
required Node version: 12.18.0
Optional:

npm/yarn version
Installed vue version (from yarn.lock or package-lock.json)
Installed @vue/compiler-sfc version

Logs (Optional if provided reproduction)

Run vite or vite build with the --debug flag.
Provide the error log here.

The Optimizable is pre-bundle your application dependencies, that let dev server page load fast(eg.reduce  waterfall that  the number of request file).You don‘t do anything of it,It is vite slef-scaning.


GeoServer 2.4.3 war is no longer available

The war for GeoServer 2.4.3 which is used for the tests is no longer in the Maven repository:
https://repo.boundlessgeo.com/main/org/geoserver/web/web-app/2.4.3/
I quickly tested with a newer version (2.8.2 and 2.7.6) but the tests no longer pass.

The ticket for GeoServer is here: https://osgeo-org.atlassian.net/browse/GEOS-7451

It looks like we have to update GeoServer. I tested with GeoServer 2.8.2 (gs-web-app:2.8.2) but it doesn't work with the Jetty version (6.1.25) used by the Gradle plugin. There is a different Gradle plugin (gretty) which allows to use a newer version of Jetty (or even Tomcat), but I wasn't able to get it working with a quick try.

Maybe we want to use docker for that... for example:
https://hub.docker.com/r/kartoza/geoserver/
On Wed, Mar 9, 2016 at 2:49 PM, Tobias Sauerwein<EMAIL_ADDRESS>wrote:

It looks like we have to update GeoServer. I tested with GeoServer 2.8.2 (
gs-web-app:2.8.2) but it doesn't work with the Jetty version (6.1.25)
used by the Gradle plugin. There is a different Gradle plugin (gretty
https://github.com/akhikhl/gretty) which allows to use a newer version
of Jetty (or even Tomcat), but I wasn't able to get it working with a quick
try.
—
Reply to this email directly or view it on GitHub
https://github.com/mapfish/mapfish-print/issues/388#issuecomment-194303818
.

No, actually I would like to avoid to add a yet-another dependency on Docker. Also to make it easier to run the tests on Windows.


Unable to delete user if french is selected

If language french is selected, the delete user button does not display pop up for yes or no.
OPNsense 17.1.a_277-amd64
FreeBSD 10.3-RELEASE-p7
OpenSSL 1.0.2h 3 May 2016

JavaScript breaks with French translation likely. Following string needs a html_safe() wrapped around:
gettext("Do you really want to delete this user?")
Not at home so can't fix but should be easy :)

@fichtner it is possible to do changes via the GitHub website.
Is it this line? https://github.com/opnsense/core/blob/master/src/www/system_usermanager.php#L411


Restructured how we register webhooks

Codecov Report

Merging #8 into master will increase coverage by 0.07%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master      #8      +/-   ##
=========================================
+ Coverage    7.71%   7.79%   +0.07%
=========================================
  Files           4       5       +1
  Lines         298     295       -3
=========================================
  Hits           23      23
+ Misses        274     271       -3
  Partials        1       1

Impacted Files
Coverage Δ

primaryHandler.go
0% <0%> (ø)
:arrow_up:

main.go
9.25% <0%> (+0.99%)
:arrow_up:

secret.go
0% <0%> (ø)

webhook.go
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


has-many relationship does not do a JOIN

When two models are related by a has-many relationship, bun will issue two different select statements when you use the Relation() function, instead of a single SQL statement with a JOIN predicate.
This is bad when you need to filter rows, for example. You can't just add a .Where() clause for one of the fields in the child model, because the field just isn't available in the select part.
Even if you use the func in the Relation, you end up eliminating rows on only one of the select statements, thus it behaves like a left or right join, and then the parent model brings data which is not what you expect.
Is this really by design? If that is the case, at least it should be mentioned in the documentation for the has-many section.

This is done by design - has-many relation is implemented as a separate query.

Agree that some documentation or example could be useful here. I kinda had the same expectation of bun as it felt intuitive. A mention of this in the doc could be useful in the ORM relations section maybe


copying to docker: image requires repository to already exist

If you try to do a skopeo copy to a Docker registry repository that doesn't exist you get an error:
% skopeo copy docker://opensuse docker://cyphar/nonexistant
Getting image source signatures
Copying blob sha256:467db25190688bc9dc1d5fd6dbced1ac56f55d93a942987f448e62ad2614e46e
 0 B / 46.97 MB [--------------------------------------------------------------]
FATA[0004] Error writing blob: not authorized to read from destination repository cyphar/nonexistent

The above example does work if you first do a docker push cyphar/nonexistent but that's quite annoying. I'm not sure if this should be transparently handled by containers/image or if we should be implementing this policy.

@cyphar I'm not sure which version you are using but that works perfectly fine here:
13:26:44 [github.com/projectatomic/skopeo] ‹master› ./skopeo copy docker://busybox docker://runcom/doesntexistfdasfkjlfalfas
Getting image source signatures
Copying blob sha256:56bec22e355981d8ba0878c6c2f23b21f422f30ab0aba188b54f1ffeff59c190
 652.49 KB / 652.49 KB [=======================================================]
Copying config sha256:e02e811dd08fd49e7f6032625495118e63f597eb150403d02e3238af1df240ba
 1.43 KB / 1.43 KB [===========================================================]
Writing manifest to image destination
Storing signatures

Have you logged in?

Yeah, I'm using --username and --password. This happened on master.

Yeah, I'm using --username and --password. This happened on master.

you don't have --username and --password in you reproducer...

even with both --username and --password:
13:29:31 [github.com/projectatomic/skopeo] ‹master› ./skopeo --username runcom --password MYAWESOMEPASS copy docker://busybox docker://runcom/doesntexistfdasfkjlfalfas
Getting image source signatures
Copying blob sha256:56bec22e355981d8ba0878c6c2f23b21f422f30ab0aba188b54f1ffeff59c190
 0 B / 652.49 KB [-------------------------------------------------------------]
Copying config sha256:e02e811dd08fd49e7f6032625495118e63f597eb150403d02e3238af1df240ba
 0 B / 1.43 KB [---------------------------------------------------------------]
Writing manifest to image destination
Storing signatures

Sorry, I removed it from the reproducer. Here's the actual thing I'm using;
% ../skopeo/skopeo --username cyphar --password PASSWORD copy oci:opensuse:new docker://cyphar/opensuse_playground:lol
Getting image source signatures
Copying blob sha256:467db25190688bc9dc1d5fd6dbced1ac56f55d93a942987f448e62ad2614e46e
 0 B / 46.97 MB [--------------------------------------------------------------]
FATA[0004] Error writing blob: not authorized to read from destination repository cyphar/nonexistent

I'm patching vendor/ by copying the current master of containers/image because I needed to test something for a blog post.

so, username/password flags aren't enabled in containers/image yet https://github.com/containers/image/blob/master/docker/docker_client.go#L288. This is a different issue though. This isn't requiring to have the repo already created on the registry. This is just a matter of authentication and authorization. Could you rephrase the title of this issue?

I'll try to patch containers/image now.

Ah, okay. It looks like the issue was related to the fact that I hadn't used docker login on this machine before. Because after I logged in to push the original image, my reproducer now works. Thanks runcom.
By the way in Australia I keep getting i/o timeout errors. :cry:


async-22: Support Edge/Corner Tiles

Description
Adds toTextureAtlas2D support for the edge/corner tiles needed for non-power-of-two images. These non-full-size tiles still take up one full slot, say 256x256, but we compute their vertex buffer and tex coord buffers so that we draw only the portion of that tile that contains usable data. It looks like this:

Background: Texture Packing
If we expected a lot of these small tiles we might get into packing the tiles into the atlas. This is something we are not planning to do. Because it would be complicated. And because most of our tiles will be full-size. Given they are coming from a quadtree/octree which is mostly "interior space". The wasted texture space is not a big deal for us.
To illustrate texture packing, though, he's an example. See how they fit different size tiles in the atlas. We are not planning to do this. Our atlas will always just be a perfect grid of same-sized tiles like it is today. It's just that some of that space will be blank, if it's part of an edge or corner tile.

Future Work
Going to postpone but some obvious next steps:

Get rid of ChunkData, vispy files cannot depend on that. Or move it.
Use a single numpy arrays for the quads/verts. More compact.

Type of change

[x] New feature in experimental code

Files

I marked this ready for review. Short and sweet for a Friday afternoon.
I'll see if async-23 can be async related, or if we need some more prep work before that.


1.x

Short description of what this resolves:
Fixing bug. When div has some content it wasn't possible to check on it. Only the current select note was checked when the contentEditable could be in it's parent once content is added. That was making contentEditable not compatible with ionic.
Impact: user was not able to click on a contentEditable div with more than a row. He would have to click the first div or the click will be ignored.
Changes proposed in this pull request:
- Checking that the div or it's first parent has this attribute
Ionic Version: 1.x
Fixes: #

@adamdbradley could you review this small change? many thanks :D

@mlynch can you comment on why this was closed? thanks


release: 0.0.2

:robot: I have created a release beep boop
0.0.2 (2023-03-30)
Features

add completion stream (8e7d1e2)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/starudream/openai-go/releases/tag/v0.0.2 :sunflower:


another example

I've produced a really simple script that shows a graph
with total login time for each user..
It's not a great script but maybe you want to add it to the wiki
btw i'm really having fun with this :)

That's awesome. You can add it to the wiki yourself, though:
https://github.com/holman/spark/wiki/Wicked-Cool-Usage

woops :P sorry :)


Missing texture

fix or add texture.

Yes @Seedking you may make a texture of water hyacinth. It renders in the way that lily pad does, so you can modify the texture of water lily.


Clean-up of tmp files created in CrossLanguageTest

What do these changes do?
Once the test is completed, this change deletes the temporary file created in CrossLanguageTest.
Related issue number
https://github.com/apache/incubator-fury/issues/1276

@nandakumar131 Good catch, could you fix CI failure? Code style can be fixed by mvn spotless:apply


astropy-helpers issue

@astrofrog or @embray – Could you help me with an issue with the astropy-helpers setup in this package?
I first bundled astropy_helpers because I didn't want the submodule. Then I always got some warning from python setup.py that the git submodule wasn't there. So I changed it and now I have astropy-helpers as a git submodule.
But there must be something wrong, I'm getting this error from the sphinx build on travis-ci (which I don't see locally):
https://travis-ci.org/cta-observatory/ctapipe/jobs/68434189#L942
Traceback (most recent call last):
  File "setup.py", line 129, in <module>
    **package_info
  File "/home/travis/miniconda/envs/test/lib/python3.4/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/travis/miniconda/envs/test/lib/python3.4/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/home/travis/miniconda/envs/test/lib/python3.4/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/travis/build/cta-observatory/ctapipe/.eggs/astropy_helpers-1.0.2-py3.4.egg/astropy_helpers/commands/build_sphinx.py", line 120, in run
    ah_path = os.path.abspath(ah_importer.path)
AttributeError: 'NoneType' object has no attribute 'path'

And locally there's this:
$ python setup.py build_sphinx
git submodule command failed unexpectedly:
error: pathspec 'astropy_helpers' did not match any file(s) known to git.
Did you forget to 'git add'?

$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

	astropy_helpers/

nothing added to commit but untracked files present (use "git add" to track)

What do I have to do to get the astropy-helpers setup corrected in this package?

@cdeil - how did you add the submodule? What do you get for git submodule?

@astrofrog – I did a series of commands and screwed up (first calling it astropy-helpers, then astropy_helpers and manually editing .gitmodules. I now have:
$ git submodule
 e0c632b7a1b17ffa02872be24af3c98108f13382 ctapipe-extra (heads/master)
$ cat .gitmodules
[submodule "ctapipe-extra"]
	path = ctapipe-extra
	url = https://github.com/cta-observatory/ctapipe-extra.git
[submodule "astropy_helpers"]
	path = astropy_helpers
	url = https://github.com/astropy/astropy-helpers.git

@astrofrog – If you could have a quick look that would be great!
git clone https://github.com/cta-observatory/ctapipe.git

@cdeil - the submodule isn't currently in the repository. I don't think editing .gitmodules is enough. Remove the entry from .gitmodules then do:
git submodule add https://github.com/astropy/astropy-helpers.git astropy_helpers

Then commit the change. This works for me.

@astrofrog – Your suggestions worked. Thanks!
Fixed in 3eac7be85c77dc05d311ed7637bf1c2fcec01799

I'm a little more curious about the original issue...  You don't need to have astropy_helpers as a submodule to use it.  I wonder if that's a weird issue with the package-template.


Checking for DNS records for IP addresses?

While trying to install Hubzilla I've encounter this error:
Database Connect failed: Cannot locate DNS info for database server '<IP_ADDRESS>'

So, installer checks for DNS record for thing that actually is an IP address?

It does. It's here, it's a bug. https://github.com/redmatrix/hubzilla/blob/master/include/dba/dba_driver.php#L141

@pztrn Can you verify that this has been fixed now? If so, can you close the issue? Thanks.


question about generateData.py

Hi, in generateData.py line 178 projections = tigre.Ax(np.transpose(img, (2, 1, 0)).copy(), geo, data["train"]["angles"])[:, ::-1, :], why we need to transpose img from zyx to xyz and then reverse the first axis of the generated projections. Is it related to the coordinate transformation between the world and the camera?

My personal understanding:
When performing Ax forward projection operations, TIGRE's Matlab and Python programs require different dimension definitions of Img. In Matlab, the 1-3 dimensions of the matrix are defined as xyz and in Python as zyx.
The first axis of the reverse projection may be related to the definition of the coordinates of the NAF projection.

Actually, I have checked the TIGRE demo (https://github.com/CERN/TIGRE/blob/master/Python/demos/d04_SimpleReconstruction.py). They do not apply the transpose and reverse for the forward projection.
I do not quite understand this operation because they have saved the original image into the pickle file, which should be the ground truth result for the reconstruction algorithm,  but use its transposed one to obtain the projection X-ray figures. I guess the reconstruction result should be like the transposed result of the original image, right?

Apologies for the delayed response as I was on vacation. The main reason arises from the coordinate difference, particularly in 2D, between TIGRE and our implementation in OpenCV. As shown below, our 2D projection axis is centered at the top-left, whereas TIGRE's is at the bottom-left. Consequently, to achieve the correct X-ray projection with TIGRE, we transpose the 3D CT image. This transposed CT image is solely utilized for projection synthesis. There are of course alternative methods to obtain the projection, such as transposing the synthesized 2D results directly. Hope this helps.
TIGRE coordinate:

NAF coordinate:


Update swift package archive-source command to provide directory prefix

Updates swift package archive-source command according to SE-0292 amendment.
Motivation:
With https://github.com/apple/swift-package-manager/pull/3624, the behavior of the archive-source command now adds a --prefix argument to the git-archive invocation, so that entries are prefixed by output name.
Modifications:
  try callGit("archive",
              "--format", "zip",
+             "--prefix", path.basenameWithoutExt,
              "--output", path.pathString,
              "HEAD",
              failureMessage: "Couldn’t create an archive")

Result:
Generated source archives are prefixed by output name.
For example:
$ swift package archive-source --output="LinkedList-1.2.0.zip"
$ zipinfo LinkedList-1.2.0.zip
Archive:  path/to/LinkedList-1.2.0.zip
[...]
[...] LinkedList-1.2.0/
[...] LinkedList-1.2.0/Package.swift

@swift-ci Please smoke test


SIMDMemCopy is 8x slower than memcpy()

int main()
{
	void* src1 = malloc(1 * 1024 * 1024 * 1024);
	void* src2 = malloc(1 * 1024 * 1024 * 1024);
	void* dest1 = malloc(1 * 1024 * 1024 * 1024);
	void* dest2 = malloc(1 * 1024 * 1024 * 1024);

	printf("Performing SIMDMemCopy...");
	fflush(stdout);
	unsigned long long now = __rdtsc();
	SIMDMemCopy(dest1, src1, 1 * 1024 * 1024 * 1024 / 16);
	unsigned long long elapsed1 = __rdtsc() - now;
	printf("%" PRIu64 "\n", elapsed1);
	fflush(stdout);

	printf("Performing memcpy...");
	fflush(stdout);
	now = __rdtsc();
	memcpy(dest1, src1, 1 * 1024 * 1024 * 1024);
	unsigned long long elapsed2 = __rdtsc() - now;
	printf("%" PRIu64 "\n", elapsed2);
	fflush(stdout);

	return 0;
}

/*
Performing SIMDMemCopy...2421107860
Performing memcpy...304741009
*/

I would expect this on modern hardware (at least that with AVX512)-- why did this library implement its own? Every single runtime implementation in the world already contains an implementation of memcpy() optimized for whatever hardware it is running on.
Just call memcpy() instead and throw out this custom routine.

DOH -- typo in test code, ignore!
SIMDMemCopy does end up slightly faster than memcpy()...and now I am wondering why that is...


TEST (don't do anything on this PR please)

 All committers have signed the CLA.

Test performed correctly. PR closed now.


Add a warning when using WithDigest with ECDSA

Signed-off-by: Hayden Blauzvern<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes #479
Release Note

cc @znewman01


Ubuntu 18.04.6 unable to start Minecraft server

Using Docker Compose unable to start a Minecraft server. Server is running Ubuntu 18.04.6 LTS. I have run the same docker-compose file locally on Mac OS and it starts up just fine, but when trying to run on the server the Minecraft server just fails to start, but no real error is logged. It just continually reboots and tries again.
Docker Version: Docker version 20.10.8, build 3967b7d28e
Docker Compose Version: docker-compose version 1.29.2, build 5becea4c
Log output :
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 3 1000 1000 4096 Sep 28 03:22 /data'
[init] Resolved version given LATEST into 1.17.1
[init] Resolving type given VANILLA
[init] server.properties already created, skipping
[init] Checking for JSON files.
[init] Setting initial memory to 8G and max to 8G
[init] Starting the Minecraft server...
2021/09/28 04:10:17 Stopping with rcon-cli
2021-09-28T04:10:17.795Z	ERROR	mc-server-runner	Failed to stop using rcon-cli	{"error": "exit status 1"}
2021-09-28T04:10:17.817Z	INFO	mc-server-runner	Sending 'stop' to Minecraft server...
2021-09-28T04:10:17.869Z	INFO	mc-server-runner	Waiting for completion...
[init] Running as uid=1000 gid=1000 with /data as 'drwxrwxr-x 3 1000 1000 4096 Sep 28 03:22 /data'
[init] Resolved version given LATEST into 1.17.1
[init] Resolving type given VANILLA
[init] server.properties already created, skipping
[init] Checking for JSON files.
[init] Setting initial memory to 8G and max to 8G
[init] Starting the Minecraft server...

docker-compose.yml :
version: "3"

services:
  mc:
    image: itzg/minecraft-server
    ports:
      - "25565:25565"
    environment:
      EULA: "TRUE"
      SERVER_NAME: "Hough Minecraft Server"
      MOTD: "First Peaceful World"
      ENABLE_RCON: "true"
      RCON_PASSWORD: "testing"
      UID: "1000"
      GID: "1000"
      DIFFICULTY: "peaceful"
      MEMORY: "8G"
    restart: always
    volumes:
      - "/minecraft/data:/data"

volumes:
  mc:

Output of : docker container inspect [containerName] -f '{{ json .NetworkSettings }}'
{"Bridge":"","SandboxID":"c8375ab0ee549c4d40ec8d7875e385e7c61780af9011721acba265bdc0d13d0b","HairpinMode":false,"LinkLocalIPv6Address":"","LinkLocalIPv6PrefixLen":0,"Ports":{"25565/tcp":[{"HostIp":"<IP_ADDRESS>","HostPort":"25565"},{"HostIp":"::","HostPort":"25565"}],"25575/tcp":null},"SandboxKey":"/run/snap.docker/netns/c8375ab0ee54","SecondaryIPAddresses":null,"SecondaryIPv6Addresses":null,"EndpointID":"","Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"IPAddress":"","IPPrefixLen":0,"IPv6Gateway":"","MacAddress":"","Networks":{"minecraft_default":{"IPAMConfig":null,"Links":null,"Aliases":["26efb3adac84","mc"],"NetworkID":"ab70f40b2772bd613dd9784323fa2ddd8d08b513a4b36ad8216e3c557e1bd187","EndpointID":"eb8c9de484f600091eb948e11c3f682dbe31d1fda0cceae9fc24ee8a4e466830","Gateway":"<IP_ADDRESS>","IPAddress":"<IP_ADDRESS>","IPPrefixLen":16,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:ac:14:00:02","DriverOpts":null}}}

Can you add DEBUG: "true" and provide the container logs with that?

Sure, and also included the memory debug. Here are the logs from the container:

+ local value=false,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ log 'Checking for JSON files.',
+ echo '[init] Checking for JSON files.',
[init] Checking for JSON files.,
++ find /data -maxdepth 1 -name '*.json',
+ JSON_FILES=,
+ versionLessThan 1.14,
+ local activeParts,
+ IFS=.,
+ read -ra activeParts,
+ local givenParts,
+ IFS=.,
+ read -ra givenParts,
+ (( 3 < 2 )),
+ (( 3 == 2 )),
+ (( activeParts[0] < givenParts[0] )),
+ (( activeParts[0] == givenParts[0] && activeParts[1] < givenParts[1] )),
+ (( activeParts[0] == givenParts[0] && activeParts[1] == givenParts[1] && activeParts[2] < givenParts[2] )),
+ return 1,
+ [[ '' = false ]],
+ [[ '' = FALSE ]],
+ log 'Setting initial memory to 4G and max to 4G',
+ echo '[init] Setting initial memory to 4G and max to 4G',
[init] Setting initial memory to 4G and max to 4G,
+ expandedDOpts=,
+ '[' -n '' ']',
+ isTrue,
+ local value=,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ isTrue '',
+ local value=,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ isTrue '',
+ local value=,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ isTrue '',
+ local value=,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ isTrue true,
+ local value=true,,
=,
+ case ${value} in,
+ result=0,
+ return 0,
+ log 'Memory usage and availability (in MB)',
+ echo '[init] Memory usage and availability (in MB)',
[init] Memory usage and availability (in MB),
+ uname -a,
Linux 60956880cd6e 4.15.0-158-generic #166-Ubuntu SMP Fri Sep 17 19:37:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux,,
m,
              total        used        free      shared  buff/cache   available,
Mem:          16039         288       14878           1         872       15477,
Swap:          3942           0        3942,
+ JVM_OPTS='-Xms4G -Xmx4G ',
+ mcServerRunnerArgs='--stop-duration 60s',
+ [[ -n '' ]],
+ [[ VANILLA == \C\U\R\S\E\_\I\N\S\T\A\N\C\E ]],
+ [[ VANILLA == \C\U\R\S\E\F\O\R\G\E ]],
+ [[ VANILLA == \C\U\R\S\E\F\O\R\G\E ]],
+ [[ -x run.sh ]],
+ '[' -f /data/bootstrap.txt ']',
+ log 'Starting the Minecraft server...',
+ echo '[init] Starting the Minecraft server...',
[init] Starting the Minecraft server...,
+ finalArgs=($JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar $SERVER "$@" $EXTRA_ARGS),
+ isTrue false,
+ local value=false,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ isTrue,
+ local value=,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ isTrue false,
+ local value=false,,
=,
+ case ${value} in,
+ result=1,
+ return 1,
+ exec mc-server-runner --stop-duration 60s java -Xms4G -Xmx4G -jar minecraft_server.1.17.1.jar,

It just hangs on the mc-server-runner

Wow, a JVM crash dump. That's quite unusual. I'm not sure how to  proceed.

@spannerman79 i will give that a shot and see if switching to Java17 works. Thanks.

I haven't added the java17 variant yet, but will post here when I do.

The image itzg/minecraft-server:java17 is now available.


CF Dev guide - indicate which VMs to run in when listing commands

It would be nice to group commands by which VM they should be run under, or perhaps show a prompt in each command indicating which environment.  It could get confusing when re-running commands and the VM to run it in isn't explicitly noted.  Perhaps have command prompts with names of the VM, and list them out with descriptions at the top of the guide.

As per the instructions:
"Login to cli-tools VM
All deployment steps require you to be logged in to the cli-tools VM"
I will consider your suggestion and add a reminder per command...


active window taken

The active window changes when invited to a GC with unknown users to a window with one of the unknown users.
12:34:58  12:27:09 handleGroupInvite: FindNick: marco (?): nick not found
12:35:14  12:27:09 To accept type /gc join zkc 661122
12:35:26  12:27:09 find failed: user not found
12:35:37  12:27:11 Client to Client Key Exchange complete:
12:35:39  ...
12:35:50  12:27:11 conversation started [2]: marco aRployWKILKYEJzBBOK9kUKN7uQsxPWUOFBYWbaXKzQ=
12:36:20  so when i was invited to a group chat, because i didn't know Marco at the time, it popped up a chat window for him and made it my active window

Fixed in #100


stagehand.act interacts with stagehand-nav components

I updated from stagehand version 1.3 to 1.6 so I could remove the debug dom elements without having to run manual cleanup
Note: they still are present in my session with debugDom: false

It seems like the system prompts update (https://github.com/browserbase/stagehand/blob/main/lib/prompt.ts#L22)
For me this has caused the agent to now attempt to resolve actions by clicking these debugDom elements. Which ends up in an endless loop where it clicks the button and clicks it again. (Note I downgraded to 1.3 and this behaviour is not seen)
Heres a small snippet of the log for a acting on a url https://zip.co/us with action=close any popups, banners, terms and conditions that are present when you navigate to the homepage.
[stagehand:action] received response from LLM {"response":{"value":"{\"method\":\"click\",\"element\":0,\"args\":[],\"step\":\"Clicked on the 'Next' button to potentially close a popup or navigate through a carousel.\",\"why\":\"This button might be part of a popup or carousel that needs to be closed or navigated through to access the main content.\",\"completed\":false}","type":"object"}}
[stagehand:action] executing method {"method":{"value":"click","type":"string"},"elementId":{"value":"0","type":"integer"},"xpaths":{"value":"[\"/html/body[1]/button[2]\",\"//html/body/button[2]\"]","type":"object"},"args":{"value":"[]","type":"object"}}
[stagehand:action] page URL before action {"url":{"value":"https://zip.co/us","type":"string"}}

I quick fix is to tell the agent to never click on selectors with classname = 'stagehand-nav', but I think a change in the system prompt might be a more long term change, for example
Note 3: A step action to accomplish the user's goal will never be successful if stagehand-nav elements  are clicked

Thanks so much for making this a GitHub issue! @seanmcguire12 pointed this out internally when running evals. Appreciate the detailed write-up, but idk if a system-prompt is going to help here. We should probably just deprecate/remove stagehand nav; I don't personally find it very useful, and it's clearly causing some bugs.


added translatabillity

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

You have conflicts in your PR
There are changes to DnD4E files, is this intentional?

Sry,
no the change to Dnd4 were intentional. I will fix it.


Feature request: Remove generated include headers

Hi Jörg-Michael, I'd like to request the possibility to remove the generated include headers.
For example, when creating the include ZEXAMPLE:
*&---------------------------------------------------------------------*
*&  Include  zexample
*&---------------------------------------------------------------------*

(I'm currently reviewing code in which the name in the generated comment doesn't match the actual include name anymore.)

Hi ConjuringCoffee,
absolutely – I think this could be part of the dedicated rule "Remove auto-generated comments" discussed in #152!
Kind regards,
Jörg-Michael


Removed OS specific text on 'Open in Terminal' command. Fixes: #53604

Fixes #53604
Removed the OS specific text in favor of using the Mac/Linux variant on Windows.

Thanks @jlbeard84 👍


canary down?

- everything else works
-

seesm cf pages been down and sometimes if build doesn't builds, it remove existing & working deployment and replace it with... none. So I've did retry deployment and it has worked again.
thank you for coming to my ted talk


Added an option to override the DotObject separator

My team passes English strings with sentences as the identifiers in some locations. This PR allows us to override the separator used with the DotObject library so our sentences aren't picked up as nested identifiers.

Thank you @EricRabil, looks great!
Could you please add some tests?
It would be great.

Please fix it because I really need this PR...

@vricosti I don’t have the bandwidth to finish this right now but if you do I can add you as a contributor to my fork

@vricosti and @EricRabil: Unfortunately this issue was blocked because of lack of tests.
However, we are going to release (this week) the version 2.0.
It's a huge refactoring and reworking of the project made by @Spittal.
We are going to postpone all the other changes after this release.
I'll keep you posted, it will be a matter of days.
Thank you!

Closing due to https://github.com/pixari/vue-i18n-extract/pull/134 being merged


Inline (almost) all next methods

Commit Message
Inline (almost) all next methods (#285)
next should probably be @inlined always. See also #282.
Zip-related methods are excluded since they can be too much work for
the compiler.  next for TCat is also excluded since there is not
much benefit for doing this.

Codecov Report

Merging #285 into master will decrease coverage by 20.74%.
The diff coverage is 91.66%.

@@             Coverage Diff             @@
##           master     #285       +/-   ##
===========================================
- Coverage   90.17%   69.43%   -20.75%
===========================================
  Files          20       20
  Lines        1395     1230      -165
===========================================
- Hits         1258      854      -404
- Misses        137      376      +239

Impacted Files
Coverage Δ

src/library.jl
79.24% <91.66%> (-13.65%)
:arrow_down:

src/interop/dataframes.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/interop/blockarrays.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/progress.jl
35.55% <0.00%> (-51.32%)
:arrow_down:

src/basics.jl
35.00% <0.00%> (-50.72%)
:arrow_down:

src/comprehensions.jl
33.33% <0.00%> (-44.45%)
:arrow_down:

src/Transducers.jl
50.00% <0.00%> (-40.91%)
:arrow_down:

src/reduce.jl
45.97% <0.00%> (-34.23%)
:arrow_down:

src/core.jl
58.59% <0.00%> (-31.88%)
:arrow_down:

src/simd.jl
70.96% <0.00%> (-29.04%)
:arrow_down:

... and 10 more

Continue to review full report at Codecov.

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


Activity 1: Your First Caption

Using the API, I have just created a file with a random octocat for you to caption. In this activity, we will learn how to make changes to files in our GitHub repository.

[ ] @CiaraNolan
[ ] @andyury
[ ] @azmatyuhanna
[ ] @carsonmichael
[ ] @good-will-i-am
[ ] @kacres
[ ] @kmac5501
[ ] @rbivar
[ ] @rossbeale
[ ] @saraa008
[ ] @squigggles
[ ] @techknight
[ ] @vvaths
[ ] @vyas000
[ ] @Rnagityke
[ ] @ScottifyShopson
[ ] @catriona-reader

!


CSI helm charts doesn't verify support of seLinuxMount by k8s

Describe the bug
Starting from 3.10.2 chart version seLinuxMount was added without checking k8s cluster version.
Environment details

Image/version of Ceph CSI driver : doesn't matter
Helm chart version : 3.10.2
Kernel version : doesn't matter
Mounter used for mounting PVC (for cephFS its fuse or kernel. for rbd its
krbd or rbd-nbd) : doesn't matter
Kubernetes cluster version : 1.24.x and lower
Ceph cluster version : doesn't matter

Steps to reproduce
Steps to reproduce the behavior:

have k8s with version of 1.24.x or lower
try install ceph csi helm chart with version 3.10.2
see error that seLinuxMount not supported but tried to be created by csidriver-crd.yaml

Actual results
Can't install ceph csi on k8s version lower then 1.25.x
Expected behavior
No error occurred
Logs
N/A
Additional context
Kubernetes CSI Developer Documentation

oops, I actually see that I created a duplicated issue #4437


Assumption: something to do with Promises

Can’t work out why at the moment... Safari console is a little confusing(!) to me. It’s not obvious what the actual “issue” is! It looks like potentially ‘init’ isn’t waiting until the script has actually loaded?


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/97417

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98478

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/99971

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/100204

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/108187

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109278

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109460

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113541


Vertical swipes are blocked on my sliders

Hey, first of all : thank you for the lib, it rocks 👍
i have an issue on all my sliders : I can't swipe vertically on them. That mean I can't scroll through my page when my thumb is on a butter slider, I am forced to scroll from the outside of the butter slider. Do I do something wrong or is it something you want in the butter slider ?
Thanks

Hey! Thank you for your words ❤
Yes I noticed that while I was coding BS so I added the hasTouchEvent parameter to kill the BS effect and let the native scroll do the job. It's not the best solution but I never took the time to deep dive into touch events for sliders.
Also, I recommend that you do not use BS because it is no longer maintained.


prevent borgs unlocking eachother and robotics console

About the PR
title
they can still lock/unlock lockers since there are good uses i overlooked
Why / Balance
see thesis in previous pr
Technical details
raise LockToggleAttemptEvent on both the thing and the user so borg can cancel it
also added IsAllowed to whitelist system which takes a whitelist and blacklist to check like 5000 different parts of the codebase do.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
no
Changelog
:cl:

tweak: Borgs can no longer unlock the robotics console or other borgs.

Can they unlock themselves tho

Also might be better to make lock blacklist its own component cause it might be used outside of borgs

Can they unlock themselves tho

no

Also might be better to make lock blacklist its own component cause it might be used outside of borgs

yeah probably

no reason to rename to _whitelistSystem its fairly obvious that EntityWhitelistSystem is a system like the rest of modern code that omits it

Feel free to change it back. I like to put system because I've had multiple times in more complex code that I had to go back and check whether it was a system or a class. Maybe been in the old code too much.

Hm, actually that's not quite it. Other people can't toggle the locks on the borgs.

I tried with the check in c1abd31, but it prevented the borg from toggling locks on lockers. So I just split the event and it seems to work in all cases.
https://github.com/space-wizards/space-station-14/assets/10494922/d2db13e1-51de-421b-9e1c-aa33e70614ab

erm what the glorp


Export

Add options for:

export as html
export as PDF
export as md

Hi, thanks for the suggestions - I'll consider adding these features in the next update.

If this suggested feature has been implemented, then I recommend to brag about it in READE.md.
If not, then I recommend to keep this issue open, and perhaps flag it as a feature (i.e. a "nice to have", to distinguish from bugs).


adds locale detail model

fixes #798
fixes #799

added LocaleDetail model with one-to-one relation with wagtail Locale model with following fields

is_active
is_main_language (there can only be one main language)

added Locale Detail in settings menu
only active locales will be shown in language switcher
if page belongs to inactive locale then switcher wouldn't show the language
inactive locale page could be accessed by manipulating URL and added locale code
admin locale wouldn't be affected by user locale
wrote customer middleware to handle language as follow

if language is given in path honor that
else if langugae given in request (from browser) honor that
else if main language is available honor that
else if use primary language (LANGUAGE_CODE)

When I have an existing page without any locale details set, only English is available from the dropdown list. By default, if there's no locale detail entry, a locale should be considered active.

Spelling: Locale Detail instead of Local Detail.

else if langugae given in request (from browser) honor that
else if main language is available honor that
else if use primary language (LANGUAGE_CODE)

Main language is the one set in the locale detail, while primary language is hardcoded to be English?

I tried to make English not available as a language (set is_active to False), while having French both active and as a main language. However when I load the homepage without any language code in the URL and English as browser language, I still get the English page. English also appears in the dropdown list. (If a locale is not active, I should not be able to access it, except maybe if I enter its explicit URL. In fact, it should probably be excluded from the sitemap too, if this is used to determine the pages to download for offline access). Note that English does not appear if the browser language is set to something else.

Could you also run the schema migrations on the cypress DB?
All cypress tests fail now: https://github.com/sheralim012/iogt/runs/4625141764?check_suite_focus=true
(Only the chatbot related test should fail right now.)

When I have an existing page without any locale details set, only English is available from the dropdown list. By default, if there's no locale detail entry, a locale should be considered active.

if locale detail isn't available then locale will be considered active.

Spelling: Locale Detail instead of Local Detail.

fixed type

else if langugae given in request (from browser) honor that
else if main language is available honor that
else if use primary language (LANGUAGE_CODE)

Main language is the one set in the locale detail, while primary language is hardcoded to be English?

primary language is of Django which is set to English in settings (for reference see setting named LANGUAGE_CODE)

I tried to make English not available as a language (set is_active to False), while having French both active and as a main language. However when I load the homepage without any language code in the URL and English as browser language, I still get the English page. English also appears in the dropdown list. (If a locale is not active, I should not be able to access it, except maybe if I enter its explicit URL. In fact, it should probably be excluded from the sitemap too, if this is used to determine the pages to download for offline access). Note that English does not appear if the browser language is set to something else.

fixed main language issue, but let's discuss this further on a quick call

Could you also run the schema migrations on the cypress DB? All cypress tests fail now: https://github.com/sheralim012/iogt/runs/4625141764?check_suite_focus=true (Only the chatbot related test should fail right now.)

ran migrations and updated cypress db now only chatbot test are failing (for reference)


Figure of large circuit with initialize gives an error on rendering with Matplotlib backend

Information

Qiskit Terra version: 0.17.0
Python version: 3.8.8
Operating system: Windows 8.1 (Although I am working in the IBM Quantum Lab environment)

What is the current behavior?
I am trying to initialize a quantum circuit and draw the circuit using the Matplotlib backend:
size = 4
q = QuantumRegister(size, name='q')
ckt = QuantumCircuit(q, name='ckt')
initial_state=np.zeros(2**size)
initial_state[size] = 1
ckt.initialize(initial_state)
ckt.draw(output='mpl')
When I set size to a relatively small value, say 4, I get the figure as expected:

Note that the state vector to which I initialize the state is displayed in the box denoting the Initialize instruction.
When size is increased to, say, 7, the figure gets stretched too much, according to the length of the state vector:

Continuing likewise, I increase size to the value 13, on doing which, the figure is not generated, and after a stack trace, I see the following error:
/opt/conda/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py in __init__(self, width, height, dpi)
     89         self.width = width
     90         self.height = height
---> 91         self._renderer = _RendererAgg(int(width), int(height), dpi)
     92         self._filter_renderers = []
    93
ValueError: Image size of 1604x65702 pixels is too large. It must be less than 2^16 in each direction.
<Figure size 1604.72x65702.3 with 1 Axes>
Steps to reproduce the problem
Outlined above.
What is the expected behavior?
I think the problem is caused by the excessive length of the state vector, and won't be unique to the Quantum Lab environment. As 1 possible solution, I would like to have a way to disable the state vector supplied to Initialize getting printed in the box. I believe this should stop the error being reported.
As an alternative, another possible solution would be to limit the size of the vector getting printed.
Suggested solutions
I think both the above solutions can be achieved by adding options to the style kwarg for use with the Matplotlib backend. See https://qiskit.org/documentation/tutorials/circuits_advanced/03_advanced_circuit_visualization.html.
For the first solution, one can add an option (bool) to disable the state vector from getting printed in Initialize. By default, the value of this option can be kept false, and it can print the vector, as before.
For the second solution, one can add an option (int) to limit the size of the vector getting displayed to this number.

If you think this is a good issue, I would like to try the fix.

This definitely should be fixed. We had a similar problem in the latex drawer and just limited the number of parameters it would display and then put '...' at the end. In the mpl drawer, there's a lot more room to display so I'd suggest the following.
The default fold number for the drawer is 25. This is essentially how many X gates would display on a qubit before wrapping to a new row of qubits. So if there were 30 X gates on q0, then 25 would show on the first row and 5 on the second.
I think if we keep the initialize to a width less than the default fold, this would be sufficient. I hacked a worst case for this, (the widest possible parameters) for 4 qubits,

The initialize is 19 wide, so it fits on one row using the default fold. A solution would then be to show parameters for up to 4 qubits, and don't display parameters for an initialize with > 4 qubits. I think this would be fine since there are a number of gates, like Hamiltonian, that have numpy arrays as parameters, and we do not display the parameters at all for these.


Add OneFuzz service version to job created events

Summary of the Pull Request
Add this info so that developers and users can track which version of OneFuzz a job was submitted with.
PR Checklist

[ ] Applies to work item: #3350
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

Codecov Report

Merging #3504 (6647776) into main (9ede0de) will decrease coverage by 0.48%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #3504      +/-   ##
==========================================
- Coverage   39.46%   38.99%   -0.48%
==========================================
  Files         299      271      -28
  Lines       36316    31328    -4988
==========================================
- Hits        14332    12216    -2116
+ Misses      21984    19112    -2872

Files Changed
Coverage Δ

src/ApiService/ApiService/Functions/Jobs.cs
75.72% <100.00%> (ø)

src/ApiService/ApiService/OneFuzzTypes/Events.cs
74.16% <100.00%> (+0.10%)
:arrow_up:

... and 58 files with indirect coverage changes


Evaluate using Foundation framework’s JSONSerialization

Let's evaluate the possibility of using Foundation framework’s JSONSerialization instead of SwiftyJSON. For more details, see https://developer.apple.com/swift/blog/?id=37.

Ok i change the following method:
public func getServiceURL(spec: String, replacements: [String: Any]) -> String? {
var substitutions: [String: Any] = replacements
let service = getService(spec: spec)
guard let credentials = service?.credentials else {
  return nil
}

guard let url: String =
  credentials[substitutions["url"] ?? "url"] ?? credentials["uri"]
  else {
  return nil
}

substitutions["url"] = nil
guard var parsedURL = URLComponents(string: url) else {
  return nil
}

// Set replacements in a predefined order
// Before, we were just iterating over the keys in the JSON object,
// but unfortunately the order of the keys returned were different on
// OS X and Linux, which resulted in different outcomes.
if let user = substitutions["user"] {
   parsedURL.user = (user as! String)
}
if let password = substitutions["password"] {
  parsedURL.password = (password as! String)
}
if let port = substitutions["port"] {
  parsedURL.port = (port as! Int)
}
if let host = substitutions["host"] {
  parsedURL.host = (host as! String)
}
if let scheme = substitutions["scheme"] {
  parsedURL.scheme = (scheme as! String)
}
if let query = substitutions["query"] {
  parsedURL.query = (query as! String)
}
if let queryItems = (substitutions["queryItems"] as! [String: Any]?) {
  var urlQueryItems: [URLQueryItem] = []
  for (_, QI) in queryItems {
    var queryItem : [String: Any] = (QI as! [String: Any])
    let name = (queryItem["name"] as! String)
    let urlQueryItem = URLQueryItem(name: name, value: (queryItem["value"] as! String))
    urlQueryItems.append(urlQueryItem)
  }
  if urlQueryItems.count > 0 {
    parsedURL.queryItems = urlQueryItems
  }
}
// These are being ignored at the moment
// if let fragment = substitutions["fragment"].string {
//   parsedURL.fragment = fragment
// }
// if let path = substitutions["path"].string {
//   parsedURL.path = path
// }
return parsedURL.string

}
its blowing up on:
/Users/brianhernandez/devops/Swift-cfenv/Sources/CloudFoundryEnv/AppEnv.swift:172:32: error: cannot subscript a value of type 'inout [String : Any]' (aka 'inout Dictionary<String, Any>')
credentials[substitutions["url"] ?? "url"] ?? credentials["uri"]
~~~~~~~~~~~~~^
:0: error: build had 1 command failures
I cant quite seem to understand what that line is doing

my branch if you want to look at it is issue.remove_swifty

Just made the change to fix that compilation error and pushed it to your branch.


Smart defaults should take functions that depend on previous option values

- [ ] bug report -> please search issues before submitting
- [x] feature request

Smart defaults are great, but they would be even more useful if they could take arbitrary functions that accept previous option values as arguments. For example, some default values I need are based on previous option values, but with different casing.

Not following template