Re-organise Docker support

This starts with KitL@217c6d972178de7da77fe344859a4da192a9a556 (from @KitL's PR #90) and then implements most of the feedback on #88 from @gizmoguy, @rsanger, @KitL, @vladimir-mencl-eresearch, and fixes a few other problems I noticed:

Updates Dockerfiles: docker build now copies the code and runs a local pip install for faucet.
As a result of the above, I dropped the dockerdev make target and nuked Dockerfile.dev.
This keeps the Dockerfiles in docker/, meaning the build command must be run in the root and specify -f docker/Dockerfile (or similar).
Implements a handful of fixes related to @KitL updating of the log and config paths.
Adds and removes some build dependencies in the Dockerfiles.
Updates the documentation and fixes some spelling errors.

Looks perfect to me, just tested out the images. Thanks for all your hard work on this.

@simeonmiteff Thanks for the hard work.
Unfortunately this commit breaks our autobuild system. I'll work on a fix for this and put it in a new PR soon(ish).
Brad


Use 0 as CFE_SB_INVALID_MSG_ID

Is your feature request related to a problem? Please describe.
Currently the value for an "invalid" MSG ID is -1, as defined here:
https://github.com/nasa/cFE/blob/e5d4ed9a26ce3c991796494bc546341d5036b970/modules/core_api/fsw/inc/cfe_sb_api_typedefs.h#L86
The pattern used in other modules (which is preferred) is to use 0 as the invalid value, for several reasons:

Local variables/structures which are explicitly memset to 0 before use (common/recommended practice) will get automatically set to the INVALID value
Global data structures in BSS section get automatically memset to 0 by the loader
Uninitialized members of a partially initialized data structure will be automatically memset to 0

So, its much safer to embrace 0 as the reserved/invalid/placeholder value, due to all the different ways memory is cleared to 0 both implicitly and explicitly.
Describe the solution you'd like
Change the definition of CFE_SB_INVALID_MSG_ID to be 0, rather than -1.
Additional context
Standard headers (historical/v1) are safe because any valid MsgId always has the "secondary header" flag set (bit 11).  So any valid MsgId is already guaranteed to be nonzero.  Should be trivial to change in this config.
Will require a check/confirmation of the Extended headers (v2) configuration, to ensure that the MsgId value 0 does not correlate to a valid address.  Since one assumes that 0xFFFFFFFF (-1) already does not correlate to a valid address, it may be as simple as just flipping the bits or adding 1, if that's an issue.
Note that most other resource types (AppId, TaskId, OSAL IDs, MemHandle, etc) already use 0 as the invalid/reserved value for the same reason.  MsgId and TableId are still outliers that do not do this.  For consistency and reliability reasons they should both be updated.  (TableId can be fixed under a separate ticket, possibly as part of a more complete refactor of TBL services)
Requester Info
Joseph Hickey, Vantage Systems, Inc.

Quick check of the default "v2" msgid implementation, shows that all 16 bits are used, and the secondary header flag is not one of them:
 * Message Id:
 *   7 bits from the primary header APID (0x7F of 0x7FF)
 *   1 bit for the command/telemetry flag
 *   0 bits from the Playback flag
 *   8 bits from the secondary header APID qualifier (Subsystem) (0xFF of 0x01FF)
 *   0 bits from the secondary header APID qualifier as the System
 *   = 16 bits total
 *
 *              Byte 1              Byte 0
 *        7 6 5 4 3 2 1 0     7      6 5 4 3 2 1 0
 *       +-+-+-+-+-+-+-+-+|--------|+-+-+-+-+-+-+-+
 *       | APID Qualifier |C/T flg | Pri Hdr APID |
 *       +-+-+-+-+-+-+-+-+|--------|+-+-+-+-+-+-+-+

So in short, there is no protection against a valid "0" here, but neither is there protection against a valid "0xFFFF" here either.  So it wouldn't be much different to use 0 rather than -1 as the reserved value, there would still be one MsgId value that the system designer/integrator must avoid.  In that sense, its probably easier to document avoiding 0 than 0xFFFF.

but neither is there protection against a valid "0xFFFF" here either.

But 0xFFFFFFFF is the invalid MsgID value currently, not 0xFFFF. V2 can never possibly return 0xFFFFFFFF so I don't really follow the argument here.  The problem is the MsgID parts in a header can be all zero in some cases based on the way it's currently designed... As you mention there are other parts that can't be zero, but MsgID isn't one of them.  Even for V1, a 0 isn't technically invalid, it just means there isn't a secondary header (still a perfectly valid CCSDS message).  In fact a completely zero header (w/ 1 byte of data... can also be zero) is still a valid CCSDS message (although as a "continuation segment" it's fairly unlikely).
So we certainly could just say "don't use 0", it's not invalid from a CCSDS point of view for the currently defined MsgID interpretations.  I'm not against the idea of making 0 invalid, just need to be clear as to the relation to CCSDS (none of our current implementations would actually make 0 MsgID "invalid" from a CCSDS perspective).

It certainly does make clearing the message map and routing tables easier...  But clearing a CCSDS primary header doesn't really make it "invalid" from a CCSDS perspective.  Not that we can't say it's invalid for use with cFS.  If only they would have used Packet Version Number 1...

We may run into some interoperability issues, since some designs may implement a "broadcast" sort of concept, for which 0 is a common choice.  Not w/ cFS systems, but possibly others.  They'd likely not have the same MsgID concept, but the header bits that correspond to their concept of a broadcast may line up with whatever MsgID implementation is used in cFS.  Just a risk of arbitrarily saying a certain value in a header is "invalid".

Yeah I am porting/merging code across multiple different branches, and turns out I was looking at a branch where MsgId was still defined as 16 bits.
With a 32-bit MsgId this is much easier, just set some fixed bit(s) in the upper 32 to ensure that the value is always nonzero for real IDs.  They can be simply masked out in the SBR table lookup.


Streams: warning messaging assumes a Response was cloned

Original issue: https://github.com/cloudflare/workers-sdk/issues/1582
It looks like the current warning is always assuming it was a Response object that was cloned when the same message is thrown when Request objects are cloned needlessly.
https://github.com/cloudflare/workerd/blob/ed4c67df1b231270410a72cb0161c203e55b0bb6/src/workerd/api/streams/internal.c%2B%2B#L291-L298

An issue from Wrangler where a user was confused by the messaging: https://github.com/cloudflare/workers-sdk/issues/3259


about local node contract error

why the local node “CORE_SYMBOL” error
I write this code in my contract：
print("system-symbol:",CORE_SYMBOL,";bet-symbol:",bet.symbol);
result like this：
{"console":"system-symbol:1398362884;bet-symbol:0,SYS"}
so this assert is always false，and out error：
eosio_assert(bet.symbol == CORE_SYMBOL,"only core token allowed");

@brianjohnson5972 Thanks very much,but the cdt issues was closed,i cant see it now.
I try to equals the bet.symbol.value,but its not right and console output like this

{"console":"system-symbol:1398362884;bet-symbol:1398362880"}

also i use eosiocpp to compile now


fix(10): add code tags

Otherwise, comm_semigroup looks like comm with a subscript semigroup.

merged by 3e0b684


Implement Slice, Head and Tail Operation in both centralize and distr…

…ibuted environment
Signed-off-by: Arup Sarker<EMAIL_ADDRESS>

@arupcsedu can you reformat the code with Google style with 100 characters per line? VS Code should do this automatically once you set the style

Sure I will.
On Wed, 3 Aug, 2022 at 5:04 PM, niranda perera @.***>
wrote:

@arupcsedu https://github.com/arupcsedu can you reformat the code with
Google style with 100 characters per line? VS Code should do this
automatically once you set the style
—
Reply to this email directly, view it on GitHub
https://github.com/cylondata/cylon/pull/592#issuecomment-1204481770, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOGXWTFU4AI6K2RN4FIOUDVXLNG5ANCNFSM5Z2PWEKA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I set it with VSCode. But it formats the code to display in the editor. No
actual change in the source file.
On Wed, Aug 3, 2022 at 5:05 PM Arup Sarker @.***> wrote:

Sure I will.
On Wed, 3 Aug, 2022 at 5:04 PM, niranda perera @.***>
wrote:

@arupcsedu https://github.com/arupcsedu can you reformat the code with
Google style with 100 characters per line? VS Code should do this
automatically once you set the style
—
Reply to this email directly, view it on GitHub
https://github.com/cylondata/cylon/pull/592#issuecomment-1204481770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACOGXWTFU4AI6K2RN4FIOUDVXLNG5ANCNFSM5Z2PWEKA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@arupcsedu this looks good now. I made some minor improvements. I'll merge this after CI jobs.
Thanks for doing this :slightly_smiling_face:


Change in behavior in 1.15 with in and float64

In argo rollouts we had our tests starting to fail on 1.15 it seems that we needed to be explicit in converting to floats which we did not have to before here are two examples.
1.14.0: https://goplay.tools/snippet/gaA2hxV9auw
        env := map[string]interface{}{
		"res": []float64{10, 11},
	}
	code := "10 in res"

	program, err := expr.Compile(code, expr.Env(env))
	fmt.Println(err)

        //output: true

1.15.0: https://goplay.tools/snippet/rZsOUyfRRop
        env := map[string]interface{}{
		"res": []float64{10, 11},
	}
	code := "10 in res"

	program, err := expr.Compile(code, expr.Env(env))
	fmt.Println(err)

        //output: cannot use int as type float64 in array

Working in 1.15.0 with explicit casting: https://goplay.tools/snippet/XBqyWpRfj6I
        env := map[string]interface{}{
		"res": []float64{10, 11},
	}
	code := "float(10) in res"

	program, err := expr.Compile(code, expr.Env(env))
	fmt.Println(err)

        //output: true

Is this expected behavior?

I see. The type checker got more strict, looks like in this case, we can bring back int->float conversion.

@zachaller Also what about adding Argo's expressions test corpus to directly to expr?
For example, here are expression tests for CrowdSec:

https://github.com/antonmedv/expr/blob/master/testdata/crowdsec.json
https://github.com/antonmedv/expr/blob/master/test/crowdsec/crowdsec.go

This way we can prevent such regressions in the future.

@zachaller Also what about adding Argo's expressions test corpus to directly to expr?
For example, here are expression tests for CrowdSec:

https://github.com/antonmedv/expr/blob/master/testdata/crowdsec.json
https://github.com/antonmedv/expr/blob/master/test/crowdsec/crowdsec.go

This way we can prevent such regressions in the future.

Yea, I will spend some time looking into this and opening a PR!

Fixed. Let's add Argo expression corpus for repression testing 😉


use env variables

for:

airbrake
tariff sync secrets
secret token

also do not override mailer_env variable

 Tariff: Convert Tariff Apps to use ENV variables instead of Constants set at deploy time


uimenu error

Some of the calls to uimenu in irc.m refer to a 'Text' property that should be a 'Label.' Fixed locally, but probably want to fix here too. Thanks for the updates!
-Zach

Thanks. What version of Matlab are you using? I should make it version neutral.
-James

On Nov 19, 2018, at 10:28 AM, zsperry<EMAIL_ADDRESS>wrote:
Some of the calls to uimenu in irc.m refer to a 'Text' property that should be a 'Label.' Fixed locally, but probably want to fix here too. Thanks for the updates!
-Zach
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

2017a at the moment, though I just realized that...you had it as 'Label'
some places but not all...weird they would change that by version, but I
looked it up and you're right...
-Z
On Mon, Nov 19, 2018 at 10:31 AM James Jun<EMAIL_ADDRESS>wrote:

Thanks. What version of Matlab are you using? I should make it version
neutral.
-James

On Nov 19, 2018, at 10:28 AM, zsperry<EMAIL_ADDRESS>wrote:
Some of the calls to uimenu in irc.m refer to a 'Text' property that
should be a 'Label.' Fixed locally, but probably want to fix here too.
Thanks for the updates!
-Zach
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesjun/ironclust/issues/3#issuecomment-439932876,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVNxB_RVgMjsmeIgdmYd4Ucq292I40_Oks5uws6sgaJpZM4YpVdF
.

I wrote uimenu_() in irc.m which uses the appropriate field names depending on the Matlab version. matlab_version_() function returns the Matlab version installed on your system (2017.5 is returned if R2017b is installed and 2017 is returned if R2017 is installed).

Thanks!
On Sun, Nov 25, 2018 at 4:37 PM James Jun<EMAIL_ADDRESS>wrote:

Closed #3 https://github.com/jamesjun/ironclust/issues/3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jamesjun/ironclust/issues/3#event-1985563156, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVNxBwd71IblxAH8gsMkUiPw3uFlyTolks5uyw2sgaJpZM4YpVdF
.


feat: update RUNE explorer links

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3653   👈

This comment was auto-generated by Graphite.


Stream disconnects/reconnects in loop on large files

This file renders a 100,000-sided polygon.
numSides = pow(10, 5)

startSketchOn("XY")
|> polygon({
  radius: 10,
  numSides: int(numSides),
  center: [0, 0],
  inscribed: false,
}, %)

On my local Linux machine, running the engine, this takes 32 seconds to render. It's a bit slow, but it gets there.
Problem is, the modeling app stream disconnects after several seconds. Then it tries to reconnect, waits, disconnects, reconnects, again and again. Mike noticed these logs in the console:

Our theory is that when the engine takes a while to respond, the stream disconnects. But it should be more patient. A slow engine response that eventually gets there shouldn't cause this disconnect-reconnect loop. Frontend should tolerate a slow engine better.
@jtran originally noticed this problem tonight, on the 8020 rail. He and @franknoirot debugged it and eventually called in @mlfarrell to help from the engine side. We've established the engine is slow but handling it fine, not crashing or anything. So I think this is a frontend timeout/stream issue.

I've started to look into this. I've opened up another ticket with some internal details on what I've found. I don't think the modeling app is involved here.


When cells are scrolled off screen, will the image download request be cancelled?

I am using HanekeSwift in a table view. When I scroll quickly, some cells are off screen and their images are not shown. Would the image network requests for these off-screen cells be cancelled automatically?

Hi @joe528.
No. You can call hnk_cancelSetImage in prepareForReuse, for example.

Thanks. Now I call hnk_cancelSetImage() in prepareForReuse().
Is there any extra checking I should do?


Movie queue API crash on invalid quality

When trying to add or edit an existing movie, and using an invalid requirement in the body, a validation error should be raised. but instead there is a crash
Example:
curl -X PUT --header "Content-Type: application/json" --header "Accept: application/json" -d "{\"quality\": \"string\"}" "http://<IP_ADDRESS>:5050/api/movie_queue/1/"
Crash:
http://pastebin.com/sWp5WMi3

Scheduled for depreciation


fix(panel): uif-is-open link is not working correctly

Fixes issue where clicked 'open' in quick succession breaks the panel in
certain circumstances
Closes #373

Coverage increased (+0.0006%) to 97.594% when pulling de1c1bfc991bd74cd60b9edf0ef23e63884d6912 on tobiaswest83:issue-373 into 25d02911027c4abdcf687e243d49458d2b75307c on ngOfficeUIFabric:dev.

investigating circleci failure


feat: add leasing interest call

Adds sendLeasingInterest api call. It will behave the same way message leas call behaves in terms of validation.
note the validation part is not yet implemented in the backend

@GutierrezGo feel free to use the pre-release for the modal form and merge this when you're ready


additional sles standard cleanup. update sle product names

@jamesongithub : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@mathapli
Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Relicense to a liberal license

MIT is generally pretty uncontroversial, and to my knowledge never gets attorneys involved.
If you think any form of the GPL will actually "protect" your work from people using it for proprietary purposes and get you paid when they do, you have not been paying attention.

GPL allows private use. While it may make some people think about if they can use this or not, GPL software is commonly used in companies, e.g. the Linux kernel would be a good example.
I don't think it's fair for you to assume my intentions.


Design Activities/Request/Event APIs

@divyaramnath-13
Please add more details.

@aditya-07 we can close this right ?


New version: KRTirtho.Spotube version 3.7.1

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 883.)


Update CHANGELOG.md

Motivation
Update the CHANGLOG  with information from latest PRs that were merged.
Description
No code changes, just summary of changes for changelog
Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[x] Update documentation as needed
[x] Update changelog as needed

bors merge


chore Support specifying output path

Proposed changes
Problem summary
now we could
./build.sh --be --fe --output PATH_TO_BINARY_YOU_LIKE

did not modify the default value
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.37 seconds
stream load tsv:          422 seconds loaded<PHONE_NUMBER>9 Bytes, about 169 MB/s
stream load json:         24 seconds loaded<PHONE_NUMBER> Bytes, about 93 MB/s
stream load orc:          59 seconds loaded<PHONE_NUMBER> Bytes, about 17 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230515124515_clickbench_pr_143888.html

run buildall


Do not even add the testing executables when the tests are disabled.

The tests are currently targets excluded by the default target, so they aren't built.
But excluded targets are still generated, and created.
This has two results:

For IDE projects (like the visual studio generators), each test executable is added as a project, resulting in a long list. This is especially bad if you want to add boost-cmake using ADD_SUBDIRECTORY to your project: you most likely do not want to see those tests there. Maybe you want them on your CI, but definitely not during development.
These tests are also the reason why the "configure" phase of CMake takes minutes: by removing them, I reduced the project generation time of CMake to only a few seconds.

I simply reused the BUILD_TESTING option to not even include the test directories if it's not set. As you also used the off setting for some different behavior, I do not think this will be the correct/final solutions to it, but I do think that an option to disable them (and making that a default) would make the project more usable for end users.

Yea, we probably need a way to control whether tests are added or not, I am not sure the best way to do that yet.
One, I would like to be able to have tests be able to run without reconfiguring cmake if the dependencies are satisfied. The is probably only useful in a standalone build where the number of tests are small.
Secondly, I would like to be able to support partial checkouts of boost for building and testing. Someone only wants to test one library, so when BUILD_TESTING=Off, the tests are still added but the test dependencies are ignored if they dont exist.
We also need to support users who will use boost through add_subdirectory and is not concerned about running boost's test suite.
For IDE users, is there some property that can be set to better organize tests when they are shown in the IDE? For developers that are using Boost with tests and an IDE, there should be a better way its presented in the GUI.

The is probably only useful in a standalone build where the number of tests are small.

Yes, I am trying to use this as a subdirectory for building boost libraries in CMake projects, and the tests took far more time up than anything else. And anytime I changed any of my CMakeLists, it ran for several minutes again. In those projects, I am not interested in the results of the boost test suite. With this change, it's just a few seconds.

For IDE users, is there some property that can be set to better organize tests when they are shown in the IDE?

USE_FOLDERS and the FOLDER property. Supports even nested structures with the usual directory separators.

We also need to support users who will use boost through add_subdirectory and is not concerned about running boost's test suite.

This can be checked by using the PARENT_DIRECTORY property.
So maybe use this "do not add the tests by default" behavior if it's a subproject?

I'm very interested in not running tests by default. Most libraries that I've used have an explicit target like make check for this.

Thats the exactly how this works. However, the targets are still added, but not to the all target, which lets you run the tests without reconfiguring cmake(like what most projects do).
The issue:

it can be slow for MSVC to configure all the tests
All the tests fill up the IDE even when they aren't ran
Users may not want to run boost tests with their own tests when using integrated builds

Any progress on this?

I think the solution is to use an ENABLE_TESTS property perhaps with a default value from CMAKE_ENABLE_TESTS variable.


pipe() chaining

Hello.
I am reading a large tar file from somewhere and writing it locally.  I then need to list the file content just to verify what's in it.
Instead of having to re-read the entire content, I was hoping I could do this.

readstream.pipe(tar.list()).pipe(fs.createWriteStream(path));

This results in

TypeError: readstream.pipe(...).pipe is not a function

Can node-tar be updated to allow chaining of pipe so that I don't have to re-read the .tar file?

tar.list doesn't output a stream.  But the good news is that you can pipe to multiple writable streams just fine.
Try this:
readstream.pipe(tar.list())
readstream.pipe(fs.createWriteStream(path))

Thanks!


Can't build app from source code

Whenever I try to build files-uwp from source, It keeps telling me that I'm missing the assembly references "Windows" from the Files.Launcher project and "Windows Desktop Extensions for the UWP" on the Files project.
Steps to reproduce the behavior:

Open Files.sln file.
Change the CPU arch to x64
Run on local machine
See error

Expected behavior
The program builds and shows me the working UWP app
Screenshots

Desktop:

OS Version: Windows 10 1909 18363.778]
App version: [v0.7.8]

