Hybrid Encryption Protocol

From @arnottcr on January 16, 2015 4:20
Based on how I read your code, you are either using a symmetric encryption algorithm or a elliptic curve one. I suggest moving the elliptic curve crypto to a hybrid protocol, a la pgp. This will allow drastic shrinkage of message size when you have a large number of pubkeys. Symmetric crypto will also decrypt long messages faster, leaving slow ecc to just handle key-material.
https://upload.wikimedia.org/wikipedia/commons/4/4d/PGP_diagram.svg
Copied from original issue: winhowes/grd.me#6

The other thing to consider here is how this impacts forward secrecy. I am really not sure if reusing a symmetric group key would be an issue.
Leaking of a user privkey would be an issue and allow for decryption of all messages with that key, and generation of all group symmetric keys.
But leaking of a group symmetric key, would only leak all of the messages not the users privkeys. Theoretically a single group key is a smaller point of failure, but if we assume that it is random having message keys just makes it harder for an attacker to get all the message clear-texts.
The only concern would be a statistical correlation attack, and if you appropriately pad and design your crypto right [I assume that what ever library you are using does this], then it is unlikely that they will be able to correlate usage and decrypt messages. Think work like this: http://www.cs.unc.edu/~amw/resources/hooktonfoniks.pdf  But as this is a crypto level error, there is nothing that we can do about it. And realistically it would be best fixed with a better crypto library, not work at our level.

