Set up necessary wasm-bindgen version for building xray_wasm

Fixes #72

We need the right version of wasm-bindgen in order to build xray_wasm. Having the wrong version of wasm-bindgen leads to the issue described in #72:

   Compiling xray_wasm v0.1.0 (file:///Users/j/github/xray/xray_wasm)
    Finished release [optimized] target(s) in 99.81 secs
thread 'main' panicked at '

it looks like the Rust project used to create this wasm file was linked against
a different version of wasm-bindgen than this binary:

  rust wasm file: 0.2.6
     this binary: 0.2.5

The changes in #71 improved this situation for our Travis CI builds. This commit moves the wasm-bindgen setup out of .travis.yml and into xray_wasm/script/build so that we can benefit from it both for local dev and for CI.
The current implementation installs wasm-bindgen in xray_wasm/.cargo/bin. This avoids any potential conflicts with the version of wasm-bindgen installed in $CARGO_HOME/bin. With this approach, if you're working on Xray and on another project that uses a different version of wasm-bindgen, it's no problem: Xray will use the version that Xray needs, and you can have whatever version you like in $CARGO_HOME. 😅

https://github.com/atom/xray/issues/72#issuecomment-385419501 shows the terminal output prior to this change. Below is the terminal output I see with these changes in place.

Terminal output
$ which wasm-bindgen
/Users/j/.cargo/bin/wasm-bindgen

$ wasm-bindgen --version
wasm-bindgen 0.2.7

$ git clean -xfd
Removing target/
Removing xray_browser/dist/
Removing xray_browser/node_modules/
Removing xray_electron/node_modules/
Removing xray_ui/node_modules/
Removing xray_wasm/.cargo/
Removing xray_wasm/dist/
Removing xray_wasm/node_modules/

$ ./script/build
yarn install v1.6.0
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
✨  Done in 4.31s.
/Users/j/github/xray
yarn install v1.6.0
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 📃  Building fresh packages...
✨  Done in 5.06s.

Hash: b0d8f697c6239b2cd7b1
Version: webpack 4.6.0
Time: 595ms
Built at: 2018-04-30 16:38:19
Asset     Size  Chunks             Chunk Names
ui.js  886 KiB    main  [emitted]  main
Entrypoint main = ui.js
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {main} [built]
[./src/client.js] 282 bytes {main} [built]
[./src/ui.js] 838 bytes {main} [built]
    + 65 hidden modules
Hash: 4db218080d170649b70d
Version: webpack 4.6.0
Time: 286ms
Built at: 2018-04-30 16:38:20
                           Asset      Size  Chunks             Chunk Names
                       worker.js  10.6 KiB    main  [emitted]  main
                     0.worker.js  36.2 KiB       0  [emitted]
4919a41e9b05c1b20ac9.module.wasm   566 KiB       0  [emitted]
Entrypoint main = worker.js
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 489 bytes {main} [built]
[./src/worker.js] 1.98 KiB {main} [built]
    + 8 hidden modules

This is looking much better than our previous solution and I like that it's not Travis-specific. I really need to learn at least some basic Bash scripting. If we can get the caching benefits, I say 🚢 .

Forgive me for hijacking the thread but

I really need to learn at least some basic Bash scripting

Good inspiration for any newbie - you can build one of the internet's most popular dev tools without knowing bash!

If we can get the caching benefits, I say 🚢 .

Thanks, @nathansobo. 369436b754d82248e6b5df2e9df369babb873293 seems to do the trick regarding caching. With that change in place, Travis CI reuses the cached version of wasm-bindgen.
I'd like to give @as-cii a chance to look this over before I merge it, so I'll postpone merging until tomorrow.


#2 saving selected in localstorage. Commit from clone

Pull request for issue #2 saving selected in localstorage. Working from cloned repository.

Last commit:

Using Lockr (https://github.com/tsironis/lockr) for wrapping localstorage. Seems lightweight and intuitive for this use.
Moving verbCollection api and vm from pods/home to core/verbs
Adding selectedVerbCollection to said api
Calls from home.container and configure-verbs.container now use verbs api

removed Lockr
new localstorage wrapper in /core/local-storage
global-verbs api refactor for new wrapper and use of storage key constants


Fix llama

Fix dtype mismatch error when load_in_low_bit='bf16'
CPU and GPU both: RuntimeError: expected m1 and m2 to have the same dtype, but got: float != c10::BFloat16 and details could be found in the issue https://github.com/analytics-zoo/nano/issues/1111

@rnwang04 Please take a look at it?

This PR can fix llama, but will other model meet similar issues ?
Shall we add torch_dtype=torch.bfloat16 for  load_in_low_bit='bf16' as we did for fp16 too ?

This PR can fix llama, but will other model meet similar issues ? Shall we add torch_dtype=torch.bfloat16 for load_in_low_bit='bf16' as we did for fp16 too ?

Yes


NTR - neuronal action potential intiation / back propagation

(Pasted from mail from @vhinard )
I'd like to annotate voltage-gated sodium channels to the following terms, that do not "exist" in GO (see definition at the end):
neuronal action potential initiation
neuronal action potential backpropagation
References: PMID 9061867
I suggest that these 2 terms would be in parallel with the GO:0019227 "neuronal action potential propagation", because there are, all of 3, processes that describe the "life" in space and time of the neuronal action potential and because there are the consequence of different types of ionic channels.
So, before to go further, I would like to know what you would suggest because you described "membrane depolarization during action potential" with the exact synonym "generation of action potential".
This is for me 2 separate concepts. The first being a part of the action potential (like repolarization is a part of it); and the second being the first step of the "life" of the action potential (followed by propagation or backpropagation).
What do you think about the idea to make a distinction between "membrane depolarization" and "initiation"? And to detail the steps of action potential "life"?
Is it within the scope of GO?
neuronal action potential initiation
Definition: The process in which a neuronal action potential is generated in the axon following depolarization of the membrane potential to a threshold level.
Synonym: neuronal action potential generation
neuronal action potential backpropagation
Definition: The process in which a neuronal action potential is propagated in a retrograde direction from the axon back to the dendritic tree, in a passive or active manner, following depolarization of the membrane potential to a threshold level.

(pasted from mail from @RLovering )
The initiation process starts after membrane depolarisation crosses a threshold level, but what ‘sub-processes’ are you including here? And at what point does initiation finish, i.e. What is the last sub-process within the initiation stage?

label "neuronal action potential"^^string
definition "An action potential that occurs in a neuron."^^string
EquivalentTO: 'action potential'
and ('occurs in' some neuron)
SuClassOf: 'action potential'
'part of' some 'transmission of nerve impulse'
label "transmission of nerve impulse"^^string
definition "The neurological system process in which a signal is transmitted through the nervous system by a combination of action potential propagation and synaptic transmission."^^string
label "action potential initiation"@en
definition "The begining of an action potential, due to depolarization of the membrane across a firing threshold by some stimulus other than an action potential."
'part of' some 'action potential'
SubClassOf: 'regulation of membrane potential'
NOTES: As Ruth says - we need a clearer statement of where this begins and ends.  Is this a full cycle through all the phases of an action potential, just happening at the site of initiation (in which case, should probably be subClassOf 'action potential')?  Or is it just the initial, depolarization phase?

(Apologies to @en for accidental tagging in previous post.  This is an unfortunate side effect of the use of  ISO_639 codes to tag strings in OWL. )

Hi David,
Thank you for all these definitions.
To answer your questions:
(NOTES: As Ruth says - we need a clearer statement of where this begins and ends. Is this a full cycle through all the phases of an action potential, just happening at the site of initiation (in which case, should probably be subClassOf 'action potential')? Or is it just the initial, depolarization phase?)
My idea is that the "neuronal action potential initiation" from the literature does not represent the depolarization phase of the AP but, like you said, the full cycle through all the phases of an AP, and
like in the definition, at a precise neuronal localization, the axon hillock or axon initial segment in vertebrate, where information captured at the dendrites and soma converge and is integrated.
Another reason is that the depolarization phase of the AP (GO:0086010 membrane depolarization during AP) occurs similarly during "neuronal action potential initiation", "neuronal action potential propagation" and "neuronal action potential back-propagation". So "neuronal action potential initiation" cannot be represented by "membrane depolarization during AP". It is another concept.
To be clearer in the statement of where this begins and ends, I suggested (in the mail sent to @RLovering) to make the starts and ends of the processes depending on their localization in the neuron and not depending on the time. So we can easily define in "space" these events: initiation starts at the axon initial segment (AIS) and stops when propagation or back-propagation start. The back-propagation starts after the AIS in direction to the soma and dendrites. The propagation starts after the AIS in direction to the axon.
So from my side, the definitions you gave correspond perfectly to what I wanted to annotate.
I only have doubt concerning the "action potential initiation".
definition "The beginning of an action potential, due to depolarization of the membrane across a firing threshold by some stimulus other than an action potential."
Is this corresponding to the first action potential at the postsynaptic membrane? or in other types of cell than neurons?   I am not sure to get the idea.
Thank you again for all this work.
-val

Mostly redundant with #12004
[Term]
id: GO:0099610
name: action potential initiation
namespace: biological_process
def: "The initiating cycle of an action potential. In vertebrate neurons this typically occurs at an axon hillock. Not all initiated axon potentials propagate." [ISBN:978-0071390118, PMID:19439602]
synonym: "action potential firing" EXACT []
synonym: "action potential triggering" EXACT []
is_a: GO:0001508 ! action potential
Also added these some time ago, but didn't record on ticket:

Also modified this:


feat: add cluster_provider_resource_quota_consumed_ metric

Description
Adds kas_fleet_manager_quota_consumed to the KAS Fleet Manager metrics. This represents the quota currently used by the organisation of the ocm account used by KAS Fleet Manager.
Jira: Here
Verification Steps
1.Run kas fleet manager with ocm credentials specified
2.Curl http://localhost:8080/metrics
3.Ensure the quota metric as defined above are included in the response with correct values
Checklist (Definition of Done)

[x] All acceptance criteria specified in JIRA have been completed
[x] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] All PR comments are resolved either by addressing them or creating follow up tasks
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has been created for changes required on the client side

@JameelB  :)

Majority of the changes here will be the same for https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager/pull/1251. Looking to get this in first then I can rebase my changes once merged.


[FEA]: Adopt rabbitmq-c v0.12.0