Additional context
It also says that It can't find the Windows SDK version 10.0.18362.0 (I have 10.0.18362.1)I'm not sure where I can get upgrade the SDK within the project so it would stop throwing this error...

Did you install it to the standard location?

@lampenlampen I likely did not

@brukbrhane Make sure that you have the right dependencies installed, if you don't Visual Studio should prompt you to download them.

@yaichenbaum I didn't get any prompts. I'll try reinstalling VS to see if that helps

Then this is the reason.
I had the same problem with the extension sdks.
VS couldn't find the extension sdk and on some microsoft forum the suggestion was to reinstall or copy the extension sdks from the custom location to the default one.

Also make sure to select the Files.Package project before you build

Alright I've been AFK for a little while but I'll try reinstalling VS and trying what you've all told me. Thanks


OIDC google account stopped working after helm uninstall / install: {"error": "http: named cookie not present"}

Describe the bug
I have GitOps deployed with flux and integrated it with google OIDC and it worked fine. I was able to login with my google account and watch flux do its thing.
Then I was restructuring my flux repo layout and moved the GitOps deployment from one Kustomization to another. So basically flux did a helm uninstall and then an install, if I am correct. Also the namespace stayed the same.
But after the reinstallation I can no longer login via OIDC. The helm chart and all its config values stayed the same.
In the browser I get the following message:
{"message":"failed to verify ID token: failed to verify signature: fetching keys oidc: get keys failed: 403 Forbidden \u003c!DOCTYPE html\u003e\n\u003chtml lang=en\u003e\n  \u003cmeta charset=utf-8\u003e\n  \u003cmeta name=viewport content=\"initial-scale=1, minimum-scale=1, width=device-width\"\u003e\n  \u003ctitle\u003eError 403 (Forbidden)!!1\u003c/title\u003e\n  \u003cstyle\u003e\n    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* \u003e body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}\n  \u003c/style\u003e\n  \u003ca href=//www.google.com/\u003e\u003cspan id=logo aria-label=Google\u003e\u003c/span\u003e\u003c/a\u003e\n  \u003cp\u003e\u003cb\u003e403.\u003c/b\u003e \u003cins\u003eThat’s an error.\u003c/ins\u003e\n  \u003cp\u003eYour client does not have permission to get URL \u003ccode\u003e/oauth2/v3/certs\u003c/code\u003e from this server.  \u003cins\u003eThat’s all we know.\u003c/ins\u003e\n","code":500}