From @winhowes on January 16, 2015 4:34
Sure, but how would the symmetric key be deduced in say a facebook group? It seems each member would have to create a pub/priv keypair and then share their public key with the rest of the group. Each person alert GrdMe who's in the group (unless we want specific code for facebook - which I'd like to avoid) and then GrdMe generate a public key shared between the four memebers? That seems like a lot of hassle. But maybe I'm wrong?
Another idea is to allow pub key sharing to a centralized server (or stego'd in profile pictures on designated networks), allow users to search for others users pub keys and add them to their own keychain, create a share button for each shared key and allow them to share a shared key (encrypted with the recipients pub key and signed with the senders priv key) to a recipient, have the key server store this request to share a key, wait for the recipient to add the senders pub key, and once the receiver has added the key notify the receiver that there's a shared key waiting to be shared with them, and upon acceptance, add the new shared key.
I think this approach allows for the hybrid encryption, but it allows people to set that up as they need.

From @winhowes on January 16, 2015 4:34
Sure, but how would the symmetric key be deduced in say a facebook group? It seems each member would have to create a pub/priv keypair and then share their public key with the rest of the group. Each person alert GrdMe who's in the group (unless we want specific code for facebook - which I'd like to avoid) and then GrdMe generate a public key shared between the four memebers? That seems like a lot of hassle. But maybe I'm wrong?
Another idea is to allow pub key sharing to a centralized server (or stego'd in profile pictures on designated networks), allow users to search for others users pub keys and add them to their own keychain, create a share button for each shared key and allow them to share a shared key (encrypted with the recipients pub key and signed with the senders priv key) to a recipient, have the key server store this request to share a key, wait for the recipient to add the senders pub key, and once the receiver has added the key notify the receiver that there's a shared key waiting to be shared with them, and upon acceptance, add the new shared key.
I think this approach allows for the hybrid encryption, but it allows people to set that up as they need.

The other thing to consider here is how this impacts forward secrecy. I am really not sure if reusing a symmetric group key would be an issue.
Leaking of a user privkey would be an issue and allow for decryption of all messages with that key, and generation of all group symmetric keys.
But leaking of a group symmetric key, would only leak all of the messages not the users privkeys. Theoretically a single group key is a smaller point of failure, but if we assume that it is random having message keys just makes it harder for an attacker to get all the message clear-texts.
The only concern would be a statistical correlation attack, and if you appropriately pad and design your crypto right [I assume that what ever library you are using does this], then it is unlikely that they will be able to correlate usage and decrypt messages. Think work like this: http://www.cs.unc.edu/~amw/resources/hooktonfoniks.pdf  But as this is a crypto level error, there is nothing that we can do about it. And realistically it would be best fixed with a better crypto library, not work at our level.

From @winhowes on January 16, 2015 5:13
in paragraph 2 you mean a priv key? yes, thanks

From @winhowes on January 16, 2015 5:13
in paragraph 2 you mean a priv key? yes, thanks

I am not sure how you are doing pubkey/privkey stuff currently, but as per my understanding asymmetric crypto is order of magnitudes slower than symmetric crypto. So, we should be doing all data encryption symmetrically. This means we need to exchange that symmetric key. We can do that via word of mouth, as I think you currently do, or embedded the key in a header, like gpg, or have it stored after some key exchange protocol.
Word of mouth is always nice to allow, I think of it as a fallback. Protocols are messy; I would want Diffie-Hellman, and we would need intercommunication of clients [sounds like a pain in the ass, no?], so this seems like a no. Alternatively, we can do a keyserver setup; this has the advantage of not requiring client intercommunication, but requires some word of mouth/user interaction. Finally, we have embed it in the header and at this point, there is no advantage to actually doing group keys, as each message needs to have its own header gpg style.

I am not sure how you are doing pubkey/privkey stuff currently, but as per my understanding asymmetric crypto is order of magnitudes slower than symmetric crypto. So, we should be doing all data encryption symmetrically. This means we need to exchange that symmetric key. We can do that via word of mouth, as I think you currently do, or embedded the key in a header, like gpg, or have it stored after some key exchange protocol.
Word of mouth is always nice to allow, I think of it as a fallback. Protocols are messy; I would want Diffie-Hellman, and we would need intercommunication of clients [sounds like a pain in the ass, no?], so this seems like a no. Alternatively, we can do a keyserver setup; this has the advantage of not requiring client intercommunication, but requires some word of mouth/user interaction. Finally, we have embed it in the header and at this point, there is no advantage to actually doing group keys, as each message needs to have its own header gpg style.

not exactly sure if you implemented ECC directly or ECC-AES hybrid, but this will also likely get rolled into a pfs upgrade. The reasoning for this is solely performance based, aside from for pfs, but I will close this too and we can return to it if necessary. Again, let me know if you think this issue is not resolved.

not exactly sure if you implemented ECC directly or ECC-AES hybrid, but this will also likely get rolled into a pfs upgrade. The reasoning for this is solely performance based, aside from for pfs, but I will close this too and we can return to it if necessary. Again, let me know if you think this issue is not resolved.

ecc is roughly ~3 orders of magnitude slower than aes, so usually for speed the message is encrypted with aes and the key with ecc; but if it is not an issue we can push it off to pfs. again it only needs to be done if you see issues with ecc speeds. definitely a push off till later.
On 3 February 2015 04:23:42 GMT+00:00, Winston Howes<EMAIL_ADDRESS>wrote:

Right now you can encrypt using just AES or just ECC. ECC is also used
to exchange AES keys, so I would argue this hybrid sorta exists (though
it may further be rolled up into pfs). Your call on whether to keep
this closed, but I think this is done.

Reply to this email directly or view it on GitHub:
https://github.com/winhowes/grd.me/issues/6#issuecomment-72590551

ecc is roughly ~3 orders of magnitude slower than aes, so usually for speed the message is encrypted with aes and the key with ecc; but if it is not an issue we can push it off to pfs. again it only needs to be done if you see issues with ecc speeds. definitely a push off till later.
On 3 February 2015 04:23:42 GMT+00:00, Winston Howes<EMAIL_ADDRESS>wrote:

Right now you can encrypt using just AES or just ECC. ECC is also used
to exchange AES keys, so I would argue this hybrid sorta exists (though
it may further be rolled up into pfs). Your call on whether to keep
this closed, but I think this is done.

Reply to this email directly or view it on GitHub:
https://github.com/winhowes/grd.me/issues/6#issuecomment-72590551

From @winhowes on February 3, 2015 4:23
Right now you can encrypt using just AES or just ECC. ECC is also used to exchange AES keys, so I would argue this hybrid sorta exists (though it may further be rolled up into pfs). Your call on whether to keep this closed, but I think this is done.

From @winhowes on February 3, 2015 4:23
Right now you can encrypt using just AES or just ECC. ECC is also used to exchange AES keys, so I would argue this hybrid sorta exists (though it may further be rolled up into pfs). Your call on whether to keep this closed, but I think this is done.


[Pipeline Viz] Sidebar

Pipeline Viz Sidebar
Adds sidebar to pipeline viz.

Notes

"Links" on sidebar currently have no functionality
Code leaves room (as TODOs) for more data passed in backend (step descriptions, download links, etc)
Relatively large change to how data / edges are stored in front end

Tests
Go to samples/[SAMPLE_ID]/stage_results with pipeline viz enabled account

is the "GSNAP/RAPSEARCH alignment" box ever going to get bigger :laughing:

this PipelineViz component got pretty long so you may want to look for opportunities for more modularization and splitting pieces off

looks pretty good 👍 see comments

is the "GSNAP/RAPSEARCH alignment" box ever going to get bigger 😆

https://github.com/chanzuckerberg/idseq-web/pull/2370 ! 🎉


Should the type of node.type be NodeType instead of string

Currently this is a string: https://github.com/markdoc/markdoc/blob/98dd88386e3982a10af8c76fc1c4bf8e30498318/src/ast/node.ts#L21
Should these be of this type?
https://github.com/markdoc/markdoc/blob/main/src/types.ts#L60

Or we could add 'node' | 'tag' | 'error' to NodeType


No need to ask to switch to R Client if it is the only R available

On a clean box when VS is installed and we don't find R we offer MSRC. When MSRC is installed we still ask to switch to it. Since it is the only R available, we should just go with it.

With workspaces this no longer relevant


[DO NOT MERGE] fix(notion): Button is slightly misaligned

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?
Better align the Notion button.
Before:

After:

:bug: Recommendations for testing
All changes should be tested across Chrome and Firefox.

:memo: Links to relevant issues or information

[DO NOT MERGE] in title and then merged. 😕
at least maintainers should edit that out as it appears in release notes:

https://github.com/toggl/track-extension/releases/tag/v2.0.34


pythonPackages.eradicate: init at 0.2.1

Motivation for this change
This is a new dependency of pylama, which I intend to PR with the upgrade.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

I wanted to run python test_eradicate.py but the file is not available during checkPhase as its not packaged by distutils, any idea how I can run the test?

You mean the script is in the tarball, but not installed into $out? That is often the case. You can still point to the source folder.

oops so I was mistaken. I thought for some reason I was fetching source from github where the test file lies, but its actually coming from pypi where its never packaged. So I think this is about as good as can be and is ready @FRidh

This package has been merged (80651cff84da00f04262cd9c69968e13ca261de9)

oops didn't see the comments by @nlewo sorry.


Generic constraint with type list

It is a generalization of #2049 .
I would like to see generic specifying concrete types:
// Can specify only A<number> or A<string>
interface A<T is number|string|Object> { }

interface B<T is number|string> extends A<T> {} // number|string is subtype of number|string|Object .

In order to be considered, we need suggestions to have at least some motivating use cases, examples of desired usage, examples of things that would be / would not be errors and why, etc.. We don't have resources to ask clarifying questions teasing out what these things mean.

One of use cases is the following:
interface KeyValueBase<K> {
  f(): K;
}

interface KeyValue<K is number|string, V> extends KeyValueBase<K> {
 [key: K]: V
}

The key type must be string or number , it is impossible to define this generic right now.
It can be possible to define it and use the type if the feature existed.

You could also use a type alias.
type Key = number | string;

interface KeyValueBase<K> {
  f(): Key;
}

interface KeyValue extends KeyValueBase<K> {
 [key: Key]: V
}

@DanielRosenwasser It is not the same since I don't know the exact type.
Also the indexer is one of possible samples.

Object indexer is the perfect example and use case for is genetic type parameter constraint. This hasn't been updated in a while. Is there any progress?

@DanielRosenwasser And btw even when using type aliasing TSLint still throws an error.


diff and diff-base not working as expected

I was hoping to use some scalafix options to skip fixing of unchanged files compared to a main branch (to speedup CI).
I am not seeing a speedup, or even a difference in logging, when using the --diff-base option.
The following snippets are run inside this repo, on latest main.
--check works as expected (actually... I'm not so sure! Technically --check "Won't write to files." - which contradicts the output here!).
./mill all "__.fix --check"
[1/1] all > [47/47] mill-scalafix[0.10.7].fix
Rewriting and linting 3 Scala sources against 4 rules

with --check, --diff-base doesn't have impact:
❯ ./mill all "__.fix --check --diff-base main"
[1/1] all > [47/47] mill-scalafix[0.10.7].fix
Rewriting and linting 3 Scala sources against 4 rules

even just --diff-base on its own seems to have no impact:
❯ ./mill all "__.fix --diff-base main"
[1/1] all > [47/47] mill-scalafix[0.10.7].fix
Rewriting and linting 3 Scala sources against 4 rules

When running this on main (or a branch off main, with no some or no changes), it gives the same output.
The output I am expecting: No log line, when --diff-base main is used.
Similarly, using --files /absolute/path/to/ScalafixModule.scala still results logs about checking 3 Scala sources. I didn't successfully validate if more than 1 file is changed. I tried, by breaking a few rules in e.g. ScalafixModule, but they failed even with the rules commented out in .scalafix.conf.

It looks like running sbt "scalafixAll --check" (stolen from scalafix'sGitHub Action CI script) and sbt "scalafixAll --check --diff-base main" in the scalafix repo give similar results with no obserable speedup, so I can open a ticket there and link to this one.

A fix could be to parse (some of) the args and use that in the filesToFix method, but it's probably better done in scalafix. I didn't think too closely about it yet.
I think some arg parsing of e.g. --check would be necessary to give more accurate logs - e.g. [CHECK] Would rewrite and lint 3 Scala sources against 4 rules

I think you are mixing sbt and Mill cli syntax here. In Mill, you should not put the target and its parameters into the same quote. Also, the all command is deprecated and is not necessary in this situation. (In case you want to run another target just use a standalone +.)
Your first mill cli should look like this:
./mill __.fix --check

In case you need to quote for some reasons, the second command could look like this:
./mill "__.fix" "--check" "--diff-base" "main"

and so on.

I see about all 🙇♂, I was grabbing from https://github.com/joan38/mill-scalafix/blob/main/.github/workflows/ci.yml#L23
I also tried like ./mill __.fix --check --diff-base main.
./mill __.fix --check --diff-base gives an error asking for a value for diff-base, so I thought the above command is OK. If not using any quotes, is it correct?

Over a few runs, first 2 on main, 2 on a branch off of main:
time mill -j 0 __.fix --check --diff-base main takes 2m25s, 1m9s, 1m8s, 1m8s
time mill -j 0 __.fix --check takes 44s, 40s, 42s, 38s
It looks like --diff-base main on the private codebase I'm in is having a noticable negative impact!
I was hoping that scalafix would be like scalafmt for caching/diffing: for the private repo I'm working on, re-using compilation output takes scalafmt (via mill) from a couple minutes down to 1 second. If a few files changed, compared to the out cache, it might be like 10 seconds - still a huge improvement when 90%+ of files don't change.

Sounds like I can close this one since this is filled with scalacenter/scalafix directly?


Update design-doc.md with the new proposal process

See the accepted proposal https://github.com/prometheus/proposals/blob/main/proposals/2022-11-23_proposal-process.md

NOTE: Migration of docs mentioned in index is in progress. All tracked here: https://github.com/prometheus/proposals/issues

Now I'm realizing that parts of this text are also contained in https://github.com/prometheus/proposals/blob/main/README.md .
Maybe don't replicate the proposal process here but link to it (and still propagate my nitpickings from this PR to the README.md in the proposals repo ;).

Makes sense, will do. Sorry for lag (any my English 🙃 )

Given that this has been sitting for a couple of months now, what's the plan to move forward?

Next step was to do the work (:
This PR is now updated @beorn7 @roidelapluie
The readme improvement based on your comments @beorn7 (massive thanks for those!): https://github.com/prometheus/proposals/pull/27
Docs are not yet moved, but they are all recorded in GH issues. I will be moving them (will write a script) at some point. I don't think we need to wait for that, but up to you.

I think they are recorded in issues, which should be enough. Our process is that rejected or TODO proposals are in the issues anyway, so voting for merging. (:
Will fix readme and migrate some with this and following week.


Which image did you use for demo?

Hi Thanks for this awesome data and making it public. I am trying to run the colab and curious that which part of data did you use there? Many thanks!

Hi there
I am not quite sure if I have understood your question. In any case the image is here. It is the dapi image saved as a tiff. Let me know if you need any help.

Hey, thanks for replying! I saw many files in this link https://figshare.com/s/88a0fc8157aca0c6f0e8?file=13160492 and not sure which one, for example, 3-3 right, is used in the demo.

From that Figshare repo, get DAPI_4-3.jpg which is a full coronal section and then keep everything enclosed by the clipping polygon:
poly = [(13751, 17268), (12739, 15629), (11839, 16237), (11120, 16528), (10333, 16396), (9906, 16105), (9231, 15603), (8916, 15286), (6263, 12987), (6150, 13648), (6150, 14282),(6420, 15074), (6735, 15735), (7072, 16369), (7522, 16977), (8264, 17637), (9119, 18113), (10130, 18324), (10872, 18457), (11997, 18298), (12626, 17981), (13233, 17479), (13751, 17268)]
That will crop the left part. Then you flip it and you should get what is shown in the demo. Just to clarify also, the coords of a points of the polygon outline are (x, y), ie not (col, row)


Contribute & coc

Please review this for language and tone.  It has my tone. My tone is not what you'd use to write college brochures.
The CoC is the open source one we use on Johnny 5.

@kadamwhite I think your wording is better.

Looks good, mergin'!


Required config line missing in documentation

I had some trouble setting up this app in my project, until I realized that in my settings.py I need the to set the COOKIE_CONSENT_NAME variable. That is, I added the following line:
COOKIE_CONSENT_NAME = "cookie_consent"

This step does seem rather important, but I didn't see it mentioned anywhere in the docs for setting up, specifically here: https://django-cookie-consent.readthedocs.io/en/latest/configuration.html.
I figured, this is the best place to let someone know ;-)

Added this via PR #69

This has been fixed in master - the 0.4.0 release will no longer require this setting to be set explicitly.


xata init --force should clear migration files

Describe the bug
When running xata init --force the command should take care of cleaning up, or archiving in some way so they don't get in the way, any existing migration files.
Use case: changing the database associated with a project by initializing with a new db. Currently, the user needs to zero off the .xata/migrations directory otherwise the projects ends up in a conflicting state.
To Reproduce
The following script is with @xata.io/cli/0.11.19
//in a project with a db configured already, having migration files
my-xata-app % ls .xata/migrations
mig_ch4j00rfqdrklh9k3t1g_a5ebae2a.json	mig_ch4j00rfqdrklh9k3t2g_87ff5a35.json

my-xata-app % xata init --force
...configure a new db

my-xata-app % xata pull main
There are new migrations on both the local and remote branches. Please run `xata rebase` to resolve the conflicts.

my-xata-app % xata rebase main
    Error: ENOENT: no such file or directory, open '/Users/kostas/Documents/pworkflow/my-xata-app/.xata/migrations/mig_cgvs0dr8ecc81uop9jb0_65112536.json'
    Code: ENOENT

@kostasb https://github.com/xataio/client-ts/pull/1092 Can you check different scenarios with this change? I will also test it out when I get a chance.


authz: add upgrade check for v1alpha1 RBAC CRDs

When upgrading to 1.6 with istioctl upgrade, the cluster should not include any v1alpha1 RBAC policies since it's not supported in 1.6 anymore. We will also update the release and upgrade notes to ask users to migrate to the AuthorizationPolicy and delete the CRDs of the v1alpha1 RBAC policies.

@yangminzhu: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test lint_istio

gencheck_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test lint_istio

gencheck_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test gencheck_istio

unit-tests_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yangminzhu: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yangminzhu: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@linsun
I updated the PR a little bit to warn on the v1alpha1 CRDs and error on the existence of actual v1alpha1 resources, see the following for example:
2020-05-06T02:35:57.690629Z error found 6 CRD of unsupported v1alpha1 security policy: clusterrbacconfigs.rbac.istio.io meshpolicies.authentication.istio.io policies.authentication.istio.io rbacconfigs.rbac.istio.io servicerolebindings.rbac.istio.io serviceroles.rbac.istio.io. The v1alpha1 security policy is no longer supported starting 1.6. It's strongly recommended to delete the CRD of the v1alpha1 security policy to avoid applying any of the v1alpha1 security policy in the unsupported version

Error: found 3 unsupported v1alpha1 security policy: meshpolicies.authentication.istio.io//default policies.authentication.istio.io/default/jwt-example policies.authentication.istio.io/default/jwt-examplexx. The v1alpha1 security policy is no longer supported starting 1.6. To continue the upgrade, Please migrate to the v1beta1 security policy and delete all the v1alpha1 security policy

@yangminzhu: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

gencheck_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test gencheck_istio

unit-tests_istio
d9847a5152735ebab9218a825d62815fb5263836
link
/test unit-tests_istio

lint_istio
754f73803ea8b732a6ced8b7483be3d53b4d30dd
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Nice @yangminzhu.  I assume that is the result from the istioctl upgrade cmd?
Any plan to show this in analyzer as well?  Trying to think whoever runs the istioctl upgrade cmd isn't necessary whoever updates the security policy from alpha to beta.

Nice @yangminzhu. I assume that is the result from the istioctl upgrade cmd?
Any plan to show this in analyzer as well? Trying to think whoever runs the istioctl upgrade cmd isn't necessary whoever updates the security policy from alpha to beta.

Sure we could add the similar feature to istioctl analyze as well, I just want to do that in a separate PR as the analyzer has its own framework that we probably cannot just call the check function added in upgrade (some code should be reusable).

In response to a cherrypick label: new pull request created: #23585


🔍 (headline | mobile nav): add arial-label for burger icon

The mobile nav with burger icon create SEO accessibility issue:
Buttons do not have an accessible name

Received the same SEO accessibility feedback on Dawn.


Home Feed Preferences do not sync

Describe the bug
I use bsky on Chrome )MacBook Pro and Windows desktop) and on my iPone.
The Home Feed Preferences don't sync = I had the setting to show all replies, but I have to set that anew on a new computer.
I don't mind that, but there should be an information about it.
But I'm also quite sure that they are not sticky on iPhone. When I checked now, the MacBook was still on Show all replies, but the iPhone was back at 'only when there are 3 likes or more'.
Same goes for the setting 'Appearance: light' and 'Require alt text on messages'.
To Reproduce
Steps to reproduce the behavior:

Expected behavior
Setting should be sticky and ideally sync.
Screenshots

Details

Platform: desktop chrome windows, laptop chrome mac, iOS
Platform version:
App version:

Additional context
If you are sure that the "not sticky" part can't be true, you can ignore that bit.

Probably related to https://github.com/bluesky-social/social-app/issues/633, closing as duplicate.


Smoothed Finite Difference instead of Savitzky Golay in config

Hey @Jacob-Stevens-Haas, I came across this in config.py:
    "sg1": SeriesDef(
        "Savitsky-Golay",
        diff_params["sfd-ps"],
        ["diff_params.smoother_kws.window_length"],
        [[5, 7, 15]],
    ),
    "sg2": SeriesDef(
        "Savitsky-Golay",
        diff_params["sfd-ps"],
        ["diff_params.smoother_kws.window_length"],
        [[5, 8, 12, 15]],
    ),

This is supposed to be Savitzky Golay Smoothing, so should it not be diff_params["savgol"] instead of diff_params["sfd-ps"]. What should I use during the pde experiments?

I believe that we're using the pysindy implementation of Savitzky-Golay, rather than the derivative one.  What are the values of diff_params["sfd-ps"] and diff_params["savgol"]?

The values are:
"sfd-ps": ND({"diffcls": "SmoothedFiniteDifference", "axis":-2}),
"savgol": ND({"diffcls": "sindy", "kind": "savitzky_golay", "axis": -2, "left":0.1, "right":0.1, "order":3}),

I would use diff_params["sfd-ps"]

Got it


Proper game release building

A proper system for building and exporting games should exist. We can start talking about this when we get to building an editor.

Closing due to changes in my vision for the project


Update README with single node information

Importantly, document init actions that do not work on single node clusters.

lgtm!


SUBMARINE-1044. Migrate previous release notes

What is this PR for?

Move release notes from https://submarine.apache.org/docs/releases/submarine-release-0.2.0 etc. to https://submarine.apache.org/versions
What type of PR is it?
[Improvement]
Todos
What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1044
How should this be tested?

Run the development server locally. See website/README
Screenshots (if appropriate)
Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? No

CI failed to build the docs.
Exhaustive list of all broken links found:

- On source page path = /releases/submarine-release-0.2.0:
   -> linking to ../download (resolved as: /download)
   -> linking to ../community/README (resolved as: /community/README)

- On source page path = /releases/submarine-release-0.3.0:
   -> linking to ../download (resolved as: /download)
   -> linking to ../community/README (resolved as: /community/README)

- On source page path = /releases/submarine-release-0.4.0:
   -> linking to ../download (resolved as: /download)
   -> linking to ../community/README (resolved as: /community/README)

- On source page path = /releases/submarine-release-0.5.0:
   -> linking to ../download (resolved as: /download)
   -> linking to ../community/README (resolved as: /community/README)

- On source page path = /releases/submarine-release-0.6.0:
   -> linking to ../download (resolved as: /download)
   -> linking to ../community/README (resolved as: /community/README)

    at Object.reportMessage (/home/runner/work/submarine/submarine/website/node_modules/@docusaurus/utils/lib/index.js:440:19)
    at Object.handleBrokenLinks (/home/runner/work/submarine/submarine/website/node_modules/@docusaurus/core/lib/server/brokenLinks.js:142:17)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async buildLocale (/home/runner/work/submarine/submarine/website/node_modules/@docusaurus/core/lib/commands/build.js:150:5)
    at async tryToBuildLocale (/home/runner/work/submarine/submarine/website/node_modules/@docusaurus/core/lib/commands/build.js:32:28)
    at async Object.mapAsyncSequencial (/home/runner/work/submarine/submarine/website/node_modules/@docusaurus/utils/lib/index.js:396:24)
    at async build (/home/runner/work/submarine/submarine/website/node_modules/@docusaurus/core/lib/commands/build.js:58:25)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `docusaurus build`
npm ERR! Exit status 1

Could you take a look?


cannot import name 'SupportsIndex'

When I "import catalyst.dl"
It says :---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
 in
----> 1 import catalyst.dl
~/.local/lib/python3.6/site-packages/catalyst/dl/init.py in
1 # flake8: noqa
2
----> 3 from catalyst.core import *
4
5 from .callbacks import *
~/.local/lib/python3.6/site-packages/catalyst/core/init.py in
7
8 from .experiment import IExperiment
----> 9 from .runner import IRunner, IStageBasedRunner
10 from .callback import (
11     Callback,
~/.local/lib/python3.6/site-packages/catalyst/core/runner.py in
10 from torch.utils.data import DataLoader, DistributedSampler
11
---> 12 from catalyst.core import utils
13 from catalyst.core.callback import Callback, CallbackScope
14 from catalyst.core.experiment import IExperiment
~/.local/lib/python3.6/site-packages/catalyst/core/utils/init.py in
2
3 from catalyst.contrib.utils import *
----> 4 from catalyst.utils import *
5
6 from .callbacks import filter_callbacks_by_node, sort_callbacks_by_order
~/.local/lib/python3.6/site-packages/catalyst/utils/init.py in
64 from .numpy import get_one_hot
65 from .parser import parse_config_args, parse_args_uargs
---> 66 from .pipelines import clone_pipeline
67 from .scripts import (
68     import_module,
~/.local/lib/python3.6/site-packages/catalyst/utils/pipelines.py in
2 import shutil
3
----> 4 from git import Repo as repo  # noqa: N813
5
6 from catalyst.utils.misc import copy_directory
~/.local/lib/python3.6/site-packages/git/init.py in
6 # flake8: noqa
7 #@PydevCodeAnalysisIgnore
----> 8 from git.exc import *                       # @NoMove @IgnorePep8
9 import inspect
10 import os
~/.local/lib/python3.6/site-packages/git/exc.py in
8 from gitdb.exc import BadName  # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614
9 from gitdb.exc import *     # NOQA @UnusedWildImport skipcq: PYL-W0401, PYL-W0614
---> 10 from git.compat import safe_decode
11
12 # typing ----------------------------------------------------
~/.local/lib/python3.6/site-packages/git/compat.py in
30     overload,
31 )
---> 32 from git.types import TBD
33
34 # ---------------------------------------------------------------------------
~/.local/lib/python3.6/site-packages/git/types.py in
10     from typing import Final, Literal, SupportsIndex  # noqa: F401
11 else:
---> 12     from typing_extensions import Final, Literal, SupportsIndex  # noqa: F401
13
14
ImportError: cannot import name 'SupportsIndex'
How can I fix this problem?

Hi @Ouyuxuan623 ,
Thanks for your feedback, could you please help provide more info about what tutorial you are testing?
@yiheng-wang-nv , did you observe this issue when you test tutorial for v0.8.1?
Thanks in advance.

did you observe this issue when you test tutorial for v0.8.1?
Hi @Nic-Ma , I did not meet error when using monai v0.8.1 or using the latest commit(d6327a765cf23dafd680b2a4b472edf9639e1087 ). The notebook I checked is unet_segmentation_3d_catalyst.ipynb, where catalyst==20.07 is installed via running the first cell.


feat: forcing reset wallet when it was already loaded before for the …

…testnet

We cannot merge it as it is. I'm closing this pull request for now.


VSCode unable to launch container

When trying to launch a new container using VSCode from the docker-compose.yml & .devcontainer files cloned from this repo, I was met with the following errors:

I tried enabling Docker Compose V2 through the Docker Desktop app, as I thought the issue was with the use of docker-compose rather than docker compose but the problem persisted.
Upon running the same command from my terminal it returned a The system cannot find the file specified.  error which made it apparent that the filename was a problem. Here we are using .yml, not the required .yaml. This was never a problem before, I am not sure why it is now, but by just changing the file ext on my local yaml file, the container was built and ran as expected.

Renamed. Please try to use the generator instead of cloning the repo. The generator will support more and more options.


RegexFSM: Cache Legal-Token Mask as torch.Tensor to Improve Performance

Fixes https://github.com/outlines-dev/outlines/issues/1011
Fixes https://github.com/outlines-dev/outlines/issues/920
Problem
Runtime performance for structured generation was weak because the legal next token mask is List[int] in main. This is inefficient because we have to convert a list of potentially tens of thousands of integers to torch.tensor.
Solution
Cache legal next token mask as a torch.tensor. Don't convert List[int] to tensor for every logits processor call. Simply apply the precomputed mask.
With a vocabulary of ~50,000 tokens, worst case performance decreases 50-fold.
| Change   | Before [833f68f8]    | After [d9baa1ba]    |   Ratio | Benchmark (Parameter)                                                                            |
|----------|----------------------|---------------------|---------|--------------------------------------------------------------------------------------------------|
| -        | 56.0±0.3ms           | 1.05±0.02ms         |    0.02 | bench_processors.LogitsProcessorStructuredBenchmark.time_structured_generation('numpy', '[^Z]*') |
| -        | 58.1±0.6ms           | 1.05±0.01ms         |    0.02 | bench_processors.LogitsProcessorStructuredBenchmark.time_structured_generation('torch', '[^Z]*') |

@lapp0 Do you expect even more gains for models with >200k tokenizers as it has become more common?

@Qubitium yes, the gains are proportional to the size of the tokenizers vocabulary.

Great catch!


rule unit docs

Build successful! See generated HTML docs (may take a while till they are available):
https://kie-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/kie-docs-pullrequests/239//artifact/docs/drools-docs/target/generated-docs/html_single/index.html
https://kie-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/kie-docs-pullrequests/239//artifact/docs/jbpm-docs/target/generated-docs/html_single/index.html
https://kie-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/kie-docs-pullrequests/239//artifact/docs/optaplanner-wb-es-docs//target/generated-docs/html_single/index.html

Replaced by https://github.com/droolsjbpm/kie-docs/pull/210


[Backport] odes fail to update, with cluster stuck in Upgrading state when attempting to update private registry details in Rancher provisioned cluster

We need to backport #30628 to v2.5.10.

Already done https://github.com/rancher/rancher/pull/33009, PR is already merged at release/v2.5

on v2.5.10-rc1, the downstream cluster is now able to update after following instructions from the parent ticket:

Provision a Rancher instance (I tested with v2.4.0, v2.4.8 and v2.5.3) and a custom cluster with 3 all role nodes and 3 worker nodes. I used https://github.com/superseb/tf-do-rancher2
Once the custom cluster is successfully provisioned edit the cluster to add URL, username and password for a valid private registry with the applicable set of images.

-> all nodes are updated and are using the private registry
Reopening for the following concerns:

the This cluster is currently Upgrading. warning in the cluster view no longer appears at all after making the private registry update. I did a quick check for other updates, and the warning does appear for those.  Can we still show this warning while the private registry images are being applied to the cluster?

closing in favor of https://github.com/rancher/rancher/issues/34773


c.req.valid does not work in route without path

What version of Hono are you using?
4.4.7
What runtime/platform is your app running on?
any
What steps can reproduce the bug?
const app = new Hono()

app
  .get('/', (c) => {
    return c.json(0)
  })
  .post(
    validator('json', () => {
      return {
        foo: 'bar',
      }
    }),
    (c) => {
      const foo = c.req.valid('json')
      return c.json(1)
    }
  )

What is the expected behavior?
It does not throw a type error.
What do you see instead?

Additional information
This will be fixed when changing the order for overloading in HandlerInterface.
diff --git a/src/types.ts b/src/types.ts
index 7c9ba8c..ce95d6b 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -121,22 +121,6 @@ export interface HandlerInterface<
     handler: H<E2, P, I, R>
   ): Hono<IntersectNonAnyTypes<[E, E2]>, S & ToSchema<M, P, I, MergeTypedResponse<R>>, BasePath>

-  // app.get(path, handler)
-  <
-    P extends string,
-    MergedPath extends MergePath<BasePath, P> = MergePath<BasePath, P>,
-    R extends HandlerResponse<any> = any,
-    I extends Input = BlankInput,
-    E2 extends Env = E
-  >(
-    path: P,
-    handler: H<E2, MergedPath, I, R>
-  ): Hono<
-    IntersectNonAnyTypes<[E, E2]>,
-    S & ToSchema<M, MergePath<BasePath, P>, I, MergeTypedResponse<R>>,
-    BasePath
-  >
-
   // app.get(handler x2)
   <
     P extends string = ExtractKey<S> extends never ? BasePath : ExtractKey<S>,
@@ -153,6 +137,22 @@ export interface HandlerInterface<
     BasePath
   >

+  // app.get(path, handler)
+  <
+    P extends string,
+    MergedPath extends MergePath<BasePath, P> = MergePath<BasePath, P>,
+    R extends HandlerResponse<any> = any,
+    I extends Input = BlankInput,
+    E2 extends Env = E
+  >(
+    path: P,
+    handler: H<E2, MergedPath, I, R>
+  ): Hono<
+    IntersectNonAnyTypes<[E, E2]>,
+    S & ToSchema<M, MergePath<BasePath, P>, I, MergeTypedResponse<R>>,
+    BasePath
+  >
+
   // app.get(path, handler x2)
   <
     P extends string,

Hi @NamesMT
What do you think about this? It will be fixed by changing overload the order them in HandlerInterface. But do you have any other ideas?

Hi @yusukebe,
This is very weird, in my IDE for both the before and after the fix, it's still hinting that the same overload (currently line 140) is used, but after the fix there is no TS error.
Also the overload that is relocated down in the fix won't match with the handler that we're defining, why would it causes an issue, I'll try to put some time investigating it.

With no changes to the type this also works and have no error:
// Pre-create validator middleware
const vad = validator('json', () => {
  return {
    cd: 'bar',
  }
})

const testApp = app
  .post(
    vad,
    (c) => {
      const foo = c.req.valid('json')
      return c.json(1)
    }
  )

The reproduction could further be limited to if validator is used as first middleware:
const testApp = app
  .post(
    validator('json', () => {
      return {
        cd: 'bar',
      }
    }),
    (c) => {
      const foo = c.req.valid('json') // Error here
      return c.json(1)
    }
  )

const testApp2 = app
  .post(
    validator('json', () => {
      return {
        cd: 'bar',
      }
    }),
    cors(),
    (c) => {
      const foo = c.req.valid('json') // Error here also
      return c.json(1)
    }
  )

const testApp3 = app
  .post(
    cors(),
    validator('json', () => {
      return {
        cd: 'bar',
      }
    }),
    (c) => {
      const foo = c.req.valid('json') // No error here, validator isn't the first middleware
      return c.json(1)
    }
  )

It seems like when using validator as first middleware, the response handler's Context cannot infer the validator's Env and Input and is typed as <BlankEnv, string, BlankInput>, this does not happen with other middleware like cors, and introducing cors into the middleware chain, the context is able is infer cors's types as well.

@NamesMT
Thank you for investigating! Hmm, TypeScript is too magical.
If so, in the above case, would it be a good way to encourage users to specify the path as the first argument?
app
  .get('/', (c) => {
    return c.json(0)
  })
  .post(
    '/', // <=== "Please add it to infer types correctly!"
    validator('json', () => {
      return {
        foo: 'bar',
      }
    }),
    (c) => {
      const foo = c.req.valid('json')
      return c.json(1)
    }
  )

Hi @yusukebe,
Sorry for the delay gap, a bit busy this week,
Still can't find the root cause yet, could also be a weird TS bug, I think for now maybe we can go with the original workaround, and reorder the overloads one level down.

Still getting this error if I add explicit typing to c
const validateLogin = validator('json', (value: any) => {
const { email } = value;
// validation logic
return { email }
})
app.post('/login', validateLogin, async (c: Context) => { // added :Context type
const { email } = c.req.valid('json') // Error: Argument of type 'string' is not assignable to parameter of type 'never'.ts(2345)
})

Hi @EmmettM,
This is expected and is normal TypeScript behavior, when you explicitly type c: Context, it means that c is now an empty default Context.
Thus it cannot access the validate context added by the validator middleware.
You should not explicitly type c to let it automatically infer the context composed from the current instance & chain.


Serialize and deserialize TaskInfos with custom Executors and data fields

TaskInfos may not simultaneously have CommandInfo and ExecutorInfo fields.  That doesn't make sense and there is a ticket with a shepherd to fix it on the Mesos side.
In the mean time we had been serializing the CommandInfo when a custom Executor is used and putting it in the data field.  However, this overwrites anything that was in the data field.  So one more level of encapsulation is needed.  I am reusing the ExecutorInfo protobuf for this as it's the smallest protobuf with both CommandInfo and data fields.
So, when a TaskInfo with both CommandInfo and ExecutorInfo is encountered, the necessary information is serialized and encapsulated in an ExecutorInfo (in the data field) on the Scheduler side.  The deserialization operation is performed on our CustomExecutor's launchTask side.

@mrbrowning:  That test was modified to pass.


[CSM-324] Call txMempoolToModifier once per request

To be tested

@Martoon-00 isn't wip label obsolete here?

Tested with:

Wallet importing and money sending
getAllAccounts endpoint (others were changed in trivial way)


Added the NTIA Conformance Checker to the SPDX Online Tools

Signed-off-by: Josh Lin<EMAIL_ADDRESS>

@linynjosh Could you change the version of lxml in the requirements.txt to lxml==4.9.1.  This will solve a vulnerability identified by Sonatype Lyft.

@rtgdk @licquia - Could you do a review of the python code?  If it looks good, we can merge this in before the next release.

@linynjosh @rtgdk Just checking in on the status of this PR - @rtgdk is there more changes requested?  I'm thinking of doing a release this week.

@linynjosh @rtgdk Just checking in on the status of this PR - @rtgdk is there more changes requested? I'm thinking of doing a release this week.

@goneall I have addressed all previous comments from @rtgdk. I am happy to address more if there are more changes required.


C510 - How to add in home?

Hi there!
Got a new C510 PTZ Camera. Installed the plugin in my homebridge, added the camera and i can see it in the homebridge dashboard.
Now if i want to add it to my Home App on iPhone, i can find the camera but then i have to put a configuration code. Can you tell me where to find this code? (Normally it should be delivered with official homekit devices).
Thank you!

Hi, did you manage to find the answer to this?

@Bitweidi @eliteladen I tried the homebridge code at the homepage and it worked


etcd-tester: delete/range with limit

Fix https://github.com/coreos/etcd/issues/5950.
Sometimes, range/delete by prefix request takes more than 2 seconds,
timing out other health check requests.

@xiang90 @heyitsanthony PTAL. Been running 3, 5 node cluster over 150 rounds with no failure.

@heyitsanthony PTAL. Cleaned up more.

@heyitsanthony PTAL. Thanks!

Can we get this merged anytime soon?
/cc @gyuho @heyitsanthony

@xiang90
Since we added range/delete stresser, 5-node cluster is returning ErrTooManyRequests and triggering set health key timeout (with intensive loads).
Basically, I am just trying to tune the stresser giving more back-off sleeps or longer timeouts...

that does not matter. let's get this done. they are separate issues.

@xiang90 @heyitsanthony Agree. I removed changes for QPS and just kept changes for range limit with clean up. I will address other 5-node issues elsewhere.
PTAL.
Thanks.

@xiang90 Just reverted changed as you suggested. PTAL.

lgtm


Fix outdated docs in about.md and actions.md

In about.md, the activation records should be stored into activations
instead of whisks database.
Fix an outdated/broken node-js reference link in actions.md.

Signed-off-by: Tzu-Chiao Yeh<EMAIL_ADDRESS>
Description

Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[x] Documentation

Types of changes

[x] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #3683 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3683      +/-   ##
==========================================
- Coverage    74.5%   74.49%   -0.02%
==========================================
  Files         126      126
  Lines        5994     5994
  Branches      392      392
==========================================
- Hits         4466     4465       -1
- Misses       1528     1529       +1

Impacted Files
Coverage Δ

...rc/main/scala/whisk/common/ForcableSemaphore.scala
84.61% <0%> (-3.85%)
:arrow_down:

Continue to review full report at Codecov.

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


Mention spoken languages

Adding a language

[ ] The code displays "Hello World"
[ ] I have updated the readme to include the new language
[ ] I have incremented the language count in the readme
The above don’t apply.

@Richienb or is it to be assumed?

I think it should be assumed.


openwrt: Remove NOR factory image for tplink-ex447/ex227

Remove NOR factory image for tplink-ex447/ex227 as now its
switched to nand based image.
Signed-off-by: Chaitanya Godavarthi<EMAIL_ADDRESS>

Merged a9665a0, thank you


Fix Class Name for PretrainedTokenizer

What:

[ ] Bug Fix

Description:
The file should be renamed from PretrainedTokenizer.php to PreTrainedTokenizer.php to adhere to PHP's PSR-1 coding standard and common naming conventions.
Related:

#70

Thanks for the PR, @takielias. This is a solid contribution.
That said, I do have one consideration. Since we've decided to standardize on PreTrainedTokenizer over PretrainedTokenizer, it would make sense to also update the folder name and namespace for consistency throughout the project.
However, my concern is the potential for this to introduce a breaking change for users on systems with case-sensitive namespaces. It may lead to holding off on tagging this as a release until version 0.6.0, to give us time to manage this transition smoothly.
Could you go ahead and update the namespace and folder first? We can then discuss the best way to proceed from there.
Thanks again for your work!

@CodeWithKyrian sure, I will share the update.

@CodeWithKyrian Hi, I have updated the Folder name as well as the Namespace.

Perfect. Thanks so much for your contribution


Migrate virtual columns in DB to Eloquent models

Some models, User for example, have virtual columns in the database that concatenate fields into their own 'virtual' fields. We should migrate these to be native concatenation in the Eloquent models.

Commits 43ff6ca / 8cd8d87


Feature Request: support building containers for nodejs apps

Just a question. Understand if you're not planning this.
Cool looking project!

You can add nodejs package to your Devbox shell, and then dotnet run inside Devbox. We do need to build the Node.js detection when you generate an image though. Thanks for the feature request.

As @robrich mentioned:

For the shell functionality, we already support nodejs – and you can install any of the versions listed here.
For the container support, we are planning to add nodejs pretty soon. I'll repurpose this ticket to track the container support and we'll let you know as soon as we add it.

@loreto It looks like the link you put just links back to this ticket?

Sorry!
Here's the right link: https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=nodejs


sh.bake rsync exclusion masks vs subprocess.Popen

For some reason running the equivalent of
/usr/bin/rsync -rptlog --size-only -ansv --include='/' --include='**/.arb' --exclude='*' src/ dest2/
through cmd=sh.rsync.bake(..) results in a different outcome than running it through subprocess.Popen(...,shell=True)
Full example demonstrating the issue on https://pastebin.com/nzh5WmkX

Output of the code above:
baking
executing
waiting
sending incremental file list
.foo
dontignoreme.arb
ignoreme
ignoreme.arb.$temp
ignoreme.arb.someshit
subdir/
subdir/dontignoremeeither.arb
sent 515 bytes  received 142 bytes  1,314.00 bytes/sec
total size is 0  speedup is 0.00
done pass 1
prepared cmd_string: /usr/bin/rsync -rptlog --size-only -av --include='/' --include='**/.arb' --exclude='*' src/ dest2/
executing
waiting
sending incremental file list
dontignoreme.arb
subdir/
subdir/dontignoremeeither.arb
sent 266 bytes  received 66 bytes  664.00 bytes/sec
total size is 0  speedup is 0.00
done

I can confirm the same.

import sh
rsync = sh.rsync.bake("-rptlog", "--size-only", "-ansv", "--include=*/", "--include=**/*.arb", "--exclude=*")
rsync("src/", "dest/")

sending incremental file list
./
dontignoreme.arb
dontignoremeeither.arb

sent 126 bytes  received 25 bytes  302.00 bytes/sec
total size is 0  speedup is 0.00 (DRY RUN)

Notice how I remove the quotes around the --include and --exclude values.  The quotes are only necessary when you're passing those options in the shell (which you're doing with subprocess.Popen(shell=True)).  This keeps the shell from expanding *, so that rsync receives, for example, --exclude=* instead of --exclude=file1 file2 file3 file4....
The quotes aren't needed in sh, since we don't launch through a shell, and so quoted args are the source of the issue.


Add Admin and Management API for TradingFees

[ ] Add data to TradingFee

Add description for this PR please.

Remove old columns in admin/markets views (show, index)

also we need /api/v2/public/trading_fees for FE are you agree @ysv

also we need /api/v2/public/trading_fees for FE are you agree @ysv
Or we need join market with with current trading_fee for user when you log in and when you don't just don't show fees like in https://www.binance.com/en/trade/NEO_BTC
I suggest to add maker/taker_fee entity for public/markets and use TradingFee.def for(group:, market_id:) for fetching right trading_fee table with maker/taker_fee values @ysv @dnfd

yes we need it

also we need /api/v2/public/trading_fees for FE are you agree @ysv
Or we need join market with with current trading_fee for user when you log in and when you don't just don't show fees like in https://www.binance.com/en/trade/NEO_BTC
I suggest to add maker/taker_fee entity for public/markets and use TradingFee.def for(group:, market_id:) for fetching right trading_fee table with maker/taker_fee values @ysv @dnfd

yes we need it

so I will do in another patch


Remove: Unity.Unity.6000.visionOS version 6000.0.4f1

Microsoft Reviewers: Open in CodeFlow

URL: https://download.unity3d.com/download_unity/b5d5d06b038a/TargetSupportInstaller/UnitySetup-VisionOS-Support-for-Editor-6000.0.4f1.exe
OK
(Automated message - build 923)

https://github.com/microsoft/winget-pkgs/pull/186121#issuecomment-2445759087

[Policy] Needs-Manual-Merge


Please add donation option to project page

I want to give you money.

PayPal’s rules require that you be at least 18 years old before you can open an account

This restricts me from receiving payments through Paypal.


KSP Type: BCGSL fails on single process runs

This actually looks like it could be an internal bug in PETSc to me.
Traceback (most recent call last):
  File "/home/aron/proteus/linux2/bin/parun", line 439, in <module>
    runName + '_run_prof')
  File "/home/aron/proteus/linux2/lib/python2.7/site-packages/proteus/Profiling.py", line 174, in __call__
    return func(*func_args, **func_kwargs)
  File "/home/aron/proteus/linux2/lib/python2.7/site-packages/proteus/NumericalSolution.py", line 702, in calculateSolution
    par_rList=model.par_rList)
  File "/home/aron/proteus/linux2/lib/python2.7/site-packages/proteus/NonlinearSolvers.py", line 1850, in solveMultilevel
    par_r = par_r)
  File "/home/aron/proteus/linux2/lib/python2.7/site-packages/proteus/NonlinearSolvers.py", line 801, in solve
    self.linearSolver.solve(u=self.du,b=r,par_u=self.par_du,par_b=par_r)
  File "/home/aron/proteus/linux2/lib/python2.7/site-packages/proteus/LinearSolvers.py", line 533, in solve
    self.ksp.solve(par_b,par_u)
  File "KSP.pyx", line 342, in petsc4py.PETSc.KSP.solve (src/petsc4py.PETSc.c:113846)
