Additions to persistence PR

Slight change in signature: save(obj, file) instead of
save(file, obj), as it's more consistent with existing saving functions
Rename cls to cls_ in get_instance_method to prevent variable name
reuse
Add Persister class that allows users to add their custom methods for
getting and loading objects.
Add support for Pipeline and FeatureUnion
Add support for basic numpy functions
Add test scaffold + a couple of tests (some of them xfailing for now)

The discussed changes @adrinjalali

I also put the test under skops/tests instead of skops/

@adrinjalali I made the requested changes. Some comments:
I can't seem to be able to fetch your latest changes, so after my merge all the tests you added will break since I changed the signature of save.
As for the testing approach, I was thinking about using the existing sklearn utilities to add tests but decided against it because:

They rely on private functions.
Most of the tested objects still fail - is there an easy way to mark a subset of them to be expected to fail? I don't know any, hence I wanted to opt them in explicitly.
Some special cases are not tested there, e.g. the deeply nested pipeline/feature union, FunctionTransformer with specific function types, etc., though that should not be too hard to add.

It's still okay to go that way but we need a solution for 2.

Yes, I agree we should do the more complicated tests as well, that's what I meant by this one: https://github.com/adrinjalali/skops/pull/1#discussion_r964611730
We'd have added tests specific to certain classes.
As for the failing tests, this is what we do as it's usually done in sklearn, with explicit ignore lists: https://github.com/scikit-learn/scikit-learn/blob/670133dbc42ebd9f79552984316bc2fcfd208e2e/sklearn/tests/test_docstrings.py#L14
As for using private methods, I agree, but rather still use them and work upstream to make them public or a part of the developer API. We can make sure things work for future releases by adding a test against the nightly builds.

This looks good, I'll merge and fix the rest on the PR.

As for the failing tests, this is what we do as it's usually done in sklearn, with explicit ignore lists: https://github.com/scikit-learn/scikit-learn/blob/670133dbc42ebd9f79552984316bc2fcfd208e2e/sklearn/tests/test_docstrings.py#L14

I think for now we would have an easier time with opting in instead of opting out :D


L.TileLayer.Websockets plugin

Continuing discussion here, from https://github.com/Leaflet/Leaflet/issues/4420.
We're planning to create a L.TileLayer.Websocket class, that requests tiles over websockets, instead of http requests. I realise this is a bit of an undertaking, so I'm just checking in to perhaps get some advice and heads-up on possible caveats. (Also, if anyone has done any work in this direction already, let me know, can't seem to find anything anywhere.)
Rationale for the plugin is that we need to request small tiles at a much higher rate than what browser http request limits permit (doing animation with tiles at >10fps). We run our own tileserver, which will accept websocket requests for tiles.
Outline

use v1.0.0-beta.2
extend L.TileLayer to L.TileLayer.Websockets
fallback on L.TileLayer if websockets are unsupported (caniuse/websockets).
replace tile.src (code) with websocket request

Any advice, input or encouragement is greatly appreciated.

@kaynz Currently, I'm upgrading our front-end with Leaflet 1.0.0-beta2. (No point building on 0.7!)
Did you think about this already? I'm curious to know what your usecase is, by the way? :)

@knutole We're using latest leaflet master + GeoServer wms including GeoWebCache.
I'm fetching the Last Modified HTTP Header of the cached tiles on my client. Actually I'm not sure if there's a way to solve this with sockets.

@kaynz What are you trying to achieve, exactly? You want to cache tiles in browser-client?


Why does focusEvent.Content.ParseRaw(focusEvent.Type) throw an error?

https://github.com/matrix-org/waterfall/blob/main/pkg/conference/peer_message_processor.go#L92

So the reason this breaks, afaict, is that we now have two m.call.negotiate in the mautrix-go SDK which confuses the parser

I am not very sure what to do :/


nvm needs curl or wget to proceed

Operating system and version:
cat /etc/lsb-release output:
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.2
DISTRIB_CODENAME=sonya
DISTRIB_DESCRIPTION="Linux Mint 18.2 Sonya"

nvm debug output:
nvm --version: v0.33.2
$SHELL: /bin/bash
$HOME: /home/matt
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)'
uname -a: 'Linux 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux'
OS version: Linux Mint 18.2 Sonya
curl: not found
wget: not found
git: not found
nvm current: system
which node: /usr/bin/node
which iojs:
which npm: /usr/local/bin/npm
npm config get prefix: /usr/local
npm root -g: /usr/local/lib/node_modules

nvm ls output:
->       system *
node -> stable (-> N/A) (default)
iojs -> N/A (default)

How did you install nvm? (e.g. install script in readme, homebrew):
Using: curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
What steps did you perform?

I made sure that both ~/.bashrc and ~/.profile have:
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

I did source ~/.bashrc ~/.profile.

I opened another terminal and did nvm install node.

What happened?
nvm needs curl or wget to proceed.
What did you expect to happen?
I was expecting to install the latest release of node.
Is there anything in any of your profile files (.bashrc, .bash_profile, .zshrc, etc) that modifies the PATH?
None