Is this a new feature, an improvement, or a change to existing functionality?
Improvement
How would you describe the priority of this feature request
Low (would be nice)
Please provide a clear description of problem this feature solves
Currently the rabbitmq example is pulling from a commit hash to pickup previously unreleased fixes. The fixes we need have been released into v0.12.0.
Describe your ideal solution
Adopt v0.12.0
Describe any alternatives you have considered
No response
Additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I have searched the open feature requests and have found no duplicates for this feature request

Related to #471  and #658


With format-on-save, the buffer is temporarily cleared, messing up Undo

To reproduce:

Enable format on save
Edit an Elm file
Save (causing a format)
Press Cmd-Z to undo

The entire contents of the file will be empty.  You have to press Cmd-Z a second time to get the previous (unformatted) file back.

Even on 1.2.0?

Nope, fixed in 1.2.0.


Lindalu patch 3

Docs Build status updates of commit 407749f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/Trusted-Application-API/docs/TenantAdminConsent.md
:white_check_mark:Succeeded

Skype/UCWA/mediaPolicies_ref.md
:white_check_mark:Succeeded

Skype/UCWA/startVideo_ref.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 95a4db9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/Trusted-Application-API/docs/TenantAdminConsent.md
:white_check_mark:Succeeded

Skype/UCWA/mediaPolicies_ref.md
:white_check_mark:Succeeded

Skype/UCWA/startVideo_ref.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 80d4e4c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Skype/UCWA/mediaPolicies_ref.md
:white_check_mark:Succeeded

Skype/UCWA/startVideo_ref.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Fix sorting issues and hybridize to work with Polymer 2.0

Fix sorting issues and hybridize to work with Polymer 2.0. Also added a mixin for list items to be styled from outside the component.
Addressing #4 and #1

Replacing this PR with #8 so I can continue to push to my own master.


[Job Launcher Frontend] Sign message request appears right after transaction was approved on Metamask.

Describe the bug
Upon sending tokens to the Job Launcher, sign message request appears right after it was approved on Metamask.
By clicking it right away it will cause an error on a backend because transaction doesn't exist yet.
To Reproduce
Steps to reproduce the behavior:

Go to Job Launcher
Create a job and fund it with your crypto wallet.
Click on sign message right after modal window appears
See error

Expected behavior
Sign message modal shouldn't appear before transcation is actually approved on chain.

Duplicate of #2085


OAuth2 implicit grant is not secure

This is a PR for all versions of OAI.
The IETF OAuth2 working group considers the OAuth2 implicit grant NOT to be secure.
Time has changed. Implicit grant was secure enough, but in 2024 it isn't .
Please see https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics.html
Technology has changed. For example, the way browsers treat fragments when redirecting requests has changed, and with it, the implicit grant's underlying security model.

https://datatracker.ietf.org/doc/html/draft-ietf-oauth-security-topics.html#section-2.1.2
In order to avoid these issues, clients SHOULD NOT use the implicit grant (response type "token") or other response types issuing access tokens in the authorization response, unless access token injection in the authorization response is prevented and the aforementioned token leakage vectors are mitigated.Clients SHOULD instead use the response type "code" (aka authorization code grant type)

This PR adds a security note whenever OAI markdown mentions implicit grant in definitions and examples
BTW: I wished that OAI would rely more on OpenId Connect because OIDC is the authentication framework on top of OAuth2. Whenever an API use requires user consent OIDC authorization code flow should be used.

This PR is also in line with OWASP security guidelines https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/05-Authorization_Testing/05-Testing_for_OAuth_Weaknesses

Hi @AxelNennker Thank you for the submission. However, we do not make changes to published versions of the specification.  We could consider adding this to our 3.0.4 and 3.1.1 patch releases.
However, I'm not really sure we want to get into the business of providing security guidance.  API Keys are not secure either, neither is basic authentication.  OAuth client credentials are not secure from a desktop or mobile application.
Developers should not be relying on the OpenAPI specification to tell them how to build a secure API.

Well, OAS is very influential and an important source for developers and not everybody is reading security consideration of IETF or OIDF standards, or OAuth 2.0 Security Best Current Practice that recommends authorization code flow over implicit grant type.
OIDC is 10 years old and OAuth2 older. Technology has changed, and that something is standardized does not mean that it is a good idea to use it, because now there are better security standards like e.g. PKCE to protect against Cross Site Request Forgery.
OAS is like stackoverflow - very influential. And developers often copy example code from stackoverflow and OAS because developers want to get things done. Developers then often miss that the stackoverflow example does not take security into account because the point of the example is showing how something can be programmed. Security is too often left as an exercise to the reader.
I think OAS has an even bigger opportunity to help developers than Stackoverflow because in Stackoverflow everybody can add their bad example but in OAS the documentation is vetted by API experts.
I am grateful that OAS added openid connect support and oauth2 support. How to secure an API is very important, and OpenId and OAuth2 are the most commonly deployed authentication and authorization schemes.
Please add guidance for developers how to choose grant types and not to use implicit mode in 2024.

Developers should not be relying on the OpenAPI specification to tell them how to build a secure API.

Maybe add a note to the security considerations document that the appearance of a technology in the specification does not mean that its use is in accordance with best practices, or something like that?  (hmm... I should have looked at this before approving the other PR 🙃 )

@AxelNennker what you want might be more suitable for the security section of the learn site as there are endless topics that the specification could address, but making it too large makes it harder to digest.

Speaking as a co-editor of the OAuth Security Best Current Practice RFC draft: Examples are important and it would be great if the OAS examples were secure by default. That said, I have no clue what the process here is or if the proposed change is appropriate.

BTW: I wished that OAI would rely more on OpenId Connect because OIDC is the authentication framework on top of OAuth2. Whenever an API use requires user consent OIDC authorization code flow should be used.

User consent without OpenID Connect is perfectly fine.

Developers should not be relying on the OpenAPI specification to tell them how to build a secure API.

Maybe add a note to the security considerations document that the appearance of a technology in the specification does not mean that its use is in accordance with best practices, or something like that? (hmm... I should have looked at this before approving the other PR 🙃 )

Exactly, well said @handrews.   Overall I agree with @darrelmiller , but the spec SHOULD include some normative language, etc..etc. This is one reason I made the MoonWalk proposal of deprecating (optional) security schemes that are not a good idea.

@miqui the deprecation could even occurs in OAS 3.2 or meaning deprecation not beeing a breaking change, it provides an indication for the future non support (even if i am not sure it is the right direction as OAS is not here to dictate a way but to describe a way of doing)
but may be deprecation is even not a good idea , but rather a good narative

After discussion in today's TDC call, I've filed issue #3603 to follow up on this in the versions and documents that we can change now.  Closing this in favor of that issue.


upcoming: [M3-7693] - Rename Akamai Global Load Balancer to Akamai Cloud Load Balancer

Description 📝

Goes all in on the Akamai Global Load Balancer to Akamai Cloud Load Balancer rename ✏
Yes, I even created new feature flags 🚩 and deprecated the old ones. This probably is very extra of me, but I figured now would just be a good time to get it over with

[!important]
The only thing that shouldn't change as part of this PR is API endpoint URLs and Docs links URLs to prevent breaking dev for internal testers. We will do a separate PR for that and coordinate with the API team

Preview 📷

Before
After

How to test 🧪
Prerequisites

You can test with the MSW or use dev-test-aglb with the dev API

Verification steps

Verify you see  to Akamai Cloud Load Balancer instead of Akamai Global Load Balancer in the UI
Look at the diff and check my find-and-replace work

As an Author I have considered 🤔

[ ] 👀 Doing a self review
[ ] ❔ Our contribution guidelines
[ ] 🤏 Splitting feature into small PRs
[ ] ➕ Adding a changeset
[ ] 🧪 Providing/Improving test coverage
[ ] 🔐 Removing all sensitive information from the code and PR description
[ ] 🚩 Using a feature flag to protect the release
[ ] 👣 Providing comprehensive reproduction steps
[ ] 📑 Providing or updating our documentation
[ ] 🕛 Scheduling a pair reviewing session
[ ] 📱 Providing mobile support
[ ] ♿  Providing accessibility support

@bnussman couple files are conflicting with dev branch.

Going to save those changes until we switch the API endpoints over from aglb to aclb @cpathipa


Batch of epsilon

Hello,
Is it possible to compute bounds for a batch of inputs with different epsilon bounds? I discovered it could be done for L_inf norm, but non-trivial for other norms.
Thanks!

Hi @nurlanov-zh , currently in PerturbationLpNorm, we assume eps is a scalar. It sounds like in your case eps needs to accept a 1-D tensor. I think this would require some small modification to some lines in PerturbationLpNorm involving eps to ensure that eps is correctly broadcast. I think you may create a new Perturbation class inheriting PerturbationLpNorm and slightly modify those related lines.


After refetch is done, component is not re-rendered

I got a repro here which I made for the article (in works): https://codesandbox.io/embed/qzjzr583yq
Watch the console

first image loads just fine
in the input on top enter some other value, eg. "kitten"
different image is loaded
change the input back to any other value
refetch is executed, data arrive and yet no re-render happens
changing input again and it's the same, new data are flowing, but are not processed

Now the strangest part is that if you click on the little button to refresh same tag, it works perfectly.
If there is some mistake on my part, I do apologize, but I wasn't able to spot it.
You can also see error reported in #74 in here if you enter some tag that has no giphy associated.

@FredyC I'm not sure if it will be very helpful, but I was able to create a working version (without using mobx): https://codesandbox.io/s/qzjzr583yqnt

@FredyC I'm not sure if it will be very helpful, but I was able to create a working version (without using mobx): https://codesandbox.io/s/9ym945qn2w

Yea, well, nothing surprising there since everything is re-rendering then obviously the useQuery gets re-rendered as well and show latest data.
This is kinda what the article is supposed to be about, to be able to re-render affected component only. Oh well, I will try to dig deeper.

This is kinda what the article is supposed to be about, to be able to re-render affected component only. Oh well, I will try to dig deeper.

It should also work. Please look at: https://github.com/trojanowski/react-apollo-hooks/issues/83#issuecomment-464009545

@trojanowski That's not what I want. The local state will obviously work, but imagine it needs to go through like 10 or more layers to a completely different part of the app. Prop drilling is an ugly beast ⚔
You can have a look at the article (it will be officially published until Monday) to see what I mean.

Nonetheless, it feels like an upstream bug. After a bit of debugging it seems that ObservableQuery subscribe is not randomly invoked and setResponseId is not called to re-render the component. That's really odd.

I dont know if this is related, but I put a solution right now at https://github.com/trojanowski/react-apollo-hooks/issues/74