petsc4py.PETSc.Error: error code 62
[0] KSPSolve() line 441 in /home/aron/sandbox/acoe/hdb/tmp/petsc-dg2gkmdbrhc7/src/ksp/ksp/interface/itfunc.c
[0] KSPSolve_BCGSL() line 278 in /home/aron/sandbox/acoe/hdb/tmp/petsc-dg2gkmdbrhc7/src/ksp/ksp/impls/bcgsl/bcgsl.c
[0] VecMAXPY() line 1257 in /home/aron/sandbox/acoe/hdb/tmp/petsc-dg2gkmdbrhc7/src/vec/vec/interface/rvector.c
[0] Invalid argument
[0] Scalar value must be same on all processes, argument # 3

I've not seen this error in recent work using bcgsl.  Will reopen if it comes up again.


Improve Quiz Page UI

Current
The Quiz page currently  is very different from the main page with no navigation bar, no main page button.

Proposed Changes:
Add a navigation bar at the top of the quiz & Improve the overall UI.

Assign me to this

Assigned!

please assign me this issue


Sign in spinner loops with no end

Please fix!! Add some error handling so that it doesn't leave the user waiting forever (on signin).

@RyanCCollins I'm extremely certain that this is a Safari and localStorage issue. If that's the case, there's very little we're going to be able to do to resolve this

