File not found. Docker with Portainer

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
If i want to visit the wiki page, there is coming a error named "File not found" i don't know why he says this, and don't found any erros. Maybe someone can help
Exact BookStack Version
v22.07.3
Log Content
No response
PHP Version
No response
Hosting Environment
Ubuntu 20.04 - VPS, Docker Container from linuxserver

Where are you seeing this error? Can you provide a full view (or screenshot) of this error you see?

If i visit directly the site, as a example wiki.example.com
There is the screenshot:

Here is a error from following location: bookstack/log/nginx/error.log
2022/08/23 09:43:49 [error] 214#214: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: <IP_ADDRESS>, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://<IP_ADDRESS>:9000", host: "wiki.example.at"

I found on storage/logs/laravel.log something new:

Hi @michaelortnersanube,
That message is quite old.
Is this a previously working BookStack instance that has failed upon upgrade?

Hello,
yes. I have upgraded the docker container from 22.07.02 to 22.07.03 and now it doesn't work. I have take another image, but same error.

The linuxserver container did receive some updates recently which could be causing issues with your existing files/config.
I did upgrade a couple of older version setups (albeit from this year) on my machine without issue.
Did you make any changes to the nginx/site-confs/default.conf file at all? If not, can you share the contents to make sure it's correct? It may be the case this migration did not run as expected.

Maybe i am stupid, but in the container the folder site-confs doesn't exist

ah i found it now, it is under config/nginx/site-confs/, my wrong. Here is the content

That matches what I have.

Any other files in the site-confs folder?
What architecture are you running on? x86_64 or ARM64?
What is the output of running ps -aux | grep php within the container?

Thank you for the information. For your questions i have posted you some screenshots, i hope this help you to find out where my problem is :)

btw i am back to the version 22.07.2, where it has worked, but same problem

@michaelortnersanube Ah, I was going to say much of the values in those screenshots don't look right for the latest version.
I think jumping back to older versions will confuse things. The new container versions makes changes upon update to paths, which then won't match for older versions.

Ah that was not good. So have you any idea how i can fix this problem maybe?

Not really, since we still don't know the exact cause of the problem.
It's likely some paths did not align after update, or some extra config is causing interference. Likely on the apache or php side of things. I'd focus on getting the new setup working.
As a last resort, after a backup of all files, you could always remove your existing bookstack volume files, start the container, then stop it, the restore your existing BookStack files (everything in www folder) into the matching directory then restart again. Essentially restoring your files into a fresh state.

Hello you mean i should make a backup of this files:

then delete all these files and the volumes of bookstack. database container too? The i should recreate the bookstack and upload all the content from www to this folder again, right?

Yes but do not delete the database data or container, the database should be fine here. If that DB folder is your database files, leave that (I'd generally avoid sharing mounted volume folders like that).

So step by step,
i copy the folder bookstack to bookstack-backup, then i remove the content from bookstack without the DB folder. Then i stop the container of bookstack, remove the volumes and then start it. Then i stop it again, cp the content of www to the new bookstack www
Thanks for help, but i want to make that i am 100% sure and make all right :)

Yeah, I'd personally backup the original files to another system first, to be sure they're safe.

Hello,
i have made all of this, now it works, but the images are not loading, have i to upload them all my self or have i maybe something forgot to cp back to the new?

And maybe some other feedback:
I have set the linuxserver/bookstack image to latest, if i go to /var/www/html the folder is empty without the public folder. So i have reacreate all things back and set the image to 22.07.2, then all content was back in the folder

i think maybe problem with the rights or the owner?

My wrong, now working Sorry.


"kubeshark pro" - Unable to enter license on CLI

Describe the bug
When running kubeshark pro, https://console.kubeshark.co/ is opened with an error, but when I try to copy back the license key, the CLI command doesn't let me do it, my MacBook makes a sound (like the one when you hit on "Delete" on an external keyboard while you're on the CLI) while hitting Enter.
This does not work whether I've deployed Kubeshark to a cluster or not.
Installed via brew
Expected behavior
The terminal should accept the license key
Logs
Not working, as explained in an earlier issue
Screenshots

Desktop

OS: macOS
Browser: Brave

@GeiserX When you run: kubeshark pro your MacOS should ask you to enable incoming connections. I believe this is the sound you hear (I may be wrong). I assume that if you don't see the request window, the OS will make a sound and the operation will fail. That's not a big deal, as the CLI should accept the key, when you copy and paste it. I"m not sure if you tried this and it failed or not. Looking at the screenshot you attached, I see that you were able to enter the key.
If all else fails, you can simply add the key to the configuration file:

LMK if I missed anything

When I copy-paste the key, I hear 5 "clicks": One for each line that gets inserted. And if I hit "Enter" again it will "click" again.  But I don't see any popup asking me for additional permissions. I'm using Terminal, not XTerm. And the license doesn't get inserted in the end, in the file.
I inserted now the key manually into the config.yaml file. However, I don't see any difference. Could you share a single-liner which I can use to test I'm actually using the pro version?

I confirm that I see (and hear) the behavior you've reported. No quick fix, I"m afraid. It will likely be fixed in the next minor release that is due in the next few days. I'll let you know asap.
Thanks for reporting this!

Fixed with:

https://github.com/kubeshark/kubeshark/commit/fab0f713ed2e4078ee5dbe638445c66cb2fe4952
https://github.com/kubeshark/kubeshark/commit/8c7d9ea8fdb68d263831741190016e016cc1cd37

and published the release 40.1.

At this time, MACOS users can't copy and paste the license in to the terminal due to an OS STDIN size limitation. In the meanwhile, two methods are available to MACOS users:

The preferred way is to use the web console. In this case, make sure you see this window and accept:

Configure the config file that is usually found at ~/.kubeshark/config.yaml` based on the instructions above

Maybe related: I tried to insert the license key through values.yaml in my Helm deployment providing the license: as expected. However, I'm getting...
2023-06-22T10:49:54Z ERR pkg/worker/license.go:41 > Set license request: error="Post \"http://10.X.X.X:8897/license\": dial tcp 10.X.X.X:8897: i/o timeout" url=http://10.X.X.X:8897/license
IP omitted for privacy reasons.


dockerfile build image error

When I use the dockerfile ,It comes errror just like below:
Step 17 : COPY src /opt/amazon/dsstne/src
lstat src: no such file or directory

I made it ,just copy  the whole git code to the same folder with dockerfile.

Closing issue.


Remove MathJax Preview iFrame

Remove iFrame for MathJax preview. Update styles and file locations. Files under latex-preview can probably be bundled but will leave them untouched until after refactoring ice.html.

There is a socket connection exception, causing JavaScript UI update not working.
to reproduce this error, run npm run dev, open the console.
@hughdani

@junthehacker I cannot reproduce the same issue. I am using Chrome version 65. I get a similar issue caused by UniversalModuleDefinition which is what manages the socket.io output and is not related to the refactor.

These issues might be the same issue under a different name. I don't think the error occurs if you navigate to localhost:8080 and you should see the socket.io debug info as usual. If that's not the case, I think this is due to browsersync clearing the localStorage variable in the console environment.
Type localStorage in the console.
This is how the variable looks with socket.io output disabled

To enable it do , localStorage.debug = '*';

Reference: https://socket.io/docs/logging-and-debugging/

In case it is not the same issue, is JavaScript UI updates part of our code? Are there anything noticeably wrong if it errors out?


0.8.2 fails async-compression crate tests,  0.8.1 is fine

I've tried updating async-compression to zstd 1.5.0 in https://github.com/ahornby/async-compression/tree/zstd_1.5.x, but I see test failures when it picks up zstd 0.8.2. If I force it 0.8.1 it works
Reproduces with
~/local/async-compression$ cargo test --features zstd,tokio zstd
I don't know if this is an async-compression or zstd-rs issue, raising it in both places just in case.

Thanks for the report!
0.8.2 includes a change that runs an extra "empty" step of the encoder/decoder in case the previous run didn't flush everything. It passes the local (non-async) tests, but it's not impossible that I missed some other edge cases. Will have a look.

Hmm actually it doesn't look like it should be impacted: the failing tests are zstd::tokio::write::decompress::long and zstd::tokio::write::decompress::long_chunks, none of them use look like they use the Reader that we changed. :^S

It appears that while decoding Status::remaining is 0 when there are still 9 bytes left in the input to write. It could be that the check for end-of-frame here in async-compression is wrong, but my impression from https://github.com/gyscos/zstd-rs/issues/78 was that this was a valid way to detect it.

Looks like the compressed data, compressed using zstd's read-encoder, contains 2 frames now. I suppose the reader only reads one of the two frames.
It's very possible that the reader changes made it output 2 frames now by mistake.

Ok I found the issue: it happened when flushing the operation was filling the output buffer and had to be done again - the recent change was messing this up. Should now be fixed, will push a release shortly.


Armor not adjusting properly when using AttributeModifier

I have an interesting problem that may be CraftTweaker related.  Here is the script I am running:
recipes.remove(minecraft:iron_helmet);
recipes.addShapeless(minecraft:iron_helmet.withTag({AttributeModifiers:[{AttributeName:"generic.armor",Name:"generic.armor",Amount:30,Operation:0,UUIDLeast:176584,UUIDMost:798203,Slot:"head"}]}), [minecraft:stick, minecraft:stick, minecraft:stick]);
So, as you can guess, I am making an iron helmet with 30 armor. Now, it works. It creates the helmet, but when I put it on, I get no shields and a fall test verifies that I am not protected. Any ideas? I used MCStacker to create the attribute modifier command.
minetweakerlog.txt

try make the armor value smaller

Tried with 20, nada. Also looked at wiki about armor modifications and it
says it supports up to 30.
On Wed, Sep 28, 2016 at 10:52 AM, Jared<EMAIL_ADDRESS>wrote:

try make the armor value smaller
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250190332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G63e3p4ZkY3ktxesG8PUN7-85vkQks5qun8ogaJpZM4KI6Ft
.

uh, give a link to that wiki post thingy?
also maybe just try something like 5 for the armor thing?

http://minecraft.gamepedia.com/Attribute
http://www.minecraftforum.net/forums/minecraft-discussion/redstone-discussion-and/command-blocks/2651625-attribute-tutorial-1-9-1
On Wed, Sep 28, 2016 at 11:54 AM, Jared<EMAIL_ADDRESS>wrote:

uh, give a link to that wiki post thingy?
also maybe just try something like 5 for the armor thing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250210435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G0Sbj41-4ClkngFzBOhRKwQCyVjRks5quo2igaJpZM4KI6Ft
.

And just tried 5, nada.
On Wed, Sep 28, 2016 at 11:57 AM, Joshua Law<EMAIL_ADDRESS>wrote:

http://minecraft.gamepedia.com/Attribute
http://www.minecraftforum.net/forums/minecraft-discussion/
redstone-discussion-and/command-blocks/2651625-attribute-tutorial-1-9-1
On Wed, Sep 28, 2016 at 11:54 AM, Jared<EMAIL_ADDRESS>wrote:

uh, give a link to that wiki post thingy?
also maybe just try something like 5 for the armor thing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250210435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G0Sbj41-4ClkngFzBOhRKwQCyVjRks5quo2igaJpZM4KI6Ft
.

hhm, I got no idea, but I highly doubt this is a minetweaker issue. try spawn the item ingame using the same data tag and see if it works

How to do that, command is too long?  use command block?
On Wed, Sep 28, 2016 at 12:03 PM, Jared<EMAIL_ADDRESS>wrote:

hhm, I got no idea, but I highly doubt this is a minetweaker issue. try
spawn the item ingame using the same data tag and see if it works
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250213548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G_jIsmteGiUdLk6F3d57x3p5tyzSks5quo_vgaJpZM4KI6Ft
.

try a command block, if that doesn't work, then I'm not sure.
also where is UUIDLeast and UUIDMost gotten from? or are they just a random value?

Yep, doesn't work that way either.
On Wed, Sep 28, 2016 at 12:04 PM, Joshua Law<EMAIL_ADDRESS>wrote:

How to do that, command is too long?  use command block?
On Wed, Sep 28, 2016 at 12:03 PM, Jared<EMAIL_ADDRESS>wrote:

hhm, I got no idea, but I highly doubt this is a minetweaker issue. try
spawn the item ingame using the same data tag and see if it works
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250213548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G_jIsmteGiUdLk6F3d57x3p5tyzSks5quo_vgaJpZM4KI6Ft
.

I'm not sure, I'm using MCStacker and it seems like a random number. Wiki's
aren't very clear on that part. It has something to do with the way the
armor stacks. One source says if the UUID's are different for the same item
with the same attribute, the higher one is taken. If they are in the same
range, they stack.  Not sure how to even find the UUID of the standard
items.
On Wed, Sep 28, 2016 at 12:07 PM, Joshua Law<EMAIL_ADDRESS>wrote:

Yep, doesn't work that way either.
On Wed, Sep 28, 2016 at 12:04 PM, Joshua Law<EMAIL_ADDRESS>wrote:

How to do that, command is too long?  use command block?
On Wed, Sep 28, 2016 at 12:03 PM, Jared<EMAIL_ADDRESS>wrote:

hhm, I got no idea, but I highly doubt this is a minetweaker issue. try
spawn the item ingame using the same data tag and see if it works
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250213548,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G_jIsmteGiUdLk6F3d57x3p5tyzSks5quo_vgaJpZM4KI6Ft
.

looking at stuff from a wiki, I think the UUID dictates what slot it gets applied in, lower the UUIDLeast to 0 and try?

That produced an iron helmet with no data tag, but still gave 2 (1 shield)
armor.
On Wed, Sep 28, 2016 at 12:15 PM, Jared<EMAIL_ADDRESS>wrote:

looking at stuff from a wiki, I think the UUID dictates what slot it gets
applied in, lower the UUIDLeast to 0 and try?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/62#issuecomment-250216885,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUH5G2tk-unMpOAUDsPvv2TtZMvPFN0Eks5qupKPgaJpZM4KI6Ft
.

I honestly got no idea, but considering it didn't work when spawned from a command block, it is not our issue. sorry.


Upgrade to SB5.0

Note the update to the webpack config per https://github.com/gatsbyjs/gatsby/issues/10662
Note also the weird @emotion/core dep cc @ndelangen

I'll check it out.

Just regenerating the lockfile fixed it


Adjust coverage

Drops the last vestige of ilastik. ( https://github.com/nanshe-org/nanshe/pull/394 )
Exclude the _vendor directory from test coverage. ( https://github.com/nanshe-org/nanshe/pull/405 ) ( https://github.com/nanshe-org/nanshe/pull/402 )

Appears it was dropped from the coverage correctly.


nixos/system: drop requiredKernelConfig

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I think it's reasonable to drop system.requiredKernelConfig since it's not enforced on nixpkgs kernels anyway.
Are we happy with the ergonomics of boot.kernel.features?  Could most of the requiredKernelConfig checks be migrated to use boot.kernel.features?

I think it's reasonable to drop system.requiredKernelConfig since it's not enforced on nixpkgs kernels anyway.
Are we happy with the ergonomics of boot.kernel.features? Could most of the requiredKernelConfig checks be migrated to use boot.kernel.features?

I think so, if someone wants to do it, they can get the needed options from here or even better the latest kernel module options from the respective upstream project. Until then it's dead code.


[FLINK-12892][table][hive] serialize catalog table to properties for table discovery service

What is the purpose of the change
This PR enables serialization of catalog table to properties for table discovery service and table factory to initiate source/sink from those properties
Brief change log

implemented toProperties() in AbstractCatalogTable to serialize tables to properties
added unit tests

Verifying this change
This change added tests and can be verified as follows:

AbstractCatalogTableTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

cc @xuefuz @lirui-apache @zjuwangg

@xuefuz Thanks for your review!
Merging


analyzer doesn't do anything with inferred typedefs

This issue was originally filed by<EMAIL_ADDRESS>
Example:
    typedef double td (double v);

    double a (double v) => v * 1.1;

    main(){
      // A
      List<td> list = [a];
      var func1 = list[0];
      var ret1 = func1('x');
      // B
      td returnFunc () => a;
      var func2 = returnFunc();
      var ret2 = func2('x');
      // C
      td func3 = list[0];
      var ret3 = func3('x');
    }
A:
    Propagated type of "func1" is "td".
    Argument given to "func1" isn't checked.
    Type of "ret1" can't be inferred.
B:
    Propagated type of "func2" is "(double) -> double".
    Argument given to "func2" isn't checked.
    Type of "ret2" can't be inferred.
Everything works fine with the explicit last version (C). The argument is checked and the inferred type of "ret3" is indeed double. It should work the same in the other two cases.

This is fixed. The argument types in A, B, and C, are all checked.


Problems with python finding itself

Opening for @deitch  (feel free to retitle and/or correct the below!)
When debugging failing E2E tests in Melange (e.g. https://github.com/chainguard-dev/melange/actions/runs/4743961439/jobs/8424331419?pr=395) we noticed two issues:

the apk implementation doesn't have support for using tilde (~) to specify a version for a dependency
the apk implementation doesn't have support a package depending directly on itself (i.e. not on a provides, but the package itself) — e.g. python3 depending on python3~3.11

@kaniini Any ideas about why Melange's E2E tests weren't failing before now? Could it be that the outside world change (e.g. Alpine's config for python3?)

FWIW I also have problems finding myself

I suspect that python 3.11.3 having that dependency is just a side effect of https://github.com/alpinelinux/abuild/commit/6806a0d39b25c30ca7368b29a9ff78c57c0deec9

The first part (tilde support) is in #630, but I am a little concerned about the second part.
apko already has support for "I depend on foo, my package provides foo, I satisfy my own requirement." This would expand it to include, "I depend on foo=3.11, I am foo=3.11, I satisfy my own requirement.
We can do that, and add tests, without too much pain.
But then what happens with the wolfi build dependencies? The issue discussed here means that it expects, "if I depend on my own name, do not satisfy it myself, rather look for a different (possibly lower) version to find that." In the wolfi case, that means potentially stage3.
We do not (yet) use the same code for resolving the build graph in wolfictl and apko, but we are working to get there, and the logic should be the same.
Can a package A itself resolve a dependency on package A (what this suggests), or can it not (what the wolfi-dev/os issue suggest)?

Can a package A itself resolve a dependency on package A (what this suggests)

Yes.  It has to be this way.
The -stage0 stuff in Wolfi is a policy decision that does not imply any behavioral requirement of the solver.

So the normal apk resolution graph says, "A-2.0 depends on A can be satisfied by itself." We took a decision that says, "no, it cannot".
That can be satisfied with options. Cool, thanks.

@luhring see #631


L.control.locate is not a function

Hi,
I'm getting the error like L.control.locate is not a function.Please help where I'm going wrong. Thanks in advance.
My code is
map.L.control.locate({
       setView: true,
       drawCircle: true,
       markerClass: L.circleMarker
     }).addTo(map);

Did you include the javascript source file? If yes, can you try to upload a small example where you see that problem to https://jsfiddle.net/?

Maybe look at how I set up the demo at https://github.com/domoritz/leaflet-locatecontrol/blob/gh-pages/demo/index.html. Let me know if it doesn't work.

@domoritz , Getting the same error. Please refer to this example.
https://stackblitz.com/edit/leaflet-tfxhjh


Multicursor crash when try to insert

Hi,
Frist thanks for this "must have" plugin !
I experiment a crash after trying to enter insert mode after getting multi cursors
same issue in vim and neovim
any clue ?
thanks

To enter insert mode from visual mode, you have to press I, not i.
Please try again and let me know if it fixed it for you.
Also, you can consider using this other plugin instead: https://github.com/mg979/vim-visual-multi
It is more actively maintained.


cmdline completion affecting incsearch highlights

Describe the bug
Incsearch highlights flicker when cmdline buffer completion is enabled. It seems that when no completion item is selected, the highlights will be quickly turned off, causing the "flickering" effect when typing.
Minimal config based on this
vim.o.incsearch = true
vim.o.completeopt = "menu,menuone,noselect"
cmp.setup.cmdline("/", {
  sources = {
    { name = "buffer" },
  },
})

See more
To Reproduce

Try searching the buffer with my settings
Highlights will go crazy

https://user-images.githubusercontent.com/62098008/140614408-69942d2b-df51-4f04-9423-6fde44e54b2e.mp4
Expected behavior
Highlights will persist even if no completion item is selected - using whatever is being typed.
Additional context

I think it can't be fixed because wilder.nvim has a same problem. (I think wilder.nvim is more detailed with cmdline completion, so I think it would be difficult if wilder.nvim couldn't.


Implement a GetNetworkParameters Interaction

Overview
There are existing Access API Methods for Get Network Parameters that the JS-SDK does not currently support.
The Execute Script methods are:
  // GetNetworkParameters retrieves the Flow network details
  rpc GetNetworkParameters (GetNetworkParametersRequest) returns (GetNetworkParametersResponse);

Expected Outcomes

There are available Interaction types and associated builders and resolver functionality for the missing Get Network Parameters method.

[ ] Need to file ticket with access node people.

Hi
I would like to work on this issue.


Dapp.com and Dapp.review

Please register these addresses on dapp.com and dapp.review
{"loans": "cx66d4d90f5f113eba575bf793570135f9b10cece1", "staking": "cx43e2eec79eb76293c298f2b17aec06097be606e0", "dividends": "cx13f08df7106ae462c8358066e6d47bb68d995b6d", "reserve": "cxf58b9a1898998a31be7f1d99276204a3333ac9b3", "daofund": "cx835b300dcfe01f0bdb794e134a0c5628384f4367", "rewards": "cx10d59e8103ab44635190bd4139dbfd682fa2d07e", "dex": "cxa0af3165c08318e988cb30993b3048335b94af6c", "governance": "cx44250a12074799e26fdeee75648ae47e2cc84219", "oracle": "cxe647e0af68a4661566f5e9861ad4ac854de808a2", "sicx": "cx2609b924e33ef00b648a409245c7ea394c467824", "bnUSD": "cx88fd7df7ddff82f7cc735c871dc519838cb235bb", "baln": "cxf61cd5a45dc9f91c15aa65831a30a90d59a09619", "bwt": "cxcfe9d1f83fa871e903008471cca786662437e58d"}

I've submitted Balanced to Dapp.com, Dapp.review, and DappRadar. They all gave an estimate of 24-48 hours, so I'll post the details here when they've been approved.


You're Nicked New Character Sheet

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: < You're Nicked!  >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: < Ian F White  > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: < Proprietary  > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[x] I have authorization from the game's publisher to make this an official sheet on Roll20 with their name attached.
[x] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <  coming soon DTRPG >
[x] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.

Whats the validation error?


Remove TOTAL_MEMORY_USAGE and improve allocation performance by 1%

TOTAL_MEMORY_USAGE is a global variable, we use for tracking total memory usage.
Here are performance stats before the change:
alloc_32                time:   [38.936 ns 39.018 ns 39.143 ns]
alloc_32                time:   [38.574 ns 38.633 ns 38.701 ns]
alloc_32                time:   [38.511 ns 38.558 ns 38.606 ns]

and after
alloc_32
                        time:   [37.903 ns 37.935 ns 37.971 ns]
                        change: [-1.7741% -1.4475% -1.1053%] (p = 0.00 < 0.05)
                        Performance has improved.
alloc_32          time:   [38.101 ns 38.132 ns 38.162 ns]
alloc_32           time:   [38.323 ns 38.359 ns 38.392 ns]

There was an improvement of 0.5ns, which is around 1-1.5%.

@matklad Criterion, does work. It's able to detect even small performance improvements.


Unsplash Bridge failed with error 404

Error message: The requested resource cannot be found! Please make sure your input parameters are correct! cUrl error:  (0)
Query string: action=display&bridge=Unsplash&m=20&w=1920&q=75&format=Html
Version: dev.2018-12-11

Thanks for reporting this issue. I can confirm that the bridge is broken.
Looks to me like they changed their engine (pages are named differently) and they now have infinite scrolling instead of pages, which breaks the bridge.


Improve support for Flutter Web

[X] Support tracingOrigins for performance feature - replaced by tracePropagationTargets
[X] Add Flutter web renderer information to event
[ ] Support allowUrls , denyUrls and ignoreErrors (InboundFilters)
[ ] Breadcrumbs and spans for fetch/xmlhttprequest thru the JS SDK
[ ] Support for tunnel parameter
[ ] Native JS error handler thru the JS SDK
[ ] Web vitals thru the JS SDK
[ ] Sessions thru the JS SDK
[ ] Support WASM with Dart 3, Article.

Likely more improvements can be made.

Breadcrumbs and spans for fetch/xmlhttprequest

This should not create duplicates when used together with the http or dio integrations.

https://trends.builtwith.com/websitelist/Flutter

https://trends.builtwith.com/websitelist/Dart

https://github.com/dart-lang/source_map_stack_trace/tree/master might be something to look at in case JS stack traces are not so user-friendly, we could do something similar on the Server, well, we already symbolicate it but not sure if this library does something different than us.

https://github.com/dart-lang/source_map_stack_trace/tree/master might be something to look at in case JS stack traces are not so user-friendly, we could do something similar on the Server, well, we already symbolicate it but not sure if this library does something different than us.

Demo App Code
import 'package:flutter/material.dart';
import 'package:sentry_flutter/sentry_flutter.dart';

void main() {
  SentryFlutter.init(
    (options) {
      options.dsn =
<EMAIL_ADDRESS>    },
    appRunner: () => runApp(const MainApp()),
  );
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              throw Exception('Test exception');
            },
            child: const Text('Hello World!'),
          ),
        ),
      ),
    );
  }
}

This is how Sentry deobfuscates the stack trace for the error thrown in the demo app:

Using source_map_stack_trace to deobfuscate the stack trace yields the following:
../../../lib/main.dart 24:15                                                                    MainApp.build.<anonymous function>
../../../../../../fvm/versions/stable/packages/flutter/lib/src/widgets/framework.dart 921:26    _InkResponseState.handleTap
org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart 2105:9                          Closure.cspForwardCall
../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/recognizer.dart 253:16  GestureRecognizer.invokeCallback
../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/recognizer.dart 239:6   GestureRecognizer.invokeCallback[function-entry$2]
../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/tap.dart 627:11         TapGestureRecognizer.handleTapUp
../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/tap.dart 306:5          BaseTapGestureRecognizer._checkUp
../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/tap.dart 239:7          BaseTapGestureRecognizer.handlePrimaryPointer
../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/recognizer.dart 615:9   PrimaryPointerGestureRecognizer.handleEvent

source_map_stack_trace seems to be able to fully restore function names for each frame, whereas Sentry currently is not. I would love to see support for that and be happy to help with a pointer to where to start.

@blaugold can you provide a minimal reproducible example? (with build commands, upload source maps command, etc).
Every time I test a sample app (Flutter web), symbolication works just fine.

Flutter version:
Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4d9e56e694 (3 weeks ago) • 2023-04-17 21:47:46 -0400
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1

flutter create sentry_flutter_web_stacktraces_repro

cd sentry_flutter_web_stacktraces_repro

flutter pub add sentry_flutter

Replace lib/main.dart with the following:
void main() {
  SentryFlutter.init(
    (options) {
      options.dsn = '...';
    },
    appRunner: () => runApp(const MainApp()),
  );
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: ElevatedButton(
            onPressed: () {
              throw Exception('Test exception');
            },
            child: const Text('Throw exception'),
          ),
        ),
      ),
    );
  }
}

Configure DSN in main.dart

flutter build web --source-maps

sentry-cli sourcemaps upload -o ... -p ... -r<EMAIL_ADDRESS>-d 1 build/web

cd build/web

caddy file-server: Start a web server to serve the files.

Open http://localhost:80: Open the web app in a browser, wherever it is served.

Click on the "Throw exception" button

This is what the raw but deobfuscated stack trace looks like in Sentry:
minified:Gi: Exception: Test exception
  at A.c(org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart:1128:37)
  at A.Tt.prototype.$0(../../../lib/main.dart:24:15)
  at A.v6.prototype.Em(../../../../../../fvm/versions/stable/packages/flutter/lib/src/widgets/framework.dart:921:26)
  at A.akv(org-dartlang-sdk:///lib/_internal/js_runtime/lib/js_helper.dart:2105:9)
  at A.cN.prototype.EC(../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/recognizer.dart:253:16)
  at A.cN.prototype.fG(../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/recognizer.dart:239:6)
  at A.fA.prototype.Eo(../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/tap.dart:627:11)
  at A.xl.prototype.zd(../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/tap.dart:306:5)
  at A.xl.prototype.El(../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/tap.dart:239:7)
  at A.nF.prototype.i4(../../../../../../fvm/versions/stable/packages/flutter/lib/src/gestures/recognizer.dart:615:9)

@blaugold can you try using the https://github.com/getsentry/sentry-dart-plugin plugin instead of calling sentry-cli manually?
Just wanna be sure that all the configuration is correct.
The plugin uses different commands than yours, maybe it's related to that.
Also, link me to a sentry.io event so I can check myself as well.
Btw feel free to raise a new issue about that, so we can avoid the back and forth there, which is a slightly different topic, it'd be a bug if there's something broken.

Flutter web has this option in the build cmd:

--build-number                                      An identifier used as an internal version number.
                                                    Each build must have a unique identifier to differentiate it from
                                                    previous builds.
                                                    It is used to determine whether one build is more recent than another,
                                                    with higher numbers indicating more recent build.
                                                    On Android it is used as "versionCode".
                                                    On Xcode builds it is used as "CFBundleVersion".
                                                    On Windows it is used as the build suffix for the product and file
                                                    versions.
--build-name=<x.y.z>                                A "x.y.z" string used as the version number shown to users.
                                                    For each new version of your app, you will provide a version number to
                                                    differentiate it from previous versions.
                                                    On Android it is used as "versionName".
                                                    On Xcode builds it is used as "CFBundleShortVersionString".
                                                    On Windows it is used as the major, minor, and patch parts of the
                                                    product and file versions.

If its set, we could use it as release/dist, instead of the pubspec file?

What's the status of this item so far?

@alestiago hi, anything specific you are looking for in the list?

I'm also interested in updates here. My biggest issue is that the error information is minified, even if I upload debug symbols from Flutter using sentry_dart_plugin. I am uploading the symbols using sentry_dart_plugin and I see that the symbols are accepted and connected to my release when I check in sentry.io web portal.
When I run Flutter Web in release mode it presents alot of minified names, like this:
minified:am
ReferenceError: Can't find variable: a9

However, I can see relevant dart code in the stack trace even though the file paths are messy too.
If I switch to profile mode I get much nicer exceptions, the errors looks like this (with corret types, variable names etc)
_Exception
Exception: simulated locally (async)

Issue #1661 also describes this problem in a good way, but it's closed as a duplicate of this.
I guess that my main problem is the last checkbox, "demangle runtime types": https://github.com/getsentry/symbolic/issues/807
I'm not sure but I think that the second to last checkbox is relevant too: https://github.com/getsentry/team-mobile/issues/133 + https://github.com/dart-lang/sdk/issues/53027

thanks for the details. we'll discuss this and see if we can have some bandwidth soon to work on this.

I'm experiencing the same issue as @mikeesouth . Despite uploading source maps with the Sentry Dart plugin, my web stack traces remain minified. Is there a configuration step I'm missing, or is web source map support not yet implemented?

@Fraa-124 source maps are supported for Flutter Web, but with some limitations as discussed above

I also have same issue https://stackoverflow.com/questions/78290786/flutter-web-sentry-did-not-translate-correctly-issues/78291321#78291321

Is there a solution yet? @buenaflor. I keep getting this instead of dart source codes.

Hey, we totally understand the frustration and are sorry about the delay of this issue.
What should work:

seeing the not minified stacktrace

What doesn't work:

issue titles are still minified (that's one of the task in improving flutter web)

So (in theory) the stacktrace should not be minified in the issues. We'll take a look at that

At least include some warning in the documentation about this limitation!

You're right, thanks for pointing that out, we will add more visibility on current flutter web limitations to our docs

Minimal Setup
Below is a minimal setup + steps  that show working stack traces + inline dart code  for minified code from a flutter web application, build with the release flag.
The app only has one button, which throws an exception. This is then captured using Sentry.
We use the sentry dart plugin to upload all files needed. It will create a release from the name and version in pubspec.yaml. Since we also have a build number, it will take it as dist. The release name will be name@version, with dist parameter taken from the build 4 from the version:
<EMAIL_ADDRESS>pubspec.yaml
name: calculator
version: 1.0.3+4

dependencies:
  sentry_flutter: ^7.18.0

dev_dependencies:
  sentry_dart_plugin: ^1.7.1

sentry:
  upload_debug_symbols: true
  upload_source_maps: true
  project: ... # In this sample the project name is also `calculator`
  org: ...
  auth_token: ...
  wait_for_processing: true
  log_level: info
  commits: false
  ignore_missing: true

Setup & Throwing Code
I added another class in a separate file to see if source mapping works in this case.
main.js:
Future<void> main() async {
  await SentryFlutter.init(
    (options) {
      options.dsn = '... your dsn ...';
      options.tracesSampleRate = 1.0;
    },
    appRunner: () => runApp(const MyApp()),
  );
}

void _throwAnException() {
  try {
    Helper().aThrowingFunction("paramA", true);
  } catch (e, s) {
    Sentry.captureException(e, stackTrace: s);
  }
}

helper.js:
class Helper {
  void aThrowingFunction(String paramA, bool paramB) {
    throw Exception('Only throwing this to test Sentry with paramA $paramA and paramB $paramB.');
  }
}

Build & Upload
flutter build web --release --source-maps
dart run sentry_dart_plugin

This will then uplaod your source maps, and you see something like this output:
> Found 8 files

> Analyzing 8 sources

> Rewriting sources

> Adding source map references

> Bundled 8 files for upload
> Bundle ID: ec34b239-c576-57b3-a52a-c77151208c35

> Uploaded files to Sentry

> File processing complete
> Organization: denrase
> Project: calculator
> Release<EMAIL_ADDRESS>> Dist: 4
> Upload type: artifact bundle

Source Map Upload Report
  Scripts
    ~/flutter_service_worker.js
  Minified Scripts
    ~/canvaskit/canvaskit.js (sourcemap at ../main.dart.js.map)
    ~/canvaskit/chromium/canvaskit.js (sourcemap at ../../main.dart.js.map)
    ~/canvaskit/skwasm.js (sourcemap at ../main.dart.js.map)
    ~/canvaskit/skwasm.worker.js (sourcemap at ../main.dart.js.map)
    ~/flutter.js (sourcemap at flutter.js.map)
    ~/main.dart.js (sourcemap at main.dart.js.map)
  Source Maps
    ~/main.dart.js.map

Run Web Server
I used python http.server webserver to run the flutter application.
cd build/web
python3 -m http.server

Click the UI element that throws/captures the exception.
Results
Exception
It should the stack trace and also the dart code.

Source Maps
We should see that the js files, minifier main.js & source map main.js.map are uploaded in the projects settings.

List
Artifacts
Artifacts 2

Is this expected to behave differently if the flutter web app is loaded as a chrome extension? Because with the same steps you outlined I am getting this with a lot of missing source issues @denrase @buenaflor

Is this expected to behave differently if the flutter web app is loaded as a chrome extension? Because with the same steps you outlined I am getting this with a lot of missing source issues @denrase @buenaflor

I have same issue https://stackoverflow.com/questions/78290786/flutter-web-sentry-did-not-translate-correctly-issues/78291321#78291321

@EmmanuelAdeiza yes, it's expected to work differently when loaded as Chrome extension, and we didn't specifically add support for this - I added an item to the tasklist on top.


PowerShell does not return to current working location

I'm not sure if it is a bug, I guess so…

Windows 10 Pro x64 v1803 build 17134.112
PS version 5.1.17134.112

If I start Windows PowerShell, I'm at:
PS C:\Users\foo>
I type this:
cd .\Desktop\
to get to:
PS C:\Users\foo\Desktop>
Now when I execute this piece of code:
Get-Module -ListAvailable |
foreach { gcm -Module $_.Name -CommandType cmdlet, function | select Name}

it ends at
PS SQLSERVER:\>
instead of at the original working directory where the script started:
PS C:\Users\foo\Desktop>

Remark: If I use Get-Module -All instead of -ListAvailable it works as expected. It only happens with the -ListAvailable.

Please, to post Windows PowerShell issues use the UserVoice forum: https://windowsserver.uservoice.com/forums/301869-powershell
As stated in the PowerShell Core landing page: https://github.com/PowerShell/PowerShell#windows-powershell-vs-powershell-core
This is only for posting PowerShell Core issues.
This issue doesn't repo in PowerShell Core.
Thanks

https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/34668142-bug-powershell-does-not-return-to-current-working

Please understand!  This is issue will not remain open in Github as it is a different line of product.
This will be close as it doesn't replicate in PowerShell Core.
You need to copy the information over to the UserVoice link you provided.
Thanks

BTW!!
Just an FYI
In Windows Insider build 17686, it doesn't replicate neither.
Unpublish-QADCerti...
Unpublish-QADCerti...
Unpublish-QARSGroup
Where-QADCertificate

PS [2999] > pwd

Path
----
C:\Users\max_t

PS [2999] > $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.17686.1003
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17686.1003
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

I have these modules:
` Get-Module -ListAvailable
Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules

ModuleType Version    Name                                ExportedCommands

Manifest   <IP_ADDRESS>    AppBackgroundTask                   {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgro...
Manifest   <IP_ADDRESS>    AppLocker                           {Get-AppLockerFileInformation, Get-AppLockerPolicy, New-Ap...
Manifest   <IP_ADDRESS>    AppvClient                          {Add-AppvClientConnectionGroup, Add-AppvClientPackage, Add...
Manifest   <IP_ADDRESS>    Appx                                {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest...
Script     <IP_ADDRESS>    AssignedAccess                      {Clear-AssignedAccess, Get-AssignedAccess, Set-AssignedAcc...
Manifest   <IP_ADDRESS>    BitLocker                           {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Re...
Manifest   <IP_ADDRESS>    BitsTransfer                        {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Re...
Manifest   <IP_ADDRESS>    BranchCache                         {Add-BCDataCacheExtension, Clear-BCCache, Disable-BC, Disa...
Manifest   <IP_ADDRESS>    CimCmdlets                          {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance,...
Manifest   1.0        ConfigCI                            {Get-SystemDriver, New-CIPolicyRule, New-CIPolicy, Get-CIP...
Manifest   1.0        Defender                            {Get-MpPreference, Set-MpPreference, Add-MpPreference, Rem...
Manifest   <IP_ADDRESS>    DeliveryOptimization                {Get-DeliveryOptimizationStatus, Get-DeliveryOptimizationP...
Manifest   <IP_ADDRESS>    DirectAccessClientComponents        {Disable-DAManualEntryPointSelection, Enable-DAManualEntry...
Script     3.0        Dism                                {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-Window...
Manifest   <IP_ADDRESS>    DnsClient                           {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get...
Manifest   <IP_ADDRESS>    EventTracingManagement              {Start-EtwTraceSession, New-EtwTraceSession, Get-EtwTraceS...
Script     <IP_ADDRESS>    IISAdministration                   {Enable-IISCentralCertProvider, Reset-IISServerManager, St...
Manifest   <IP_ADDRESS>    International                       {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMet...
Manifest   <IP_ADDRESS>    iSCSI                               {Get-IscsiTargetPortal, New-IscsiTargetPortal, Remove-Iscs...
Script     <IP_ADDRESS>    ISE                                 {New-IseSnippet, Import-IseSnippet, Get-IseSnippet}
Manifest   <IP_ADDRESS>    Kds                                 {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsC...
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Archive        {Compress-Archive, Expand-Archive}
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Diagnostics    {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Host           {Start-Transcript, Stop-Transcript}
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.LocalAccounts  {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser...
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...
Script     1.0        Microsoft.PowerShell.ODataUtils     Export-ODataEndpointProxy
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Security       {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...}
Manifest   <IP_ADDRESS>    Microsoft.PowerShell.Utility        {Format-List, Format-Custom, Format-Table, Format-Wide...}
Manifest   <IP_ADDRESS>    Microsoft.WSMan.Management          {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredS...
Manifest   1.0        MMAgent                             {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent...
Manifest   <IP_ADDRESS>    MsDtc                               {New-DtcDiagnosticTransaction, Complete-DtcDiagnosticTrans...
Manifest   <IP_ADDRESS>    NetAdapter                          {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-Ne...
Manifest   <IP_ADDRESS>    NetConnection                       {Get-NetConnectionProfile, Set-NetConnectionProfile}
Manifest   <IP_ADDRESS>    NetEventPacketCapture               {New-NetEventSession, Remove-NetEventSession, Get-NetEvent...
Manifest   <IP_ADDRESS>    NetLbfo                             {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTea...
Manifest   <IP_ADDRESS>    NetNat                              {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMa...
Manifest   <IP_ADDRESS>    NetQos                              {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, ...
Manifest   <IP_ADDRESS>    NetSecurity                         {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPse...
Manifest   <IP_ADDRESS>    NetSwitchTeam                       {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTea...
Manifest   <IP_ADDRESS>    NetTCPIP                            {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol...
Manifest   <IP_ADDRESS>    NetworkConnectivityStatus           {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Rese...
Manifest   <IP_ADDRESS>    NetworkSwitchManager                {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEt...
Manifest   <IP_ADDRESS>    NetworkTransition                   {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfig...
Manifest   <IP_ADDRESS>    PcsvDevice                          {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restar...
Binary     <IP_ADDRESS>    PersistentMemory                    {Get-PmemDisk, Get-PmemPhysicalDevice, Get-PmemUnusedRegio...
Manifest   <IP_ADDRESS>    PKI                                 {Add-CertificateEnrollmentPolicyServer, Export-Certificate...
Manifest   <IP_ADDRESS>    PnpDevice                           {Get-PnpDevice, Get-PnpDeviceProperty, Enable-PnpDevice, D...
Manifest   1.1        PrintManagement                     {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-Prin...
Binary     1.0.11     ProcessMitigations                  {Get-ProcessMitigation, Set-ProcessMitigation, ConvertTo-P...
Script     3.0        Provisioning                        {Install-ProvisioningPackage, Export-ProvisioningPackage, ...
Manifest   1.1        PSDesiredStateConfiguration         {Set-DscLocalConfigurationManager, Start-DscConfiguration,...
Script     <IP_ADDRESS>    PSDiagnostics                       {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WS...
Binary     <IP_ADDRESS>    PSScheduledJob                      {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-Jo...
Manifest   <IP_ADDRESS>    PSWorkflow                          {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn}
Manifest   <IP_ADDRESS>    PSWorkflowUtility                   Invoke-AsWorkflow
Manifest   <IP_ADDRESS>    ScheduledTasks                      {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledT...
Manifest   <IP_ADDRESS>    SecureBoot                          {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBoo...
Manifest   <IP_ADDRESS>    SmbShare                            {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbSha...
Manifest   <IP_ADDRESS>    SmbWitness                          {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw...
Manifest   <IP_ADDRESS>    StartLayout                         {Export-StartLayout, Import-StartLayout, Export-StartLayou...
Manifest   <IP_ADDRESS>    Storage                             {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add...
Manifest   <IP_ADDRESS>    TLS                                 {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disa...
Manifest   <IP_ADDRESS>    TroubleshootingPack                 {Get-TroubleshootingPack, Invoke-TroubleshootingPack}
Manifest   <IP_ADDRESS>    TrustedPlatformModule               {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm...}
Binary     2.1.639.0  UEV                                 {Clear-UevConfiguration, Clear-UevAppxPackage, Restore-Uev...
Manifest   <IP_ADDRESS>    VpnClient                           {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnectio...
Manifest   <IP_ADDRESS>    Wdac                                {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn...}
Manifest   <IP_ADDRESS>    WebAdministration                   {Start-WebCommitDelay, Stop-WebCommitDelay, Get-WebConfigu...
Manifest   <IP_ADDRESS>    WindowsDeveloperLicense             {Get-WindowsDeveloperLicense, Unregister-WindowsDeveloperL...
Script     1.0        WindowsErrorReporting               {Enable-WindowsErrorReporting, Disable-WindowsErrorReporti...
Manifest   <IP_ADDRESS>    WindowsSearch                       {Get-WindowsSearchSetting, Set-WindowsSearchSetting}
Manifest   <IP_ADDRESS>    WindowsUpdate                       Get-WindowsUpdateLog
Manifest   <IP_ADDRESS>    WindowsUpdateProvider               {Get-WUAVersion, Get-WULastInstallationDate, Get-WULastSca...
Directory: C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules

ModuleType Version    Name                                ExportedCommands

Manifest   1.0        SQLASCMDLETS                        {Add-RoleMember, Backup-ASDatabase, Invoke-ASCmd, Invoke-P...
Manifest   1.0        SQLPS                               {Backup-SqlDatabase, Add-SqlAvailabilityDatabase, Add-SqlA...
Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands

Script     1.0.1      Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}
Binary     <IP_ADDRESS>    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Binary     <IP_ADDRESS>    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Script     3.4.0      Pester                              {Describe, Context, It, Should...}
Script     <IP_ADDRESS>    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}
Script     1.2        PSReadline                          {Get-PSReadlineKeyHandler, Set-PSReadlineKeyHandler, Remov...
Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ResourceManager\AzureResourceManager

ModuleType Version    Name                                ExportedCommands

Manifest   1.0.4      Azure.Storage                       {Get-AzureStorageBlob, Get-AzureStorageBlobContent, Get-Az...
Manifest   1.0.4      AzureRM.ApiManagement               {Add-AzureRmApiManagementRegion, Get-AzureRmApiManagementS...
Manifest   1.0.4      AzureRM.Automation                  {Get-AzureRmAutomationJobOutputRecord, Import-AzureRmAutom...
Binary     0.9.1      AzureRm.AzureStackAdmin             {Get-AzureRMManagedLocation, New-AzureRMManagedLocation, R...
Manifest   0.9.2      AzureRM.AzureStackStorage           {Add-ACSFarm, Get-ACSEvent, Get-ACSEventQuery, Get-ACSFarm...
Manifest   1.0.4      AzureRM.Backup                      {Backup-AzureRmBackupItem, Enable-AzureRmBackupContainerRe...
Manifest   1.0.4      AzureRM.Batch                       {Remove-AzureRmBatchAccount, Get-AzureRmBatchAccount, Get-...
Manifest   1.2.2      AzureRM.Compute                     {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet...
Manifest   1.0.4      AzureRM.DataFactories               {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get...
Manifest   1.0.4      AzureRM.DataLakeAnalytics           {Remove-AzureRmDataLakeAnalyticsCatalogSecret, Set-AzureRm...
Manifest   1.0.4      AzureRM.DataLakeStore               {Add-AzureRmDataLakeStoreItemContent, Export-AzureRmDataLa...
Manifest   1.0.4      AzureRM.Dns                         {Get-AzureRmDnsRecordSet, Remove-AzureRmDnsRecordSet, Set-...
Manifest   1.0.5      AzureRM.HDInsight                   {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefi...
Manifest   1.0.4      AzureRM.Insights                    {Add-AlertRule, Get-AlertHistory, Get-AlertRule, Remove-Al...
Manifest   1.1.3      AzureRM.KeyVault                    {Get-AzureRmKeyVault, New-AzureRmKeyVault, Remove-AzureRmK...
Manifest   1.0.4      AzureRM.Network                     {Add-AzureRmApplicationGatewayBackendAddressPool, Get-Azur...
Manifest   1.0.4      AzureRM.NotificationHubs            {Get-AzureRmNotificationHubsNamespaceAuthorizationRules, G...
Manifest   1.0.4      AzureRM.OperationalInsights         {Get-AzureRmOperationalInsightsSavedSearch, Get-AzureRmOpe...
Manifest   1.0.4      AzureRM.Profile                     {Enable-AzureRmDataCollection, Disable-AzureRmDataCollecti...
Manifest   1.0.5      AzureRM.RecoveryServices            {Get-AzureRmRecoveryServicesVault, Get-AzureRmRecoveryServ...
Manifest   1.1.2      AzureRM.RedisCache                  {Remove-AzureRmRedisCacheDiagnostics, Set-AzureRmRedisCach...
Manifest   1.0.4      AzureRM.Resources                   {Get-AzureRmADApplication, Get-AzureRmADGroupMember, Get-A...
Manifest   1.1.3      AzureRM.SiteRecovery                {Stop-AzureRmSiteRecoveryJob, Get-AzureRmSiteRecoveryNetwo...
Manifest   1.0.4      AzureRM.Sql                         {Get-AzureRmSqlDatabaseThreatDetectionPolicy, Set-AzureRmS...
Manifest   1.0.4      AzureRM.Storage                     {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, ...
Manifest   1.0.4      AzureRM.StreamAnalytics             {Get-AzureRmStreamAnalyticsFunction, Get-AzureRmStreamAnal...
Manifest   1.0.4      AzureRM.Tags                        {Remove-AzureRmTag, Get-AzureRmTag, New-AzureRmTag}
Manifest   1.0.4      AzureRM.TrafficManager              {Disable-AzureRmTrafficManagerEndpoint, Enable-AzureRmTraf...
Manifest   1.0.4      AzureRM.UsageAggregates             Get-UsageAggregates
Manifest   1.0.4      AzureRM.Websites                    {Get-AzureRmAppServicePlanMetrics, Get-AzureRmWebAppCertif...
Directory: C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement

ModuleType Version    Name                                ExportedCommands

Manifest   1.0.4      Azure                               {Disable-AzureServiceProjectRemoteDesktop, Enable-AzureSer...`

Then again, this is not the place for Windows PowerShell.  Only for PowerShell Core!
If you're experiencing issues with PowerShell Core, then which version you're having issues with.
By the way, did you know you can install SQLServer Module on PowerShell Core?  Give it a try!

@MaximoTrinidad  I give a workaround in uservoice, you can close this issue.

Awesome @fmichaleczek!
Thanks


Fix broken (and not working on github and in the html documentation) @ links in DOCUMENTATION.md

Maybe they used to work, but it seems that this is not the case anymore (at least on github and in the website documentation). There's also a couple of other markdown documents to be fixed in the repo (for example testmmd.md).

Ok. I was just suggesting that because this markdown extension apparently doesn't work on github, and the online doc of mmd suffers from this too.


make sure a match between logits and logits_dtype in evaluation_loop

What does this PR do?

In the trainer.py/evaluation_loop function, logits = self.preprocess_logits_for_metrics(logits, labels) will change the type of logits from tuple to tensor.  But the logits_dtype obtained from get_dtype(logits) is still a list type and does not match the shape of the new logits. this will cause the following error in all_preds = convert_into_dtypes(all_preds, logits_dtype).  So I re-get dtype of logits after logits = self.preprocess_logits_for_metrics(logits, labels) to ensure a match between logits and logits_dtype.

Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@xuwh-intel Ooh interesting! Could you share a command so that I reproduce this issue please? I would like to understand why it doesn't happen in the CI examples.

@xuwh-intel Ooh interesting! Could you share a command so that I reproduce this issue please? I would like to understand why it doesn't happen in the CI examples.

It looks like the model I tested does not set keys_to_ignore_at_inference = ["past_key_values"] in configuration, which caused this error.

@xuwh-intel Is it a model from the Transformers library and that has not been optimized for Gaudi in Optimum Habana?

@xuwh-intel Is it a model from the Transformers library and that has not been optimized for Gaudi in Optimum Habana?

Yes, it's chatglm2.


Updated execvp() error message for command not found.

First of all, thank you for this great timeless tutorial!
Upon entering an unknown command into lsh, the shell would return lsh: No such file or directory. My fix checks for this case and returns the error message lsh: command not found: instead.
I believe when execvp() returns upon not being able to find the shell command's file, it sets global var errno to ENOENT. perror() uses errno to print its error message. Checking for this ENOENT case allows for a more detailed error message. There are other cases where execvp() may return upon error (e.g. doesn't have execute permission), so we keep that case for perror().
I realize that this error message fix falls into between a 'new feature' and a 'bug fix' regarding the contribution guidelines, but I think it's a helpful tweak that provides more informative and zsh-like error handling. Please let me know any thoughts, thanks!

Hello! Thanks for sharing this. It's a really interesting subject area and I wanted to discuss it a bit more. Like you said, this is definitely on the border between a fix and a feature. For a smaller, simple change like this, I'd generally be inclined to accept it, but only if it's totally correct.
Unfortunately, this change isn't quite "technically" right. The reason most shells are able to give you the "command not found" error message is because they searched each directory in your $PATH but could not find an executable file of that name. Whereas here, we are using execvp(), which does that search for us. However, execv() could return ENOENT in other cases too.
And in fact, if you check the manual page execve(2) (which documents error return values for the entire exec family), you'll see under the ERRORS heading that ENOENT can actually be returned in two different cases:

ENOENT The file pathname or a script or ELF interpreter does not exist.

The first case is definitely "command not found". But the second one -- "interpreter does not exist" -- is decidedly different. You're probably familiar with script interpreters (e.g. bash, Python, etc), but even binary programs have interpreters of their own (the dynamic linker). Scripts specify their interpreters in a shebang (e.g. #!/usr/bin/python at the top of a file), and ELF binary programs use a field called PT_INTERP to request a specific interpreter. ((As an aside, ELF program loading is fascinating and well worth researching.))
So the second case for an ENOENT error return value would be when an executable file is found, but its interpreter itself is not available. For example, here's a test of how Bash would handle these two cases (you should totally try with zsh, I haven't yet):
$ not-found
bash: not-found: command not found...
$ echo '#!/foo/bar' > interpreter-not-found
$ chmod u+x interpreter-not-found
$ PATH=. interpreter-not-found
bash: ./interpreter-not-found: cannot execute: required file not found

Bash can correctly tell us that it cannot execute because the required interpreter is not found. With lsh as it is, you get:
$ PATH=. ./lsh
> not-found
lsh: No such file or directory
> interpreter-not-found
lsh: No such file or directory

Of course lsh is simply printing the perror() error message, which is generic. Finally, with your change:
$ PATH=. ./lsh
> not-found
lsh: command not found: not-found
> interpreter-not-found
lsh: command not found: interpreter-not-found

Really, it's impossible to differentiate between these two cases when a shell uses any of the 'p' variants of exec - you can't know whether the command itself was not found, or if the interpreter was missing, unless you're doing the path search yourself. The way lsh is right now, it's giving confusing output for sure. But it is using the standard error message for ENOENT provided by perror. Changing the error message to command not found isn't correct, because in the second case, the command is found, it simply cannot be executed.
So for that reason, I probably won't accept this PR. The best way to give "command not found" feedback is to search the $PATH, and that would be a major new feature. And to be clear, that would be a cool extension to this shell, which I hope you try out! :D Again, thanks for sharing this!


ARM64: Install clang on build-installers flavor

When adding ARM64 support to this Action, I overlooked something regarding the build-installers flavor:

In addition to building mingw-w64-git, this flavor allows bundling Git for Windows' artifacts such as the installer and the Portable Git.

This is now hurting me when setting up a CI pipeline, as clang/llvm are missing when using the build-installers flavor and trying to build mingw-w64-git. This PR adds the logic to also install these dependencies when using the build-installers flavor.

Available as v1.6.1 (or simply as v1).

That was quick! Thank you! 😊


Lambda Tracing can't be Disabled in any (i think) construct involving lambda

export class SqsXRayStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    new LambdaToSqsToLambda(this, 'LambdaToSqsToLambdaPattern', {
      producerLambdaFunctionProps: {
          runtime: lambda.Runtime.NODEJS_12_X,
          handler: 'index.handler',
          code: lambda.Code.fromAsset(`${__dirname}/lambda/producer-function`)
      },
      consumerLambdaFunctionProps: {
        runtime: lambda.Runtime.NODEJS_12_X,
        handler: 'index.handler',
        code: lambda.Code.fromAsset(`${__dirname}/lambda/consumer-function`),
+        tracing: lambda.Tracing.DISABLED
      }
  });
  }
}

Result :
WARN AWS_SOLUTIONS_CONSTRUCTS_WARNING:  An override has been provided for the property: tracing. Default value: 'Active'. You provided: 'Disabled'.
Cannot read property 'cfnOptions' of undefined

Reproduction Steps
deploy a stack like this one:
import * as cdk from '@aws-cdk/core';
import * as lambda from '@aws-cdk/aws-lambda';
import { LambdaToSqsToLambda } from "@aws-solutions-constructs/aws-lambda-sqs-lambda";

export class SqsXRayStack extends cdk.Stack {
  constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) {
    super(scope, id, props);

    new LambdaToSqsToLambda(this, 'LambdaToSqsToLambdaPattern', {
      producerLambdaFunctionProps: {
          runtime: lambda.Runtime.NODEJS_12_X,
          handler: 'index.handler',
          code: lambda.Code.fromAsset(`${__dirname}/lambda/producer-function`)
      },
      consumerLambdaFunctionProps: {
        runtime: lambda.Runtime.NODEJS_12_X,
        handler: 'index.handler',
        code: lambda.Code.fromAsset(`${__dirname}/lambda/consumer-function`),
        tracing: lambda.Tracing.DISABLED
      }
  });
  }
}

Error Log
> cdk "synth" "--profile" "dev"

WARN AWS_SOLUTIONS_CONSTRUCTS_WARNING:  An override has been provided for the property: tracing. Default value: 'Active'. You provided: 'Disabled'.
Cannot read property 'cfnOptions' of undefined

Environment

CDK CLI Version      :
**CDK Framework Version:1.69.0
AWS Solutions Constructs Version     :
OS                   :
Language             :

Other
probably linked to https://github.com/awslabs/aws-solutions-constructs/blob/6af666f367c90a665534907bac9b4604bc134bdd/source/patterns/%40aws-solutions-constructs/core/lib/lambda-helper.ts#L97

This is :bug: Bug Report

The fix for this issue has been pushed out in the latest release v1.72.0


(maint) Update server_list tests for terminology changes in main

Update the specs in main to match the new behavior.

This fixes PRs against main as the previous merge up introduced test failures, but didn't result in a semantic conflict.


Fixed issue: Error in Registration #2

It's been nice to start contributing code to open source projects. Open to feedback if any.

Registration is working

Added general URL error checks + option to attach file (only images)

User Cards and Account Page update with new info

@ArcaneWizard  Thanks a lot, dude 🔥 you did a marvelous job.


Bundle not whitelisted errors

When using APM on AEM 6.3 the following error appears in logs:
org.apache.sling.api.resource.LoginException: Bundle com.cognifide.cq.cqsm is NOT whitelisted
Since the 6.3 version of AEM all bundles that use administrative resource resolver have to be whitelisted in Apache Sling Login Admin Whitelist OSGi configuration.
There are two possible ways to fix this issue.  One is to whitelist the APM bundle by providing the following OSGi configuration:
org.apache.sling.jcr.base.internal.LoginAdminWhitelist.fragment
The other one is to replace the administrative resource resolver with service resource resolver. But first it should to be determined if this solution is possible.

not only APM code is affected / cq-actions-core
24.07.2017 14:15:12.194 *ERROR* [sling-default-47-com.cognifide.actions.core.persist.Resender.10693] com.adobe.granite.repository.impl.SlingRepositoryImpl Bundle com.cognifide.cq.actions.core is NOT whitelisted to use SlingRepository.loginAdministrative

what is more, even if I whitelist it, I see another error after clicking "Run on publish"

Fixed in version 4.0.0.


Enable environment dict.setdefault

setdefault() now works on SubstitutionEnvironment and OverrideEnvironment.  Unittests added for that.
OverrideEnvironment Dictionary() method was not accepting the one-arg and multi-arg forms that are documented for the regular env.Dictionary().  Not detected because the testcase also didn't test that; updated.  Testcase was misnamed, duplicated test_items - not sure if that mattered or not, but might as well get it consistent.
Tests did not exist for OverrideEnvironment keys() and values() methods - tests had only been added for SubstitutionEnvironment.
Signed-off-by: Mats Wichmann<EMAIL_ADDRESS>Contributor Checklist:

[X] I have created a new test or updated the unit tests to cover the new/changed functionality.
[X] I have updated CHANGES.txt (and read the README.rst)
[ ] I have updated the appropriate documentation

o.k. looks good merging.


Changing learning rate of the optimizer in eager mode

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 16.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 1.11
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory: K80

Describe the current behavior
When using tf.keras with eager execution enabled, I don't have the control over learning rate of the optimizer i.e. I am unable to change the learning rate on the fly. If you are using pure keras with no eager mode, then you can change the learning rate of the keras optimizer in the following way
K.set_value(self.mode.optimizer.lr, value)
But as the keras optimizers aren't supported in eager mode, I don't have any control over the learning rate of my optimizer.
Describe the expected behavior
The expected behavior is that I should be able to change the learning rate of my optimizer after a batch ends or after an epoch ends

Here's a quick example of setting the LR using a callable, w/ the Gradient Tape way I mentioned on Twitter: https://colab.research.google.com/drive/10OIcUdwRiHbQK4p32MEABG_G4_D44YKH
This probably isn't quite what you meant -- could you add a code snippet showing the behavior you'd like?

Yes, that can be another way to tweak the LR within batches/epochs. If I don't use tf.keras and eager, and switch to pure Keras instead with tf backend., I can do this in a much cleaner way. Take a look at this: https://colab.research.google.com/drive/1I-vvsD4zhBUxcMh6LEadqUOF9sVgHy2T#scrollTo=t9ZHnrWefHuq

Yes and No. But Josh and Francois have made it clear that the optimizers are going to be merged in TF 2.0 very soon.

@AakashKumarNain  - Do you want to keep this open until TF 2.0 ? My suggestion is to open a new issue(if it still exists after TF 2.0) with the latest data.


[Request] Add documentation on specifics used to build

My issue
I'm having trouble recreating the provided mobile releases.
With this library, the run time I get is around 2.5 seconds with my model.
When I try to build my own mobile library, the run time is around 26-30 seconds.
I'm trying to get faster run time when I build it, but I'm not sure how.
Building
I'm using version 1.10.0 of ONNXRunTime.
This is an example command that I run to build:
./build.sh --android --android_sdk_path ~/Android/Sdk --android_ndk_path ~/Android/Sdk/ndk/23.1.7779620 --android_abi arm64-v8a --android_api 27 --skip_tests --build_java --minimal_build extended
And the file that I use is:
onnxruntime/build/Android/Debug/java/build/android/outputs/aar/onnxruntime-release.aar
Parameters I've modified to try and get faster run times:

minimal_build parameter

use_nnapi

Is there any place I can look to see how these libraries are built?
Any help would be appreciated!

Have you tried build with --config Release? The default build config is Debug

Thank you for the help! I started using --config Release, I didn't know it existed.
I realize now that I made a mistake when checking the run time of the library.  I was accidentally using a different input.
After doing a fair comparison, I seem to be getting a similar running time.  So all is good!


Perception only training

I have reviewed the code to some degree, but I can't seem to find how to train the perception part independently. There is some implementations in the code for data collection etc.., but there doesn't seem to be loop closing when it comes to training perception or defining the perception task.
e.g. not implemented
https://github.com/autonomousvision/plant/blob/main/training/dataloader.py#L46
no used
https://github.com/autonomousvision/plant/blob/main/training/Perception/config.py#L79
Maybe the code is incomplete? Please let me know. Thanks in advance.

Hi,
thanks for your interest. Yes we did not release the training code for the perception part.
We used this repository as starting point for the training: https://github.com/autonomousvision/transfuser


added python notebook

for the survey BLOG post

Thanks, @amwink !
Just to confirm : I think this is all content that's currently inside the repository. Is the main change you're proposing adding a .ipynb rendering of the .md file ? If so, this is what the jupytext header on this file is for -- it automagically (😉 ) opens the file as a jupyter notebook in environments with jupyter installed, like My Binder.
If there's something else that I'm not seeing in reviewing these files, though, please let me know !

So the markdown file is 'jupitext'?

Yes, exactly ! Jupytext is useful generally for working with notebook files, especially under version control. I've set up the markdown file to be Myst Markdown, which  has the added benefit that Binder can natively understand it. So, the screenshot I had shared of the running notebook was on Binder, using the repo as-is !

Understood. The notebook runs al the scripts from start (reading the csv) to finish (the p-values). If all those strips are in the .md then the ipynb is redundant.


Have you considered adding a New Issue option?

Would be helpful to not leave the editor

There is a '+' toolbar item next to the view title when the mouse cursor is in the view. That opens a new issue in the browser, so maybe that's not what you are looking for?

Only what's in the README in this repository. The extension uses the Git Credential Manager to figure out for which user to query for issues. You can also set that manually with the "github.username" setting for cases like yours.

Ok I tried finding where you want me to put this setting ... I tried with a git command but then it looks like there may be an elusive settings.json file that should be stored somewhere ... but no docs ... and I can't find in VSCode if there is a shortcut for configuring the extension
Halps?

Aha ... I believe you may be referring to the built in VSCode settings ... of which overriding user settings is the way I tried
{
"github.username": "caboosesw",
"github.repositories": "moira"
}
However ... because it is a private repository ... I suspect this won't get through? I may need to install the Git Credentials Mgr anyhow

Yes, that's currently a limitation.

If I get the Git Credentials Mgr going will I be able to access a private repository?

Yes, that would allow you to see all the repositories you have access to.


Make rls work.

rust-analysis chokes with Option<Box<Expr>> style fields.
Rls only shows a warning on the crate with that fields, but ICEs on
dependent crates.
This can be workarounded by using Option<(Box<Expr>)>.
Also, using multiple glob imports is bad for rls.
So this commit deglobs them.

bors r+


Update Cargo.lock

Update dependencies in Cargo.lock
Close #54

Looks like this also needs a bump of the Minimum supported rust version in .github/workflows/CICD.yml

see #56


Odd pysal.Moran() randomisation VI

There appear to be issues in pysal.Moran() in VI_rand and derived values. The final - (EI)^2 appears to be missing (present in VI_norm), but in addition the kurtosis term is tiny. The VI is hard to reconstruct in R, but VI_rand in pysal.Moran() is completely different from all others I've seen (CrimeStat, multiple R implementations). Grateful for insights.

@rsbivand thank you for reporting this. It is indeed a bug as the formula for V(I)_rand was implemented incorrectly. We are correcting and adding test coverage.

Thanks! Reprex:
library(reticulate)
pysal <- import("pysal")
np <- import("numpy")
pth <- pysal$examples$get_path("stl_hom.txt")
f <- pysal$open(pth)
col <- f$by_col("HR8893")
y <- np$array(col)
w <- pysal$open(pysal$examples$get_path("stl.gal"))$read()
mi <- pysal$Moran(y, w, two_tailed=FALSE)
df <- read.csv(pth, skip=1)
library(spdep)
nb <- read.gal(pysal$examples$get_path("stl.gal"))
miR <- moran.test(df$HR8893, nb2listw(nb, style="W"))
all.equal(mi$I, unname(miR$estimate[1]))
all.equal(mi$EI, unname(miR$estimate[2]))
all.equal(mi$VI_rand, unname(miR$estimate[3]), scale=1)
all.equal(mi$z_rand, unname(miR$statistic), scale=1)
miN <- moran.test(df$HR8893, nb2listw(nb, style="W"), randomisation=FALSE)
all.equal(mi$VI_norm, unname(miN$estimate[3]), scale=1)
all.equal(mi$z_norm, unname(miN$statistic), scale=1)

Please let me know when it reaches master, or say how to access the patch - I can see it, but can't yet pull.

Thanks! Looks good - the write-up of the comparison will give the > 1.14.1 output for Moran & Geary, and note in text that <= 1.14.1 are off for randonisation.

Confirmed both global Moran VI_rand and Geary VC_rand now equal within machine precision of R/spdep implementation, thanks!


Fix code page path

Hey Danny, nice work on Gozer!
Here is a fix for a few incorrect paths to the /code page.

Thanks a ton @martinvd! I would have not caught that for years otherwise haha.


Make remap_the_kernel unsafe

It must be called only once.

Actually, remap_the_kernel can be safely called multiple times. It just switches to a new page table each time. However, the unmapping of the guard page fails at the second time and causes a panic. But panics are no unsafety.


Use Lua script to speed up path resolving in FileSystem.lookup

Fix #199 .
Per the discussion in #199 , we'll introduce this optimization by first adding a new method Resolve to the Meta interface.
If there's no way to implement a high performance Resolve, a Meta implementation can just return syscall.ENOTSUP. In this case, the current implementation will be used which only depends on Meta.Lookup being implemented.
With redisMeta, we can implement this with the help of Lua scripting do the resolving in one Redis request.

Since the Lua interpreter embedded in Redis is of version 5.1, we can't use functions like string.unpack.
But we can copy the implementation of unpack from other projects, for example: https://github.com/iryont/lua-struct/blob/master/src/struct.lua

Since the Lua interpreter embedded in Redis is of version 5.1, we can't use functions like string.unpack.
But we can copy the implementation of unpack from other projects, for example: https://github.com/iryont/lua-struct/blob/master/src/struct.lua

struct.unpack is available in Lua 5.1, right?


Should remove the JqueryAsset registration from [yii\web\View::registerJs()]  ?

What steps will reproduce the problem?
If I have to use JqueryAsset implemented by myself for a specified version , the yii\web\View::registerJs() method will register the built-in yii\web\JqueryAsset automatically !  Then I have two jquery.js in one Page ~~~~
ps:

I have to use Jquery for a specified version , because  some jquery plugins required.
I always want to use yii\web\View::registerJs() as well.
Now, I HAVE TO configure the assetsManager to solve my problem , it doesn't look smart.

What is the expected result?
Just remove it !
Do not use JqueryAsset in yii\web\View::registerJs() to deal with the yii\web\View::POS_READY things.
Alternatively , just use NATIVE javascript instead.
What do you get instead?
NATIVE javascript
Additional info
Also consider to remove  [yii\web\Jquery] from yii2 ?

Q
A

Yii version
2.0.9

PHP version
PHP 7.0

Operating system
OS X

Use Dependecy Injection Container and override yii\web\JqueryAsset with your own.
Yii::$container->set('yii\web\JqueryAsset', 'you\own\JqueryAsset);`
See Dependeny injection container guide page to know more.

Or even easier - override bundles array
http://www.yiiframework.com/doc-2.0/yii-web-assetmanager.html

I know the two ways you said above,  but what I want to say is not that.
For example , If I use View::registerJs() , but I don't want to use Jquery in my page.  Maybe I can't use it because of my BOSS ,  my Leader etc.
This is what I want to express.
Why hard-coding the Jquery in the View class?

@SilverFire

JqueryAsset is loaded only in case you are using View::POS_READY or View::POS_LOAD position for your JavaScript files. It is loaded because these positions require JQuery functions to be actually applied.
If you do not want JQuery o be involved in the process you should use other script positions.

Thank you

In general jQuery $(document).ready() statement can be replaced by pure JavaScript analog:
document.addEventListener("DOMContentLoaded", function(event) {
  //do work
});


feat: add support for byte and short in JSONStreamWriter

Now customers can provide JSON input in byte or short format for a INT64 table column.

Thanks for fixing this, please let the customer know about the release containing this fix!


Error: spawn C:/Program Files/Git/cmd/git.exe ENOENT

Hi there,
Really appreaciate if this will work.
I saw an issue very similar to this closed last year, but it is still happening to my setup.
I have a self-hosted runner, running on windows-latest using the following steps:

 steps:
    - uses: actions/checkout@v4
      with:
       fetch-depth: '0'
       run: |
        npm install
        npm test
      name: Install node
    - uses: actions/setup-node@v4
      with:
         node-version: 18
    - name: Setup Git for Windows' minimal SDK
      uses: git-for-windows/setup-git-for-windows-sdk@v1
      with:
        flavor: full
    - name: Build
      shell: bash
      run: make

the output for node install is:

`Environment details
  node: v18.18.2
  npm: 9.8.1
  yarn:
  ::endgroup::`

but the  Setup Git for Windows' minimal SDK step fails with the following:

`##[debug]Evaluating condition for step: 'Setup Git for Windows' minimal SDK'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Setup Git for Windows' minimal SDK
##[debug]Register post job cleanup for action: git-for-windows/setup-git-for-windows-sdk@v1
##[debug]Loading inputs
##[debug]Evaluating: github.token
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'token'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run git-for-windows/setup-git-for-windows-sdk@v1
  with:
    flavor: full
    architecture: x86_64
    msys: false
    cleanup: false
    verbose: [2](https://github.com/MYREPOs/actions/runs/6874340462/job/18695842017#step:4:2)50
    cache: auto
    github-token: ***
  env:
    ENVIRONMENT: DV
    APPLICATION: DBConnector
Got commit 5df5f255fb75fc80[4](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:4)9009cd4cf[5](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:5)92b74dfb4ffc7 for git-sdk-[6](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:6)4
Found a fast, temporary disk on this VM (D:/). Will use that.
Downloading git-sdk-64-full
::group::Cloning git-sdk-64
Cloning git-sdk-64
  Cloning https://github.com/git-for-windows/git-sdk-64 to .tmp
  Error: spawn C:/Program Files/Git/cmd/git.exe ENOENT
      at Process.ChildProcess._handle.onexit (node:internal/child_process:2[8](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:8)6:1[9](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:9))
      at onErrorNT (node:internal/child_process:484:[16](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:16))
      at processTicksAndRejections (node:internal/process/task_queues:82:[21](https://github.com/MYREPO/actions/runs/6874340462/job/18695842017#step:4:21))
  ##[debug]Node Action run completed with exit code 1
  ##[debug]Save intra-action state isPost = true
  ##[debug]Finishing: Setup Git for Windows' minimal SDK`

Any advice would be really appreciated, thank you!

Error: spawn C:/Program Files/Git/cmd/git.exe ENOENT

This means that Git for Windows is not installed.
However, obviously the build agent needs to come with a copy of Git. The Action could look for that as a fall-back. You will need to log into your self-hosted runner and see whether there is any obvious path (probably relative to runner.tool_cache) that can be used.
Once you have that path, you will have to change this code: https://github.com/git-for-windows/setup-git-for-windows-sdk/blob/44e6ddb49b3d0702122b5caa42530aa71828fd1a/src/git.ts#L7-L15
As you can see, there is already handling for the externals/git directory, if it exists. Obviously it does not exist in your setup, so you will have to figure out a different location where git.exe is present. Without git.exe, this Action cannot work.


Add server roles info embed

Added suggested server roles info with descriptions.
Added a hyperlink to queue embed like we discussed.

Please review all the descriptions and leave a comment on the ones that need to be improved. Also see the comments in code.

I'm dumb, please ignore me


Expose not yet synced balance

Hi. Here is an idea how to handle issue with the balance not being up to date when a payment received.
I propose to expose an additional parameter not_synced_balance_msat such that different clients can act as they need (ignore or add the value to the balance). I do not feel that changing node_info() is the right way to do that, because the method has it is own guarantees.
Closes #845.

@andrei-21 the invoice paid event is always received before the balance changes on greenlight (and on clightning).
This is why I feel comfortable to update the node info and not introducing another API method.

That's right andrei, I see your point now. Thinking about it perhaps inbound liquidity lagging a few seconds behind is not really an issue.
Due to the nature of a remote node thereanyway  could be cases where we are not updated in realtime andperhaps it is a good trade-off for keeping it simple and intuitive. What do you think?

I rather look at this not as a user preference matter but be use case driven. The whole problem started because of inconsistency (payment received but balance not updated) so as far as I see it updating the balance makes it more accurate and more consistent. The fact we update the inbound liquidity a few seconds later won't break anything in the product and in fact also after sync we can't guarantee that (since sync is not atomic).
And since we can't (and don't) guarantee atomicity I feel comfortable with  updating the balance only and eliminate the need to explain  what "unsynced balance" stands for.


Filtering jobs int he recruiters' view does not work at all

All jobs are always shown, no matter what text is searched or what buttons is pressed.

This was a mistake on my side. Worked on the wrong branch ... :facepalm:


when paste something, got a new empty line

Issue Type: Bug
const a = 'a';
const c = 'c';

when i paste a word like 'b' to replace 'a', will got a new line ;
const b = 'a';
// new line here,under uper line
const c = 'c';

VS Code version: Code 1.23.0 (7c7da59c2333a1306c41e6e7b68d7f0caa7b3d45, 2018-05-03T15:23:14.634Z)
OS version: Darwin x64 17.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 4

Memory (System)
8.00GB (0.03GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_4535379

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

beautify
Hoo
1.3.0

moonscript
Lyn
1.1.9

vscode-language-pack-zh-hans
MS-
1.23.1

material-icon-theme
PKi
3.3.0

vscode-color
ans
0.4.5

snapshot-tools
asv
0.0.7

simple-react-snippets
bur
1.1.1

npm-intellisense
chr
1.3.0

vscode-eslint
dba
1.4.8

es7-react-js-snippets
dsz
1.5.2

tslint
eg2
1.0.28

vscode-npm-script
eg2
0.3.4

npm-dependency-links
her
1.0.0

vscode-npm-dependency
how
1.2.0

githd
hui
1.1.3

sublime-keybindings
ms-
4.0.0

debugger-for-chrome
msj
4.3.0

vscode-jsp
pth
0.0.2

rpa-eslint-snippets
rav
0.0.2

gitblame
wad
2.4.2

(1 theme extensions excluded)

Hi, had the same issue regarding empty lines being inserted when pasting some code. It depended on different file types (i.e. in *.less files there was no issue - in *.ts files or *.json files the issue was present) which shows that it has something to do with code agnostic formatting rules.
However for me, this has been fixed by installing the update to v. 1.24.0.

yeah, update to v. 1.24.0 can fix this, thks @TobiasBreuer

Close this issue for now as it's fixed since 1.24 mentioned above. We can reopen it if anyone runs into it again. Thanks all for your feedback.


xcaddy master build failing with caddy-auth-jwt

This may not be of much interest here, but I thought I'd share in case someone knows.
This works okay: $ xcaddy build --with github.com/greenpau/caddy-auth-jwt
This works okay: $ xcaddy build master
This fails: $ xcaddy build --with github.com/greenpau/caddy-auth-jwt master
with:
Writing main module: /tmp/buildenv_2020-07-28-1502.465268976/main.go
Initializing Go module
exec (timeout=10s): /usr/local/go/bin/go mod init caddy
go: creating new go.mod: module caddy
Pinning versions
exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2@master
go: github.com/caddyserver/caddy/v2 master => v2.1.2-0.20200720231738-2bc30bb780f3
exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/greenpau/caddy-auth-jwt
go: github.com/greenpau/caddy-auth-jwt upgrade => v1.0.4
Build environment ready
Building Caddy
exec (timeout=0s): /usr/local/go/bin/go build -o /home/c/caddy-auth-jwt/caddy -ldflags -w -s -trimpath
# github.com/smallstep/certificates/authority/provisioner
/home/c/go/pkg/mod/github.com/smallstep/certificates@v0.15.0-rc.1.0.20200506212953-e855707dc274/authority/provisioner/jwk.go:155:24:
 **assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values**
/home/c/go/pkg/mod/github.com/smallstep/certificates@v0.15.0-rc.1.0.20200506212953-e855707dc274/authority/provisioner/x5c.go:197:24:
 **assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values**
Cleaning up temporary folder: /tmp/buildenv_2020-07-28-1502.465268976
exit status 2

The issue is clearly the: assignment mismatch: 3 variables but x509util.SplitSANs returns 4 values
From my exploring, it looks like an issue between the two repos:
https://github.com/smallstep/certificates
and
https://github.com/smallstep/cli
That's as far as I have got. I will share this also at smallstep, maybe they will have some insight.

go: github.com/caddyserver/caddy/v2 master => v2.1.2-0.20200720231738-2bc30bb780f3

@cameronelliott , what does v2.1.2 mean in this context? I don't see this in the list of tags: https://github.com/caddyserver/caddy/tags
Also, I went to https://caddyserver.com/download and selected caddy-auth-jwt and it compiled no issues.
I do not recognize these x509util ... perhaps the error comes from caddyserver itself.

@greenpau Thank you for looking at this.

@cameronelliott , what does v2.1.2 mean in this context? I don't see this in the list of tags:

This is somehow a tag against the current master, the last tag is 2.1.1, which is 28 days old.
I am trying to get changes made much more recent to the caddy master. I presume 2.1.2 is a tag on the git master repo somehow, rather than a github published tag.
I suppose my key question, would be does this work for you:
From an empty dir:
$ xcaddy build master --with github.com/greenpau/caddy-auth-jwt
I suspect it will fail.
Here is the interesting part, this should succeed:
$ xcaddy build master
So, the master builds without caddy-auth-jwt, but will not build when caddy-auth-jwt is added.
This doesn't implicate caddy-auth-jwt, but it is where I am stuck.
By the way! Oh! I love caddy-auth-jwt!!! Thank you for making it! A very nice piece of work!
x509util is part of github.com/smallstep/cli, and is invoked by github.com/smallstep/certificates
I think what is happening, is somehow adding by adding caddy-auth-jwt to the xcaddy build, the
versions of the two smallstep packages is being affected and causing an issue.
But, I am not sure, and I have limited go modules experience.
Cameron

xcaddy build master

@cameronelliott , you are correct. It fails to build against the master. However, building against the master is not the way to go. It could be WIP by the caddyserver committers. Specifically ACME stuff.
 Oh! I love caddy-auth-jwt!!! Thank you for making it! A very nice piece of work!

@cameronelliott , thank you! @njones is doing great work too!

Well, I was trying to run https with using localhost and Chrome, but per Matt Holt, a recent fix may be necessary to get that to work:
matt comment
But, I found a work around, so I think I am fine to just wait until 2.1.2 gets tagged and available through the natural process, at which point I would guess everything would just work with an xcaddy build
Thanks again, for the response, and the project!


Housing requests

Subject: Housing requests
Description:
Someone asked to stay with my few weeks ago.
I've just seen this request recently and wanted to say that I'm sorry and reject it, as it's not relevant anymore.
When trying to do so, it tells me that the request was in the past, so I cannot reject/approve/write.
Results:
I should still be able to write back.
The request should be automatically rejected if the requested period passed already.
Backend version: develop-c85af215
Frontend version: develop-c85af215
User Agent: Mozilla/5.0 (Linux; Android 11; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Page: https://app.couchers.org/messages/request/412
User: ben (37)

Dupe of  #1878