I am using ^0.4.5, and did not experience the problem though my code is almost the same with that of @FredyC. Only one difference is that I use refetch function without variables or other parameters. just
const RefetchButton = ({refetch}) =>
  <Button onClick={refetch} />;

Clicking this button triggers data fetching of useQuery in the parent component. I have not checked the source code of react-apollo-hooks yet, but I guess you deserve to try moving parameter to hook itself.
btw, it seems something wrong with fetching data in the sandbox example.


Install from luarocks is failing

Hi,
I just tried to install this with luarocks on my Gentoo machine and it failed with the following messages:
libtool: install: /usr/bin/install -c ext/posix/.libs/posix.so /home/wichtounet/torch/install/lib/luarocks/rocks/luaposix/33.4.0-1/lib/posix.so
/usr/bin/install: cannot stat 'ext/posix/.libs/posix.so': No such file or directory

Is there something missing on my system ?
Thanks

It looks like you're missing some or all of the toolchain for compiling since the luaposix library did not get built.  There are probably some useful error messages further back in your terminal that will tell what went wrong... there's not really much to go on in what you pasted.


Add exception handling to the middleware

The change allows to set an explicit array of errors to be captured by the tracer as errors.
Notice that errors are not muted by the middleware, they are re-raised afterwards. So for example it's safe to capture interrupts or related, and still they will bubble up.
By default all the standard exceptions are captured.
When an exception occurs, as described in the OT specification the following operations are performed:

we mark the span as failed by setting error tag to true
we log the error by setting event to error, and error.object to the thrown exception.

👍


Attempted import error: 'createPublicKey' is not exported from 'crypto'

What are the steps to reproduce this issue?
1. yarn add aws-jwt-verify

2. import verify from 'aws-jwt-verify';

What happens?
Failed to compile.

./node_modules/aws-jwt-verify/dist/esm/jwt-rsa.js

Attempted import error: 'createPublicKey' is not exported from 'crypto' (imported as 'createPublicKey').

What versions of software are you using?
"node": 14
"aws-jwt-verify": 1.0.3, and also tried version 1.0.0

Can't explain the issue so far, since crypto.createPublicKey has been around since Node 11.6.0.
It should work on Node14 and in fact we run our unit and integration tests on Node14 and all okay.
You're also using TypeScript? Which version? Should be at least 4. Also use a sufficiently high version of @types/node otherwise TypeScript might not know about crypto.createPublicKey yet.
BTW I notice you're using a default import, which this library doesn't offer, so I would have expected this message:
import verify from 'aws-jwt-verify';
       ^^^^^^
SyntaxError: The requested module 'aws-jwt-verify' does not provide an export named 'default'

Maybe that's just your example, otherwise try this: import { JwtRsaVerifier, CognitoJwtVerifier } from 'aws-jwt-verify';

Hi @jnbooth, any update from your side?

@jnbooth , following up on the above inquiry, could you update when you can please?

Closing because of inactivity, feel free to open a new issue


Flat examples

Description
This removes the clippy test for examples when running with --no-default-features. Examples usually use some features, and without this the examples have to be their own crates, which I think is not so nice.
Notes & open questions
Note: there might still be some examples that will have to have their own crate, but I would like to have small examples that are just one file.
Change checklist

[x] Self-review.

The examples should be listed in iroh/Cargo.toml with required-features set to the features they need


Training on vg dataset

Thanks for your excellent work!
According to your paper, pairnet performs quite well on vg  dataset for sgg task. Could you provide some instructions on how to train the model on vg dataset? I also find in the configs/_base_/datasets /vg_sg.py file, the ann_file is a json file, how can I prepare this file myself? Thanks!

Is the ann_file data_pairnet.json same as the vg150.json at this link, which I find in OpenPSG repo.


Should probably use Sequence or Diamond

Instead of reinventing the wheel for sequence demos, should probably use either:
https://github.com/arirusso/sequencer
or
https://github.com/arirusso/diamond

Thinking of making the library more simple than that.


[Table] Cannot change No Results message from table using knobs

Describe the bug
Cannot change No Results message from table using knobs
To Reproduce
Bug reported in Graphite Storybook but development said it's a Carbon component problem.
https://pages.github.ibm.com/maximo-app-framework/graphite/react/storybook/?path=/story/components-✓-datasourcetable--datasourcetable

Open the Graphite storybook using the link above
Open DatasourceTable component
Change No results message in knobs
Open filter and enter an invalid value in one of the filter fields and hit Enter key

Actual Result: "No results match the current filters" is displayed as placeholder
Expected Result: Label added in knobs should be displayed instead

That message is configurable via the i18n.emptyMessageWithFilters prop on the Table.
https://github.com/carbon-design-system/carbon-addons-iot-react/blob/6dbb37c0565c3f2a9ab51f00c69080952c66f616/src%2Fcomponents%2FTable%2FTable.jsx#L329
You'll have to configure the knob to point to that prop.

I'm going to close this as I believe the above info should resolve the issue for you. Please let us know and reopen if there's a remaining problem with this prop


Update Python and dependencies

When fixing #18 I realized that Python version and dependencies are outdated.
Python 3.7 to 3.9 --> 3.8 to 3.11 ?

This should be closed with #22


Add '%b' as variable for file-basename when parsing archive-location

closes #206
@kristijanhusak let me know what you think of this. I found this TODO about archiving to headlines. Any specific plans on how to implement that, while I'm at it?

I think that we could avoid adding %b and instead have %s always be the basename, with the default location being the value org_agenda_files. That seems to be how the behavior is supposed to work in the first place. https://orgmode.org/manual/Moving-subtrees.html#index-archive-locations

Currently the default value of org_archive_location is %s_archive, which expands to full/path/to/file_archive. Let's say %s only expands to file and not full/path/to/file. Now for the default to be saved to the same directory as the file from which we archive from (which is what we expect), it would be necessary to programmatically prepend the expanded default value with the path to that directory, full/path/to, right? That effectively locks any archive file to the directory of the file from which you archive. Except if you make the default value a special-case and only prepend the full path when org_archive_location is set to the default of %s_archive, which is confusing imo.
So if I'm not overlooking something, expanding %s to basename makes it impossible to have archive files in other directories than the ones from which you archive. I'm not sure how emacs handles this, but it is definitely possible in nvim-orgmode to have your archive file in another directory

@jgollenz @TravonteD is actually right. That's how Emacs does it. %s is a basename, and it knows how to read it.
This is what Emacs says about this variable:
When the filename is omitted, archiving happens in the same file.
%s in the filename will be replaced by the current file
name (without the directory part

Here's few examples from emacs orgmode docs:
"%s_archive::"
If the current file is Projects.org, archive in file
Projects.org_archive, as top-level trees.  This is the default.
"~/org/archive.org::"
Archive in file ~/org/archive.org (absolute path), as top-level trees.
So I guess we just need to tweak this to not read the full path, but to know how to replace only the file name part. Once this is fixed, you could have something like archive/%s_archive:: as configuration, and it would know how to handle your use case from the issue.
I'll look into this.

@jgollenz I pushed a fix to address this. It should be working now as expected.
This means that you can do archive/%s_archive:: and everything will go under the archive/filename.org_archive.
You can keep me posted on the issue if something is not working as expected. Thanks for catching this.

It works when the archive directory I want is a sub-directory of the one my file is in. But trying to set org_archive_location to something like ~/where/my/logs/are/%s_archive:: will create the log file (+directory structure) at ~/org/~/where/my/logs/are/
So I cannot archive to an arbitrary location. Not sure if emacs can either, but I think it's a valid option to give to users. Then again, I'm biased regarding this issue

@jgollenz You cannot have an absolute location that has a placeholder. To achieve your example from issue:
~/org/
    todo.org
    ...
    archive/
        todo.org_archive
        ...

You would set org_archive_location = 'archive/%_archive, which would for todo.org expand to ~/org/archive/todo.org_archive. To put it somewhere else you could theoretically do something like ../../archive/%s_archive, but I didn't try that, and I woudn't suggest doing that.

@kristijanhusak sorry, I took another look at my original issue and your fix indeed addresses that.

You cannot have an absolute location that has a placeholder

I'm not sure if you mean it is impossible or it's not possible with your fix? If it's the former, could you please explain why? The issue I have is that the apparent emacs behavior locks users into the directory of the file they're archiving from, but only when they use the %s placeholder. I can happily archive to ~/path/to/wherever/archive.org but not to ~/path/to/wherever/%s_archive.org. When %s really is just the basename, why can't I do that? This surely is a different issue to the one I reported, but its related

I guess it's just this discrepancy between those two cases:

I want to use the placeholder, but I can only do so in the directory the file is in
I want to archive to another directory, but I can only do so without using a placeholder

And thinking about it more: it is because there is no way to tell where the default location should be. Now I understand. Well, bummer.


Formatter bug fixes

This PR gets in lots of small fixes for the upcoming swap, it takes into account all of the test programs we have in the test directory.

I got most of the kinks out, there are a few things that are still affecting the overall performance but this should be a nice bump closer !

Looking good!
It looks like some of the E2E tests might have been accidentally reformatted as a part of your testing and those changes made it into this PR. Is it possible to remove these changes for now? Or are they necessary in preparation for the switch?
I'm happy to approve either way as the logic appears to remain the same.

So the only ones that changed were ones that couldn't be formatted, so I had to change something about them. Once I saved they auto-formatted with the old formatter which isn't necessary but also will get formatted with the new formatter when we switch over so I didn't think to revert them.


Scripts executed with 'run on publish` are marked as never on import page

Upload script on Author, use 'Run on publish` button.
Expected:
Import page 'Recently executed at' column should state last publish run date,
Actual:
Import page 'Recently executed at' column states that script was never run.
Note that History for that run is created properly. (This is a problem on scirpt node level itself)

no longer valid


Build timed out

Environment information
npx ampx info

Describe the bug
Build
More than 1 hour
Build timed out
Here is the amplify.yml:
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - chmod +x build.sh
        - ./build.sh
    build:
      commands:
        - streamlit run streamlit_app.py
  artifacts:
    baseDirectory: /
    files:
      - "**/*"
#  cache:
#    paths:
#      - node_modules/**/*
#      - "!node_modules/path/not/to/cache"
  backend:
    phases:
      build:
        commands:
          - "#Execute Amplify CLI with helper script"
#          - envCache --set stackinfo""
          - amplifyPush --simple

Here is deploy log:
2024-08-31T15:34:05.374Z [INFO]: # Cloning repository: git@github.com:krtallc/krtallc.git

1

2024-08-31T15:34:10.026Z [INFO]:

2

2024-08-31T15:34:10.099Z [INFO]: Cloning into 'krtallc'...

3

Updating files: 85% (6661/7817) Updating files: 86% (6723/7817) Updating files: 87% (6801/7817) Updating files: 88% (6879/7817) Updating files: 89% (6958/7817) Updating files: 90% (7036/7817) Updating files: 91% (7114/7817) Updating files: 92% (7192/7817) Updating files: 93% (7270/7817) Updating files: 94% (7348/7817) Updating files: 95% (7427/7817) Updating files: 96% (7505/7817) Updating files: 97% (7583/7817) Updating files: 98% (7661/7817) Updating files: 99% (7739/7817) Updating files: 100% (7817/7817) Updating files: 100% (7817/7817), done.

4

2024-08-31T15:34:10.099Z [INFO]: # Checking for Git submodules at: /codebuild/output/src3522305196/src/krtallc/.gitmodules

5

2024-08-31T15:34:10.104Z [INFO]: # Retrieving environment cache...

6

2024-08-31T15:34:10.138Z [WARNING]: ! Unable to write cache: {"code":"ERR_BAD_REQUEST","message":"Request failed with status code 404"})}