🤷♂


Question

Can I connect a LuaSocket to this bot and then have the bot post in my Channel by itself when output is given on the other end of the Socket?
Here's what I'm trying to do:
Ok, before anything, all info is in my reply in a different thread here:
http://www.se7ensins.com/forums/threads/...t-10569972
-Pretty short thread as a whole, so just read through so you know what I'm talking about here.
Basically: How do I code a Twitch bot that receives commands from a LuaSocket(?) and then posts in the Channel chat based on the commands it receives?
Diagram: http://i.imgur.com/fSdoxgH.png
(Ignore the Twitter & LiveSplit parts for now)
What I'm doing is running an emulator for a Pokemon Yellow Speedrun bot (which runs by a Lua script). The bot runs perfectly fine. However, the Lua Console gives outputs based on what happens live in-game via the Lua bot script.
Example:
http://i.imgur.com/9KXLww2.png
The outputs are the numbered ones, in the red squares. The other text I don't need to show up (except for when the game resets).
So....as the game plays, it gives outputs to the Lua script console (the commands I guess), which get pushed (or maybe pulled from?) to the Java Bridge (the code that connects to the Twitch chat bot), then the Twitch bot chats in the Channel each time a command is sent to the Bridge via LuaSocket.
Any ideas? Ugh. I need as much help as possible & good directions please!