If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?
*   Trying <IP_ADDRESS>...
* Connected to nodejs.org (<IP_ADDRESS>) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 704 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
* 	 server certificate verification OK
* 	 server certificate status verification SKIPPED
* 	 common name: *.nodejs.org (matched)
* 	 server certificate expiration date OK
* 	 server certificate activation date OK
* 	 certificate public key: RSA
* 	 certificate version: #3
* 	 subject: OU=Domain Control Validated,OU=PositiveSSL Wildcard,CN=*.nodejs.org
* 	 start date: Sun, 08 Nov 2015 00:00:00 GMT
* 	 expire date: Tue, 22 Aug 2017 23:59:59 GMT
* 	 issuer: C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Domain Validation Secure Server CA
* 	 compression: NULL
* ALPN, server accepted to use http/1.1
> HEAD /dist/ HTTP/1.1
> Host: nodejs.org
> User-Agent: curl/7.47.0
> Accept: */*
> Accept-Encoding: deflate, gzip
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Date: Tue, 04 Jul 2017 00:52:55 GMT
Date: Tue, 04 Jul 2017 00:52:55 GMT
< Content-Type: text/html
Content-Type: text/html
< Connection: keep-alive
Connection: keep-alive
< Set-Cookie: __cfduid=d3e9da769e30d9210d65f55a1ddb65ed81499129574; expires=Wed, 04-Jul-18 00:52:54 GMT; path=/; domain=.nodejs.org; HttpOnly
Set-Cookie: __cfduid=d3e9da769e30d9210d65f55a1ddb65ed81499129574; expires=Wed, 04-Jul-18 00:52:54 GMT; path=/; domain=.nodejs.org; HttpOnly
< CF-Cache-Status: EXPIRED
CF-Cache-Status: EXPIRED
< Vary: Accept-Encoding
Vary: Accept-Encoding
< Expires: Tue, 04 Jul 2017 04:52:55 GMT
Expires: Tue, 04 Jul 2017 04:52:55 GMT
< Cache-Control: public, max-age=14400
Cache-Control: public, max-age=14400
< Server: cloudflare-nginx
Server: cloudflare-nginx
< CF-RAY: 378e1ac318e03994-PHX
CF-RAY: 378e1ac318e03994-PHX
< Content-Encoding: gzip
Content-Encoding: gzip
<
Connection #0 to host nodejs.org left intact

From the nvm debug output, it sounds like your mint installation is missing both curl and wget, which are required to use any of the remote abilities of nvm, including installation.
However, you're able to use curl, or else you wouldn't get the debug output from the curl command.
In the terminal where nvm install node fails, what does type curl print out?

I was able to resolve this issue and successfully install node. I've also indicated the steps that I took below.
@ljharb That's what really got me perplexed at first. I was able to run curl and wget in other instances and then it's saying that they cannot be found. That was the case after a few tries, until I decided to install certain packages first as prerequisites.
Here's the new output from:

nvm debug:
nvm --version: v0.33.2
$SHELL: /bin/bash
$HOME: /home/matt
$NVM_DIR: '$HOME/.nvm'
$PREFIX: ''
$NPM_CONFIG_PREFIX: ''
$NVM_NODEJS_ORG_MIRROR: ''
$NVM_IOJS_ORG_MIRROR: ''
shell version: 'GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)'
uname -a: 'Linux 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux'
OS version: Linux Mint 18.2 Sonya
curl: /usr/bin/curl, curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
wget: /usr/bin/wget, GNU Wget 1.17.1 built on linux-gnu.
git: /usr/bin/git, git version 2.7.4
nvm current: v8.1.3
which node: $NVM_DIR/versions/node/v8.1.3/bin/node
which iojs:
which npm: $NVM_DIR/versions/node/v8.1.3/bin/npm
npm config get prefix: $NVM_DIR/versions/node/v8.1.3
npm root -g: $NVM_DIR/versions/node/v8.1.3/lib/node_modules

nvm ls:
    iojs-v3.3.1
->       v8.1.3
default -> node (-> v8.1.3)
node -> stable (-> v8.1.3) (default)
stable -> 8.1 (-> v8.1.3) (default)
iojs -> iojs-v3.3 (-> iojs-v3.3.1) (default)
lts/* -> lts/boron (-> N/A)
lts/argon -> v4.8.3 (-> N/A)
lts/boron -> v6.11.0 (-> N/A)

Here are the outputs from:

type curl:
curl is /usr/bin/curl

type wget:
wget is /usr/bin/wget

Here are the steps I took to resolve this issue:

Install the following prerequisites, first:
sudo apt install build-essential libssl-dev git gconf2 gconf-service libgtk2.0-0 libudev1 libgcrypt20 libnotify4 libxtst6 libnss3 python gvfs-bin xdg-utils libcap2 npm gcc-5 g++-5

Run: (Use without sudo first, unless StdOut indicates permission denied)
npm install -g npm

Made sure node-gyp uses python2. (Use without sudo first, unless StdOut indicates permission denied)
npm config set python /usr/bin/python2 -g

Run nvm's install script.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash

Check ~/.bashrc.
cat ~/.bashrc | tail output:
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

Do cat >> ~/.profile to append the following lines in ~/.profile.
# set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$PATH" export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion

Check cat ~/.profile | tail to make sure the appended lines are there.

Source both ~/.bashrc and ~/.profile.
source ~/.bashrc ~/.profile

Close and reopen the terminal.

Verify installation of nvm.
command -v nvm
The output should be: nvm

Check nvm version.
nvm --version

Install node.
nvm install node

I'd strongly discourage you from installing npm by itself, or from apt at all - npm should only come with node, and apt installs an outdated one by default.
Glad you figured it out!


Remove redundant code

Remove redundant 'print newlist' from exercise code

I don't get why they need to do that...


Maven

This is a great job, thanks a lot for this.
Is there any chance you deploy it in a maven repo?
Thanks

Done. I hope it's better late than never.
Can be added like this:
<dependency>
  <groupId>io.github.qualtagh.swing.table</groupId>
  <artifactId>JBroTable</artifactId>
  <version>2.0</version>
</dependency>

I'll update documentation later.
Also, I had to change package name (org.quinto -> io.github.qualtagh). I'm sorry for inconvenience, you'll have to change accordingly in your code.

Updated docs


Test phase hangs on even if the cypress tests successfully pass

When I try to deploy my application to amplify it passes the build phase but then it hangs on in the test phase even though I get the message:  # Completed phase: test, ## Tests completed successfully. First i tried with the cypress version 4.4.1, and after this I tried with 3.8.1 but still hangs on.
amplify.yml file it is like this:

Amplify console:

@blerand123  can you try this https://github.com/aws-amplify/amplify-console/issues/583#issuecomment-614385089

@blerand123 can you try this #583 (comment)
After i updated my amplify.yml now it passess the test phase but it does not run the tests:

My amplify.yml:

Hello, sorry you're facing this issue.

Can you please share what commands you're running in e2e-tests
Also, can you please try updating your amplify.yml to be the following

test:
  phases:
    preTest:
      commands:
        - npm ci
        - npm install wait-on
        - npm install pm2
        - npx pm2 start npm -- start
        - 'npx wait-on http://localhost:3000'
    test:
      commands:
        - 'npx cypress run'
    postTest:
      commands:
        - npx pm2 kill
  artifacts:
    baseDirectory: cypress
    files:
      - '**/*.png'
      - '**/*.mp4'

Closing this issue, please feel free to re-open if you are still facing the issue


Remove --warn-uninitialized from CMake builds

This overflows the logs in travis and makes it impossible to tell if
anything is actually going wrong.

The other failures here are unrelated.


Documentation update needed and on submitting number returns 'something went wrong' message.

Using plugin in ionic 2 , plugin does not work with 'accountKitPlugin' . After wasting a lot of time and checking the source discovered that plugin exports 'AccountKitPlugin'. It worked once I changed accountKitPlugin to AccountKitPlugin.

On submitting phone number , it says 'something went wrong' every time as in the screenshot

It didn't ask for permissions so I manually changed permission from settings , and still the result was same.
Thanks or the plugin :)

About 1.) that's what my PR was for: https://github.com/gurisko/cordova-plugin-accountkit/pull/8

Figured out the issue , It need one extra step for this to work.
We need to enable Enable client access token flow from facebook developer console , otherwise this does not work. this should go in docs too

First of all, thank you very much @uzumakinaruto123  for submitting the issue.
Since it seems that your 1st comment is more common than I previously thought, I cherry picked @denyo's pull request #8. (Thank you @denyo!)
About the second point - I don't recall setting that up anymore. Could you please write a sentence or two about it into this issue or into a pull request? Thanks

@gurisko, I believe @uzumakinaruto123 's second issue is that the plugin is currently configured to only work with access tokens. AccountKit also allows you to authorise and receive a code back.
The solution seems to be to change line 94 of AccountKitPlugin.java from AccountKitActivity.ResponseType.TOKEN to AccountKitActivity.ResponseType.CODEfor people needing to authorise using a code. see https://developers.facebook.com/docs/accountkit/android#smslogin
That would solve the problem for people not wanting to enable client access token flow. A better solution would be to allow users to choose if they want use access tokens or codes. So passing an object with options when logging in is probably the easiest.
My Java is not very good, I might try to submit a PR later on.
Let me know if anything is unclear.

@Nicolaidavies I like the solution where we give users the choice in between token and code. PR will be very appreciated! Thank you

@gurisko @Nicolaidavies  Sorry for late reply. But , regarding 2. I had to do it to get it working. Now I know why.  :)

Let's close this issue after we update README with additional installation step.

This was resolved in 86503be8b7cd69580cb3c2ce5f797000bd3a6f12


tensile not completing assembly code for sgemm

Memory access fault by GPU node-2 on address 0x4100000000. Reason: Page not present or supervisor privilege.
Details :
OS : centos 7
Driver rocm1.8
GPU : AMD Pro SSG
Can anybody help in this scenario ?
Best,
Sagar

Hi @computingdolas, as @dagamayank mentioned in another thread, your GPU (AMD Pro SSG) is not in ROCM support list.

Then the real question is, whether roc support is entitled to be supported to radeon instinct GPUs ?

Hi @computingdolas , ROCm support is not entitled to Radeon Instinct GPUs only; however, we do have an official support list here:
https://rocm.github.io/hardware.html

Thanks @sunway513 . It was informative 👍


Permissions error reading credentials with running docker container past 1.16

Bug Description
I expect that the container will start, but instead it errors out with a permission denied error when attempting to read the credentials file.
Example code (or command)
For example, this works:
>>> docker run -v ~/developer_creds.json:/config gcr.io/cloudsql-docker/gce-proxy:1.16 /cloud_sql_proxy -instances=myproject:us-central-1:db=tcp:<IP_ADDRESS>:5432 -credential_file=/config
2022/03/03 19:18:10 current FDs rlimit set to 1048576, wanted limit is 8500. Nothing to do here.
2022/03/03 19:18:11 using credential file for authentication<EMAIL_ADDRESS>2022/03/03 19:18:11 Listening on <IP_ADDRESS>:5432 for myproject:us-central-1:db
2022/03/03 19:18:11 Ready for new connections

However, this fails:
docker run -v ~/developer_creds.json:/config gcr.io/cloudsql-docker/gce-proxy:1.17 /cloud_sql_proxy -instances=myproject:us-central-1:db=tcp:<IP_ADDRESS>:5432 -credential_file=/config

Stacktrace
2022/03/03 19:19:32 current FDs rlimit set to 1048576, wanted limit is 8500. Nothing to do here.
2022/03/03 19:19:33 invalid json file "/config": open /config: permission denied

Environment

Ubuntu 20.04

Hi @aebrahim -- the most likely cause is that the linux user in the container doesn't have permission to access your credential file. You need to make sure uid 65532 can read the file.

There are two ways to do this:
First, you can run your container as a user (and group) like so:
docker run
 -v $PWD/key.json:/config/key.json \
 --user 65532:65532 \
 gcr.io/cloudsql-docker/gce-proxy:1.17 /cloud_sql_proxy \
 -instances=<INSTANCE_CONNECTION_NAME> \
 -credential_file=/config/key.json