7

2024-08-31T15:34:10.139Z [INFO]: ---- Setting Up SSM Secrets ----

8

2024-08-31T15:34:10.139Z [INFO]: SSM params {"Path":"/amplify/d2m72xckjf9w0p/main/","WithDecryption":true}

9

2024-08-31T15:34:10.177Z [WARNING]: !Failed to set up process.env.secrets

10

2024-08-31T15:34:11.120Z [INFO]: No live updates for this build run

11

2024-08-31T15:34:11.124Z [INFO]: # Retrieving cache...

12

2024-08-31T15:34:11.171Z [INFO]: # Retrieved cache

13

2024-08-31T15:34:15.007Z [INFO]: ## Starting Backend Build

14

## Checking for associated backend environment...

15

## No backend environment association found, continuing...

16

## Completed Backend Build

17

2024-08-31T15:34:15.012Z [INFO]: {"backendDuration": 0}

18

## Starting Frontend Build

19

# Starting phase: preBuild

20

# Executing command: chmod +x build.sh

21

# Executing command: ./build.sh

22

2024-08-31T15:34:31.228Z [INFO]: Collecting Streamlit==1.38.0

23

2024-08-31T15:34:31.283Z [INFO]: Downloading streamlit-1.38.0-py2.py3-none-any.whl (8.7 MB)

24

2024-08-31T15:34:31.612Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.7/8.7 MB 26.8 MB/s eta 0:00:00

25

2024-08-31T15:34:31.612Z [INFO]:

26

2024-08-31T15:34:32.313Z [INFO]: Collecting pymongo==4.8.0

27

2024-08-31T15:34:32.354Z [INFO]: Downloading pymongo-4.8.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)

28

2024-08-31T15:34:32.377Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 56.6 MB/s eta 0:00:00

29

2024-08-31T15:34:32.377Z [INFO]:

30

2024-08-31T15:34:32.415Z [INFO]: Collecting python-dotenv==1.0.0

31

2024-08-31T15:34:32.425Z [INFO]: Downloading python_dotenv-1.0.0-py3-none-any.whl (19 kB)

32

2024-08-31T15:34:32.483Z [INFO]: Collecting altair<6,>=4.0

33

2024-08-31T15:34:32.558Z [INFO]: Downloading altair-5.4.1-py3-none-any.whl (658 kB)

34

2024-08-31T15:34:32.573Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 658.1/658.1 kB 55.0 MB/s eta 0:00:00

35

2024-08-31T15:34:32.573Z [INFO]:

36

2024-08-31T15:34:32.971Z [INFO]: Collecting pillow<11,>=7.1.0

37

2024-08-31T15:34:32.982Z [INFO]: Downloading pillow-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB)

38

2024-08-31T15:34:33.046Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 73.9 MB/s eta 0:00:00

39

2024-08-31T15:34:33.046Z [INFO]:

40

2024-08-31T15:34:33.195Z [INFO]: Collecting toml<2,>=0.10.1

41

2024-08-31T15:34:33.205Z [INFO]: Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)

42

2024-08-31T15:34:33.328Z [INFO]: Collecting gitpython!=3.1.19,<4,>=3.0.7

43

2024-08-31T15:34:33.339Z [INFO]: Downloading GitPython-3.1.43-py3-none-any.whl (207 kB)

44

2024-08-31T15:34:33.345Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.3/207.3 kB 59.4 MB/s eta 0:00:00

45

2024-08-31T15:34:33.345Z [INFO]:

46

2024-08-31T15:34:33.347Z [INFO]: Requirement already satisfied: rich<14,>=10.14.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (13.6.0)

47

2024-08-31T15:34:33.348Z [INFO]: Requirement already satisfied: packaging<25,>=20 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (23.2)

48

2024-08-31T15:34:33.464Z [INFO]: Collecting tornado<7,>=6.0.3

49

2024-08-31T15:34:33.474Z [INFO]: Downloading tornado-6.4.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (436 kB)

50

2024-08-31T15:34:33.481Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 436.8/436.8 kB 87.4 MB/s eta 0:00:00

51

2024-08-31T15:34:33.481Z [INFO]:

52

2024-08-31T15:34:33.485Z [INFO]: Requirement already satisfied: watchdog<5,>=2.1.5 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (3.0.0)

53

2024-08-31T15:34:33.658Z [INFO]: Collecting pyarrow>=7.0

54

2024-08-31T15:34:33.667Z [INFO]: Downloading pyarrow-17.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (39.9 MB)

55

2024-08-31T15:34:34.002Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 39.9/39.9 MB 64.6 MB/s eta 0:00:00

56

2024-08-31T15:34:34.003Z [INFO]:

57

2024-08-31T15:34:34.378Z [INFO]: Collecting pandas<3,>=1.3.0

58

2024-08-31T15:34:34.389Z [INFO]: Downloading pandas-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 MB)

59

2024-08-31T15:34:34.495Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.0/13.0 MB 115.9 MB/s eta 0:00:00

60

2024-08-31T15:34:34.495Z [INFO]:

61

2024-08-31T15:34:34.540Z [INFO]: Requirement already satisfied: typing-extensions<5,>=4.3.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (4.8.0)

62

2024-08-31T15:34:34.576Z [INFO]: Collecting tenacity<9,>=8.1.0

63

2024-08-31T15:34:34.623Z [INFO]: Downloading tenacity-8.5.0-py3-none-any.whl (28 kB)

64

2024-08-31T15:34:34.627Z [INFO]: Requirement already satisfied: blinker<2,>=1.0.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (1.7.0)

65

2024-08-31T15:34:34.708Z [INFO]: Collecting pydeck<1,>=0.8.0b4

66

2024-08-31T15:34:34.758Z [INFO]: Downloading pydeck-0.9.1-py2.py3-none-any.whl (6.9 MB)

67

2024-08-31T15:34:34.813Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 130.8 MB/s eta 0:00:00

68

2024-08-31T15:34:34.814Z [INFO]:

69

2024-08-31T15:34:35.252Z [INFO]: Collecting numpy<3,>=1.20

70

2024-08-31T15:34:35.262Z [INFO]: Downloading numpy-2.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.3 MB)

71

2024-08-31T15:34:35.389Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.3/16.3 MB 112.0 MB/s eta 0:00:00

72

2024-08-31T15:34:35.389Z [INFO]:

73

2024-08-31T15:34:35.438Z [INFO]: Requirement already satisfied: requests<3,>=2.27 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (2.31.0)

74

2024-08-31T15:34:35.439Z [INFO]: Requirement already satisfied: click<9,>=7.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from Streamlit==1.38.0->-r requirements.txt (line 2)) (8.1.7)

75

2024-08-31T15:34:35.863Z [INFO]: Collecting protobuf<6,>=3.20

76

2024-08-31T15:34:35.903Z [INFO]: Downloading protobuf-5.28.0-cp38-abi3-manylinux2014_x86_64.whl (316 kB)

77

2024-08-31T15:34:35.911Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 316.6/316.6 kB 55.0 MB/s eta 0:00:00

78

2024-08-31T15:34:35.911Z [INFO]:

79

2024-08-31T15:34:35.982Z [INFO]: Collecting cachetools<6,>=4.0

80

2024-08-31T15:34:35.991Z [INFO]: Downloading cachetools-5.5.0-py3-none-any.whl (9.5 kB)

81

2024-08-31T15:34:36.092Z [INFO]: Collecting dnspython<3.0.0,>=1.16.0

82

2024-08-31T15:34:36.141Z [INFO]: Downloading dnspython-2.6.1-py3-none-any.whl (307 kB)

83

2024-08-31T15:34:36.147Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.7/307.7 kB 75.5 MB/s eta 0:00:00

84

2024-08-31T15:34:36.148Z [INFO]:

85

2024-08-31T15:34:36.252Z [INFO]: Collecting narwhals>=1.5.2

86

2024-08-31T15:34:36.262Z [INFO]: Downloading narwhals-1.6.0-py3-none-any.whl (154 kB)

87

2024-08-31T15:34:36.267Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.6/154.6 kB 49.5 MB/s eta 0:00:00

88

2024-08-31T15:34:36.267Z [INFO]:

89

2024-08-31T15:34:36.270Z [INFO]: Requirement already satisfied: jsonschema>=3.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (4.19.2)

90

2024-08-31T15:34:36.270Z [INFO]: Requirement already satisfied: jinja2 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (3.1.2)

91

2024-08-31T15:34:36.420Z [INFO]: Collecting typing-extensions<5,>=4.3.0

92

2024-08-31T15:34:36.473Z [INFO]: Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB)

93

2024-08-31T15:34:36.637Z [INFO]: Collecting gitdb<5,>=4.0.1

94

2024-08-31T15:34:36.679Z [INFO]: Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)

95

2024-08-31T15:34:36.683Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.7/62.7 kB 24.9 MB/s eta 0:00:00

96

2024-08-31T15:34:36.684Z [INFO]:

97

2024-08-31T15:34:36.856Z [INFO]: Collecting tzdata>=2022.7

98

2024-08-31T15:34:36.866Z [INFO]: Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)

99

2024-08-31T15:34:36.872Z [INFO]: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 77.7 MB/s eta 0:00:00

100

2024-08-31T15:34:36.873Z [INFO]:

101

2024-08-31T15:34:36.879Z [INFO]: Requirement already satisfied: pytz>=2020.1 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from pandas<3,>=1.3.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (2023.3.post1)