Sorry, I am not familiar with LuaSocket and it's not really a good place to find one.. try on stackoverflow .com maybe :smile:

Alright.


Refactoring and implementation of the LaunchProjectileEvent

SpongeAPI | SpongeCommon
This PR implement its SpongeAPI counterpart.
When is the event fired ?
Here are each cases I tested:

[x] A non-player entity shoots a projectile (skeletons shooting arrows, llamas spitting, ghasts shooting fireballs, snowmans shooting snowballs, blaze shooting small fireballs)
[x] A player shoots arrows (with a bow heh)
[x] A player throws projectiles (snowballs, eggs, potions - splash and lingering -, enderpearls, eyes of ender, using fishing rod, experience bottle)
[x] A dispenser dispenses projectiles (arrows, snowballs, eggs, potions - splash and lingering -, experience bottle)
[x] A plugin shoots a projectile
[x] A player uses a firework.
[x] A dispenser dispenses a firework.
[x] A Wither attacks.
[x] The dragon shoots a fireball

Tell me if you see a case of projectile I missed.
And there is the content of a test plugin
~Note: It seems that there are two projectile-related EventContextKeys, PROJECTILE_SOURCE and THROWER, from what I saw, only one would be necessary, I may address this issue later if it is considered as one.~
Fixed in 5d0184de3b1eeba951c5873d9c20c919c7a8d307