Note, your key.json will need to be readable by 65532, e.g., chmod o+r key.json (not recommended).
Second, just switching to the alpine or buster container requires no special changes:
docker run \
  -v $PWD/key.json:/config/key.json \
  gcr.io/cloudsql-docker/gce-proxy:1.17-alpine /cloud_sql_proxy \
  -instances=<INSTANCE_CONNECTION_NAME> \
  -credential_file=/config/key.json

It seems like the second method still requires a chmod o+r key.json (or in my case a chgrp 65532 key.json && chmod g+r key.json)
While not ideal, this workaround works for me so closing this bug. Thanks for the quick update!

@aebrahim Exactly. The default container basically assumes a Kubernetes runtime, which makes it inconvenient for plain docker uses. But you've got the right idea about chgrp etc. It's a pain so using the Alpine container is probably easiest.

Actually, when I tested the alpine container I forgot that I'd modified group permissions for my key.json and the alpine container uses the same uid. Let me dig into this a bit more and figure out how to handle this.

So for anyone else who comes across this thread, all containers use the same non-root uid 65532. To get around this, you can do a couple of things:

Change the group of the key.json to match the uid with chgrp 65532 key.json && chmod g+r key.json as @aebrahim suggests. This at least lets your user still read the file and the conatiner user.
If you don't care about your user reading the file, you can also just pass ownership to 65532 with chown 65532 key.json. One less command, but also any reads of the file require sudo.


not opening

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] My answer given in the checkbox above is a lie.