102

2024-08-31T15:34:36.880Z [INFO]: Requirement already satisfied: python-dateutil>=2.8.2 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from pandas<3,>=1.3.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (2.8.2)

103

2024-08-31T15:34:36.974Z [INFO]: Requirement already satisfied: urllib3<3,>=1.21.1 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from requests<3,>=2.27->Streamlit==1.38.0->-r requirements.txt (line 2)) (2.0.7)

104

2024-08-31T15:34:36.975Z [INFO]: Requirement already satisfied: idna<4,>=2.5 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from requests<3,>=2.27->Streamlit==1.38.0->-r requirements.txt (line 2)) (3.4)

105

2024-08-31T15:34:36.976Z [INFO]: Requirement already satisfied: certifi>=2017.4.17 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from requests<3,>=2.27->Streamlit==1.38.0->-r requirements.txt (line 2)) (2023.7.22)

106

2024-08-31T15:34:36.976Z [INFO]: Requirement already satisfied: charset-normalizer<4,>=2 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from requests<3,>=2.27->Streamlit==1.38.0->-r requirements.txt (line 2)) (3.3.2)

107

2024-08-31T15:34:37.013Z [INFO]: Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from rich<14,>=10.14.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (2.16.1)

108

2024-08-31T15:34:37.014Z [INFO]: Requirement already satisfied: markdown-it-py>=2.2.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from rich<14,>=10.14.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (3.0.0)

109

2024-08-31T15:34:37.104Z [INFO]: Collecting smmap<6,>=3.0.1

110

2024-08-31T15:34:37.114Z [INFO]: Downloading smmap-5.0.1-py3-none-any.whl (24 kB)

111

2024-08-31T15:34:37.195Z [INFO]: Requirement already satisfied: MarkupSafe>=2.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from jinja2->altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (2.1.3)

112

2024-08-31T15:34:37.248Z [INFO]: Requirement already satisfied: referencing>=0.28.4 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from jsonschema>=3.0->altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (0.30.2)

113

2024-08-31T15:34:37.249Z [INFO]: Requirement already satisfied: rpds-py>=0.7.1 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from jsonschema>=3.0->altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (0.12.0)

114

2024-08-31T15:34:37.250Z [INFO]: Requirement already satisfied: jsonschema-specifications>=2023.03.6 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from jsonschema>=3.0->altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (2023.7.1)

115

2024-08-31T15:34:37.251Z [INFO]: Requirement already satisfied: attrs>=22.2.0 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from jsonschema>=3.0->altair<6,>=4.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (23.1.0)

116

2024-08-31T15:34:37.274Z [INFO]: Requirement already satisfied: mdurl~=0.1 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich<14,>=10.14.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (0.1.2)

117

2024-08-31T15:34:37.330Z [INFO]: Requirement already satisfied: six>=1.5 in /root/.pyenv/versions/3.10.13/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas<3,>=1.3.0->Streamlit==1.38.0->-r requirements.txt (line 2)) (1.16.0)

118

2024-08-31T15:34:42.539Z [INFO]: Installing collected packages: tzdata, typing-extensions, tornado, toml, tenacity, smmap, python-dotenv, protobuf, pillow, numpy, narwhals, dnspython, cachetools, pymongo, pydeck, pyarrow, pandas, gitdb, gitpython, altair, Streamlit

119

2024-08-31T15:34:42.654Z [INFO]: Attempting uninstall: typing-extensions

120

2024-08-31T15:34:42.655Z [INFO]: Found existing installation: typing_extensions 4.8.0

121

2024-08-31T15:34:42.694Z [INFO]: Uninstalling typing_extensions-4.8.0:

122

2024-08-31T15:34:53.624Z [INFO]: Successfully uninstalled typing_extensions-4.8.0

123

2024-08-31T15:35:03.234Z [INFO]: Successfully installed Streamlit-1.38.0 altair-5.4.1 cachetools-5.5.0 dnspython-2.6.1 gitdb-4.0.11 gitpython-3.1.43 narwhals-1.6.0 numpy-2.1.0 pandas-2.2.2 pillow-10.4.0 protobuf-5.28.0 pyarrow-17.0.0 pydeck-0.9.1 pymongo-4.8.0 python-dotenv-1.0.0 smmap-5.0.1 tenacity-8.5.0 toml-0.10.2 tornado-6.4.1 typing-extensions-4.12.2 tzdata-2024.1

124

There is no additional information that led to build time out error. The environment variable _BUILD_TIMEOUT is set to 120 and still same result. Unsure of what the issue could be? Background - application code is python with streamlit framework, 99% static content with a scheduling module which is real time dynamic.
Don't know how to proceed, any help would be greatly appreciated.
Reproduction steps
The amplisy.yml is attached above, The Repository
is
krtallc:main
environment variable
_BUILD_TIMEOUT is set to 120

Question, did you recently integrate a more complex service into your build?
You can increase the build timeout threshold in the amplify control console
We had this problem when we first integrated an opensource cluster into our build. the build timed out but going to the cloud formation console we could see that the cloud formation stacks did finish ultimately once the initial cluster was up the jobs would go back to being fast again but complex changes to the cluster would still drag a bit.
We are currently considering two solutions moving to a split front end backend project style so that we can give the backend the time it needs complete and speedup front end deploys.
Alternatively we are exploring breaking out big ticket items like cognito and opensearch and some analytical things cross account to a central account then making these resources available cross account refereces to the smaller serverless projects.

Hey @krtallc, could you provide us the App-id, region and name of the branch?

@dataminion and @ykethan and team, greetings! I appreciate your response.
@dataminion - I had not integrated any complex services. At a high level it is a static 3 page webpage with option of selecting an appointment schedule to receive a calendar invite with appointment slot selected for the services provided.
Even with _BUILD_TIMEOUT set to 120 timeout happened. I am glad to see the cloud formation stacks finished.
@ykethan - I deleted all the created deployments and started working on a local cli test build manually. So I recreated a new build which failed again. Here are the details:
Region: us-east-1
All apps
/
krtallc_20240831
/
main
/
Deployments
Deployments
Deployment 1
Failed
Started at
9/4/2024, 7:26 PM
Build duration
30 minutes 18 seconds
Domain
https://main.d360tpbeqlbhhk.amplifyapp.com
Repository
krtallc_20240831:main
Last commit
Auto-build
Name of the branch is main

Hey, thank you for your patience. On diving into the logs did notice the streamlit run streamlit_app.py created a server with addresses which timed out. Amplify hosting currently does not support running a long running process such as server. Currently Amplify deploys you build artifacts to CloudFront.
For example in a nextJS App
frontend:
  phases:
    preBuild:
      commands:
        - npm ci --cache .npm --prefer-offline
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'

The application is build and the artifact is then deployed to the CDN. refer to this documentation.
While i am not familiar with streamlit, i was able to find a aws-sample app that may help with your use case

@krtallc 👋 , as stated previously the Amplify builds have failed due to timing out after 30 minutes (the default timeout limit). However, we do support a maximum build timeout of 2 hours. For deploying Streamlit based Python apps, we recommend reducing the number of long running commands executed during the build or optimize the build process to ensure faster execution as this can help prevent timeout issues.
Closing the thread since the root cause has been identified for the build failures.


hotFix-invest

Invest Page - Updates made

Resized images (smaller size)
Aligned text and images
Removed dark gradients
Mobile friendly

confirmed updated to dev.  Preview looks good


IGG Games

games

games site with many links for game downloads and it is also constantly uploaded

igg is notorious for being shady. for example, in the past they've cracked games and then added their own drm to it so it wouldn't boot without a specific file, often called downloadedfromigg-games.dll or similar.


[trovo.live] Unable to download JSON metadata

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.04.08 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Description
worked before. now there is no.
Verbose log
yt-dlp version 2022.04.08

ERROR: [Trovo] Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 641, in extract
  File "yt_dlp\extractor\trovo.py", line 41, in _real_extract
  File "yt_dlp\extractor\trovo.py", line 22, in _call_api
  File "yt_dlp\extractor\common.py", line 1029, in _download_json
  File "yt_dlp\extractor\common.py", line 1008, in _download_json_handle
  File "yt_dlp\extractor\common.py", line 800, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 785, in _request_webpage

  File "yt_dlp\extractor\common.py", line 767, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3601, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

I'm looking into it, looks like they've changed their API a bit, and now instead of one API it's split into 3 different ones.

https://github.com/yt-dlp/yt-dlp/issues/3457


Reproducing MusicGen text2music Results on MusicCaps - Dataset Metafile Preparation

Hello,
I'm trying to reproduce the MusicGen evaluation metrics on MusicCaps dataset. I've downloaded the dataset and have created the manifest file according to the instructions in the repo https://github.com/facebookresearch/audiocraft/blob/main/docs/DATASETS.md.
There is a note that each wav file needs to also have an accompanying json file, with metadata, similar to the structure in https://github.com/facebookresearch/audiocraft/tree/main/dataset/example, however the dataset does not provide it in this way.
Are there any scripts in this repo that I'm missing for generating those json files from the single MusicCaps CSV metafile ?  Otherwise anyone can point me to a download location where this has already processed according to that structure?
Any advice would be appreciated. I want to avoid extra manual efforts that may prevent me from reproducing the reported numbers.

Hi @anithselva,
I am wondering whether you found a way to generate the json files? And if you were you able to reproduce the evaluation metrics?
Thanks


How do I call this from VB6?

I have a VB6 app that is under active development and must have this added. Can you add COM support?

I don't have time to go through an exhaustive explanation, but essentially you want to click Project -> References, and then actuate the "Cancel" button.  Should build if you did it right.


CsvDataLoader and encoding

I just tried out the Effort.EF6, and it seems to work fine! But using the CsvDataLoader does not take encoding into account. When the file has special characters, it gets garbled. A fix would be, in CsvTableDataLoader, to change CreateDataReader to this:

And obviously, allowing to pass in the preferred encoding would make it generic.

Hello @samihuutoniemi ,
Do you think you could provide us a test project with this issue?
It will make easier/faster for my developer to getting started for investigating it.
We now always ask for a project since we found out that most issues are missing some essential information or are resolved by the requestor when creating it
(Even if the issue seem very easy to reproduce, by getting a test project, it allow us to give a faster support and better experience for the support of all our free libraries)
Best Regards,
Jonathan

I have only used Effort at work, and the code is very internal. I don't have a test project available right now, but if I can I will.


Split imagery routes for better authentication

Server.java:

Unused: /get-institution-imagery