~qa

~qa

~wip

This will need to be re-done and re-target api-8. Bleeding is no longer a valid branch.


版本0.0.6

Coverage increased (+1.3%) to 14.776% when pulling 089d28487d8e63c0bc5900c5c13aadcbf005489e on 版本0.0.6 into 0fb881327e26fb153ce69570d36ed1a7386b08b9 on master.

Coverage increased (+1.3%) to 14.776% when pulling 089d28487d8e63c0bc5900c5c13aadcbf005489e on 版本0.0.6 into 0fb881327e26fb153ce69570d36ed1a7386b08b9 on master.


Atom keeps on uninstalling once PC is shut down

Every time I restart my PC, Atom gets uninstalled and I have to install it once more. However every package I've downloaded is still present in my .atom directory. Once I install the editor everything is back in its previous state. I have to go through this process all the time and I really enjoy this editor, any help would be greatly appreciated!
Thanks in advance

@AndrejPetrushevski can you walk me through the steps you're taking to install Atom?

@50Wliu The odd thing is, there are no required steps I just run the installer and it auto installs Atom. As I said before everything pops back in its previous state (All the files I have worked with before I restarted the PC).

So you're using AtomSetup.exe?

Atom Setup x64 that's correct. As of right now everything is set up in my .atom directory except the editor itself. I'll have to install it once more via the setup to have it available. This goes on every time i turn on my PC.

This is very odd.  Did you ever use the msi variant by any chance (eg AtomSetupx64.msi)?

Are you sure this isn’t some kind of policy that resets the AppData folder?


docs: HardwareLinks: Sipeed Lichee Pi 4A

Vendors:
| sipeed Lichee Pi 4A Powerful RISC-V SBC ever! 矽速科技 官网 | (H/W) $179.00 16GB/128GB |
Articles:
| Lichee Pi 4A RISC-V Desktop Gets Unboxed, Offers Strong Linux Performance / Tom's Hardware |

HardwareLinks

Vendors:

| sipeed Lichee Pi 4A Powerful RISC-V SBC ever! 矽速科技 官网 | (H/W) $170.00 16GB/128GB |

Articles:

| Lichee Pi 4A RISC-V Desktop Gets Unboxed, Offers Strong Linux Performance / Tom's Hardware |

#2416 closes #2415


SSH connection error in Python3

I had problems connecting to a remote ipython cluster, where both endpoints were running Python3. pyzmq is used for the connection.
I'm reporting this here, though I'm not sure where the actual bug is.
Traceback: https://gist.github.com/nikitakit/23e92cd94ccde6dfa8e1
My fix is to make _password_pat a byte regex instead of a string regex.
import re, zmq
zmq.ssh.tunnel._password_pat = re.compile(b'pass(word|phrase):', re.IGNORECASE)

After running this code, the connection is successfully created and appears to function normally.

What's your pexpect version?

pexpect version is 3.3

Should be fixed by #763

Will there be a bugfix release with this included soon?

Yes, I'm planning to put out 15.2 tomorrow.

Great. Thanks!


Feature request: autoreload

Hi, it would be great to support auto-reloading like gunicorn.

Please elaborate what exactly should be done on auto-reloading and what event should trigger this action.
Even better: please provide a pull request!

Changing the code should trigger a reload of the server.
See http://docs.gunicorn.org/en/stable/settings.html#reload. They use 2 different ways to monitor files: inotify and polling.

Do you think program killing at random point is a good thing?
Like dropping open sockets, kicking connecting users, write only partial data to database/filesystem/whatever?
Also please keep in mind: aiosmtpd is a library to build smtp server, not a server program itself.

Do you think program killing at random point is a good thing?

no

Like dropping open sockets, kicking connecting users, write only partial data to database/filesystem/whatever?

I wasn't suggesting that. The restart could occur only when not processing a message, with a daemon that keeps queuing incoming packets to be treated.
There is still a basic CLI tool to run a server. Do you have alternative servers to recommend?

There is still a basic CLI tool to run a server. Do you have alternative servers to recommend?

The key word I believe is "basic".
If you need more functionality, you can build a more full-featured server above the aiosmtpd library.
As such, I think we should close this Issue, at least for the time being. Should anyone think we need to do such development, feel free to reopen.


[ClangImporter] Import macros with cast to builtin type

What's in this pull request?
This PR builds on #2538 by adding support for type casts to some builtin types (mostly those consisting of a single token, e.g. 'short', 'long', etc.).

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

@swift-ci Please test

Looks pretty good to me!
@swift-ci Please test

@IngmarStein Hi, I discovered that some of the imported macros from Foundation cannot be properly type checked. For example:
#define MACH_VOUCHER_NAME_ARRAY_NULL ((mach_voucher_name_array_t) 0)
#define KAUTH_FILESEC_WANTED	((kauth_filesec_t)1)

I discussed it with @jrose-apple and it looks like the desired behavior should be:

do not import macros if they cannot be type checked
extend casts support to support casting to non-builtin types. May be UnsafePointer.init(bitPattern:) could be used to represent such casted values.

Would you be interested in trying to implement this?

To be clear, we just want (1) for now. (2) can come later.

I'll have a look at the typechecker and see what I can do.
In the meantime, I suggest the following patch:
diff --git a/lib/ClangImporter/ImportMacro.cpp b/lib/ClangImporter/ImportMacro.cpp
index 97a23b5..b71fdab 100644
--- a/lib/ClangImporter/ImportMacro.cpp
+++ b/lib/ClangImporter/ImportMacro.cpp
@@ -346,11 +346,16 @@ static ValueDecl *importMacro(ClangImporter::Implementation &impl,
       } else {
         return nullptr;
       }
+      if (!castType->getTypePtr()->isBuiltinType() && !castTypeIsId) {
+        return nullptr;
+      }
     } else {
       auto builtinType = builtinTypeForToken(tokenI[1],
                                              impl.getClangASTContext());
       if (builtinType) {
         castType = &builtinType.getValue();
+      } else {
+        return nullptr;
       }
     }
     tokenI += 3;

I didn't want to go so far as to import constants which are used as special pointer addresses such as (void *)1. With the patch above, we would restrict the importer to only consider types whose canonical type is a builtin type.