In the logs I can see:
│ 2023-07-14T08:14:39.117Z    ERROR    gitops.auth-server    auth/server.go:456    failed to get ID Token cookie from request    {"error": "http: named cookie not present"}                                                                                │
│ 2023-07-14T08:14:39.117Z    INFO    gitops    middleware/middleware.go:61    request error    {"uri": "/oauth2/userinfo", "status": 400}                                                                                │
│ 2023-07-14T08:14:46.673Z    INFO    gitops    middleware/middleware.go:65    server error    {"uri": "/oauth2/callback?state=XXXX%3D&code=XXXXX&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&authuser=0 │
│ &hd=XXXX&prompt=none", "status": 500}

Helm:
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  annotations:
    metadata.weave.works/description: This is the source location for the Weave GitOps
      Dashboard's helm chart.
  labels:
    app.kubernetes.io/component: ui
    app.kubernetes.io/created-by: weave-gitops-cli
    app.kubernetes.io/name: weave-gitops-dashboard
    app.kubernetes.io/part-of: weave-gitops
  name: ww-gitops
  namespace: weave-gitops
spec:
  interval: 1h0m0s
  type: oci
  url: oci://ghcr.io/weaveworks/charts
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  annotations:
    metadata.weave.works/description: This is the Weave GitOps Dashboard.  It provides
      a simple way to get insights into your GitOps workloads.
  name: ww-gitops
  namespace: weave-gitops
spec:
  install:
    createNamespace: true
  targetNamespace: weave-gitops
  releaseName: weave-gitops
  chart:
    spec:
      chart: weave-gitops
      sourceRef:
        kind: HelmRepository
        name: ww-gitops
  interval: 1h0m0s
  values:
    adminUser:
      create: true
      # Backup admin user password hash
      passwordHash: XXXX
      username: admin
    envVars:
      - name: WEAVE_GITOPS_FEATURE_OIDC_BUTTON_LABEL
        value: "Login with Google Account"
    ingress:
      enabled: true
      className: "nginx-internal"
      annotations:
        cert-manager.io/cluster-issuer: letsencrypt-prod-dns
        nginx.ingress.kubernetes.io/use-regex: "true"
        external-dns.alpha.kubernetes.io/hostname: bla.com
        external-dns.alpha.kubernetes.io/access: private
      hosts:
        - host: bla.com
          paths:
            - path: "/"
              pathType: ImplementationSpecific
      tls:
        - secretName: ww-gitops-tls
          hosts:
            - bla.com

Environment

Weave-Gitops Version 0.27 (4.0.25 chart)
Flux Version 2.0.0
Kubernetes version 1.27

To Reproduce
Steps to reproduce the behavior:
see above.
Expected behavior
I can login with OIDC.
Actual Behavior
I get the error message above.
Additional Context (screenshots, logs, etc)

Hi @schmidp,
I think this is same problem like mentionned in this issue : #3783
Indeed cookie received (id_token) from your oidc provider are greater thant 4096 char (contain too much, roles, groups...)
I think authentification management was changed and now cookie are store in the web browser.
Cookie size in webbrowser are limited to 4096 char.

We are working on a fix for this (replacing the direct cookie with a Session token instead).

@schmidp Have you set the OIDC verifier URL to https://accounts.google.com ?

@schmidp Have you set the OIDC verifier URL to https://accounts.google.com ?

yes
clientID: zzzz.apps.googleusercontent.com
clientSecret: yyy
customScopes: email,profile
issuerURL: https://accounts.google.com
redirectURL: https://xxxx.com/oauth2/callback

@schmidp The error message in the text above is Your client does not have permission to get URL /oauth2/v3/certs is the client id and secret correct?

@bigkevmcd Yes, I have just rechecked it and its correct. Also it worked before I did the helm uninstall/install without changing the k8s secret in between.

@schmidp We are working to fix an issue where if the OIDC ID token results in cookie that is bigger than 4096 bytes, the browser drops it and we get that http: named cookie not present.
But this behaviour hasn't changed recently, could it be the case that you have a lot of groups which would be pushing the cookie beyond this size?

@schmidp We are working to fix an issue where if the OIDC ID token results in cookie that is bigger than 4096 bytes, the browser drops it and we get that http: named cookie not present.
But this behaviour hasn't changed recently, could it be the case that you have a lot of groups which would be pushing the cookie beyond this size?

Yes that is possible, I have a lot of groups. Maybe the helm install/uninstall is just a coincidence.

So today the problem resolved itself. I swear by my liver, I did not change any config and no redeployment.
We also did not change any groups or added removed me from groups.
So either the helm install/uninstall changed something that was cached somewhere or google changed something or its just magic.

@schmidp Thanks for letting us know, we will push on with the session implementation which would solve large groups cookies, but otherwise, seems like it's working for you.

We have now released support for session storage, which removes the ID token from the cookie.
https://github.com/weaveworks/weave-gitops/releases/tag/v0.31.2
I'm going to close this now, but feel free to reopen if it's not working.


Llama 3 rope theta

Thanks for the great work!
From the README:

The results are evaluated by changing rope_theta to 16M in here.

Can I know the reason for adjusting rope_theta here rather than directly using say dynamic rope scaling? Thanks!

Hi @ganler, we simply change the rope_theta to 16M by following this post. It would be interesting to use dynamic rope scaling without training for Llama3 models. We'll consider adding the results later.

Thank you! We tried to use dynamic RoPE scaling and it significantly improved Llama3 models (https://evalplus.github.io/repoqa.html).
Do you have any hints of why using 16M rope theta can also work much better? Thanks!

Not sure what dynamic RoPE scaling techniques you are referring to. In Hugginface, we have dynamic NTK scaling here to dynamically increase the RoPE base based on the input sequence length, which is similar to directly change rope theta with a large value. For why using a large base is useful, there are plenty papers investigating some tricks to change RoPE. https://arxiv.org/pdf/2309.16039
https://arxiv.org/pdf/2310.05209
https://arxiv.org/pdf/2309.00071
https://arxiv.org/pdf/2402.13753

Dynamic RoPE scaling: https://www.reddit.com/r/LocalLLaMA/comments/14mrgpr/dynamically_scaled_rope_further_increases/
basically dynamically adjusting the scale factor to context_len/model_len when context_len > model_len. It seems to be the same thing your code is showing.

dynamically increase the RoPE base based on the input sequence length, which is similar to directly change rope theta with a large value

I don't quite see the similarity but thanks for the references and I will check it. Thank you!


Rework and preserve comments in snapcraft.yaml during dependency updates

The comment in snap/snapcraft.yaml will be overwritten by tools/update_snapcraft.py when refreshing dependency versions (e.g. https://github.com/canonical/snap-tempest/pull/121/files) because pyYAML doesn't support comments. Use ruamel.yaml instead with its round trip mode to solve the problem.
Also replace the previous comment (since it's also in requirements-manual.txt) with a new one which informs user that
some dependencies are automatically generated. This also gives user a hint about where to check when they are unsure why a package like confluent-kafka is added as a dependency.
Once merged, the changes will be backported to the release branches.

Tested locally and can confirm that the comments are preserved. The updated dependency updates are working the same way as previous.


Add Support for Data Studio Custom Visualizations

Google Data Studio is a free tool used by a wide variety of data users. It would be excellent if we can provide BriteCharts support to allow people to use the library to visualise their data in a great looking way.

Expected Behavior

We should be able to use Brite Charts in our Data Studio reports
Difference from Current Behavior

Not currently supported.
Possible Implementation

Documentation is here: https://developers.google.com/datastudio/visualization
Example Screenshots (if appropriate):
Context

Users need to have great looking charts. In addition there are charts in Brite charts which are not available in Data Studio.

We should do one Custom Viz as a proof of concept to see if it's possible to work

I had a go with trying to get this to work - but it looks like something is conflicting with Data Studio and Britecharts.  I tried to run the standard getting started project with it - but it just seems to return a blank page in data studio.
Happy to share my code if anyone else wants to debug it further.

Hi @grantkemp, thanks for checking this out!
I will be glad to review your example and try to debug it. It is interesting what you mention about the google font. Have you tried to avoid loading the css and see if it works?
Anyways, we probably shouldn't have the font included with the CSS bundle.

Hiya @Golodhros  - thanks for the feedback.
I will post up the code into a branch and also put in a readme to show how to upload it into data studio.
Essentially I followed this codelab to make sure the Custom Viz was working - then pulled in the Britechart getting started project which I tested in a seperate page.
Link to codelab:https://codelabs.developers.google.com/codelabs/community-visualization
Will post up in a day or two when I get some time,

Hi @Golodhros
I have uploaded the source code for the Custom viz here:
https://github.com/grantkemp/britechartsDataStudio
Also put in instructions on how to build it.
Currently I am getting a blank screen when I attempt to use it.
See screenshot below.

Apparently the solution is to look at using something like webpack to ensure that it all runs locally and doesn't need 3rd party libraries -but its not clear how this can be achieved in the documentation for webpack

Hi Grant!
Thanks for following up with this and for putting together that repository.
So, is it the issue still the use of the google font? I think we should get that font out of Britechart's styles, it should be out anyways.
If you want me, I can give it a try tomorrow.

Unfortunately the error codes aren't great on Data Studio - ( but then again Javascript might be to blame!) If something doesn't run - then it just shows blank screen. I know that Data studio doesn't work well with external files - so if we can make it self contained then it's a good thing.

I see. Then what I would suggest is that you could give it a try.
If you download the repo and build it like it was a regular deploy (check our NPM scripts), you could test to remove the font and see if that's the issue. For that, go to https://github.com/britecharts/britecharts/blob/master/src/styles/base/_typography.scss and remove the fonts declaration before building.
This way we can be sure that this is the real problem.
Could you do that?

You lost me at
If you download the repo and build it like it was a regular deploy (check our NPM scripts)
NPM is my Kryptonite....
suggest this- can you build and ping me the zip of the resulting file. - I can deploy and test it. you can reach out to me on twitter @ukdatageek if that helps.

I see...
You could try the docs for contributing here: https://github.com/britecharts/britecharts/blob/master/.github/CONTRIBUTING.md#getting-set-up-to-contribute or use Docker as in the last section of https://britecharts.github.io/britecharts/contributor-how-to-guides.html
If you still have problems, I could try to do this tonight

@Golodhros  - I had a bash this weekend - but spent hours with not much progress.
Did you have a chance to review?

Just circling back to see if you will have some time to look at this? Otherwise we should close this off.

Sorry, still in my todo list, just got a bit swamped. I will check this week!

Hi @grantkemp, so sorry for the delay!
Could you try the zip on this shared folder and tell me if it works?


Added Dockerfile to build process

Adds Dockerfile to simplify build process and remove build dependencies.
Change-type: major
Co-authored-by: Alex Bucknall<EMAIL_ADDRESS>Co-authored-by: Nicolas Tzovanis<EMAIL_ADDRESS>

@balena-ci retest please

@balena-ci retest


Move the tests to a PHP namespace within the project namespace

This is required for PHP-4 compliance, which in turn is required for PHP-12 compliance.
Blocked by #36.

Try now


Fix remarks

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

xml/System.Fabric.Health/HealthInformation.xml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Please add a license and a screen shot

I'd like to add this to awesome-zsh-plugins, but I only add themes with screen shots in the readme so that users can see what they look like without having to install them.
Also, please add a license file, some people won't use any code that doesn't have an open source license. If you don't have one in mind, https://choosealicense.com is a good resource to help you select an appropriate one.
The plugin's name is very generic. Please consider renaming it to something descriptive - the theme files are named matt and matt-ubuntu, perhaps name the repository matt-theme?
Finally, don't take these as criticisms of the work you've done, they're meant to make a more useful entry in the plugin/theme list.
Thanks!

Hey! Thanks for the suggestions. I've added the MIT license and a screenshot. While I appreciate that you want to add it to the plugins list, I'm not quite sure that's fair since it's just a copy of one of the default themes that I changed the colors of ever so slightly.

ok, I can leave it out if you prefer.


add_lift_measurements_to_likelihood does not work with the refactored DelayedSaturedMMM on the development branch

Hello,
So I've been experimenting with PyMC Marketing and recently switched over to using the development version. That version appears to have broken the add_lift_measurements_to_likelihood_function when used with the MMM class in the DelayedSaturatedMMM module.
In particular, I'm getting an error that the  'MMM' object has no attribute 'named_vars_to_dims'.  When searching throught the codebase on Github, I'm not seeing any definition of named_vars_to_dims that the code should be finding.
Here's some code:
pip install git+https://github.com/pymc-labs/pymc-marketing

from pymc_marketing.mmm.delayed_saturated_mmm import MMM
from pymc_marketing.mmm.transformers import weibull_adstock
from pymc_marketing.mmm.lift_test import add_lift_measurements_to_likelihood

mmm = MMM(
    model_config=my_model_config,
    sampler_config=my_sampler_config,
    date_column="date_week",
    channel_columns=channels,
    control_columns=[] + holiday_names,
    adstock_max_lag=26,
    yearly_seasonality=12,
    adstock='weibull',
    saturation='michaelis_menten'
)

mmm.fit(X=X, y=y, target_accept=0.99, chains=4)

add_lift_measurements_to_likelihood(df_list_tests,
                                      {"alpha": "alpha_in_model", "lam": "lam_in_model"},
                                  mmm.saturation,
                                    model=mmm)

That produces the following error:
AttributeError: 'MMM' object has no attribute 'named_vars_to_dims'
File <command-2794099507113844>, line 1
----> 1 add_lift_measurements_to_likelihood(df_list_tests,
      2                                       {"alpha": "alpha_in_model", "lam": "lam_in_model"},
      3                                   mmm.saturation,
      4                                     model=mmm)
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-1d8e0ebc-bbd7-4105-87ce-a0aeeeb86909/lib/python3.11/site-packages/pymc_marketing/mmm/lift_test.py:177, in indices_from_lift_tests(df_lift_test, model, var_names)
    145 def indices_from_lift_tests(
    146     df_lift_test: pd.DataFrame,
    147     model: pm.Model,
    148     var_names: list[str],
    149 ) -> Indices:
    150     """Get the indices of the lift test results in the model.
    151
    152     These are the mapping from the lift test result to the index of the
   (...)
    172         Dictionary of indices for the lift test results in the model.
    173     """
    175     named_vars_to_dims = {
    176         name: dims
--> 177         for name, dims in model.named_vars_to_dims.items()
    178         if name in var_names
    179     }
    181     required_dims = required_dims_from_named_vars_to_dims(named_vars_to_dims)
    183     for col in required_dims:

Thanks for reporting! We will take a look!
FYI @wd60622

Hi @sangrey
That's is not the recommended workflow. Try:
mmm  = MMM(...)
mmm.build_model(X, y)
mmm.add_lift_test_measurements(df_lift_tests)
mmm.fit(X, y)

Here are the methods docs and notebook example for reference.
FYI. The mmm.model is what is passed rather than then mmm itself. mmm.model is a PyMC model which has named_vars_to_dims
Give that a try and let me know how it works out!

I had actually did that first.
running:
mmm.add_lift_measurements_to_likelihood(df_list_tests)
gives:
AttributeError: 'MMM' object has no attribute 'add_lift_measurements_to_likelihood'

I think the method does not have the to_likelihood ending. Can you try it out?
See https://www.pymc-marketing.io/en/latest/api/generated/pymc_marketing.mmm.delayed_saturated_mmm.MMM.add_lift_test_measurements.html#pymc_marketing.mmm.delayed_saturated_mmm.MMM.add_lift_test_measurements


[Doc] Track and report compatibility with upstream 'golden' implementation

Track and report Cucumber-Rust compatibility with upstream 'golden' implementation.

Cucumber Compatibility Kit
Golden master

In order to provide this documentation the support code in the upstream Golden master needs to be ported to Rust.... essentially what Cucumber-Rust is - the Golden-Master is the reference implementation.
Related to Gherkin-Rust issues:

Happy path specifications and data
Unhappy path specifications and data

From this comment, progress awaits upstream PR /cucumber/cucumber/pull/1372
https://github.com/cucumber/cucumber/pull/1372).

running the CCK suite or producing reports. That's an exercise left to the cucumber implementation - run the features from the
CCK with support code equivalent to the example JavaScript ones, and compare the messages that come out with what the
CCK defines (with some normalisation to deal with ids, timestamps etc)

Also:

there are varying approaches between the implementations in terms of how the CCK features and messages are brought in:

JavaScript: we publish @cucumber/compatibility-kit to npm and then import that in cucumber-js
Java the features and messages are just copied to the cucumber-jvm repo
Ruby, last I checked, was linking to the monorepo at a certain tag as a build step.

The current Cucmber-Rust approach is a combination of the JavaScript and Java:

The CKK messages and fatures are copied in to Gherkin-Rust (Java)
Gherkin-Rust is a separate crate (JavaScript)

IMO this approach is fine.
If we want a CCK report tool we'll have to roll our own.
This issue tracks the existence (or not of a CCK summary/report).  Tracking how we get/update that summary in a separate issue.


How to add new Platform templates to this reference implementation.

Looks like the reference implementation on AWS deploys a docker image for backstage public.ecr.aws/cnoe-io/backstage:v0.0.2 which is prebaked. I would like to know how to add a new Platform Engineering templates at run time to the Backstage UI like these. Appreciate any documentation.

you can update the locations of templates by updating the app-config.yaml that comes from a configmap
https://github.com/cnoe-io/reference-implementation-aws/blob/main/packages/backstage/dev/cm-backstage-config.yaml#L111-L115
you update the config-map wait a minute or 2 and new templates show up, make sure the template names are unique and not duplicates

Thankyou, let me try this out.

@csantanapr I can update the ConfigMap in backstage namespace for my demo runs but how do update or add new Platform Templates at production scale? Should i have redeploy if so how?

@csantanapr I can update the ConfigMap in backstage namespace for my demo runs but how do update or add new Platform Templates at production scale? Should i have redeploy if so how?

You could update the Location (backstage.io/v1alpha1) file on the repo that contains the Backstage catalog, adding a new target item that contains the new Templates. You can find an example of a Location file here: https://github.com/awslabs/backstage-templates-on-eks/blob/main/catalog-info.yaml

Sounds good @iron87 Closing the issue.


Externalize behaviors

This is a feature that I would like to implement, the idea would be to achieve something like this
fn create_scene(mut cmd: Commands) {
    // Spawn Virtual Joystick
    cmd.spawn(
        VirtualJoystickBundle::new(VirtualJoystickNode {
            // ....
            // Feature
            action: ClickColor(Color::WHITE.with_a(0.5)),
        })
    )
    .insert(BackgroundColor(Color::ORANGE_RED.with_a(0.3)))
    .insert(VirtualJoystickInteractionArea);
}

The idea is actually that there are actions already defined by default by the plugin but the user can also create their own actions like this
pub struct ClickColor(pub Color);

impl VirtualJoystickAction for ClickColor {
  pub fn on_click(&self, world: &mut World, entity: Entity) {
    let tint = world.get_mut<TintColor>().unwrap();
    *tint = TintColor(self.0);
  }
}

The trait should be something like this
pub trait VirtualJoystickAction {
  fn on_click(&self, _world: &mut World, _entity: Entity) { }
  fn on_drag(&self, _world: &mut World, _entity: Entity) { }
  fn on_end_drag(&self, _world: &mut World, _entity: Entity) { }
  fn on_up(&self, _world: &mut World, _entity: Entity) { }
}

What you have described about looks like it will work well. However I'll show an alternative solution to consider as well.
https://bevyengine.org/examples/UI (User Interface)/button/
In the button example above they use an Interaction component to represent the event, and a system loops over those Interaction components to handle the events.

Another option to consider is using EventReader / EventWriter that comes with bevy.
They have a small example here:
https://github.com/bevyengine/bevy/blob/v0.11.0/examples/ecs/event.rs

This to me feels like allowing users to implement their own joystick behaviours. So that means the existing behaviour Fixed, Floating and Dynamic should be able to fit in the same framework. (They can change from enums to singleton structs implementing a trait.) And maybe they can also be composed or pipelined together. E.g. Invisible + Dynamic to make a joystick that is invisible when screen not touch, but becomes visible and moves like a Dynamic when touched.
Existing behaviours then become more of an opt-in rather than default.
Just a thought.

TOTALLY, with this comment you gave me the idea of abstracting not only the behaviors, I will try to work on that, I really think it is an excellent idea

Also horizontal only and vertical only axis constrains would fit inside the same framework. As well as constraining the knob movement in a circular area rather than square.

I had a quick play at refactoring axis directions and joystick behaviors into singleton structs using traits.
Its just an experiment, the trait methods should probably be modified (minimum refactor to get working):
https://github.com/clinuxrulz/virtual_joystick/tree/externalize-behaviors
It looks like dynamic dispatch for behaviors would have to be used top-level instead of static dispatch. Otherwise the plugin will need to be registered multiple times for each joystick with different behavior. Also handling joystick events get duplicated if behaviors are static-dispatch top level. (Put Behavior in a Box<> in VirtualJoystickNode.)

We can change it to your example event trait methods above. VirtualJoystickData would need to be exposed in public api. And maybe a prevent_default to overrides default behaviour. E.g. making a acceration slider joystick that does not snap the knob back to the centre when you release it.

Another option which I think is more simple. Is to make the behaviours just a component that goes in the same entity as the main joystick node. The user can add a system for that component to control the joystick background and knob themselves. This library would still provide components for the current behaviours.
Will think about it some more.

I had a good run on this branch:
https://github.com/clinuxrulz/virtual_joystick/tree/externalize-behaviors-attempt-3
All the behaviors are just ECS components, that can be mixed and matched. JoystickInvisible is supported in the lib too.
Each behavior has its own system, and the user can create their own components and systems to customize behavior (or complete change it)
Invisible from systems.rs:
pub fn update_joystick_visible<S: VirtualJoystickID>(
    mut joysticks: Query<(&mut Visibility, &VirtualJoystickNode<S>), With<JoystickInvisible>>,
) {
    for (mut joystick_visibility, joystick_state) in &mut joysticks {
        if joystick_state.just_released || *joystick_visibility != Visibility::Hidden && joystick_state.touch_state.is_none() {
            *joystick_visibility = Visibility::Hidden;
        }
        if let Some(touch_state) = &joystick_state.touch_state {
            if touch_state.just_pressed {
                *joystick_visibility = Visibility::Inherited;
            }
        }
    }
}

Axis constraint from systems.rs:
pub fn update_horizontal_only<S: VirtualJoystickID>(
    mut joystick: Query<&mut VirtualJoystickNode<S>, With<JoystickHorizontalOnly>>,
) {
    for mut joystick_state in &mut joystick {
        joystick_state.delta.y = 0.0;
    }
}

If the end user wants to implement their own diagonal axis constraint for example, they can just make a component and a system and throw it in just in their code (no need for extra code in lib). Your change Tint color on press should be easy too.

Hello, I was carefully reviewing the implementations that you shared and I am afraid that I am looking for a way to implement it more as a variable of the joystick itself than as a component, it does not make much sense to me that it is a component
cmd.spawn(
	  VirtualJoystickBundle::new(VirtualJoystickNode {
	      // Idea
	      action: ClickColor(Color::WHITE.with_a(0.5)),
	  })
)

That is fair enough.
I'll refactor it into that form a bit later and see what you think.
All I'd need to do is copy each of the system functions into trait impls.

Oooooh, your implementation is very similar to something I was working on, I'm still seeing things I like, like the autoimplementation macro, today I'll be upgrading to bevy 0.13, there I will share any details or implementations I can think of

That's all cool. We'll go with yours.
I'm just providing demonstration code just incase your stuck.
I noticed when dealing direct with &mut World things got more tricky borrow checker wise compared to using a system with Querys. I was forced to create temporary child_entity Vecs to let go of my immutable reference to World so I can create a mutable reference to World. Though it should be safe to have a mutual reference to two different parts of World, but not possible for typechecker too see that there is no overlap in the mutable reference unlike in simple structs. E.g. MyStruct { a: f32, b: f32 }, you can have a mutable reference to a and b at the same time.
Anyway. Looking forward to seeing your implementation. I think this externalizing behaviors idea is good. Finally, if a end user needs a missing feature, then they can create a solution themselves without requesting more features of this library.

@clinuxrulz bro, I was with very little time and trying to integrate it, I have not succeeded, do you dare to make a PR with one of your solutions? I would like to have something like that.
pub trait VirtualJoystickAction<I> {
    fn on_start_drag(
        &self,
        _id: I,
        _axis: VirtualJoystickAxis,
        _data: VirtualJoystickData,
        _world: &mut World,
        _entity: Entity,
    ) {
    }
    fn on_drag(
        &self,
        _id: I,
        _axis: VirtualJoystickAxis,
        _data: VirtualJoystickData,
        _world: &mut World,
        _entity: Entity,
    ) {
    }
    fn on_end_drag(
        &self,
        _id: I,
        _axis: VirtualJoystickAxis,
        _data: VirtualJoystickData,
        _world: &mut World,
        _entity: Entity,
    ) {
    }
}

The idea is that this only abstracts the behaviors related to joystick but with the game, internal joystick behaviors like movements and that, I would like it to be different.
I was already too late with the upgrade to Bevy 0.13

There is no rush. Lets take time to think about it some more.
We can even just update the library as is for Bevy 0.13 with no changes to the API for now.

There is no rush. Lets take time to think about it some more. We can even just update the library as is for Bevy 0.13 with no changes to the API for now.

I think it is a very good idea and thank you very much for your comments, even so I would like this feature to be an implementation of yours since I have seen that you have many different implementations for this solution.

I made a pull request and got as close as I can to your VirtualJoystickAction<I> trait.
It has two types of externalization now, one for joystick behavior (VirtualJoystickBehavior) and one for responding to the drags (VirtualJoystickAction<I>).
I somehow broke my cargo, so I was unable to test it:
error: the 'cargo.exe' binary, normally provided by the 'cargo' component, is not applicable to the 'stable-x86_64-pc-windows-msvc' toolchain

Maybe you can test it for me.

I made a pull request and got as close as I can to your VirtualJoystickAction<I> trait. See: #27
It has two types of externalization now, one for joystick behavior (VirtualJoystickBehavior) and one for responding to the drags (VirtualJoystickAction<I>).

You're the best bro, I will look the PR

I somehow broke my cargo, so I was unable to test it:
error: the 'cargo.exe' binary, normally provided by the 'cargo' component, is not applicable to the 'stable-x86_64-pc-windows-msvc' toolchain

Maybe you can test it for me.

No problem, I will test

@clinuxrulz about your problem with cargo, please try removing the rust-toolchain.toml file

It's all good. The problem resolved itself somehow when I closed and opened the terminal window.

The PR #27 was merged, do you consider that this issue can be closed?

There will be some fine tuning we can do down the road. But yes we can close this.


Approveal fails

Hi, when I'm trying to put more usdt to the liq.pool L2, i get the following message: sending a transaction requires a signer (operation="sendTransaction", code=UNSUPPORTED_OPERATION, version=contracts/5.4.1)

I am also receiving this same error, when I try to use the earn page depositing anything. I was able to stake the boba but nothing else.  I have already updated all browsers and metamask and turned signing on etc. Any clue?

Thanks for the report - reproducing now.

Bug confirmed - fixing

Please try now - should be fixed

Works as great as before for me.  Thank you.

Thanks. Works fine now.


pymongo.errors.DocumentTooLarge: BSON document too large - the connected server supports BSON document sizes up to 16777216 bytes.

I've been using ChatterBot since last week, it was woking perfectly. But yesterday when i tried to train my bot with a larger dataset, then it started showing this issue. Does your library support only BSON document sizes up to 16777216 bytes? What if in future when my databases increases and BSON file extends 16MB. My bot will stop working because your library does not support multiple chunks of BSON file or even GridFS proposed by MongoDB.

I found a workaround by taking a sample  from database.
In mongodb.py line 368 change line to:
response_query = self.statements.aggregate([{ "$sample": { "size": 200000 }}, {'$group': {'_id': '$in_response_to.text'}} ], allowDiskUse=True)


Prepare for Rails 8.0.0

Allow Rails versions >= 7.0.0 and test against 8.0.0.beta1.
#285

Release as v6.1.0. Thank you to all who contributed!


Memory issues and other bugs

Hello! I was running your codebase and came across several bugs, as well as memory issues.

I processed a dataset of my own with 21584 vertices and 342685 edges, as well as 16734 subgraph labels. Running the code on this, with a batch size of 128, ran into memory issues: "RuntimeError: CUDA out of memory. Tried to allocate 96.11 GiB (GPU 0; 10.92 GiB total capacity; 5.34 MiB already allocated; 10.40 GiB free; 22.00 MiB reserved in total by PyTorch)"
I noticed that most of your experiments are even larger, with more vertices and/or edges, so if I may ask, does this error sound reasonable, and what sort of infrastructure were your experiments performed on? In your experience, what dataset size and/or parameters would be reasonable to run on a single GPU?

when I run on the ppi_bp dataset, downloaded from Dropbox, and the provided config json, line 45 of gamma.py raises the error "KeyError: 21114" when computing degrees "graph_degree_seq =  [degree_dict[n-1] for n in nodes]"

line 100 of SubGNN.py raises the error "RuntimeError: Cannot set the device explicitly. Please use module.to(new_device)." This suggests that self.device could not be used as a variable. I'm not sure whether this is due to differing versions of the packages, as I installed them myself, but I changed this line to self.device_num

data preprocessing code saves graphsaint embeddings as "gcn_graphsaint_embeddings.pth" but line 229 of train_config.py loads them as "graphsaint_gcn_embeddings.pth"

Thank you for your help!

Thanks for using SubGNN! Below are answers to your questions 1 & 4. Let me look into questions 2 & 3 and get back to you.

Memory for SubGNN scales as a function of the number of subgraphs. Your dataset 16k subgraphs is actually larger than the datasets we used in our paper. Are you able to run with a smaller batch size?

Good catch, we recently refactored the code to make it easier for others to use, but clearly missed a few bugs. I've updated the code base to use graphsaint_gcn_embeddings.pth for everything.

Hello, thanks for your sharing!
When I run on the ppi_bp dataset, I also encountered this bug:
"KeyError: 17605"  when computing degrees "graph_degree_seq = [degree_dict[n-1] for n in nodes]"
Would you mind helping me deal with it?

Hello, thanks for your sharing!
When I ran on the ppi_bp dataset, I also encountered this bug:
"KeyError: 17605"  when computing degrees "graph_degree_seq = [degree_dict[n-1] for n in nodes]"
Would you mind helping me deal with it?

Hi @leaf-ygq  and @rmwu, I figured out what was causing the bug. We had uploaded a degree_sequence.txt file in the dropbox corresponding to an older version of the PPI network. Please redownload the ppi_bp folder from Dropbox and reopen an issue if you have any more trouble.
@rmwu - I'm not able to reproduce the bug you mention in (3). It's possible that it resulted from a mismatch in environments. Hopefully this issue doesn't appear with the updated conda env, but please let me know if you keep on running into this issue.

For (3), I ran into the same issue, changing line 99 in SubGNN.py to the following seem to work.
self.to(torch.device('cuda' if torch.cuda.is_available() else 'cpu'))


How can I add inner shadow to the component

I'm using react-native-shadow to add shadows to the components. All the outer shadows are added. I want to know how can I add inner shadows to the components?

Shouldn't this question be asked here: https://github.com/879479119/react-native-shadow/issues ? In "pure" react native without any libraries there is no way to add inner shadows to the components.  The only props about shade in "pure" react native can be found here: https://reactnative.dev/docs/view-style-props#elevation-android, https://reactnative.dev/docs/shadow-props


How to use 411 with graphite ?

I haven't found any doc about graphite... How  to connect graphite and Query ?

You'll need to modify config.php with the hostname of your graphite
instance.
On Sun, Oct 16, 2016, 09:04 acidlychee<EMAIL_ADDRESS>wrote:

I haven't found any doc about graphite... How to connect graphite and
Query ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/etsy/411/issues/65, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC-jwjMXz0Gz8nqOHRhvvt-CFpaYMUg0ks5q0iCzgaJpZM4KX91j
.


RestDccProvisioner API to create DocDB users

DocDB API
We need to write an API that an use the underlying CRUD REST API that rest-dcc implements to add users to the DocDB database. We never delete a user from the DCC author table, so the API only needs to add.
Managing Users
To make life simpler, we will create a new extended type in COmanage which will map to the user's ID in the DocDB database. To do this, create a new extended type names DccDocDBID and use it to add a sequential identifier assignment, as shown below.
We will then set DocDB's Author/AuthorID = RemoteUser/RemoteUserID = EmailUser/EmailUserID = COmanage's DccDocDBID to keep things simple.

Managing Security Groups
We will use the COGroup to map users to the DocDB SecurityGroup. The COGroup name can map directly to the SecurityGroup/Name since this does not contain spaces.
Managing Institutions
We can't guarantee that a user enters anything sensible in their institutional organization field. InCommon doesn't require this to be released as an attribute, and users from the same place might use different name variants (e.g. Syracuse University, SU, Syracuse, etc.)
To get around this, we will create an Attribute Enumeration for Organization (CO Person Role) with specific organization names that map to Institution/LongName in the DocDB database, with a catch-all "Cosmic Explorer Consortium" institution. We will ask users for their organizational institution, but not use it. The COmanage admin can then manually create new attribute enumerations based on these and assign users to CO Person Organizations.

DocDB Tables
The relevant tables in the DocDB database are:
Author
[
  {
    "AuthorID": 1,
    "FirstName": "Duncan",
    "MiddleInitials": null,
    "LastName": "Brown",
    "InstitutionID": 50,
    "Active": 1,
    "TimeStamp": "2019-01-30T08:00:00.000Z",
    "AuthorAbbr": "dabrown",
    "FullAuthorName": "Duncan Brown"
  }
]

RemoteUser
[
  {
    "RemoteUserID": 1,
    "RemoteUserName"<EMAIL_ADDRESS>    "EmailUserID": 1,
    "EmailAddress"<EMAIL_ADDRESS>  }
]

EmailUser
[
  {
    "EmailUserID": 1,
    "Username": "dabrown",
    "Password": "",
    "Name": "Duncan Brown",
    "EmailAddress"<EMAIL_ADDRESS>    "PreferHTML": 0,
    "TimeStamp": "2019-01-30T08:00:00.000Z",
    "CanSign": 1,
    "Verified": 1,
    "AuthorID": 1,
    "EmployeeNumber": 1
  }
]

UsersGroup
[
  {
    "UsersGroupID": 1,
    "EmailUserID": 1,
    "GroupID": 45,
    "TimeStamp": "2019-01-30T08:00:00.000Z"
  }
]

SecurityGroup
[
  {
    "GroupID": 1,
    "Name": "Public_Pending",
    "Description": "Public Pending",
    "TimeStamp": "2009-05-07T17:10:29.000Z",
    "CanCreate": 0,
    "CanAdminister": 0,
    "CanView": 1,
    "CanConfig": 0,
    "DisplayInList": "0"
  },
  {
    "GroupID": 45,
    "Name": "docdbadm",
    "Description": "DocDB Administrators",
    "TimeStamp": "2017-01-24T03:07:09.000Z",
    "CanCreate": 1,
    "CanAdminister": 1,
    "CanView": 1,
    "CanConfig": 1,
    "DisplayInList": "0"
  },
  {
    "GroupID": 3,
    "Name": "docdbrw",
    "Description": "Create and View Documents",
    "TimeStamp": "2008-11-21T18:58:19.000Z",
    "CanCreate": 1,
    "CanAdminister": null,
    "CanView": 1,
    "CanConfig": 0,
    "DisplayInList": "0"
  },
  {
    "GroupID": 4,
    "Name": "LSC",
    "Description": "LSC member",
    "TimeStamp": "2008-12-11T00:33:52.000Z",
    "CanCreate": 1,
    "CanAdminister": 0,
    "CanView": 1,
    "CanConfig": 0,
    "DisplayInList": "1"
  },
  {
    "GroupID": 11,
    "Name": "Lab_Management",
    "Description": "Laboratory Management",
    "TimeStamp": "2008-10-27T19:22:21.000Z",
    "CanCreate": 1,
    "CanAdminister": 0,
    "CanView": 1,
    "CanConfig": 0,
    "DisplayInList": "1"
  }
]

Institution
[
  {
    "InstitutionID": 33,
    "ShortName": "LO",
    "LongName": "LIGO - Hanford Observatory",
    "TimeStamp": "2008-10-24T22:45:12.000Z"
  }
]

INSERT INTO `Author` VALUES (1,'Duncan',NULL,'Brown',50,1,'2019-01-30','dabrown','Duncan Brown');
INSERT INTO `RemoteUser` VALUES (1,'dabrown@syr.edu',1,'dabrown@syr.edu');
INSERT INTO `EmailUser` VALUES (1,'dabrown','','Duncan Brown','dabrown@syr.edu',0,'2019-01-30',1,1,1,1);
INSERT INTO `UsersGroup` VALUES (1,1,45,'2019-01-30');


Publish documentation in docs.microsoft

Info provided from the docs team:

API document: Their CI needs the nuget package. So once we release it, we need to open the request, point to the nuget package and to the source code of the project.
More info: https://review.docs.microsoft.com/en-us/help/onboard/dotnet-requirements?branch=master

Content document: Give them the source code. They publish something and with that we can create a fork and put the content we need.
More info: https://review.docs.microsoft.com/en-us/help/onboard/dotnet-overview?branch=master

For now we have docs at https://azure.github.io/azure-sdk-for-net/api/ApplicationModel.Configuration/Azure.ApplicationModel.Configuration.html


There's no lionwiki systemd service ?

Problem
c.f. https://forum.yunohost.org/t/lionwiki-fonctionnel-mais-service-lionwiki-t2t-is-unknown/13794
There's no lionwiki systemd service but "yunohost service add" is used anyway
Solution
Don't "yunohost service add"
PR Status

[ ] Code finished.
[ ] Tested with Package_check.
[ ] Fix or enhancement tested.
[ ] Upgrade from last version tested.
[ ] Can be reviewed and tested.

Package_check results

thank you. I'll update also this package soon for a newer release of lionwiki-t2t with new features and new templates!


New package: PawsomeTracker v1.0.1

Registering package: PawsomeTracker
Repository: https://github.com/yakir12/PawsomeTracker
Created by: @yakir12
Version: v1.0.1
Commit: f0aaea054de5ef41569d28d8373cf1842e6b79d5
Git reference: HEAD

comment

Closing in favor of https://github.com/JuliaRegistries/General/pull/120777


Add Promises-based test for fs.write()

The current fs.write.spec.js file doesn't have any Promises-based API test for the function. I suggest to have a Promises-based test for fs.write by using the "fsPromises.writeFile(file, data[, options])" method of Promises API.

OK @jtj9817 it's yours.


Add route table probe

what are the fields need to displayed in this route struct https://github.com/vishvananda/netlink/blob/0872fbf3015e21e760f71debd11379a9daf7abcc/route.go#L29

I think to start we can have something simple like
table int
prefix net.IP
nexthops []net.ip

Are you planning to add the route table to the node properties ?

@eonpatapon yes that's the plan and then we will add a layer3 topology layer
https://github.com/skydive-project/skydive/pull/380

We are working on adding notification mecanisms in OpenContrail to expose route information. This is in progress but we can still provides some information regarding the structure of a route.
Basically, datas that we would like to take into account are:

route family: ip4', ipv6, bridge
prefix length
address
some flags
nexthop: this can be a little bit complex since it can contain a encapsulation type, nexthop IP, nexthop interface...
mpls label

I could provide more details (and OpenContrail driver implementation) when tooling is available in Contrail.

Fixed by https://github.com/skydive-project/skydive/pull/380


Improve username behavior

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

function fixed and commit then also practiced a revert action. therefore might see same commit twice but with different id.


How about using radix tree (patrica trie) instead of trie?

I've used ZeroMQ in some projects and now migrating those projects to nanomsg because nanomsg improves those projects performance.
I dont know erlang and I dont know how subscription system of emqttd works. The only thing that I know is that a trie data structure is used.
This is only a suggestion to consider using radix tree..
Please read this blog post
http://250bpm.com/blog:19

hi @rock59, Thanks. I researched the radix tree of nanomsg months ago and tried to improve the design of emqttd broker. For we use mnesia database of erlang to store topic trie, the bottleneck will not be trie structure but the trie size. Finally I removed the topic names from the trie and only store the topic filters(wildcard):
--------------------------
|          t             |
|         / \            |
|        +   #           |
|      /  \              |
|    x      y            |
--------------------------
| t/+/x -> node1, node3  |
| t/+/y -> node1         |
| t/#   -> node2         |
| t/a   -> node3         |
--------------------------

As I said before, unfortunately I am absolute beginner at Erlang. I am evaluating emqtt about 3 months to eventually replace my startup web and mobile notification system(currently based on ejabberd) with emqtt.
You work hard and I am confident that emqtt will be a bright future.
Thanks for your efforts :-)

@rock59, Thanks for your help:) I'd like to close the discussion now.


Atomic directory cache (internal feature)

We have directory caches in several places in the Gradle code base. These caches store entries indexed by some hash and store a single file or directory under that key. The cache is often populated in a non-atomic way, though, so if the Gradle daemon dies in the wrong moment, it can leave the cache in an inconsistent state.
When this problem happens, we handle it in several different ways:

for the build cache we produce the output in a temporary file, and then move it atomically into the directory
for the global artifact transform cache we keep an (atomically administered) ExecutionHistoryStore and drop the contents if they don't match the history record
for the jar-8 cache we don't seem to have any mitigation strategy: https://github.com/gradle/gradle/issues/14773

Most of these features could be safely implemented via an internal feature that would allow some code to be executed against a temporary location that could be moved into the cache atomically.
Something like:
AtomicDirectoryCache directoryCache = ...;

// Creates a temp file and moves it atomically into the cache
directoryCache.storeFile(tempFile -> {
    // ...
});

// Creates a temp directory and moves it atomically into the cache
directoryCache.storeDirectory(tempDirectory -> {
    // ...
});

We could add extensive tests around the actual atomic nature of the moving. This is especially important for Windows / NTFS, where atomic moves of directories is not totally straightforward (though should be good enough for our purposes, see https://stackoverflow.com/a/167555/104894).
The feature could also have a standard way of allocating the temporary workspace in a place that is surely on the same file system.
It could also take care of periodical cleanup of abandoned workspace locations.

cc: @gradle/execution

I've a related case of cache corruption at Travis.
Bad file: https://travis-ci.org/github/pgjdbc/pgjdbc/jobs/736004115#L686
.gradle/caches/modules-2/files-2.1/org.apache.bcel/bcel/6.0/7d08bcac4832f81467d3e2ca5bd58ad627288656/bcel-6.0.jar
-rw-rw-r-- 1 travis travis 63488 Aug 21 18:29

openssl dgst -sha256 ../bcel/6.0/7d08bcac4832f81467d3e2ca5bd58ad627288656/bcel-6.0.jar
SHA256(...bcel-6.0.jar)=
  206d5a02adebd9d0bb255c36b65d9f30c721a5a9309ab93695d3dd5b01d7584c

Good file: https://travis-ci.org/github/pgjdbc/pgjdbc/jobs/736004116#L637
-rw-rw-r-- 1 travis travis 670734 Mar 30  2020 .../bcel-6.0.jar

openssl dgst -sha256 ../bcel/6.0/7d08bcac4832f81467d3e2ca5bd58ad627288656/bcel-6.0.jar
SHA256(...bcel-6.0.jar)=
  7eb80fdb30034dda26ba109a1b76af8dae0782c8cd27db32f1775086482d5bd0

I can reproduce the failure locally as follows:
$ openssl dgst -sha256 bcel-6.0.jar
SHA256(bcel-6.0.jar)= 7eb80fdb30034dda26ba109a1b76af8dae0782c8cd27db32f1775086482d5bd0
$ head -b 63488  bcel-6.0.jar > bcel-6.0.jar_
$ openssl dgst -sha256 bcel-6.0.jar_
SHA256(bcel-6.0.jar_)= 206d5a02adebd9d0bb255c36b65d9f30c721a5a9309ab93695d3dd5b01d7584c

Thanks @vlsi, this is very useful information.

If we decide to do this AtomicDirectoryCache, then it should be part of the immutable workspace provider concept we currently use (although a bit inconsistently yet) for both Kotlin DSL compilation and artifact transform execution: those immutable workspaces/caches should execute in a separate directory/output file, and then be moved back atomically to the cache directory itself.
This way any immutable work running on the execution engine could profit from this.
Once we have sandboxing for (non-incremental) mutable work we can also utilize the same strategy there.

From @ljacomet:

Getting a resource in a given location should be a safe (or as safe as possible) operation.
Context for as safe as possible: https://blog.acolyer.org/2016/02/11/fs-not-equal/

Reading that above article I think it’s not that relevant to us. It is about protect against file corruption caused by the file system becoming damaged. But the data for @vlsi and in other use cases wasn't corrupted by that. Instead we just never finished writing the data to the file system. What we need to protect against is incomplete results appearing in caches, basically.
We can do this by introducing AtomicDirectoryCache as long as we have a "sufficiently atomic" file/directory move command.

An area which would benefit from this is toolchains download: #14761

I think we ultimately should have two services for storing files indexed by some key that are the result of some work:

an immutable store where the work that produces the stored files happens in a temporary location, and then is atomically moved into the store,
a mutable store where the work happens in the store, but its state is tracked by an (atomic) ExecutionHistoryStore, so when we try to consume the data we can consult the ExecutionHistoryStore to see if the outputs were properly written (=they are up-to-date wrt the previous execution).

Any store that downloads static stuff like dependencies or toolchains is an immutable store, keyed with the hash of the contents.

Just in case, I've implemented a cache verification script that detects corrupted files in caches/modules-2/files-2.1/...: https://github.com/vlsi/cleanup-gradle-cache

The feature is still needed.


VSCode LSP crashes on startup (v0.18.2)

The LSP crashes directly on startup, when loading any TOML file in VSCode:

Windows 10 22H2
VSCode 1.72.2
Even Better TOML 0.18.2

LSP Output
panicked at 'failed to set environment variable `"ALLUSERSPROFILE"` to `"C:\\ProgramData"`: cannot set env vars on this platform', library/std/src/env.rs:353:9
Stack:
Error
at AA.i.wbg.__wbg_new_693216e109162396 (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5792)
at wasm://wasm/00f62d4e:wasm-function[5288]:0x31f484
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8d2
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
RuntimeError: unreachable
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8f5
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
[Info  - 09:22:44] Connection to server got closed. Server will restart.
[Error - 09:22:44] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:44] Even Better TOML LSP client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
panicked at 'failed to set environment variable "ALLUSERSPROFILE" to "C:\\ProgramData": cannot set env vars on this platform', library/std/src/env.rs:353:9
Stack:
Error
at AA.i.wbg.__wbg_new_693216e109162396 (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5792)
at wasm://wasm/00f62d4e:wasm-function[5288]:0x31f484
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8d2
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
RuntimeError: unreachable
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8f5
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
[Info  - 09:22:46] Connection to server got closed. Server will restart.
[Error - 09:22:46] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:46] Even Better TOML LSP client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
panicked at 'failed to set environment variable "ALLUSERSPROFILE" to "C:\\ProgramData": cannot set env vars on this platform', library/std/src/env.rs:353:9
Stack:
Error
at AA.i.wbg.__wbg_new_693216e109162396 (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5792)
at wasm://wasm/00f62d4e:wasm-function[5288]:0x31f484
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8d2
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
RuntimeError: unreachable
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8f5
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
[Info  - 09:22:47] Connection to server got closed. Server will restart.
[Error - 09:22:47] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:47] Even Better TOML LSP client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:47] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
panicked at 'failed to set environment variable "ALLUSERSPROFILE" to "C:\\ProgramData": cannot set env vars on this platform', library/std/src/env.rs:353:9
Stack:
Error
at AA.i.wbg.__wbg_new_693216e109162396 (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5792)
at wasm://wasm/00f62d4e:wasm-function[5288]:0x31f484
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8d2
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
RuntimeError: unreachable
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8f5
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
[Info  - 09:22:47] Connection to server got closed. Server will restart.
[Error - 09:22:47] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:47] Even Better TOML LSP client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:47] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097
panicked at 'failed to set environment variable "ALLUSERSPROFILE" to "C:\\ProgramData": cannot set env vars on this platform', library/std/src/env.rs:353:9
Stack:
Error
at AA.i.wbg.__wbg_new_693216e109162396 (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5792)
at wasm://wasm/00f62d4e:wasm-function[5288]:0x31f484
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8d2
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
RuntimeError: unreachable
at wasm://wasm/00f62d4e:wasm-function[2548]:0x2db8f5
at wasm://wasm/00f62d4e:wasm-function[4321]:0x314cf8
at wasm://wasm/00f62d4e:wasm-function[161]:0xf28f9
at Object.m [as create_lsp] (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:1739)
at j.initialize (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:2:5389883)
at async process. (c:\Users\p.rogalski.vscode\extensions\tamasfe.even-better-toml-0.18.2\dist\server.js:40:61178)
[Error - 09:22:48] The Even Better TOML LSP server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 09:22:48] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:48] Even Better TOML LSP client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 09:22:48] Restarting server failed
Message: Pending response rejected since connection got disposed
Code: -32097

The crash does not occur when reverting back to Even Better TOML v0.18.1

Same issue on Linux:
panicked at 'failed to set environment variable `"ELECTRON_RUN_AS_NODE"` to `"1"`: cannot set env vars on this platform', library/std/src/env.rs:353:9

As the error suggests, this was caused by trying to set env vars inside WASM, I've just published a fix.