JsonImagery.java:

Lines 20,26,32: Remove @Override Java metadata tags.
Line 38: Drop getAllImagery.

PostgresImagery.java:

Line 29: Why aren't we removing access tokens from source_config
anymore? This seems like a security hole that negates the point of
imagery proxying.

update_2020-06-09.sql:

There is already a file with this name on master. Rename this file
to a later date.

These files all call /get-all-imagery and must be updated in this PR:

create-project.js
geo-dash.js
project-dashboard.js
review-institution.js
review-project.js
widget-layout-editor.js

PostgresImagery.java:

Line 27: There is no longer a featureProfile attribute, so this line can be dropped.
Line 76: This looks backwards. You should be setting stripConfig = true is isInstAdminQuery() returns false. So use not here.


rewrite check event

Hi, I rewrited check event using window.pageYOffset and document.documentElement.scrollTop to get scrolltop offset and to make isFixed calculation more simple.

@derevandal
thank you for your PR.
I'll check next weekend.

What was wrong with this PR?


Fancy Zones is acting schizophrenic.

Microsoft PowerToys version
0.45.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
When my machine is restarted Fancy Zones goes to a default e column layout instead of the 4 quarters zones I had. In addition once I go into the settings to change it where it should have stayed (maybe a save button would help), RARELY does a closed window in one of the zones actually open in the same place it was closed. Frequently the newly opened window appears wherever it wants to.
✔ Expected Behavior
The zones to stay locked until I changed them and for windows to open where they were closed.
❌ Actual Behavior
Goes back to default 3 column upon restart and doesn't keep windows where they were last.
PowerToysReport_2021-09-24-22-26-17.zip
t.
Other Software
No response

@SeraphimaZ is this the VD issue?

I'm sorry Clint, I don't know what you're referring to.

@crutkas yes, it is.

@izzyforeal thank you for reporting. It’s a known problem and we already have a fix for it.

Oh great! Uh....can I have it?

ETA is next week for official 0.47.  Closing this as a duplicate as we have the issue tracked already and also have a fix already in the source code.
If you want a fix now, you can compile your own.


Use the pretrained model to initialize the weights of ECO's 2Dnet and 3Dnet

`model_dict = self.state_dict()
    pretrained_on_kin = torch.utils.model_zoo.load_url(weight_url)
    new_state_dict = {k[18:]: v for k, v in pretrained_on_kin['state_dict'].items() if k[18:] in model_dict}

    # init the layer names which is not in pretrained model dict
    un_init_dict_keys = [k for k in model_dict.keys() if k not in new_state_dict]

    print(un_init_dict_keys)

    std = 0.001
    for k in un_init_dict_keys:
        new_state_dict[k] = torch.DoubleTensor(model_dict[k].size()).zero_()
        if 'weight' in k:
            normal(new_state_dict[k], 0, std)
        elif 'bias' in k:
            constant(new_state_dict[k], 0)

    self.load_state_dict(new_state_dict)

`
In this part, the author uses a model trained on other data sets to initialize some parameters of ECO. Since I didn't get this model, I trained directly.The above code was directly deletedby me. During the training process, my loss sometimes drops and sometimes rises. Is this normal? Maybe the loss value should keep dropping? I want to know what the loss and accuracy of the model should be when it is trained correctly?Hope to get help from you .
By the way, if anyone can provide the above pre-trained model, I would be very grateful!

Yes，I have the same problem

Yes，I have the same problem
If you don't mind, maybe we can talk about it. Qq:253878404


Same as nc -lk -p 2226 -e "xargs open"