What problem did you encounter?
2024-08-15T17:55:26Z [App::OnStartup] Starting Bloxstrap v2.7.0
2024-08-15T17:55:26Z [App::OnStartup] Compiled Tuesday, 9 July 2024 at 9:03:19 PM from commit a7d2a2c3d5af7137804416ba4e5fbdd27bd10f1e (tag/v2.7.0)
2024-08-15T17:55:26Z [App::OnStartup] Loaded from %UserProfile%\AppData\Local\Bloxstrap\Bloxstrap.exe
2024-08-15T17:55:26Z [LaunchSettings::Parse] Parsing launch arguments
2024-08-15T17:55:26Z [LaunchSettings::Parse] No launch arguments to parse
2024-08-15T17:55:26Z [JsonManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-08-15T17:55:26Z [JsonManager::Load] Loaded successfully!
2024-08-15T17:55:26Z [JsonManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-08-15T17:55:26Z [JsonManager::Load] Loaded successfully!
2024-08-15T17:55:26Z [JsonManager<Dictionary2>::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json... 2024-08-15T17:55:26Z [JsonManager<Dictionary2>::Load] Loaded successfully!
2024-08-15T17:55:26Z [FastFlagManager::SetValue] Changing of 'FFlagHandleAltEnterFullscreenManually' from 'False' to 'False' is pending
2024-08-15T17:55:26Z [RobloxDeployment::TestConnection.https://setup.rbxcdn.com] Connecting...
2024-08-15T17:55:26Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version
2024-08-15T17:55:26Z [RobloxDeployment::InitializeConnectivity] Testing connectivity...
2024-08-15T17:55:28Z [RobloxDeployment::TestConnection.https://roblox-setup.cachefly.net] Connecting...
2024-08-15T17:55:28Z [HttpClientLoggingHandler::ProcessRequest] GET https://roblox-setup.cachefly.net/version
2024-08-15T17:55:28Z [RobloxDeployment::TestConnection.https://setup-ak.rbxcdn.com] Connecting...
2024-08-15T17:55:28Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup-ak.rbxcdn.com/version
2024-08-15T17:55:30Z [RobloxDeployment::TestConnection.https://s3.amazonaws.com/setup.roblox.com] Connecting...
2024-08-15T17:55:30Z [HttpClientLoggingHandler::ProcessRequest] GET https://s3.amazonaws.com/setup.roblox.com/version
2024-08-15T17:56:03Z [RobloxDeployment::TestConnection.https://setup.rbxcdn.com] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Bloxstrap.RobloxDeployment.TestConnection(String url, Int32 priority)
2024-08-15T17:56:03Z [RobloxDeployment::TestConnection.https://roblox-setup.cachefly.net] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Bloxstrap.RobloxDeployment.TestConnection(String url, Int32 priority)
2024-08-15T17:56:03Z [RobloxDeployment::TestConnection.https://setup-ak.rbxcdn.com] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Bloxstrap.RobloxDeployment.TestConnection(String url, Int32 priority)
2024-08-15T17:56:03Z [RobloxDeployment::TestConnection.https://s3.amazonaws.com/setup.roblox.com] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Bloxstrap.RobloxDeployment.TestConnection(String url, Int32 priority)
2024-08-15T17:56:03Z [App::GlobalExceptionHandler] An exception occurred
2024-08-15T17:56:03Z [App::FinalizeExceptionHandling] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 30 seconds elapsing.
---> System.TimeoutException: A task was canceled.
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
at System.Net.Http.HttpClient.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Bloxstrap.RobloxDeployment.TestConnection(String url, Int32 priority)
at Bloxstrap.RobloxDeployment.InitializeConnectivity()
at Bloxstrap.App.OnStartup(StartupEventArgs e)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Will reopen when you confirm you've read https://github.com/pizzaboxer/bloxstrap/wiki/Roblox-crashes-or-does-not-launch


A few small suggestions

Great job.  Thanks for creating & releasing this.
Have you considered offering it for use in libc++/clang?
It would be good if you could add the static size optimisation (at some point).
I have been experimenting with it & testing it with Clang 6.0 & C++17.
Here’s my feedback & suggestions:

Add #include <algorithm> (for lexicographical_compare).
The with_container_t stuff appears redundant (with Clang 6.0 & C++17).
In namespace nonstd add using span_lite::as_bytes; and using span_lite::as_writeable_bytes; (after line 932).
The operator== fails to compile with:

    static const uint8_t data[] = { 0,1,2,3,4,5,6,7,8,9,10 };
    span<uint8_t const> span_data(data);
    assert(make_span(data) == span_data);	// Compile error

I fixed it by adding template<class T> struct is_span_oracle<span<T>> : std::true_type {}; (by the current is_span_oracle) and changed operator==, != etc. to something like:
template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator==(span<T1, L1> l, span<T2, L2> r)
    { return (l.cbegin() == r.cbegin() && l.size() == r.size()) ||
             equal(l.cbegin(), l.cend(), r.cbegin(), r.cend()); }

template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator<(span<T1, L1> l, span<T2, L2> r)
    { return lexicographical_compare(l.cbegin(), l.cend(), r.cbegin(), r.cend()); }

template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator!=(span<T1, L1> l, span<T2, L2> r)	{ return !(l == r); }

template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator<=(span<T1, L1> l, span<T2, L2> r)	{ return !(r < l); }

template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator>(span<T1, L1> l, span<T2, L2> r)	{ return (r < l); }

template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator>=(span<T1, L1> l, span<T2, L2> r)	{ return !(l < r); }

The as_bytes & as_writeable_bytes have a mistake in their disabled lines (closing paren in wrong plac)e:
return { reinterpret_cast< std::byte const * >( spn.data(), spn.size_bytes() ) };
should be:
return { reinterpret_cast<std::byte const*>(spn.data()), spn.size_bytes() };
                                                      ^
And
return { reinterpret_cast< std::byte * >( spn.data(), spn.size_bytes() ) };
should be:
return { reinterpret_cast<std::byte*>(spn.data()), spn.size_bytes() };
                                                ^
I added the following helpers along with the make_span functions:

template<class T> inline constexpr auto
byte_span(T& t) noexcept
    { return span<byte, sizeof(t)>(reinterpret_cast<byte*>(&t), sizeof(t)); }

template<class T> inline constexpr auto
byte_span(T const& t) noexcept
    { return span<byte const, sizeof(t)>(reinterpret_cast<byte const*>(&t), sizeof(t)); }

I also added cdata, front & back member functions (with the obvious impls).
Additionally I added the following (as C++ has no operator===):

    template<class Span2 = span<T, Extent>>
    constexpr bool same(Span2 s) const noexcept
    {
        return static_cast<void const*>(data()) == s.data() && size() == s.size();
    }

Thanks for your detailed feedback and suggestions!
The underlying idea of this implementation of std::span (or "std::span" if you like) is to provide a path to use span with C++98 and later and follow std::spans specification insofar possible under C++98, C++11, C++14. This leads to non-standard workarounds such as make_span().
To prevent surprises when transitioning to std::span I'd mark back(), front() and cdata() that you suggest as extensions that must be explicitly enabled. To note: cdata() seems unique.

The with_container_t stuff appears redundant (with Clang 6.0 & C++17).

Providing make_span(with_container_t, ...) even with C++17 [1], enables to upgrade code using it and developed under pre-C++17 to be first compiled under C++17 and than to be transformed.
[1] If requested via -Dspan_CONFIG_PROVIDE_MAKE_SPAN=1.

@chris0e3 In byte_span(), is there a reason you write sizeof(t) and not sizeof(T) in return span<byte, sizeof(t)>(...) ?

I agree that you should follow ‘the spec’.  However, the spec has yet to be finalised - and as such there is the possibility to change it.
I think that make_span, byte_span, front, back & same would be useful additions to the spec.
For some reason I had convinced myself that cdata had been standardised for vector, string, etc., (like cbegin & cend).  But I can find no mention of it anywhere.  Perhaps it’s not needed.
I now see how with_container_t may be needed with C++17.  However, it’s non-std & not required by C++17 so it should be possible to exclude it if using C++17.  This would also help in the …14…17…20 transition.
Anyway, after writing the original message it occurred to me that my same & operator== functions were incorrect on the occasion that the data_s & size_s were equal, but the value_types were not.
    template<class Span2 = span<T, Extent>>
    constexpr bool same(Span2 s) const noexcept
    {
        return is_same_v<value_type, typename Span2::value_type> &&
               static_cast<void const*>(data()) == s.data() && size() == s.size();
    }

and
template<class T1, index_t L1, class T2, index_t L2> inline constexpr bool
operator==(span<T1, L1> l, span<T2, L2> r)
            { return l.same(r) || equal(l.cbegin(), l.cend(), r.cbegin(), r.cend()); }

should fix the problems.
  That can come back & bite (byte) you much later.  I think it makes no difference in this case.
Feel free to use, not use, or change any code I have submitted - as you see fit.

@chris0e3
Re: sizeof(t) vs sizeof(T): memory refreshed ;)

Have you considered offering it for use in libc++/clang?

It is my intention that that works. I'll have to glean the Travis knowledge to also have it verified, e.g. at Catch.

I think that make_span, byte_span, front, back & same would be useful additions to the spec.

Apart from make_span, I agree, with the caveat that they are opt-in extensions while they are not (yet) part of the specification. make_span is a workaround for pre-C++17 environments.

[with_container]: However, it’s non-std & not required by C++17 so it should be possible to exclude it if using C++17.

I agree.

member same()

In your suggestion, same() is a member function, whereas the comparison functions such as operator==() are non-member functions. Is there a reason to deviate and have same() as a member?

Is same the 'right' name?

a.equals(b); equal(a, b);
a.strictly_equals(b); strictly_equal(a, b);
a.sames(b); a.is_same_as(b); same(a, b); is_same(a, b);
a.identity(b); identity(a, b);
...

Plan:

[x] Activate tests for make_span() in CMake configuration
[x] Unconditionally include test taking spans of different cv-ness
[x] Add #include <algorithm>
[x] Fix missing using of as_bytes() and as_writeable_bytes() in namespace nonstd
[x] Fix closing parenthesis in disabled line of as_bytes() and as_writeable_bytes()
[x] Add failing test for span heterogeneous comparison
[x] Fix span comparisons to be heterogeneous
[x] Add non-standard byte_span() creator functions
[ ] Add members back() and front()
[ ] Add same(a,b)
[ ] Add operator==() using same(); enable selection between this op==() and proposal's op==()
[ ] Add control to include with_container_t in C++17 (default: not available in C++17)

@martinmoene

Have you considered offering it for use in libc++/clang?
It is my intention that that works. I'll have to glean the Travis knowledge to also have it verified, e.g. at Catch.

I meant offering the source for inclusion (as part of) libc++.

Apart from make_span, I agree, with the caveat that they are opt-in extensions while they are not (yet) part of the specification. make_span is a workaround for pre-C++17 environments.

I didn’t realise make_span was completely redundant in C++17.  I wonder which other std::make_… functions are also redundant, make_pair?

In your suggestion, same() is a member function, whereas the comparison functions such as operator==() are non-member functions. Is there a reason to deviate and have same() as a member?

I meant to mention that.  It could be a free function.
It’s good for same to be different from operator== so users don’t confuse them.
Perhaps they’ll add an operator=== in C++29 …

Is same the 'right' name?

a.equals(b); equal(a, b);
a.strictly_equals(b); strictly_equal(a, b);
a.sames(b); a.is_same_as(b); same(a, b); is_same(a, b);
a.identity(b); identity(a, b);

Not equal or equals as operator== already calls a std::equal which has well defined semantics.
Not strictly_… as std::equal is ‘strictly equal’.
Not is_same as is_… usually implies a type trait (to me) and the std is empty() not is_empty().  (These 2 are where I got my inspiration.)
is_same_as & same_as don’t really work for free functions & the extra words are unnecessary for a member function.
Not identity as that can be confused with matrix identity.
But identical could work.
Note: basic_string_view has compare member functions while operator== etc. are free.  (It also has front & back member functions.)

@chris0e3

Have you considered offering it for use in libc++/clang?

It is my intention that that works. I'll have to glean the Travis knowledge to also have it verified, e.g. at Catch.

I meant offering the source for inclusion (as part of) libc++

Ah, I think there's no need to 'alert' Marshall Clow @mclow, Jonathan Wakely @jwakely and @StephanTLavavej on this to craft span into liblibstdstlstlc++++  (oh, I just did ;)
If your remark concerns promoting back(), front(), same() with the updated operator==() for standardisation, perhaps a good path is to draw attention this these on the ISO C++ Lib mailing list.
If you like I can do that.

If your remark concerns promoting back(), front(), same() with the updated operator==() for standardisation, perhaps a good path is to draw attention to these on the ISO C++ Lib mailing list.

No, actually my suggestion stands regardless of any additions to the (proposed) standard.
Clang/LLVM’s libc++ appears to lack <span>.  I see none in http://llvm.org/svn/llvm-project/libcxx/trunk/include/.  I thought you could help.  (It’s your code.  It’s entirely up to you.)

If you like I can do that.

Go for it!
Also, I notice that std::string_view http://en.cppreference.com/w/cpp/string/basic_string_view has a swap member function.  As std::span has operator= perhaps it should also have a swap.

Just FYI - I have an implementation that I haven't yet merged into libc++. It's waiting on more complete tests. I'll probably land it when I get back from C++Now.

@mclow Thanks for letting us know Marshall.

@martinmoene, @chris0e3 - thanks for thinking of me.

Remaining -postponed- items reflected in issues #7, #8 and #9.


Create summariseFollowUp() function

This function should provide a summarise result including:

Information about multiple observation periods (average time between observation periods, mean number of observation periods, etc.).
Statistics on observation period

See summariseCohortTiming from cohortCharacteristics as a guide

-> summariseObservationPeriod()


Proper install and dynamic library

Not sure if you want to merge this, but I think the library is much nicer to use this way. You can actually install it properly and link against it.

LGTM. Thanks, Kai. I'll add you as a contributor on the project if you plan on sending more stuff this way.


Creating a table in INDEXEDDB DATABASE throws an exception: Object store already exists

Creating a table in INDEXEDDB DATABASE throws an exception(Firefox):
ConstraintError: IDBDatabase.createObjectStore: Object store named 'MetaData' already exists at index '0'
The code I use:
export async function DBrequest(){
let result = null;
await alasql.promise("CREATE TABLE IF NOT EXISTS MetaData
(VALUE_NAME VARCHAR(90) PRIMARY KEY,
VALUE_VALUE UNSIGNED INT NOT NULL);").then(function(res){
result = res
console.log("request finished: " + result)
}).catch(function(err){
console.log("Error on AlaSQL: " + err)
});
return result;
// res = ala.exec(request);
}
At the same time, success callbacks and callback errors cannot be caused.
When viewing a database object in the console, a table is created.
But it is deleted when the session ends, and when you reconnect or when the page is refreshed, it does not exist.

I dont see where you indicate that you want to use INDEXEDDB
Can you provide the full example that is not working for you? Preferable in a jsfiddle.

I create a database in this way:
await alasql.promise("CREATE INDEXEDDB DATABASE IF NOT EXISTS DabName");
await alasql.promise("ATTACH INDEXEDDB DATABASE DabName");
await alasql.promise("USE DabName");
Then i create a table:
await DBrequest()
(If I set scripts with an array of strings, I get an error: the database does not exist:
await alasql.promise(["CREATE INDEXEDDB DATABASE IF NOT EXISTS DabName",
"ATTACH INDEXEDDB DATABASE DabName",
"USE DabName"]);
)
Then I replace the script by removing the creation of the database and creating the table and refresh the page:
//await alasql.promise("CREATE INDEXEDDB DATABASE IF NOT EXISTS DabName");
await alasql.promise("ATTACH INDEXEDDB DATABASE DabName");
await alasql.promise("USE DabName");
//await DBrequest()
and find that the table named MetaData does not exist


Cannot navigate in the vue create menus

Version
3.4.0
Environment info
Environment Info:

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
  Binaries:
    Node: 11.9.0 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.7.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 44.17763.1.0
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
npm install -g @vue/cli
vue create foobar
Use the up/down arrow key to navigate.
What is expected?
I am able to select any options from the menu.
What is actually happening?
Each time a key is pressed, the selection jumps twice. While it is possible to actually navigate through every selection with quick key presses (there is a slight delay between the selection changes) this is far from usable.

I have reproduced this issue on two computers with similar configurations. Same node version, same npm version, both with a clean @vue/cli installation. This happens in PowerShell, the standard command line and the WebStorm terminal window.

I'm having the exact same problem. In Powershell it doesn't appear to move. In the regular windows command line it moves down then rubber bands back to option 1. I've found that if I hold the down arrow for a while it will eventually end up on manual options and then continue. I can see when there are more options pressing down actually moves the selection 2 items instead of 1.

I'm having the exact same problem, either in Powershell command line, or in CMD command line.
node --version
v11.9.0
npm -v
6.5.0
Windows 10 [Version 10.0.16299.904]
CLI for VUE was downloaded today through NPM.

https://github.com/SBoudrias/Inquirer.js/issues/778

Just uninstalled Node V11.x and installed V10.x and everything works.

Node 11.10.0 fixes this issue.


Replace deprecated library with embed in go_test

library attribute is deprecated in go_test:
DEPRECATED: //internal/devserver:devserver_test : the library attribute on go_test is deprecated. Please migrate to embed.

In rules_go v.0.12.0 it's causing an error:
(18:04:54) ERROR: /home/alex/.cache/bazel/_bazel_alex/9def434882dfecce7f21cdef6844c099/external/build_bazel_rules_typescript/internal/concatjs/BUILD:18:1: @build_bazel_rules_typescript//internal/concatjs:concatjs_test: no such attribute 'library' in 'go_test' rule

Hmm, this breaks us under Blaze internally at Google, I'm checking with @jayconrod to see what to do.

Sorry this is stuck, the go rules are not the same internally as under Bazel so it requires some additional mechanics to make the code portable :(
Will get to it next week I hope


IconButton's icon color does not respect IconThemeData.color when useMaterial3 is true

Steps to Reproduce

Run https://dartpad.dev/8da1761f0d006e30af182adb8594ec26
Toggle useMaterial3 switch
See Icon colors in IconButton and AppBar are not green when useMaterial3 is true

Expected results: Icons in IconButton and AppBar leading & actions are green in color, similar to when useMaterial3 is false.
Actual results: Icons in IconButton do not respect the IconThemeData.color, AppBar.foreground color and use default color when useMaterial3 is true.
Also, if we switch to old channel in DartPad (https://dartpad.dev/?id=8da1761f0d006e30af182adb8594ec26&channel=old) aka Flutter 3.0.5, the result is as expected.

Still not fix with flutter v3.3.0

Hi @ShakyaCsun, this issue is reproducible on the stable channel.
But it seems to have been fixed on master channel. Please see the demo.

Demo

stable
master

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.0, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.3.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffccd96b62 (28 hours ago), 2022-08-29 17:28:57 -0700
    • Engine revision 5e9e0e0aa8
    • Dart version 2.18.0
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2592, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.1.0-0.0.pre.2592 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 069f504297 (3 hours ago), 2022-08-30 18:20:09 -0700
    • Engine revision 0ef08a8525
    • Dart version 2.19.0 (build 2.19.0-152.0.dev)
    • DevTools version 2.16.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Please try the issue again on the latest master channel and confirm if this issue is fixed.

Hello,
I confirm I have the same issue when upgrading from 3.0.5 to 3.3.0. I also tried to add
appBarTheme: const AppBarTheme(
  iconTheme: IconThemeData(color: Colors.white),
),

to force the button color, but it seems iconTheme is completely ignored when using material3

I can confirm this is fixed in master channel.
The issue also exists in the beta channel.
Can the fix be made available in stable or beta channel?

@ShakyaCsun, @Eimji thanks for confirming this.
@usamashafiqs please try again on the master channel.
Closing the issue as fixed on the master channel. The fix should land on the stable channel in future releases (https://github.com/flutter/flutter/wiki/Flutter-build-release-channels).


feat(tracing): Outline get_current_line_and_filepath

This commit just outlines some logic into the
get_current_line_and_filepath function, to keep the body of
step_debugger fitting on a single screen.
Also, a long TODO comment is replaced with a reference to a filed bug.
There is no functional change: the test still passes:
cargo test plonky2_trace

Identical to https://github.com/blocksense-network/noir/pull/16 . I'm struggling with github a little bit, but I'm getting on top of it...


SIFT Bootstrap login issue

Hey guys, I've been using a SIFT workstation VM for a while successfully. I have just rebuilt it on a 14.04 Ubuntu stock image with the SIFT Bootstrap on a physical machine. I had an existing user account on the machine and now that SIFT is installed I attempt to login and it successfully accepts me password but then bounces back to the login prompt straight away.
I can login via cli but not the Unity login manager gui.  It seems to be a permissions issue with the users home directory but I'm not sure if my user account I created is fine or I have to have sansforensics created? As it doesn't currently exist.
Anyone have this issue before?

It bootstraps using the whatever user you install the script with. You should run the script using sudo from within unity desktop.
Sent from my iPhone

On Jan 1, 2016, at 02:37, Delbs<EMAIL_ADDRESS>wrote:
Hey guys, I've been using a SIFT workstation VM for a while successfully I have just rebuilt it on a 1404 Ubuntu stock image with the SIFT Bootstrap on a physical machine I had an existing user account on the machine and now that SIFT is installed I attempt to login and it successfully accepts me password but then bounces back to the login prompt straight away
I can login via cli but not the Unity login manager gui It seems to be a permissions issue with the users home directory but I'm not sure if my user account I created is fine or I have to have sansforensics created? As it doesn't currently exist
Anyone have this issue before?
—
Reply to this email directly or view it on GitHub.

It bootstraps using the whatever user you install the script with. You should run the script using sudo from within unity desktop.
Sent from my iPhone

On Jan 1, 2016, at 02:37, Delbs<EMAIL_ADDRESS>wrote:
Hey guys, I've been using a SIFT workstation VM for a while successfully I have just rebuilt it on a 1404 Ubuntu stock image with the SIFT Bootstrap on a physical machine I had an existing user account on the machine and now that SIFT is installed I attempt to login and it successfully accepts me password but then bounces back to the login prompt straight away
I can login via cli but not the Unity login manager gui It seems to be a permissions issue with the users home directory but I'm not sure if my user account I created is fine or I have to have sansforensics created? As it doesn't currently exist
Anyone have this issue before?
—
Reply to this email directly or view it on GitHub.

Heĺlo
Thanks for the response. I have done exactly that. I have installed it
using sudo
Thanks
Nathan
On 2 Jan 2016 1:39 am, "Erik Kristensen"<EMAIL_ADDRESS>wrote:

It bootstraps using the whatever user you install the script with. You
should run the script using sudo from within unity desktop.
Sent from my iPhone

On Jan 1, 2016, at 02:37, Delbs<EMAIL_ADDRESS>wrote:
Hey guys, I've been using a SIFT workstation VM for a while successfully
I have just rebuilt it on a 1404 Ubuntu stock image with the SIFT Bootstrap
on a physical machine I had an existing user account on the machine and now
that SIFT is installed I attempt to login and it successfully accepts me
password but then bounces back to the login prompt straight away
I can login via cli but not the Unity login manager gui It seems to be a
permissions issue with the users home directory but I'm not sure if my user
account I created is fine or I have to have sansforensics created? As it
doesn't currently exist
Anyone have this issue before?
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/sans-dfir/sift/issues/92#issuecomment-168311286.

Heĺlo
Thanks for the response. I have done exactly that. I have installed it
using sudo
Thanks
Nathan
On 2 Jan 2016 1:39 am, "Erik Kristensen"<EMAIL_ADDRESS>wrote:

It bootstraps using the whatever user you install the script with. You
should run the script using sudo from within unity desktop.
Sent from my iPhone

On Jan 1, 2016, at 02:37, Delbs<EMAIL_ADDRESS>wrote:
Hey guys, I've been using a SIFT workstation VM for a while successfully
I have just rebuilt it on a 1404 Ubuntu stock image with the SIFT Bootstrap
on a physical machine I had an existing user account on the machine and now
that SIFT is installed I attempt to login and it successfully accepts me
password but then bounces back to the login prompt straight away
I can login via cli but not the Unity login manager gui It seems to be a
permissions issue with the users home directory but I'm not sure if my user
account I created is fine or I have to have sansforensics created? As it
doesn't currently exist
Anyone have this issue before?
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/sans-dfir/sift/issues/92#issuecomment-168311286.

Hello,
I did install the script using Sudo in unity desktop. But didnt have enough luck logging in.
I'm able to login  via CLI but unable to jump on Unity desktop by using startx.
Kindly advice
P

Thanks for the reply, i just fixed it by making the permissions on my home
folder 774 octal rights and i can login, perhaps i installed it under the
wrong user. im not sure. All solved though.
Thanks,
Nathan
On Wed, Jan 13, 2016 at 11:31 AM, spawankumar<EMAIL_ADDRESS>wrote:

Hello,
I did install the script using Sudo in unity desktop. But didnt have
enough luck logging in.
I'm able to login via CLI but unable to jump on Unity desktop by using
startx.
Kindly advice
P
—
Reply to this email directly or view it on GitHub
https://github.com/sans-dfir/sift/issues/92#issuecomment-171110748.

What base image did you use to start with? Ubuntu? What version? Desktop or server?

On Jan 12, 2016, at 17:31, spawankumar<EMAIL_ADDRESS>wrote:
Hello,
I did install the script using Sudo in unity desktop. But didnt have enough luck logging in.
I'm able to login via CLI but unable to jump on Unity desktop by using startx.
Kindly advice
P
—
Reply to this email directly or view it on GitHub.

I've ubuntu 14.04 desktop 64 bit. it's installed as a dual boot with Windows 10.
Thanks a lot

Did you install from a terminal on the unity desktop?
Sent from my iPhone

On Jan 12, 2016, at 17:42, spawankumar<EMAIL_ADDRESS>wrote:
I've ubuntu 14.04 desktop 64 bit. it's installed as a dual boot with Windows 10.
Thanks a lot
—
Reply to this email directly or view it on GitHub.

Yeah. I did install it from terminal of unity desktop.
I did
$Sudo -s
// Entered Username & password
then
$wget --quiet -O - https://raw.github.com/sans-dfir/sift-bootstrap/master/bootstrap.sh | sudo bash -s -- -i -s -y
I had this issue after I rebooted my system and until then I was able to login usually.
Please advice
P

The sudo -s is the problem.
While from the terminal echo $SUDO_USER shows the correct username, it appears the script is getting root as the value of $SUDO_USER at https://github.com/sans-dfir/sift-bootstrap/blob/master/bootstrap.sh#L693 and https://github.com/sans-dfir/sift-bootstrap/blob/master/bootstrap.sh#L693
You are unable to login because your $HOME directory is no longer owned by your user.
The script should not be run under these conditions and I'll see what I can do to prevent this in the future.

Actually the problem is the double use of sudo, using sudo -s isn't big deal until you sudo again in the wget command. This leads  to the $SUDO_USER being set to root while leaving the $HOME directory set to your original user home directory path.
This leads to the script changing all the permissions on your home directories to root.
You need to remove one of the sudo and this won't happen anymore.
@delbs while you didn't give me step by step on how you installed, I imagine you did something similar to @spawankumar.

Thanks a lot @ekristen. You're help is very much appreciated!
Regards
P

Bottom Line: Do not use a double sudo. I'll try and put in some sort of check for this to error out if this is done.

@ekristen Can we open this up again? I have 3 SIFT kits on 3 different machines (all VM) and all seem to have this same issue. It doesn't appear to be an update issue, but potentially a graphics issue within the SIFT. This seems to have occurred after I installed the bleeding-gums version of john (1.80) but it could be a coincidence. After the install of john I restarted a few times with no issue. Just now I was using the machine, and it locked up. After forcing the machine to shut down and restart the host, I can't get back in. None of the fixes above have resolved the issue, and it doesn't appear to be an ownership problem either.
Any thoughts?

We can, but I don't think this is a SIFT related issue. I think it is a ubuntu and VM hypervisor issue.  Feel free to get your logs up somewhere and I can try and help figure it out. dmesg, messages, etc should all help with troubleshooting login issues.


UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

macOS 13.4 terminal
llvd -c "introduction-to-photography" --cookies --caption -t 10,30
The file folder is on the desktop.
I trid deleting the folder and downloading again, same results after awhile.

Using cookie info from cookies.txt

Current: 0. Welcome/01. Introduction.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/01. Understanding the basics of a camera.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/02. Exploring the basics of a DSLR.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/03. Understanding mirrorless cameras.mp4 @720p
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Downloading video... : 100%|✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹✹| 20.5M/20.5M [00:04<00:00, 4.18MB/s]
Downloading subtitles..
This video is locked, you probably need a premium account
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

Current: 0. Welcome/01. Introduction.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/01. Understanding the basics of a camera.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/02. Exploring the basics of a DSLR.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/03. Understanding mirrorless cameras.mp4 @720p
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

Current: 0. Welcome/01. Introduction.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/01. Understanding the basics of a camera.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/02. Exploring the basics of a DSLR.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/03. Understanding mirrorless cameras.mp4 @720p
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

Current: 0. Welcome/01. Introduction.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/01. Understanding the basics of a camera.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/02. Exploring the basics of a DSLR.mp4 @720p
Skipping already existing video...
Downloading subtitles..

Current: 1. Cameras and Lenses/03. Understanding mirrorless cameras.mp4 @720p
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Skipping already existing video...
Downloading subtitles..
This video is locked, you probably need a premium account
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 336, in download_entire_course
    self.fetch_chapter(chapter, chapters_pad_length, delay)
  File "/usr/local/lib/python3.11/site-packages/llvd/app.py", line 282, in fetch_chapter
    if clean_name(video_name) not in current_files:
                                     ^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'current_files' where it is not associated with a value

#105


add nf-tests for star_align_igenomes

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/rnaseq branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

@ramprasadn I copied the whole logic from the star align module, we need another local version to deal with older indexes in igenomes

Cool! I'm a little puzzled by the choice of the *d.out.bam pattern to populate the bam channel, considering it could potentially clash with the *sortedByCoord.out.bam pattern used for the bam_sorted channel. However, since this line was added nearly a year ago and hasn't posed any problems yet, I'll just overlook it.


HGCN not quite right

In ensemble_genes.tsv the HGCN id is reported twice for any given gene. See TSPAN6 example:

[Source:HGNC Symbol;Acc:HGNC:11858]
"HGNC:11858"

ENSG00000000003	TSPAN6	tetraspanin 6 [Source:HGNC Symbol;Acc:HGNC:11858]	["ENTREZ:7105", "HGNC:11858", "MIM:300191", "NM_001278740", "NM_001278741", "NM_001278742", "NM_001278743", "NM_003270", "NP_001265669", "NP_001265670", "NP_001265671", "NP_001265672", "NP_003261", "T245", "TM4SF6", "TSPAN-6", "TSPAN6", "XM_011531018", "XP_011529320", "tetraspanin 6"]	NCBI:txid9606

The code to extract the HGNC id and create hyperlinks to the appropriate pages  is in build-markdown-pieces-gene-translate.py. The code look right, but the output is defaulting to value error of "None" instead of returning the ID, even though the ID is there for every gene.

(Note, in #15, I rotated the table so that the column names are now the row names, and I tried to directly call the URL instead of using the shortlink).
See

I think I fixed it in 8c60d74, which I added to https://github.com/nih-cfde/update-content-registry/pull/15.


Impossible CRON Expression

I'm getting an 'impossible cron expression' error which seems to be a combination of day of the week, the Sydney timezone, and the particular 'current date' of 3/27.
$dateTime = Cron\CronExpression::factory('0 0 * * 1')->getNextRunDate(Carbon\Carbon::create(2017, 3, 27, 0, 0, 0, 'UTC')->timezone('Australia/Sydney'));

We also had this problem, which occurred for Melbourne and Sydney at the start of daylight savings (when clocks were wound back 1 hour), on 2 April. As a workaround we're using Australia/Brisbane until I can figure out how to get Melbourne/Sydney to work.


Create types.frozen option

The type.frozen should be both observable and up to the user to define. I think it should be handled as a primitive type. Try creating an API similar to the Mobx-State-Tree one https://mobx-state-tree.js.org/API/#frozen

Solved with 1.3.1


set $PS1 or export an environment variable to be displayed in existing $PS1 a la debian_chroot

As per https://github.com/NixOS/nix/pull/4189, this can be done by setting nixConfig.bash-prompt = ...; in flake.nix.


Kube master bootstrap failing with region set to us-west-2

I installed v0.13.1 on AWS in a VPC located in us-west-2, then configured the AWS admin credentials and created a new Kube with the following regional parameters:

aws_config.region: us-west-2
aws_config.public_subnet_ip_range: us-west-2b

All steps completed successfully but then Supergiant timed out waiting for Kubernetes API and first minion.
I SSHed to the master instance and saw no trace of Kubernetes in ps aux, so I tried to execute /opt/bin/oneshot manually; the curl command executed to download master.yaml is:
curl -s -H Date: Sun, 11 Dec 2016 17:58:03 +0000 \
-H X-AMZ-Security-Token: <token> \
-H Authorization: AWS  \
https://s3.amazonaws.com//kubernetes-kibi2/build/master.yaml \
-o /tmp/master.yaml

Which produced the following /tmp/master.yaml:
<?xml version="1.0" encoding="UTF-8"?>
<Error>PermanentRedirect<Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message><Bucket>kubernetes-kibi2</Bucket><Endpoint>kubernetes-kibi2.s3.amazonaws.com</Endpoint><RequestId>EAB6F5DDB9083FD4</RequestId><HostId>IdPIBfBuwvmv3I7iIdJsAqC3wPLdmXmNu01xkuX3rncoMaxqOdLvlWdQIDWgxiaSAuNK3Wff7b4=</HostId></Error>

This can be fixed by setting the region in the endpoint, replacing s3.amazonaws.com/ with s3-us-west-2.amazonaws.com (the forward slash can be removed as it is part of $RESOURCE).

I also had an issue with ssh-authorized-keys in the same file; the parameter was set to:
ssh_authorized_keys:
  - ""

because the ssh_pub_key parameter is empty in the Kube definition returned by the Supergiant API.
cloudinit will not parse the empty key, so I removed the parameter and the oneshot script executed correctly; /home/core/.ssh/authorized_keys contains the expected key (albeit twice).

We have a fix for the ssh key coming in our next update. If the ssh key is not specified in the AWS config json, the bootstrap can fail. The "ssh_pub_key" option in the aws config json must be populated with a correct, or dummy key in order to get around this currently. This is NOT intended behavior. In the new update if a key is not specified a dummy is supplied. This update was supposed to be released Friday, but there is a non-related kubernetes bug blocking it's release. I have been working thought this during the weekend and will have it out ASAP.

Actually the / in front of $RESOURCE is needed, I'm provisioning a Kube using the aws_bug_patch branch and it completes correctly by setting the region as follows in config/providers/aws/bootstrap.yaml (+ go-bindata):
# Download the file
curl -s -H "Date: ${DATE}" -H "X-AMZ-Security-Token: ${TOKEN}" -H "Authorization: ${AUTH}" "https://s3-{{ .AWSConfig.Region }}.amazonaws.com/${RESOURCE}" -o "/tmp/master.yaml"

nice. the aws_bug_patch branch has a bunch of updates. we are testing it right now actually before we merge... so if you see any glaring issues in the next while let us know.

I confirm that if I do not include the region in the curl command generated by bootstrap I can't deploy Kubes to regions different than us-east-1.
With the region set I've created Kubes in eu-west-1, us-west-2 and us-east-1.

Here's the reference:
http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
So actually for us-east-1 s3.amazonaws.com is the correct endpoint, but the other regions need to be specified explicitly.

This commit fixes the endpoint for all regions. https://github.com/supergiant/supergiant/commit/2101253436288776e441eb16425726555b57be67


modify templates for readiness

Redefine iter8 readiness templates using a map resourceTypes similar to that in the controller chart.

replaced by PR  https://github.com/iter8-tools/iter8/pull/1639 and https://github.com/iter8-tools/iter8/pull/1640


Plugin is transforming string "false" options in define to true

Related plugins

[X] plugin-vue

[ ] plugin-vue-jsx

Describe the bug
Vite describes in the docs that define values should be a string with a json value, or any value that will automatically be json stringified later. VUE_PROD_DEVTOOLS, VUE_PROD_HYDRATION_MISMATCH_DETAILS, and VUE_OPTIONS_API are forced to true by this plugin if given a string value.
This code: https://github.com/vitejs/vite-plugin-vue/blob/599f81369816aca918314e86f5b0a6e32367bb38/packages/plugin-vue/src/index.ts#L244C1-L258C1 does not respect a falsy value if it is already stringified.
I'm using the quasar framework for some production apps and in their latest beta/rc they stringify all the defines before passing them to vite. If they are in the wrong for doing that, I'll open an issue with them.
Reproduction
https://github.com/jacobfrantz1/vite-vue-issue-repro
Steps to reproduce
Run npm install, npm run build and npm run preview. See that devtools are enabled in production although
define: {
    __VUE_PROD_DEVTOOLS__: "false",
  },

is in the vite config.
System Info
System:
    OS: Linux 6.8 Ubuntu 24.04.1 LTS 24.04.1 LTS (Noble Numbat)
    CPU: (16) x64 AMD Ryzen 9 6900HX with Radeon Graphics
    Memory: 3.97 GB / 14.86 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 22.11.0 - ~/.nvm/versions/node/v22.11.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v22.11.0/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v22.11.0/bin/npm
  Browsers:
    Chrome: 131.0.6778.85
    Chromium: 131.0.6778.85
  npmPackages:
    @vitejs/plugin-vue: ^5.1.4 => 5.2.0
    vite: ^5.4.10 => 5.4.11

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I think https://github.com/vitejs/vite-plugin-vue/commit/acb57c9269506315893452db7b77c7ee1b30f051 is the commit that causes this issue.

try this pre-release packages https://github.com/vitejs/vite-plugin-vue/pull/495#issuecomment-2560719004


The difference between Godot and Bullet physics

OS/device including version:

Godot 3.0.X Win 64
Issue description:

Strange behavior under using Bullet physics.
It differs from Godot physics.
Steps to reproduce:
1 Set Bullet physics . A little run
2 Set Godot physics. Re-run and compare the results.
Minimal reproduction project:

https://yadi.sk/d/KchEad_h3TYcw6

I think that's normal. cc @AndreaCatania

I didn't run the project, but as groud said it's normal because are two different software

Ok, if this is expected I close the issue. (Also, Godot physics should be deprecated soon ;) )

Do not look but close!  Since the bullet physics behaves extremely strange for physics in general. It's hard to describe. I will open the problem.

It's not required that you open another issue even if this is closed. Can you please make a video that show this difference? I can't check it right now

No at this moment. I'll try to do a little later.

I do not know how well it turned out to demonstrate problems.
https://yadi.sk/i/TdWEcm2b3TaaTJ

The video is not very good quality. Problems with the velocity. She shows no sign of abating. apply_imports why it is not working. The image twitches.

The problem is not the physics engine, and it works on Godot physics just for a case.
The problem is in the Player.gd file, in the function _physics_process at line 79 you call this function:
set_linear_velocity(vel)

This function set the velocity of body and ignore previous states of it.
Few line above you have vel.y = 0 that remove the gravity applied by physics engine, so you have 0 gravity for this reason.
Also the jump should be handled in the same place where you handle the rigid body movement.
An advice is use forces and impulse instead of set_velocity, so you can benefit from physics engine internal calcs. If you want for some reason use set_velocity at this point you have to take care by gravity and jump velocity each frame by yourself

@AndreaCatania I do not set Y= 0 for the speed. I set Y=0 to move the character horizontally.
Commented code. Perhaps will become clearer. Please note the line:
vel += get_linear_velocity()

Player.gd
        var vel = Vector3(0, 0, 0) # create a vector of the speed of movement of the character
	if Input.is_key_pressed(KEY_W):
		vel = transform.basis.xform(Vector3(0, 0, 1)).normalized() * speed # we expect forward direction
	if Input.is_key_pressed(KEY_S):
		vel = transform.basis.xform(Vector3(0, 0, -1)).normalized() * speed
	if Input.is_key_pressed(KEY_A):
		vel = transform.basis.xform(Vector3(1, 0, 0)).normalized() * speed
	if Input.is_key_pressed(KEY_D):
		vel = transform.basis.xform(Vector3(-1, 0, 0)).normalized() * speed
	vel.y = 0 # just in case reset the value of Y so as to move to the side it is not needed.
	vel += get_linear_velocity() # add the current speed to the direction of travel. Y this may not be 0
	vel.x = clamp(vel.x, -5, 5) # These 2 sink that the a terrible. Need to the player is not accelerated to escape velocity. I agree that a bad decision. Fix
	vel.z = clamp(vel.z, -5, 5)
	set_linear_velocity(vel) # We change the speed taking into account the past

I will try to alter the code to your Board through: _integrate_forces( PhysicsDirectBodyState state )
In the meantime, I'm not sure the differences in physics are related to my bad code.

@AndreaCatania Updated example. Get better. But the image floats when moving.
https://yadi.sk/d/KchEad_h3TYcw6

Bullet physics does not work with Areas. Is this by design, or an oversight? try as you might getting a area to register a bullet based physics object returns nill.

@vonflyhighace2 Areas works in godot with bullet physics. If something is not working correctly open an issue about it

@ret80 I written some docs about rigid body, check it: https://github.com/godotengine/godot-docs/pull/1277

there seems to still be issues with the 3D areas. 2D maybe but on the 3D side its completely broken. There are other issues submitted with similar issues to mine as well.

Strange, I did two PR about areas  and it was registering rigid body overlap correctly... Can you give me the link to your issue please?

Sorry where those PR recent? I have not tried any new builds yet and am running an older build. I'll do a test on the updated Master and report back.

Is the fix of this problem confirmed?

Yes this is still an issue…can reproduce this in 3.1 alpha.. overlapping areas seem to be ignored or missed when using the bullet engine…the legacy engine has no issues like this.

From: Andrea Catania<EMAIL_ADDRESS>Sent: Sunday, August 26, 2018 12:26:40 AM
To: godotengine/godot
Cc: vonflyhighace2; Mention
Subject: Re: [godotengine/godot] The difference between Godot and Bullet physics (#17638)
Is the fix of this problem confirmed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/godotengine/godot/issues/17638#issuecomment-416019821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFX07fzgNQ_HWhVugjLDjpLIV9oLaUSyks5uUk2wgaJpZM4Sw7VP.

Can anyone still reproduce this bug in Godot 3.2.1 or any later release (e.g. 3.2.2-beta4)?
If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

The OP issue description is very vague, but using the description from a later comment:

Problems with the velocity. She shows no sign of abating. apply_imports why it is not working. The image twitches.

As explained by @AndreaCatania in his response, this issue occurs in Godot physics too, and it's because RigidBodies should not have their velocity changed every frame; instead forces and impulses should be used.
I'm not sure what is meant by apply_imports, but I think it's safe to assume it's unrelated to physics.
I've looked at the MRP provided in 3.0.6 and there was definitely a jitter in Bullet that was not there in Godot physics. This issue has gone a way in 3.2.3.

The discussion did shift to Areas not working; specifically:

RigidBody in Character mode does not register collision with 3D areas.

I've tested this, and a RigidBody in Character mode is definitely detected by an Area in 3.2.3. Since there is no MRP, I'm not sure what the issue is or was. If this is a valid issue, @vonflyhighace2, please create a new issue with an MRP.
Therefore, closing this issue as resolved in 3.2.

apply_imports is likely a typo for apply_impulse, FYI ;)

I've tested the OPs project in 3.0-stable and apply_impulse (jump) was definitely working back then; so I'm not sure what the issue was.


BUG- variable from a page not available in on_navigate

Description
An error is raised when trying to change the value of a variable. This variable is in the Markdown of an imported page. The value is also not changed.
UserWarning: Variable 'number' is not available in either the '__main__' or '__main__' modules.
How to reproduce
Here the goal is to change the number value when we navigate to the data page.
In home.py:
from taipy.gui import Markdown

home_md = Markdown("Nothing")

In data.py:
from taipy.gui import Markdown

number = 1

data_md = Markdown("<|{number}|>")

In main.py:
from data import data_md
from home import home_md

from taipy.gui import Markdown, Gui

pages = {
    "home": home_md,
    "data": data_md,
    "/": Markdown("<|navbar|>")
}

def on_navigate(state, page_name: str) -> str:
    if page_name == "data":
        state.number = 0
    return page_name

Gui(pages=pages).run(port=5050)

Expected behavior
number should be put at 0 when changing the page. No error should be raised.
Runtime environment
Please specify relevant indications.

Taipy GUI: 2.1.0

I see that this behaviour is probably intentional since the number variable may be in more than one of the modules. Hence, related to this, is there an alternative way that the user can specify the module in which number is to be modified?

I guess it would work if you import number in the main module ...

Yes, but this could be better. Here is just a simple example that is easy to fix. On a complex app, it becomes a nightmare to import or not elements from other pages to the main. It occurs not only for on_navigate but also for on_init and maybe other Taipy GUI basic functions. I have seen it firsthand working on the new demo to come :
https://github.com/Avaiga/demo-qsr-sales-forecasting-dashboard
I think the ideal solution would be something like this:
In home.py:
from taipy.gui import Markdown

home_md = Markdown("Nothing")

In data.py:
from taipy.gui import Markdown

number = 1

data_md = Markdown("<|{number}|>")

def on_navigate(state, page_name: str):
   state.number = 1

In main.py:
import data
import home

from taipy.gui import Markdown, Gui

pages = {
    "home": home.home_md,
    "data": data.data_md,
    "/": Markdown("<|navbar|>")
}

def on_navigate(state, page_name: str) -> str:
    if page_name == "data":
        home.on_navigate(state, page_name: str)
    return page_name

Gui(pages=pages).run(port=5050)

Could something like this work?
When users are going to create complex multi-page applications, this will be very useful to have this system.

@FlorianJacta There are now ways to access the variable during the on_navigate function. We can set up a meeting to show you how it could be done.


Managed c++/cli support - unable to reference Bond.Core.CSharp

This used to work before. Now I get:
'Could not install package 'Bond.Core.CSharp 8.2.0'. You are trying to install this package into a project that targets 'native,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.'
You may try compiling IPC.bond - managed library
https://github.com/microsoft/IPC.Bond/tree/master/Managed

I started working on updating both of your projects IPC and IPC.bond a week back. It looks like you have started upgrading it as well - last few days. Thanks for that.
Yes, I was using the latest tools and version. Specifically, in this case 8.2.0 . Please try upgrading to this version of Bond.
Also, I am modified the projects to use vcpkg for Bond and Boost linking.

I've tried upgrading to 8.2.0 locally (without vcpkg) and still did not see issues.

Upgrade to 8.2.0 in this commit.

Thanks. Any chance of enabling x86

Could you move this discussion to corresponding project? Let's do not spam this project with unrelated topic :).

Since this appears to be about IPC.Bond, I'm going to close this issue.


Update README.md

Action versions given in usage examples for QAInsights/PerfAction is updated. The letter 'v' prefix for versioning is not supported after version 1.3 .

Thank you @oozbal-jb for the PR.


Add server to the loaded JWT callback.

This allows the calling application to get told what the server URL is when it's pulled from the URL.
Also added some tests for the LtiTokenRetriever.jsx using react testing library and mock service worker.

This is useful so that the calling application doesn't have to parse the server out of the URL.


Javadoc is in Chinese

Describe the bug
The Javadoc tree-sitter-0.23.0-javadoc.jar published to Maven Central is in Chinese:

Expected behavior
Since the documentation is in English, the Javadoc should probably be generated in English as well?
You can use the javadoc -locale argument to explicitly set the Locale to use, see documentation. That should probably fix it.
Additional context
A bit related to this: Maybe it would be useful to add a javadoc.io badge and link to the README so users can more easily browse the Javadoc online?
Markdown code:
[![javadoc](https://javadoc.io/badge2/io.github.bonede/tree-sitter/javadoc.svg)](https://javadoc.io/doc/io.github.bonede/tree-sitter)

Rendered:

(not completely sure why it still shows "<IP_ADDRESS>" as latest version, that will probably fix itself over time?)

Great idea!
Planned to fix this in the next release.

Hi,
Javadoc was localized  in English in 0.24.3.

Thanks! Feel free to close this issue if you think this is resolved.


Bugfix/task subworkflow id deep copy

Pull Request Test Coverage Report for Build 4094

10 of 10 (100.0%)  changed or added relevant lines in 3 files are covered.
21 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.1%) to 69.258%

Files with Coverage Reduction
New Missed Lines
%

contribs/src/main/java/com/netflix/conductor/contribs/queue/QueueManager.java
3
63.27%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraEventHandlerDAO.java
8
68.42%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
10
55.44%

Totals

Change from base Build 4079:
-0.1%

Covered Lines:
11886

Relevant Lines:
17162

💛  - Coveralls


[BEAM-8018] Detect unexported fields earlier

Values of unregistered types  in the Beam Go SDK are synthetically constructed with the reflect package. However, it's not possible to synthetically construct types with unexported fields with reflect.StructOf. This can be worked around by registering the given type, which avoids the expensive synthetic construction and this failure mode.
The failure manifests at pipeline execution time which is worse.
This PR moves that failure to pipeline construction time, where it presently manifests as a panic (until BEAM-8017 is resolved) with instructions how to register the type.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @youngoli