Just a note: you can write the above as just castType->isBuiltinType().
id should already be going down a separate path for nil, right? Anything where we use nil should be okay here, including void *. (But if we don't get that right, then yes, this looks OK.)

castType is a clang::QualType, so I can't write this as castType->isBuiltinType():
error: no member named 'isBuiltinType' in 'clang::QualType'
      if (!castType->isBuiltinType() && !castTypeIsId) {
           ~~~~~~~~  ^
1 error generated.

The path for id follows if numTokens == 1, so we have to make sure not to bail out early if the cast type is not a builtin type.
I'll create a new PR for the patch. Thanks for the review!

clang::QualType has an operator->, so I'm a little confused why this wouldn't work.


Static files not being created after rebuild or second build

I was struggling to understand what was going on when I was creating a build of my project. For my particular case, I managed to narrow it down to a few different issues. One of them is that when you run a second build, the static files do not get written to the dist folder when there is already a .cache folder present.
Steps to reproduce

Create a build marko build
Look in the dist folder and you will see static css and js files
Run the build again marko build
In the dist folder you will see there are no static css or js files

You can test this by deleting the .cache folder and running another build. The static files should be present again inside the dist folder.
Temporary fix
It's a bit nasty but it does the trick.
Be extra careful though using rm -rf.
Change the build script to remove the .cache folder before starting a build.
// package.json
{
  "scripts": {
+       "build": "rm -rf .cache/ && NODE_ENV=production marko-starter build",
    },
}

The following issue may be related to this
https://github.com/marko-js/marko-starter/issues/31


[RFE] Add UI settings to customize login and landing page

Is your feature request related to a problem? Please describe.
We want to add the ability to customize the Login Background and Banner images on Rancher UI.
Describe the solution you'd like
To add new settings:

ui-login-background-light - for the background, light theme image - It should be accessed by anonymous users (pre-login)
ui-login-background-dark - for the background, dark theme image - It should be accessed by anonymous users (pre-login)
ui-banner-light - for the banner, light theme image
ui-banner-dark - for the banner, dark theme image

Additional context
Related UI issue: https://github.com/rancher/dashboard/issues/10423

The key part why the UI needs backend support here is:

NOTE: This will require a change to backend to allow these new settings to be accessed by anonymous users.

Internal Reference: SURE-4860

@torchiaf we should sync on this ticket since the corresponding dashboard ticket was closed but this still looks open. I'll reword the title since it's confusing at first glance.

Work done in https://github.com/rancher/rancher/pull/44961 as noted so this is done. The QA portion of this I'm not sure of but UI confirmed that this is working so this has had some testing.


get the part of speech of a word

Dear author,
Could you share the code you use to get the part of speech of a word?

Hi,
You can look into the text_process.py file.
Best,
Chuan
On Sun, Nov 6, 2022 at 3:16 AM zhuangzhuang000 @.***>
wrote:

Dear author,
Could you share the code you use to get the part of speech of a word?
—
Reply to this email directly, view it on GitHub
https://github.com/EricGuo5513/HumanML3D/issues/13, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRYNB4JJ374KXUT3ROQ5RTWG6AQHANCNFSM6AAAAAARYLMD44
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

hi there, i am working on my self built dataset, i only have the raw caption, i need process the raw caption to tokens, so i want that file too,or could you tell me how do you processed your raw text caption?

hi there, i am working on my self built dataset, i only have the raw caption, i need process the raw caption to tokens, so i want that file too,or could you tell me how do you processed your raw text caption?

I also want to build my own dataset. Have you found a way to handle raw text caption now?


brew install cloc,npm, and sysbench  fails

Hi,
Up to now I only managed to install hello. The messages for cloc look like this (Ubuntu Xenial using crouton):
==> Downloading https://github.com/AlDanial/cloc/archive/v1.70.tar.gz
Already downloaded: /home/alireza/.cache/Homebrew/cloc-1.70.tar.gz
==> Downloading https://cpan.metacpan.org/authors/id/A/AB/ABIGAIL/Regexp-Common-2016060801.tar.gz
Already downloaded: /home/alireza/.cache/Homebrew/cloc--Regexp::Common-2016060801.tar.gz
==> perl Makefile.PL INSTALL_BASE=/home/alireza/.linuxbrew/Cellar/cloc/1.70/libexec
==> make install
Last 15 lines from /home/alireza/.cache/Homebrew/Logs/cloc/02.make:
2016-10-27 02:43:46 -0700

make
install

READ THIS: https://github.com/Linuxbrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
  https://github.com/Linuxbrew/homebrew-core/issues

The same thing for npm. sysbench ended with this:
These open issues may also help:
<EMAIL_ADDRESS>Migration [Tracking] https://github.com/Homebrew/homebrew-core/issues/4543
qt5: link brewed openssl when using postresql or mysql https://github.com/Homebrew/homebrew-core/pull/6309
The description for openssl installation is misleading https://github.com/Homebrew/homebrew-core/issues/5291
curl: migrate to<EMAIL_ADDRESS>https://github.com/Homebrew/homebrew-core/pull/4591
fix build with mysql/postgresql of openssl and add pch support https://github.com/Homebrew/homebrew-core/pull/6319
ansible: fix openssl failures by using brewed python at all times https://github.com/Homebrew/homebrew-core/pull/5042

Please report the output of brew gist-logs cloc


Support flatten  SQL function

This adds support for the flatten SQL function.
Depends on:

https://github.com/rapidsai/cudf/pull/13545
https://github.com/rapidsai/cudf/pull/13547

build


Create dataset xquad_ca

uid: xquad_ca
type: processed
description:

name: XQuAD-ca

description: Professional translation into Catalan of XQuAD dataset (https://github.com/deepmind/xquad).
XQuAD (Cross-lingual Question Answering Dataset) is a benchmark dataset for evaluating cross-lingual question answering performance. The dataset consists of a subset of 240 paragraphs and 1190 question-answer pairs from the development set of SQuAD v1.1 (Rajpurkar et al., 2016) together with their professional translations into ten languages: Spanish, German, Greek, Russian, Turkish, Arabic, Vietnamese, Thai, Chinese, and Hindi. Rumanian was added later. We added the 13th language to the corpus using also professional native catalan translators.
XQuAD and XQuAD-Ca datasets are released under CC-by-sa licence.

homepage: https://zenodo.org/record/4757559

validated: True

languages:

language_names:

Catalan

language_comments:
language_locations:

Spain

validated: False

custodian:

name: Barcelona Supercomputing Center - CNS
in_catalogue:
type: A university or research institution
location: Spain
contact_name: XQuAD-ca
contact_email<EMAIL_ADDRESS>contact_submitter: False
additional: https://temu.bsc.es/
validated: False

availability:

procurement:

for_download: Yes - it has a direct download link or links
download_url: https://zenodo.org/record/4757559
download_email:

licensing:

has_licenses: Yes
license_text:
license_properties:
license_list:

cc-by-sa-4.0: Creative Commons Attribution Share Alike 4.0 International

pii:

has_pii: No
generic_pii_likely:
generic_pii_list:
numeric_pii_likely:
numeric_pii_list:
sensitive_pii_likely:
sensitive_pii_list:
no_pii_justification_class: general knowledge not written by or referring to private persons
no_pii_justification_text:

validated: False

processed_from_primary:

from_primary: Taken from primary source
primary_availability: Yes - they are fully available
primary_license: Yes - the dataset has the same license as the source material
primary_types:

other

validated: False
from_primary_entries:

media:

category:

text

text_format:

other
json

audiovisual_format:
image_format:
database_format:

.JSON
.ZIP

text_is_transcribed: No
instance_type: article
instance_count: 100<n<1K
instance_size: 100<n<10,000
validated: False

fname: xquad_ca.json

Already available: https://huggingface.co/datasets/projecte-aina/xquad-ca

#self-assign

Thanks @lhoestq, awesome!


Include non-theme content in build pipeline?

I found I had to add my non-theme html files to the build pipeline to get it working correctly:
# themes/tailbliss/tailwind.config.js
content: ['./layouts/**/*.html', './content/**/*.md', '../../layouts/**/*.html'],

as well as adding a blank tailwind.config.js in my root dir.  This allowed me to switch from indigo to another color, and have the css file correctly rebuild with the watch command.

Gotcha, and thank you. Submit a pull request and I'll merge it.


Wavesurfer not working if I open another browser such as chrome

If I open another browser or new tab in firefox the sounds stop playing
here is an example
Step 1: https://www.sodasi.com/product/waterfall/
Step 2: Open soundcloude and play something in chrome for example
step 3: go back to firefox and play again
Result: in firefox waveform is not working at all although the waveform is being generated!

For me it keeps playing (Firefox 50.1 on macOS). Sounds like something better asked in Firefox's bugtracker.

Try using backend: 'MediaElement'.

awesome, it works now!
Thank you!


fixed crash when trying to activate a removed dream tunnel entry

https://discord.com/channels/403698615446536203/429775320720211968/1294928441698943027

#212


Create test.txt

i have updated the fetutre with text.txt

As i got the approval form reviewer i will merge.


Can you provide the nz-code-box component used by the viewing code in the document?

What problem does this feature solve?
Provides usage documentation for custom components
What does the proposed API look like?
unlimited

This component is not public.
Free free to use the source code.


Remove DeepCode bot

E.g. https://github.com/ROCm-Developer-Tools/llvm-project/pull/93
It's line noise. I don't have permissions to delete it.

Also, this thing emails me, and I can't unsubscribe from it.

Jon, looks like there was a PR merged on this.  Can we close this?

Sure. I haven't opened a PR for a while, can't find the one you're referring to and can't see how to check. I'll reopen this task if it comes back.

Deepcode cruft is still with us.

What is a DeepCode bot?

Posts stuff that looks like:
deepcode-ci-bot bot commented 2 hours ago
DeepCode failed to analyze this pull request
Something went wrong despite trying multiple times, sorry about that.
Please comment this pull request with "Retry DeepCode" to manually retry, or contact us so that a human can look into the issue.
and, annoyingly, emails me this as well.
I think it's a symptom of microsoft buying github. https://www.deepcode.ai/tc
Pages on how to disable it were readily available back in March but are now suspiciously scarce. If you navigate to: https://github.com/apps/deepcode-ci-bot/installations/new you should see 'configure' which hopefully lets you stop it running.

This spam bot is still with us. Currently annoyed by a warning about memcmp on a struct on the basis that it 'might contain padding', when it definitely doesn't.

did this deepbot issue get resolved ? ie can we close this issue?

a recent PR shows this is still an issue

Not resolved. I think Greg has access to disable it, but the rest of us don't.

I fixed this on my side by sending all email from github to spam, and presumably it isn't annoying other people to the same extent it did me, so I'll close this issue.


Adjust foldout spacing in custom inspector

Cool thanks! It's the small details that makes it great ;)


Issues installing dependencies

I followed the installation guide and wanted to install local ollama only setup. I cloned the repo, install poetry, and ran the command.   Afterwards it created some keyring and it seems it expects me to have KWallet? I really don't understand why would it do this? Sorry I am not a python dev, and I am not willing to install a whole KDE environment to get this working. What do I do?
$ poetry install --extras "ui llms-ollama embeddings-ollama vector-stores-qdrant"
The currently activated Python version 3.12.2 is not supported by the project (>=3.11,<3.12).
Trying to find and use a compatible version.
Using python3.11 (3.11.8)
Installing dependencies from lock file

Package operations: 140 installs, 1 update, 0 removals

  • Installing wrapt (1.16.0): Failed

  DBusException

  org.freedesktop.DBus.Error.ServiceUnknown: The name :1.181 was not provided by any .service files

  at /usr/lib64/python3.12/site-packages/dbus/connection.py:634 in call_blocking
      630│                           args, signature, e.__class__, e)
      631│             raise
      632│
      633│         # make a blocking call
    → 634│         reply_message = self.send_message_with_reply_and_block(
      635│             message, timeout)
      636│         args_list = reply_message.get_args_list(**get_args_opts)
      637│         if len(args_list) == 0:
      638│             return None

The following error occurred when trying to handle this error:

  InitError

  Failed to open keyring: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.181 was not provided by any .service files.

  at /usr/lib/python3.12/site-packages/keyring/backends/kwallet.py:100 in connected
       96│             remote_obj = bus.get_object(self.bus_name, self.object_path)
       97│             self.iface = dbus.Interface(remote_obj, 'org.kde.KWallet')
       98│             self.handle = self.iface.open(self.iface.networkWallet(), wId, self.appid)
       99│         except dbus.DBusException as e:
    → 100│             raise InitError('Failed to open keyring: %s.' % e)
      101│
      102│         if self.handle < 0:
      103│             return False
      104│         self._migrate(service)

I have gnome-keyring installed btw. So what does it want?

Are you on Linux/Windows/Mac?

Are you on Linux/Windows/Mac?

I am on linux

@life00  I find that this is usually an issue with Python dependencies used in these files either not installed or somehow broken.
Please try the following: sudo apt install --reinstall python3-apt python3-dbus python3-gi

@life00 I find that this is usually an issue with Python dependencies used in these files either not installed or somehow broken.
Please try the following: sudo apt install --reinstall python3-apt python3-dbus python3-gi If this does not work, create a virtual environment and install all the requirements.

@feijoes well, I don't use Debian based distribution but I use Fedora. Anyways I tried to reinstall those package with dnf and I already had all of them installed: dnf reinstall python3-dnf python3-dbus python3-gobject and it did not help. I even installed KWallet, but it still did not help.
Does privateGPT handle at least some credentials? Because it appears that it first creates a keyring, and then after it is created/unlocked it tries to use to to store some credentials using KWallet. But I probably have some issues with KWallet config because I do not use KDE. I guess that it has KWallet hardcoded.
By virtual environment you mean python virtual env?
python3.11 -m venv .venv
source .venv/bin/activate
poetry install --extras "ui llms-ollama embeddings-ollama vector-stores-qdrant"

^ this did not help
I could try running it inside a VM but that does not seem worth it.

I was searching online for similar error log and got a brilliant idea to search in poetry's issues. I found https://github.com/python-poetry/poetry/issues/1917#issuecomment-1235998997 which fixes the issue.
Sorry for not doing this earlier.


Remove identity

Closes https://github.com/MangoInstantMessenger/MangoMessengerAPI/issues/415

TODO

Update frontend login and registration forms
Update frontend types for login and register
Display username on UI settings now
Make password starting from 5 characters


[BEAM-5837] Add health check prober for community metrics infrastructure

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


[DO NOT MERGE] ci: migrate CI to self hosted runners

Use self hosted runners for running bundle integration tests instead of GitHub runners, as they are limited in resources (cpu, mem and storage).
TODO: this is a candidate for moving to canonical/charmed-kubeflow-workflows.
Fixes https://github.com/canonical/kfp-operators/issues/250

After some trial and error, it seems like the self hosted runners configuration is not as easy. Keeping this PR opened until we decide what to do with it.

Closing as this effort will not be continued.


refactor(dep.js): use forEach instead of for loop to improve readability

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[x] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[x] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Using the forEach method can help readers to know instantly the purpose of the iteration rather
than making them look at the index management for some logic other than increasing it at each
iteration

Thank you for this but the for loop is used intentionally for performance reasons

Understood, thanks! 😃


chore: Update some type annotations in settings code

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.83%. Comparing base (cc33c16) to head (858194b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8557   +/-   ##
=======================================
  Coverage   91.83%   91.83%
=======================================
  Files         245      245
  Lines       19337    19337
  Branches     2152     2152
=======================================
  Hits        17758    17758
  Misses       1306     1306
  Partials      273      273

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


LE Audio: TMAP: Broadcast Media Sender

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or graphics (drag-and-drop an image) about the feature request here.

Closing as it is implemented


feat: Add platform field to RequestEvent

What is it?

[x] Feature / enhancement
[ ] Bug
[ ] Docs / tests

Description
Adds a platform field to the RequestEvent, allowing platform specific (Netlify, Cloudlfare) data and functions to be used in on* requests.
Discussion here: #1066
Checklist:

[ ] My code follows the developer guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] Added new tests to cover the fix / functionality

cc @youngboy

love it let us know when this is ready to merge!

This all looks great!


Recheck PRs on newly added org are all pending

After adding an org and clicking "Recheck PRs", all open PRs are checked but all come back as pending and are stuck that way.
This may be related to #150 but is a bit different in that because the org is new, there isn't even a workaround because there is no webhook payload to resend. Any thoughts appreciated. I'm also happy to help work on the solution to this and #150 but I'm new to this code base so some theories on the cause and direction where to look would be helpful.
Thanks!

Do I understand you correctly: the status of all PRs in the org remains "pending" even if all committers of the PRs have signed the CLA?
The workaround mentioned in #150 is actually an "old" one - "Recheck PRs" does the same. But if you wisch you can resend the webhooks also for the org. You have to just navigate into org settings and select "Webhooks" there

Sorry, I believe this issue was filed before I fully understood how things work. I was not expecting the unsigned CLA to leave the status as pending but expected it to fail the check. If the expected outcome is for the check to always be pending until the CLA is signed, this is working properly and you can close this issue. If it should actually fail the check, then it is not doing that.

No problem. CLA assistant check has indeed only two statuses: pending and success.


Function looks perfect from localhost, but not from server

Here is the problem:
When I set a switch to control if a component is disabled or not, it works fine via localhost but malfunctions when I visit it from another device.
# type: ignore
from pcconfig import config
import pynecone as pc

docs_url = "https://pynecone.io/docs/getting-started/introduction"
filename = f"{config.app_name}/{config.app_name}.py"

class State(pc.State):
    tag: bool = True
    def set_tag(self, tag):
        self.tag = not tag

def index() -> pc.Component:
    return pc.box(
        pc.vstack(
            pc.switch("If Tag", padding_top="2%", on_change=State.set_tag, ),
            pc.select(
                ['lt', 'le', 'eq', 'ge', 'gt'],
                default_value='ge',
                padding_top="2%",
                is_disabled=State.tag,
            ),
        ),
    )

# Add state and page to the app.
app = pc.App(state=State)
app.add_page(index)
app.compile()

Expected behavior:
I think this feature should behave the same when accessing the site in different ways.
** Specifics (please complete the following information):**

Python Version: 3.7.4
Pynecone Version: 0.1.18
OS: Windows Server 2019
Browser (Optional): Chrome Local/Remote

Additional context
Add any other context about the problem here.

I'm wondering if this is caused by websocket when the network is not perfect.

Page will be unresponsive if the websocket can't connect to the backend.
Usually checking the api_url is how it can be solved.


Reset password form improvements

Added name to the form
Added 'has-error' to the form groups if the validation fails.
Used password-verify directive to check password matching
Passing isValid from the view to submit()

@silverbux can't seem to match your code style. What IDE you use? I'm using PhpStorm and I'm trying to get close to your styleguide.
Maybe add the good old CONTRIBUTING.md ? And specify what rules to follow and stuff like that

yep acutally this one is good, i was referring to the other pull request https://github.com/silverbux/laravel-angular-admin/pull/33
https://github.com/silverbux/laravel-angular-admin/pull/33/files#diff-8b7d3620a9180ec684527ab2753db7a7L6


[BUG] After the workflow fails to run multiple times, the number of failures of the home page and the project home page is incorrect

*For better global communication, please give priority to using English description, thx! *
Describe the bug
After the workflow run fails, the re-run 3 times fails,  the number of failures of the task status statistics on the home page and the project home page is incorrect
【工作流运行失败后，重跑3次均失败，首页和项目首页的任务状态统计的失败次数为1，应该为4】
To Reproduce
1.Workflow definition setting failed retries 3 times

2.After running the workflow, there are 4 failure data for viewing the task instance, as shown below

3.The number of failures of task status statistics on the home page and project home page is 1. It should be 4

Which version of Easy Scheduler:
-[dev分支]

good job!


onefetch: init at 2.1.0

Motivation for this change
Close #72254
@Kloenk - feel free to add yourself as a maintainer, if you'd like.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @mmahut @jonringer

This change is

@GrahamcOfBorg build onefetch

@GrahamcOfBorg build onefetch

@jonringer Build on darwin should be fixed now.
@GrahamcOfBorg build onefetch

@GrahamcOfBorg build onefetch

@jonringer I think I added all the needed frameworks and libraries for Darwin now. Could you please run the build again? Sorry to ping you so much; the PR adding me to trusted users for ofBorg is not merged yet.

@GrahamcOfBorg build onefetch

@jonringer I think it's fine now - the PR can be merged. Thanks a lot for your help!

previous review still stand, LGTM


CNV-29457: Move cloud-init network data to v2

📝 Description
Restructuring cloud-init network data according to v2, for more info: https://cloudinit.readthedocs.io/en/latest/reference/network-config-format-v2.html#addresses-sequence-of-scalars
🎥 Demo
Before:

After:

u sure about removing gateway? there is gateway4 instead
I saw something about deprecated but here https://issues.redhat.com/browse/CNV-28700 , I can see sample its still in use

u sure about removing gateway? there is gateway4 instead I saw something about deprecated but here https://issues.redhat.com/browse/CNV-28700 , I can see sample its still in use

No I'm not sure about it, I just saw in the cloud-init docs that it's depracated, and it suggest using routes instead of gateway4 (or 6): https://netplan.readthedocs.io/en/latest/netplan-yaml/#default-routes
For this PR I will expose the gateway4 as you suggested, and I guess in the future we will move to routes

/jira refresh

/retest