This is not an issue. Just sharing a similar approach using netcat.
$ ncat --version
Ncat: Version 7.93 ( https://nmap.org/ncat )

$ ncat -lk -p 2226 --sh-exec "xargs open"

In another shell:
$ echo "https://carlosbecker.com" | nc localhost 2226

whoa, that's actually amazing... did not know you could do that...
Thanks for sharing!

added a note about it in the readme, thanks again!
FWIW, also mentioned you in https://carlosbecker.com/posts/pbcopy-pbpaste-open-ssh/

@pbnj I'm trying the ncat solution, but an issue I have is that when I do something like:
echo "https://carlosbecker.com" | nc localhost 2226

it "freezes", and only opens the link once I press ctrl+c there; is there something additional I need to do?

nc -q1

nc -q1

Hmmm, I have netcat (The GNU Netcat) 0.7.1, and it says:
nc: invalid option -- 'q'
Try `nc --help' for more information.

Hmm, apparently I'm using netcat-openbsd for some reason, will investigate further later

with netcat-gnu, probably something like this:
echo "https://carlosbecker.com" | nc -c -w1 localhost 2226

fwiw, I just made netcat-gnu my standard too: https://github.com/caarlos0/dotfiles.nix/commit/84e75bd716b433c3dcb55922f16f143970663024

Thank you both for your answers
@caarlos0 I do have another question for you: I installed xdg-open-svc using brew and I've brew services start it. I guess it should run automatically if I restart my computer?
Reason I'm asking that it works, but I think when I restart my computer, it doesn't work anymore; I restarted it, killed existing ssh processes etc. to make it work, but I guess that's not "normal", is it? 😝


MC 1.10.2 - Mekanism + Optifine Texture Bugs

I'm posting here and in Optinfine thread justo to people to come to here see that problem. (https://github.com/sp614x/optifine/issues/457#issuecomment-304529495)
Using only Forge (<IP_ADDRESS>1) + Meknaism (9.2.2) + MCMultipart (1.4.0)+ Optifine (1.10.2_HD_U_D8) is easy to reproduce a texture bug issue.
Log:
https://pastebin.com/nmH3NXYD
Screnshots:
http://imgur.com/a/UR8ON

Closing as development is now entirely focused on 1.11 and Optifine has been known to not play nicely with Mekanism rendering.

No Problem. I posted here just to other players to know. :)

When OptiFine's AA or AF is enabled then some item models do not render properly.
The Mekanism rendering is very strange and it goes against the basic idea of item models: https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java#L404
The method getQuads() should return a list of quads, nothing else.
It should not:

manipulate OpenGL state: https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java#L438
bind textures: https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java#L444
manipulate the default Tessellator: https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java#L447, https://github.com/aidancbrady/Mekanism/blob/master/src/main/java/mekanism/client/render/MekanismRenderer.java#L254

The BakedCustomItemModel looks like one big hack and it should not be expected to be compatible with anything else.


Fixing Apache Kafka topic naming

This PR is mostly a cosmetic change about how using the Apache Kafka naming.
The doc talks about Apache Kafka Topic in the scalers menu as if it was the "project" name, which is not true. It's like saying that instead of having Azure Service Bus on the menu, we had Azure Service Bus Queue/Topic.
This PR highlight the scaler as an Apache Kafka based scaler also renaming the corresponding markdown file.

Thanks!


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

error 404 every where in the console
Expected behavior

load my index.html
Environment
Browser:

- [ x] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: <!-- Check which version is installed -->
- Platform:  <!--


Remove volume links and other tree-view links that do not need to be shown

remove link from volumes on filesystem detail, mgt, individual volumes in tree view
Remove OST pools parent link in tree view
Remove Target parent links (except MGT)

Signed-off-by: johnsonw<EMAIL_ADDRESS>

This change is

Why don't they need to be shown?

They will be, but in a future version.


Use ocaml/opam base images as base in Dockerfile

From @avsm on the mirage-devel mailing list regarding Docker packaging:

there are ocaml/opam base images available for a variety of distros on the Hub, which may be useful to you rather than using the Ubuntu PPAs. These come pre-installed with OPAM with an opam user.

Pushed a new Dockerfile to demonstrate in in the solo5-kernel-ukvm branch 13278dd


Customize extract directory

Change Summary

Fixes #8
Changed publicDir to rootDir to reflect the term more accurately (publicDir is still usable for backward-compat)
Added an option exclude so that users can specify (through regex) which full path patterns to exclude
Append readme file to reflect these changes (not sure if I should change publicDir to rootDir... maybe this could be for the next release)

PR Checklist

[x] I have read and signed the Contributor License Agreement.

Thank you @artt!


Question: can I consider leafs in QuorumProposalValidated committed?

I am trying to integrate hotshot with evm. I have been reading the codebase, searching for a place where a set of transactions can be considered committed. My current guess is that the specific set of transactions is committed in this block of code: https://github.com/EspressoSystems/HotShot/blob/0.5.79/crates/task-impls/src/quorum_vote/handlers.rs#L42-L56 (using latest release - 0.5.79).
Is it correct? If not, where can I look to get a set of committed transactions / a committed block?
Thanks in advance!

cc: @rob-maron  :)

Sorry @pysel - this totally slipped through my notifications!
Yes - that block of code is correct for getting a finalized set of transactions (where we send the Decide event - slightly under that block). What we have been doing is consuming from the Hotshot event stream and treating the data included with a Decide as finalized. Here is an example from the sequencer, our main HotShot consumer: https://github.com/EspressoSystems/espresso-sequencer/blob/f68a58e7db1bf5da867a3f47aa2b62d816771f88/sequencer/src/context.rs#L401-L412


fast-prototyping: Add mempool reactor that sends nodes that have seen the tx

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments

These changes seem to be mixed with some cleanup that you already did. Pls revert these/rebase.


Updating pre-installed extensions

Is there any method to update pre-installed extensions or we should wait until next TFS update/release?

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

ID: 46849bf5-07ed-62cd-66a5-2ebabe449855
Version Independent ID: d12ad05e-4348-f13a-ea35-7bb4761c3b0b
Content: Install extensions for Visual Studio Team Foundation Server (TFS)
Content Source: docs/marketplace/get-tfs-extensions.md
Service: unspecified
GitHub Login: @elbatk
Microsoft Alias: elbatk

Hi @evakili , that's a good question. Adding @harishkragarwal from the Marketplace team to see if he has an answer for ya.

Hi @evakili, if your TFS instance is in connected mode i.e. connected to internet then an extension update would automatically reach you with 24 hours. However, if your TFS instance is in disconnected mode, then you can go to Visual Studio Marketplace, check if the desired extension has been updated since you last downloaded it. If yes, then download the extension and manually update your TFS instance with the new version.

Thanks @harishkragarwal. But there is no option for downloading pre-installed extensions from marketplace or I couldn't find it.

Hi @evakili, pre-installed extensions cannot be acquired from Marketplace. They are only updated with new updates/releases of TFS.

Thank you @harishkragarwal. It's so bad but with fast release cycle of TFS it could be tolerable.


Create proper isr_cortex_m0 module

Instead of reusing module from Cortex-M3, create specific module for M0,
containing only exceptions documented on the ARMv6-M Architecture
Reference Manual.
This allows removing the unnecessary "isr_reserved_1" symbol from the
linker scripts for Cortex-M0 based boards and setting reserved ISR vector entries.

LGTM.


Authentication feature

Any plans of adding authentication out of the box?

Also keen on seeing authentication, even if it is a simple mechanism.

Hello guys,
I would not disagree with you as the basic auth should be trivial to implement. But there are so many choices and providers that it's really hard to choose one an stick with it. Supabase looks fine as it provides basic third-party oauth support, but yet I'm not sure I want to add those dependencies to otherwise very simplistic codebase.

I'm interested in this too, but I'm also wondering how much benefit there is to auth in a static site. I've been toying with the idea of putting it behind a reverse proxy and putting auth on the proxy.


Uncaught TypeError: Cannot read property 'fn' of undefined

Recently I've tried using Slick on a Drupal site, and it throws this JS error because the code assumes that $ is defined.
Wrapping slick.js in (function($){ ... })(jQuery); seems to fix the problem.

Still not fixed. Same error in wordpress website.

Ignore my last comment. It works fine. I was using babel, so it was being wrapped in factory wrapper twice. Once, I removed the file from babel compilation, it works.


"Terminal Open" doesn’t exist if you don’t do "Terminal open in root" first

The command Terminal Open requires the command Terminal Open In root to be activated first; if you don’t, the command will not exist even in the Command Palette

@andya9 I have noticed this and it has become very annoying.
I also noticed that this has been fixed 0.8.1 (b73c801). 0.8.1 does not seem to be on atom.io/packages yet (@karan can you publish it?)

@tkw1536
As a workaround I switched the keybindings


QuartSchema support blueprint, not whole app?

I was able to use Quart-Schema with a Blueprint-based application, as you can see here:
https://github.com/Azure-Samples/azure-search-openai-demo/compare/main...pamelafox:azure-search-openai-demo:quartschema?expand=1
Ah, I assume you mean that you only want it for a particular Blueprint, whereas I wrapped my whole app. That makes sense.

Pretty hacky, but you could do something like:
from quart_schema.extension import QUART_SCHEMA_HIDDEN_ATTRIBUTE

import my_module

...

# Register blueprint
app.register_blueprint(my_module.bp)

# Iterate route map looking for anything that is in the blueprint, add the @hide decorator attribute to it
for f in app.url_map.iter_rules():
    if f.rule.startswith(blueprint_module.bp.url_prefix):
        setattr(getattr(blueprint_module, f.endpoint.split('.')[-1]), QUART_SCHEMA_HIDDEN_ATTRIBUTE, True)

Did something similar for auto-tagging routes under a BP.


GridMap's Navmesh rotation randomly changes for multiple tiles when one is modified.

Tested versions
4.2.1.stable
System information
mac os 14.3.1
Issue description
I followed the documentation about gridmap with navmeshes and this tutorial
https://docs.godotengine.org/en/stable/tutorials/3d/using_gridmaps.html
https://youtu.be/KT06pv06Q1U
the navmesh didnt work out of the box, after i rotated them a few times the gridmap started to glich. It seems that if i change the rotation in one of the tiles then it randomly changes other tiles. Additionally, you can see that there are pink glitches in the editor for some reason. They showed up after i rotated the navmesh in one of the tiles.
Steps to reproduce

create a scene with a gridmap and navmeshes build into the tiles

rotate the navmesh, gridmap and/or the root 3Dmesh in the tile library.
godot-bug.mkv.zip

Minimal reproduction project (MRP)
godot_data.zip

Your project is too complex to cause a problem, at least for me, try creating a minimal project

godot_data.zip


Fix glob conversion from certain file filters

Issue https://github.com/sbt/sbt/issues/4687 reports that sbt 1.3.0-RC1
does not work correctly with the sbt header plugin. This is because the
plugin uses the Defaults.collectFiles method that was changed to use
globs. There was an issue with the base path + file filter conversion
where if the filter was, say, AllPassFilter && !HiddenFileFilter, this
actually got translated to $baseDiretory/**/ (where
indicates the NoPath filter). The primary cause of this issue was an
incorrect conversion from HiddenFileFilter to AnyPath. Hidden files
are automatically excluded by globs so the HiddenFileFilter is actually
equivalent to the NoPath filter. I also added the NotHiddenFileFilter
object to be the inverse of the HiddenFileFilter because
-HiddenFileFilter comes up in a lot of places so I think it makes sense
to handle it directly.

Fixes https://github.com/sbt/sbt/issues/4687

To validate this pull request against other sbt modules, please visit this link.

That was fast.


$lib/components" does not use an existing path alias defined in your jsconfig.json

Describe the bug
I'm using a Svelte (not SvelteKit) project managed with Vite, no typescript. When I run npx shadcn-svelte@latest init I get a message $lib/components" does not use an existing path alias defined in your jsconfig.json.
jsconfig looks has this:
"paths": {
    "$components": ["src/components"],
    "$components/*": ["src/components/*"],
    "$utils": ["src/utils"],
    "$utils/*": ["src/utils/*"]
  }

vite.config has:
resolve: {
    alias: {
      $lib: path.resolve("./src/lib"),
      $components: path.resolve("./src/components")
    },
  }

Thanks!
The vite installation of Svelte only comes with $lib, I added $ components and $utils myself, perhaps init should update the config files for you?
Reproduction
https://github.com/ianengelbrecht/svelte-shadcn-time-picker
Clone, install, and try npx shadcn-svelte@latest init
Logs
No response
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 13th Gen Intel(R) Core(TM) i5-1345U
    Memory: 17.81 GB / 31.66 GB
  Binaries:
    Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (129.0.2792.89)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    svelte: ^5.1.3 => 5.1.13

Severity
blocking all usage of shadcn-svelte

Confirmed that this does not occur with a project created with npm create vite@latest my-app -- --template svelte-ts

I opened a PR on your repo that fixes the config files. I don't believe we make any changes to jsconfig.json so maybe some documentation would help here?

Can you create a new repro without trying to update the config files yourself? In this case the config files were just incorrectly modified.

Same error on a new repo with no changes to jsconfig or vite.config files.
Also, I don't see any actual changes in jsconfig in the PR other than
changed indentation so perhaps something didn't get committed there.
Thanks for looking into this!
On Sun, Nov 10, 2024 at 4:10 PM Aidan Bleser @.***>
wrote:

Can you create a new repro without trying to update the config files
yourself? In this case the config files were just incorrectly modified.
—
Reply to this email directly, view it on GitHub
https://github.com/huntabyte/shadcn-svelte/issues/1474#issuecomment-2466751295,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACH3QI6ITHR2TDU7YDXFWKDZ75SLVAVCNFSM6AAAAABRQEBKEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRWG42TCMRZGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Ian Engelbrecht
Digitization Coordinator
Natural Science Collections Facility
South Africa
https://nscf.org.za/ https://nscf.org.za/
+27 82 763 4596
i<EMAIL_ADDRESS>/ @.***

Take another look its its adding an import and moving the options.

I have the same issue with a project created with
Tauri (2.1.1)+ Svelte-kit ( (2.8.1) [svelte 5.2.0]
It was however fixed by running vite (or at least pnpm tauri dev, which I guess runs vite) AFTER adding an alias in svelte.config.js and BEFORE running the command pnpm dlx shadcn-svelte@next init

Oh yeah that initial step is responsible for building out the appropriate  tsconfig.json / jsconfig.json @Nokorbis

fixed by #1487


minikube instructions for 0.6 shouldn't use kfctl.sh

The minikube instructions need to be updated
https://www.kubeflow.org/docs/started/getting-started-minikube/
We should no longer tell users to use kfctl.sh; that script will no longer work since its using ksonnet.
Instead the instructions should be

Setup minikube
Follow the instructions for installing Kubeflow on an existing cluster

For the latter we can probably just link to the appropriate section
https://www.kubeflow.org/docs/started/getting-started-k8s/
Note the latter section is being revised in #977

The instructions were partially updated in #1051
https://www.kubeflow.org/docs/reference/virtual-dev/getting-started-minikube/
The instructions now point users at installing on existing kubernetes clusters but the link is broken
The port-forwarding command also looks incorrect.
Users need to port-forward to the ISTIO gateway not to the Ambassador service.
@abhi-g Are you working on updating the minikube instructions?
/cc @carmine

I am also working on getting the minikube setup script working. Currently
it's running installing Kubeflow with existing k8s configs. I specifically
tried k8s with istio config. That hasn't worked so far. I am trying to
create a trimmed down config for minikube.
On Sun, Aug 11, 2019 at 5:04 PM Jeremy Lewi<EMAIL_ADDRESS>wrote:

The instructions were partially updated in #1051
https://github.com/kubeflow/website/pull/1051
https://www.kubeflow.org/docs/reference/virtual-dev/getting-started-minikube/
The instructions now point users at installing on existing kubernetes
clusters but the link is broken
The port-forwarding command also looks incorrect.
Users need to port-forward to the ISTIO gateway not to the Ambassador
service.
@abhi-g https://github.com/abhi-g Are you working on updating the
minikube instructions?
/cc @carmine https://github.com/carmine
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kubeflow/website/issues/1023?email_source=notifications&email_token=ACZ2UZTVHJO5CQGFQI2YLSLQECSINA5CNFSM4IJK7MJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4BLR6A#issuecomment-520272120,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACZ2UZQXBJELJLWSBXNDKGDQECSINANCNFSM4IJK7MJQ
.

PR https://github.com/kubeflow/website/pull/1067 fixed the port forwarding instructions.
@abhi-g How's it going with the script?

/assign @abhi-g

The instructions
https://www.kubeflow.org/docs/other-guides/virtual-dev/getting-started-minikube/
No longer reference kfctl.sh. The instructions have been updated to tell people to use kfctl.
So this has been fixed.


Does this only work on csgo?

let's say I have a different game with VAC in it, will it work with all other games with VAC?

Works on all games that use VAC


Array of tags

Ability to add an Array of Strings ex. biggerTagListView.addTags("Inboard","Onboard","Outboard")

I don’t think it’s necessary to add this API. You could just use a for loop:
for tag in ["Inboard", "Onboard", "Outboard"] {
    biggerTagListView.addTag(tag)
}

or even map:
["Inboard", "Onboard", "Outboard"].map({ biggerTagListView.addTag($0) })


php short open tags

VSCode Version:Version 1.9.0-insider (1.9.0-insider)
OS Version: MacOS 10.12.2

is it possible to disable "php" short open tags ( <? )

This is late but, what do you mean "disable short open tags"?

http://php.net/manual/en/language.basic-syntax.phptags.php
In vscode you can use <? Or the long tag <?php but you can’t config it to allow only the long tag .. however In php.ini you can disable the short tag <? and the editor won’t  care and handling it as everything works fine . if you run it in php you’ll get run time error  ... It’s an old issue anyway and I use both tags now 👍 thanks

I see, didn't realize you could disable it. I think it would make the most sense for an extension to implement this.


Simplify PodMonitors

Simplify PodMonitors by removing the namespace fields so that
the PodMonitor will find the endpoint to scrape base on the
current namespace of the PodMonitor.

Thanks for the cleanup!


DefaultAggregationPeriodCycle threads are not stopped

List of NuGet packages and version that you are using:

Microsoft.ApplicationInsights.WorkerService 2.15.0

Runtime version: net472
Hosting environment: Windows Console application

What are you trying to achieve?
We would like to switch between different telemetry providers without restarting server side applications. For example, a sysadmin may decide to temporarily enable AppInsights telemetry, then switching it off after some period of time and use in-house telemetry implementation.
I've discovered that after disposing the container which was configured to host the AppInsights Worker Service, the DefaultAggregationPeriodCycle threads are left in Running state. If AppInsights Worker Service is initialized again, new worker threads will be spawned.
What have you tried so far?
I've tried disposing the DI container itself which was hosting the AppInsights Worker Service, tried TelemetryConfiguration.Disable = true, disposed TelemetryConfiguration - no luck, the threads remain alive.
After some analysis I've found that DefaultAggregationPeriodCycle initiates worker thread shutdown:

When a redundant MetricManager is created due to a racing condition.
From a DefaultAggregationPeriodCycle's finalizer (https://github.com/microsoft/ApplicationInsights-dotnet/blob/7633ae849edc826a8547745b6bf9f3174715d4bd/BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/DefaultAggregationPeriodCycle.cs#L41).
From a MetricManager's finalizer.

However it appears the finalizers in 2) and 3) are never called because:

both DefaultAggregationPeriodCycle and MetricManager are referencing each other
the worker thread holds a reference to DefaultAggregationPeriodCycle.runningState field (https://github.com/microsoft/ApplicationInsights-dotnet/blob/7633ae849edc826a8547745b6bf9f3174715d4bd/BASE/src/Microsoft.ApplicationInsights/Metrics/Implementation/DefaultAggregationPeriodCycle.cs#L154)

Is this a bug or there is a legal way for shutting these threads down gracefully?
For your convenience I'm attaching a sample project which reproduces the problem.
Thanks!

And here comes an even simpler example reproducing the problem:
using System;
using System.Threading;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.ApplicationInsights.Metrics;

namespace AppInsightsThreadLeak
{
    class Program
    {
        static void Main()
        {
            UseAppInsights();

            Thread.Sleep(5000);

            GC.Collect();
            GC.WaitForPendingFinalizers();
            GC.Collect();

            Console.WriteLine("Attach with debugger and see if DefaultAggregationPeriodCycle thread(s) are still alive.");
            Console.ReadLine();
        }

        private static void UseAppInsights()
        {
            // Real instrumentation key isn't needed.
            var configuration = new TelemetryConfiguration("");
            var client = new TelemetryClient(configuration);

            // Internally a background thread is started by DefaultAggregationPeriodCycle.
            var metricManager = configuration.GetMetricManager();

            // Now try our best to stop the telemetry.
            configuration.DisableTelemetry = true;
            configuration.TelemetryChannel.Flush();
            configuration.Dispose();
        }
    }
}

The problem has not been fixed yet.

Still valid.

Is there any chances getting this issue addressed?


Link multiple cards to same note

Hi there, great plugin! For my particular workflow/usecase it would be very useful if I could link multiple Trello cards to the same note. Is this currently possible or in the cards (hah!) for a future release?

Right now it's one card to a note. I'm trying to figure out what to do with
this plugin; I'd like to significantly rework pieces of it, but I'm not
sure what a useful workflow is.
What's your usecase for multiple cards? Can you describe how you use the
plugin?
On Mon, Dec 13, 2021, 4:59 AM Frederik Aust @.***>
wrote:

Hi there, great plugin! For my particular workflow/usecase it would be
very useful if I could link multiple Trello cards to the same note. Is this
currently possible or in the cards (hah!) for a future release?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/OfficerHalf/obsidian-trello/issues/40, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFARMKLUOFQ5OPRIODQZVDUQW7ZNANCNFSM5J5WB4WA
.

I work in academia and use Obsidean to take notes on my reading and distill that information into substantive notes. Because my reading and the concepts I concern myself with are often project-based, I also have project notes that draw on the substantive notes and meeting notes. While working in both project notes and meeting notes new tasks may come up that I sometimes note down as tasks (which I then need to copy over to Trello).
I currently prefer to not use Obsidian as my task tracker/kanban board to separate note taking, conceptual work, and idea generation from finishing off clearly defined tasks. Being inside my vault presents too many opportunities to get lost and stray from my priorities.
Given all this it would be both useful to link

one Trello card to multiple notes (the meeting note which gave rise to the task and the project note to which it is related)
mulitple Trello cards to one note (all tasks related to a project).

Maybe I can be convinced that using a Kanban board inside Obsidian is a better approach, but it currently lacks something that has turned out to be crucial for my use of a task tracker: The convenience of creating tasks by forwarding e-mails. Without this, to-be-attended e-mails quickly start piling up in my inbox and effectively become a second cluttered and lossy todo list. Chaos and headaches quickly follow. 🙈

I would second this request.  I also would prefer to use Trello as my task manager and having multiple cards attached to one note is necessary for this - that way I can track the project in Obsidian, while handling the individual task management part in Trello with my team.

I don't know if you're still actively working on this plugin, but first of all, thanks so much for making it! You are awesome, and I use this plugin a lot. I really appreciate all the work you've put into this.
For me, if you have time to do it, an interface similar to the Todoist plugin would be awesome. Right now, obviously, the plugin can only show a card in the pane. Other plugins that connect to todo managers, like the Todoist plugin, allow you to basically insert the task (or card) info into the note markdown.
I actually think there are a couple ways to implement this that would only take a few hours. Of course, no pressure whatsoever if you don't have the time to work on it. But I do think that you could make a version that is very useful while still being really simple. It won't have all the functionality that everyone might want, but I think it's 80% of the value for 20% of the work.
I think you could do this in a few different ways:

The very simplest option: Just a command that fetches the embed link for a card in question, then inserts it into the Markdown of the note. This would be almost trivial to implement, but would be really useful. So basically, if the user runs the command, then you'd use a modal to figure out which card they want, fetch its embed link, construct markdown that would display that card in Obsidian via the embed link, then write that markdown to the Obsidian file at the position where the user's cursor is. This alone would actually be really useful, and it would be SUPER simple to implement.
The next simplest version (although it is a lot more complicated). Only insert the info in the markdown at the time the command is run. Basically just insert text. You could either set it up to format nicely, or you could do it in a really simplistic way. I describe a few different ways you could do this later. Basically, you could do a version with no syncing in either direction, you could make it easy to do syncing one-way, but without making it automatic, you could do simple two-way syncing with modals triggered by buttons in the markdown, or you could do a super complicated version that automatically syncs any changes made to the markdown at all. But the point is, you don't have to do that. I think any of these versions would be great. But I'll describe these options later in the comment.
You could use a view, rather than inserting text directly in the markdown, like dataview. You could do periodic updates (or even just upon command) and update the view. You could either not allow any changes to the view in Obsidian (so it is only one way), or you could add checkboxes and buttons that can be clicked (which can be done in Dataview) to enable a two-way connection. So, since it's a view, the user would not be able to edit the text directly (which makes the view more consistent), but maybe you could have a button on each card that opens a modal to allow the user to edit the description, or title, or move the card, etc.

I think option 1 or option 2 would be the simplest. And I think either would be super awesome.
I do think that option 2 could be made almost as simple as option 1, though, depending on how you do it. It also gives more flexibility in terms of what you display and how you display it. Here are a few different versions of option 2, with increasing complexity.

You could not do syncing at all. Just a command that fetches the card info and writes it where the user's cursor is. It would basically just be a markdown rendition of the card at that time. Editing the markdown would of course not affect the card, and you don't do any syncing of changes from Trello. If the user wants to refresh the card info, they can just delete the card info and fetch it again.
You could do 1, but add a "refresh card" command so that if the user's cursor is on a line that has card info, when they run the command, you fetch the new info, delete the old markdown, and write an updated version. You could even add a button to the card markdown that runs the refresh command when clicked, to make it super easy.
You could add 2-way sync by way of buttons on the card info that trigger modals where the user can make changes, then you refresh the card info when it's done. Sort of like the refresh button, but you take info to make changes.
You could add automatic sync in addition to the refresh button. So basically you'd automatically update periodically. Perhaps you could allow users to write a particular tag to a card info line if they don't want it to automatically be updated (for example if they've linked to it, or made local changes that are useful - like deleting some of the info that wasn't relevant)
You could add 2-way sync automatically if the user edits the card info (again, perhaps unless they put a certain tag on the line to show that they do not want the plugin to sync changes to that card in either direction).

Personally, I think even option 1 would be awsome. Option 2 would be my preference though because it would be so easy to implement. And then if you have time, and it's easy to repurpose the logic you have in the pane, option 3 would add quite a bit more value. I personally do not think it's worth doing 4 or 5. Also, you could start with 1, and proceed iteratively.
For reference, here is my use case, and why this would be useful:
I have notes that relate to tasks that I'm working on. My daily notes page, pages that describe projects I'm working on, etc. I used to maintain my todos in Obsidian directly, then I started using Trello but still writing down simple versions of what I'm working on in Obsidian. But it would be nice to just be able to have a simple version of the cards in the notes so I can see the info, link to it, see the progress I'm making (or not making), etc.
Anyway, sorry for the very long comment. I sort of got carried away while writing this because I'd find this quite useful. If you don't have the time to tackle this, let me know and maybe I'll eventually get around to submitting a PR to your repo to add at least option 1. But right now I have a lot going on, so if I do it, it would probably be in a couple months or so. But do let me know if you don't mind so if you are going to tackle it, I know not to start tinkering around with this idea.
Thanks again for the plugin, and I hope at least something here was useful :).
Dan