URL rewriting error

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.4
Current Behavior
I would like to report a problem with url rewriting through Kong.
My Webapp calls an API with the URL https://gwapi-hp.xxx.fr/referentiel-rec/v1/points?area=TEST with gwapi-hp.xxx being my PROXY KONG.
In the configuration of my Kong I want to rewrite the URL I receive according to the following rule:
https://gwapi-hp.xxx.fr/referentiel-rec/v1/points?area=TEST => https://referentiel-api-rec.xxx.fr/points?area=TEST
The problem is that sometimes instead of having the URL https://referentiel-rec.xxx.fr/points?area=TEST I have the URL https://referentiel-api-rec.xxx.fr/v1/points?area=TEST
So why does Kong add a /v1 ?
As you see in the kong configuration i'm in path_handling: v0
Thanks a lot
Expected Behavior
https://gwapi-hp.xxx.fr/referentiel-rec/v1/points?area=TEST => https://referentiel-api-rec.xxx.fr/points?area=TEST
Steps To Reproduce
No response
Anything else?
_format_version: "1.1"
services:

connect_timeout: 60000
name: referentiel-rec-service
url: https://referentiel-rec.xxx.fr
read_timeout: 60000
retries: 5
write_timeout: 60000
routes:

name: referentiel-rec-route-v1
paths:

/referentiel-rec/v1
/referentiel-rec
path_handling: v0
preserve_host: false
protocols:
http
https
regex_priority: 0
strip_path: true
https_redirect_status_code: 426
plugins:
name: cors
config:
origins:
- https://.*xxx.fr
- https://.xxx.fr
- http://localhost:.
methods:
- GET
- POST
- PATCH
- PUT
- DELETE
exposed_headers:
- X-Total-Count
- X-Result-Count
- Content-Disposition
max_age: 600
name: jwt
enabled: true
config:
anonymous: anonymous
key_claim_name: kid
claims_to_verify:

exp
scopes_claim: application_roles
scopes_required: ['XXX']
claims_headers:
sub:x-jwt-sub
client_id:x-jwt-client-id
_validated_scope:x-jwt-validated-scope

name: oauth2
config:
enable_client_credentials: true
global_credentials: true
accept_http_if_already_terminated: true
anonymous: anonymous
enabled: true
name: basic-auth
config:
hide_credentials: false
anonymous: anonymous
enabled: true
name: acl
config:
allow:
- referentiel-rec-access

Hello,
we have restarted the tests with a single path and unfortunately we encounter the same problem
Any other idea ?

Does this problem still exist with Kong Gateway 3.x?

Closing this due to lack of activity. Please re-open if needed.


python2.7: Return full path from find_library

Motivation for this change
Fixes #7307. (Also fixes #33971 in a different way; would love to get both patches in.)
The upstream cpython patch to implement this behavior got reverted as it caused issues on some niche platforms, but I think Nixpkgs can punt on those issues for now.
cc @edolstra and @FRidh who have put in patches around Python's find_library previously.
Things done

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

[ ] NixOS
[ ] macOS
[x] 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/)
[x] Fits CONTRIBUTING.md.

Are there any updates on this pull request, please?

I am not using Salt or Python 2.7 any more.


Access denied

[] Changing WINSTA/Desktop permissions for the target user: NT AUTHORITY\SYSTEM
[] Setting Permission for : NT AUTHORITY\SYSTEM
[] Stealing token from ProcID: 2256 to start binary: powershell.exe whoami
[+] Recieved Handle for:  (2256)
[+] Process Handle: 0x02D4
[+] Primary Token Handle: 0x02D8
[+] Duplicate Token Handle: 0x02D4
[] Adjusting Token Privilege
SeAuditPrivilege
[+] Recieved luid
[] AdjustTokenPrivilege
[+] Adjusted Privilege: SeAuditPrivilege
[+] Privilege State: SE_PRIVILEGE_ENABLED
[] CreateProcessWithTokenW
Starting C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe with arguments whoami
Directory: C:\Users\Administrator\Desktop
Tried starting process, return value is False
[-] Function CreateProcessWithTokenW failed:
[-] Access denied.

This is strange. From all the output above this should have worked. Can you use another technique than CreateProcessWithTokenW?

As no response came I’m gonna close this. Feel free to reopen if you still face the issue.


Reliability fixes for fork-source-link-same-view /2

Due to https://github.com/refined-github/refined-github/pull/5494#discussion_r829019629
cc @kidonng

Thanks for the PR! I have prepared this in a separate branch (beec305498ef1b70c9c99f76817d4e7973b8eb5f) but this is also fine.


Support for Sileno Life

Prerequirements
[x ] I have connected my mower(s) to the Automower Connect App
[x] I have connected my Husqvanra developers account to the Authentication API
[x] I have connected my Husqvarna developers account to the Automower Connect API
Describe the bug
I have configured Gardena integration for HA by using Husqarna developer portal and API but presently Gardena integration for HA does not support map display for newest Sileno Life Smart LONA models which are another iteration of Husqarna movers under their Gardena brand. Therefore I have installed Husqarna automover integration in order to gain options that are not present in Gardena integration.
Everything went ok on installation and configuration but there is no entity created in the system, similar to #426 .
I have tried to create separate application on Husqarna dev portal with separate access to API - no change
I have tried to remove integration and redownload and configure over as suggested in #426  - no change
I do not see any errors in HA log regarding this
Expected behavior
Mover entity will be shown in HA
Screenshots

Additional context
Map for my mover is w/o problem shown in Gardena app on Android and Gardena integration in Home Assistant is using exactly the same API on Husqarna portal for developers. Therefore I presume that it should be possible to use this integration to gain full functionality of newest Gardena movers that are based on Husqarna models.

Sorry, but this integration is only for Husqvarna mowers.

Why? If integration is almost identical, why not also support Gardena?

Only the authentication part is the same. The rest of the API looks completely different to me.
Tried this one?
https://github.com/py-smart-gardena/hass-gardena-smart-system


[META discuss] move this project out of Cordova?

This project which is published as xcode was "donated" to Cordova but seems to have some non-Cordova users (see https://github.com/apache/cordova-node-xcode/issues/28#issuecomment-445577431 for example). Some recent changes such as PR #24 seem to come from non-Cordova users. There was also a question in https://github.com/apache/cordova-docs/pull/921#issuecomment-448680564 on a blog post for this project.
I think it would be ideal to move this project into a non-Cordova organization so that we can start adding non-Cordova maintainers.

We're definitely non-cordova users!

I think this should be discussed in<EMAIL_ADDRESS>


Reuse of multiple Concept ID's for the ScanReport(SR) Field and ScanReport(SR) Value.

If a SRField or SRValue is mapped to multiple Concept ID's, the reuse process when uploading a new SR only adds one of those multiple Concept ID's to the given Field/Value.
e.g
These are the Concept ID's added to the same SRValue

Once is reuploaded, it only CaRROT only resuses one

This is a recognised bug - needs fixing.


ModuleNotFoundError: No module named 'copycat'

I am attempting to implement the paper's methodology and am facing a ModuleNotFoundError due to the absence of the 'copycat' module when trying to convert the AMASS and ARES datasets to qpos format.
The following commands execute successfully:

sh scripts/test_egoego_pipeline.sh
 python process_amass_dataset.py

However, I encounter an error when running the following command:

python convert_amass_to_qpos.py

Error Message: ModuleNotFoundError: No module named 'copycat'

Despite searching on both pip and GitHub, I could not find a 'copycat' module that matches the requirements of the script.
Could you please guide me on how to resolve this issue? Are there specific steps or dependencies that I may have missed?
Thank you for your assistance in advance.

Thank you for your response via email!
I've been able to make the necessary corrections, so I will now close this issue.

The 'copycat' module is from kinpoly (https://github.com/KlabCMU/kin-poly/tree/d2d5c48cfd771739e6afbce1c99571ccd941c3a6/copycat). It appears that their new version has deleted this module, but you can still find the 'copycat' folder in its older version.


Support VK_EXT_metal_surface

It would be good for MoltenVK to support the proper VkPi surface extension, so that we can port the applications to be equally portable on MoltenVK and gfx-portability.
See https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VK_EXT_metal_surface.html
The current state of things is applications using VK_MVK_macos_surface directly and inconsistently: some providing NSView, others providing CAMetalLayer, which is undocumented and hacky.

@kvark Thanks for the reminder! PR #654 adds this extension.

Closing.


make AZs a variables, rather than hard code it, it is never z1

Availability zones in concourse.yml are hard-coded to vbox. Any user not using vbox would have to write an ops file to overwrite this value. This value should be variablized.
As an example:
https://github.com/concourse/concourse-bosh-deployment/blob/master/cluster/concourse.yml#L21

Close in https://github.com/concourse/concourse-bosh-deployment/pull/212


feat: Environment tag

SUMMARY
It can often be useful to see at a glance what environment you're currently in. This configurable tag can be set to appear based on any environment variable you set. By default, it shows a tag for development or production based on FLASK_ENV.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Before

After

TESTING INSTRUCTIONS

Start superset in production mode. The tag should appear and say "Production"
Start superset in development mode. The tag should appear and say "Development"

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

/testenv up

/testenv up

One last nitpick here - there are some hard-coded colors, and it would be great to pull these from the SupersetTheme object, so that we can override them later with Theme overrides. Ping me on Slack if you wanna talk through the idea or how to approach it.

Hey, this looks great! Just a quick nit, also would you mind writing a test for this tag?

There is already a quick test to make sure the tag appears in the DOM. Is that sufficient or would you like some more tests?


Make Virtlet work with newer Calico

For now, only DHCP-based networking works for Calico.
There's a difficulty with passing link-scoped routes through cloud-init network config (both nocloud and configdrive), so for now cloud-init sets up DHCP for each CNI-provided network interface. This should also help with persistent roots where cloud-init based network configuration wasn't being updated after re-creating the pod.
The patch is inspired by kubevirt/kubevirt#1436 and removes the old scheme that was making a "fake pod", because it's no longer possible to create such "fake pods" in new versions of Calico (they always must correspond to a real pod).
This PR also renames virtlet-eth0 to eth0, removing compatibility problems with some old CNI Genie versions.
I didn't test multiple CNI with this PR yet.

This change is

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ivan Shvedunov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

IMO instead of removing an option to pass configuration/routes through CD image that should be left as an option, which could be covered by some annotation or even global configuration option to force "old" mode.
SR-IOV is only case which I see at the moment which can not use our dhcp. IDK if there is something similar in the wild with same limitation.


pulseaudio module disabling itself if no app using pulseaudio already started

[warning] module pulseaudio: Disabling module "pulseaudio", pa_context_connect() failed: Connection refused
starting an app that uses pulseaudio, then restarting waybar, fixed it.

I have had this exact issue as well.

I have experienced this error, and it is likely that pulseaudio is loaded via a socket on your machine, so it is not actually started until an application using it is started.
For me, running systemctl --user enable pulseaudio (no sudo) fixes the behavior and coexists peacefully with other DEs running on my system that auto-start pulseaudio themselves.

I don't even use sytemd.
The "issue" is here, where it seems quite intentional to not spawn a pulse server if it doesn't exist. I think I can understand why this was done, I don't think passing that flag makes sense for something like a statusbar. When I load my machine, sway is the first thing I start. Of course there's no audio server running. By using the module from waybar, I am choosing to have one started. I don't want to have to open a youtube video and then reload sway just to have the pulse module show up lol. I think it is OK for waybar to start it; that is the way pulseaudio was designed.
I recommend removing that flag from the connect request. I'm not interested in adding a hook to runit.

@JohnHolmesII we can change the flag to PA_CONTEXT_NOFAIL instead.
I'm ok to change that, you can make a PR 😃

Fixed by #651


.dropdown-menu a does not obey @baseLineHeight

dropdown.less:
// The dropdown menu (ul)
.dropdown-menu {
  ..

  a {
    ..
    line-height: 18px;

I think this should be:
line-height: @baseLineHeight;

Resolved in 2.0.1-wip.

Thanks!


Feature - Search within columns

Be able to filter datasets by the presence of a value in a column.

Closing stale issues as part of task triage and preparing for a new roadmap


Incompatible with latest versions of the main libraries

Hi guys, trying to get this to work with
"@magic-ext/connect": "^4.0.0",
"@magic-ext/oauth": "^5.0.0",
"@magic-sdk/provider": "^11.0.0",
"@wagmi/core": "^0.8.5",
"magic-sdk": "^11.0.0"

using next.js v13
but it won't compile, tons of errors, some type related.

Hi @mwawrusch, that sounds like linter issues, can you share the error log?

this is the top level error:
(alias) new MagicAuthConnector(config: {
    chains?: Chain[] | undefined;
    options: MagicAuthOptions;
}): MagicAuthConnector
import MagicAuthConnector
Type 'MagicAuthConnector' is not assignable to type 'Connector<any, any, any>'.
  The types returned by 'connect(...)' are incompatible between these types.
    Type 'Promise<{ provider: RPCProviderModule & AbstractProvider; chain: { id: number; unsupported: boolean; }; account: string; }>' is not assignable to type 'Promise<Required<ConnectorData<any>>>'.
      Type '{ provider: RPCProviderModule & AbstractProvider; chain: { id: number; unsupported: boolean; }; account: string; }' is not assignable to type 'Required<ConnectorData<any>>'.
        Types of property 'account' are incompatible.
          Type 'string' is not assignable to type '`0x${string}`'.ts(2322)

also:
(method) MagicAuthConnector.connect(): Promise<{
    provider: RPCProviderModule & AbstractProvider;
    chain: {
        id: number;
        unsupported: boolean;
    };
    account: string;
}>
Property 'connect' in type 'MagicAuthConnector' is not assignable to the same property in base type 'MagicConnector'.
  Type '() => Promise<{ provider: RPCProviderModule & AbstractProvider; chain: { id: number; unsupported: boolean; }; account: string; }>' is not assignable to type '(config?: { chainId?: number | undefined; } | undefined) => Promise<Required<ConnectorData<any>>>'.
    Type 'Promise<{ provider: RPCProviderModule & AbstractProvider; chain: { id: number; unsupported: boolean; }; account: string; }>' is not assignable to type 'Promise<Required<ConnectorData<any>>>'.
      Type '{ provider: RPCProviderModule & AbstractProvider; chain: { id: number; unsupported: boolean; }; account: string; }' is not assignable to type 'Required<ConnectorData<any>>'.
        Types of property 'account' are incompatible.
          Type 'string' is not assignable to type '`0x${string}`'.ts(2416)

and a few others.

getAcount in magicConnector has this one:
(method) MagicConnector.getProvider(): Promise<RPCProviderModule & AbstractProvider>
Argument of type 'RPCProviderModule & AbstractProvider' is not assignable to parameter of type 'ExternalProvider | JsonRpcFetchFunc'.
  Type 'RPCProviderModule & AbstractProvider' is not assignable to type 'ExternalProvider'.
    Types of property 'send' are incompatible.
      Type '{ <ResultType = any>(method: string, params?: any[] | undefined): PromiEvent<ResultType, void>; (payload: JsonRpcRequestPayload<any> | JsonRpcRequestPayload<any>[], onRequestComplete: JsonRpcRequestCallback): void; <ResultType>(payload: JsonRpcRequestPayload<...>, none: void): JsonRpcResponsePayload<...>; } & ((payl...' is not assignable to type '((request: { method: string; params?: any[] | undefined; }, callback: (error: any, response: any) => void) => void) | undefined'.
        Type '{ <ResultType = any>(method: string, params?: any[] | undefined): PromiEvent<ResultType, void>; (payload: JsonRpcRequestPayload<any> | JsonRpcRequestPayload<any>[], onRequestComplete: JsonRpcRequestCallback): void; <ResultType>(payload: JsonRpcRequestPayload<...>, none: void): JsonRpcResponsePayload<...>; } & ((payl...' is not assignable to type '(request: { method: string; params?: any[] | undefined; }, callback: (error: any, response: any) => void) => void'.
          Types of parameters 'method' and 'request' are incompatible.
            Type '{ method: string; params?: any[] | undefined; }' is not assignable to type 'string'.ts(2345)
            ```

            and there are a few more.

same issue

can pay a tip a crypto to see this done soon :D, working on an urgent project. and would love to integrate this right away.

@mwawrusch Thanks for opening this issue ! Can you provide us a minimal reproduction repo for this ? it would help a lot 🙏

https://github.com/LyghtCode/magic-connector-type-issue
I invited you to this one, thanks!

Thanks LyghtCode

np my version of next is next 12 i believe the main issue is adjusting the typing for the Connector to adhere to the newer wagmi Connector type

any updates?

any updates?

We are working on new version with all latest magic and wagmi packages. but we are facing type issues from magic side. the same types are exported from different magic packages and they are seemingly not fitting with each other. so we are trying to sync up with the magic team to know how to use their exported types. we are still waiting for their response and hopefully we should get this resolved soon.

thank you so much!

Thanks, much appreciated.

wagmi

status? :D

status? :D

still waiting for response :(

:(

i pinged their discord with this issue. looks like another person needs the same issue fixed as well, hopefully they'll respond to you  @Royal-lobster

Added a comment as well and sent you a friend request on discord.

@Royal-lobster
I followed up with you via our support chat but wanted to follow up here as well. I believe the move here is to upgrade to the latest version of the Magic SDK. Also, the Magic SDK uses @magic-sdk/provider as a peer dependency so you shouldn't have a need to install it separately. That could be a reason why you are having issues with types.
Please let me know if this helps!

@Royal-lobster
I followed up with you via our support chat but wanted to follow up here as well. I believe the move here is to upgrade to the latest version of the Magic SDK. Also, the Magic SDK uses @magic-sdk/provider as a peer dependency so you shouldn't have a need to install it separately. That could be a reason why you are having issues with types.
Please let me know if this helps!

Thanks !! This solved the issue. Currently we are testing the package, will release the update today asap.

Guys,
using the latest and greatest I now get this error message on compile:
./node_modules/@everipedia/wagmi-magic-connector/build/main/lib/connectors/magicAuthConnector.js:5:0
Module not found: ESM packages (@wagmi/core) need to be imported. Use 'import' to reference the package instead. https://nextjs.org/docs/messages/import-esm-externals

Import trace for requested module:
<EMAIL_ADDRESS>./components/web3/hooks/useWagmiClient.tsx
./components-products/minter/minter-main.tsx

https://nextjs.org/docs/messages/module-not-found

Guys, using the latest and greatest I now get this error message on compile:
./node_modules/@everipedia/wagmi-magic-connector/build/main/lib/connectors/magicAuthConnector.js:5:0
Module not found: ESM packages (@wagmi/core) need to be imported. Use 'import' to reference the package instead. https://nextjs.org/docs/messages/import-esm-externals

Import trace for requested module:
<EMAIL_ADDRESS>./components/web3/hooks/useWagmiClient.tsx
./components-products/minter/minter-main.tsx

https://nextjs.org/docs/messages/module-not-found

hoping https://github.com/EveripediaNetwork/wagmi-magic-connector/pull/41 should fix the issue.

Done ! the fix is released under<EMAIL_ADDRESS>please feel free to report any issues after the upgrade.

Done ! it seems to be working fine now, there was some module resolution issues which we solved by converting the package to ES Module. it should work without issues. try out with<EMAIL_ADDRESS>Please feel free to report any issues after upgrading.

@LyghtCode also added a new branch to your reproduction with fixed package https://github.com/LyghtCode/magic-connector-type-issue/tree/after-fix

Amazing

We will test on our production repo on Monday.

Looks good on our end so far. We saw this warning (haven't had time to investigate further):
The resource  was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.
send:1 The resource https://assets.auth.magic.link/static/app.chunk~ui~async.7e2eb3e6eeb0ef972ddb.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

it works. i was just wondering if it was possible to call the showallet() function? while using this wagmi, rainbowwallet config.

Looks good on our end so far. We saw this warning (haven't had time to investigate further):
The resource was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally. send:1 The resource assets.auth.magic.link/static/app.chunk~ui~async.7e2eb3e6eeb0ef972ddb.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as value and it is preloaded intentionally.

Seems like its a issue coming from magic.

it works. i was just wondering if it was possible to call the showallet() function? while using this wagmi, rainbowwallet config

normally we can get the wallet information on useAccount hook from wagmi and use it to render the ui for wallet. but its interesting how we might implement the showWallet function for magic connect. opening another issue on this so we can gather some ideas.

@LyghtCode once check this out. probably this will work
const { connector } = useAccount()
//...
connector.magicSDK.connect.showWallet();

it works. i was just wondering if it was possible to call the showallet() function? while using this wagmi, rainbowwallet config

normally we can get the wallet information on useAccount hook from wagmi and use it to render the ui for wallet. but its interesting how we might implement the showWallet function for magic connect. opening another issue on this so we can gather some ideas.

will try it tmmrw!

@Royal-lobster hey, I am having some issues integrating MagicAuth with wagmi (might just not be using it correctly), but wondering if there is any issue with TypeScript? I saw some comments above with similar issues, I am getting the following error

Thanks for reporting. i guess this is probably because of wagmi version you are using. try updating the wagmi to ^0.10.10. also you don't need to install @magic-ext/connect, @magic-sdk/admin and magic-sdk seperately. the magic libraries comes with @everipedia/wagmi-magic-connector.

@Royal-lobster hey, I am having some issues integrating MagicAuth with wagmi (might just not be using it correctly), but wondering if there is any issue with TypeScript? I saw some comments above with similar issues, I am getting the following error

Thanks for reporting. i guess this is probably because of wagmi version you are using. try updating the wagmi to ^0.10.10. also you don't need to install @magic-ext/connect, @magic-sdk/admin and magic-sdk seperately. the magic libraries comes with @everipedia/wagmi-magic-connector.

Thanks, I had those magic libs installed previously, will clean them up once I get this working. The interesting part is this seems to be just a linting issue, the functionality seems to work. I am using rainbowkit and had issues with wagmi v^0.10.10, so after speaking with the rainbow team I downgraded to ^0.9.0 until they support 0.10.X. Maybe I just have to wait then and manually ignore the linter?

Thanks, I had those magic libs installed previously, will clean them up once I get this working. The interesting part is this seems to be just a linting issue, the functionality seems to work. I am using rainbowkit and had issues with wagmi v^0.10.10, so after speaking with the rainbow team I downgraded to ^0.9.0 until they support 0.10.X. Maybe I just have to wait then and manually ignore the linter?

Ohh. I created a small repo of magic + rainbow integration https://github.com/Royal-lobster/rainbow-magic-example once check it out if it helps.

Thanks, I had those magic libs installed previously, will clean them up once I get this working. The interesting part is this seems to be just a linting issue, the functionality seems to work. I am using rainbowkit and had issues with wagmi v^0.10.10, so after speaking with the rainbow team I downgraded to ^0.9.0 until they support 0.10.X. Maybe I just have to wait then and manually ignore the linter?

Ohh. I created a small repo of magic + rainbow integration https://github.com/Royal-lobster/rainbow-magic-example once check it out if it helps.

Yeah I noticed that, thanks for sharing! It looks like a lot of the versions in that package.json are outdated thought so I dont know if its a direct comparison. Rainbow did say they will work towards supporting wagmi 0.10.X soon so hopefully that resolves my issues.

this works do you have an example on how to create and send a transaction with the wagmi object? i know the sendTransaction() function exists somewhere but im having a hard time figuring out how to reach the function through wagmi.

this works do you have an example on how to create and send a transaction with the wagmi object? i know the sendTransaction() function exists somewhere but im having a hard time figuring out how to reach the function through wagmi.

I assume you can use the send transaction hook from wagmi
https://wagmi.sh/react/hooks/useSendTransaction

i tried that actually. theoretically it should pop up the magic wallet to confirm the transaction but that doesn't happen. i figured maybe calling sendTransaction from the Magic SDK object might work, similar to how we get walletShow().

i tried that actually. theoretically it should pop up the magic wallet to confirm the transaction but that doesn't happen. i figured maybe calling sendTransaction from the Magic SDK object might work, similar to how we get walletShow().

Are you using MagicAuth or MagicConnect? MagicAuth is completely white labeled and doesnt have a signature confirmation modal, so that may be why (if you're using MagicAuth)?

Connect

Actually by default magic will auto confirms the transaction.

@Royal-lobster hey, I am having some issues integrating MagicAuth with wagmi (might just not be using it correctly), but wondering if there is any issue with TypeScript? I saw some comments above with similar issues, I am getting the following error

Thanks for reporting. i guess this is probably because of wagmi version you are using. try updating the wagmi to ^0.10.10. also you don't need to install @magic-ext/connect, @magic-sdk/admin and magic-sdk seperately. the magic libraries comes with @everipedia/wagmi-magic-connector.

Thanks, I had those magic libs installed previously, will clean them up once I get this working. The interesting part is this seems to be just a linting issue, the functionality seems to work. I am using rainbowkit and had issues with wagmi v^0.10.10, so after speaking with the rainbow team I downgraded to ^0.9.0 until they support 0.10.X. Maybe I just have to wait then and manually ignore the linter?

Hey! What was you did to solve this issue? I've having a similar issue here:
https://github.com/EveripediaNetwork/wagmi-magic-connector/issues/53

@Royal-lobster hey, I am having some issues integrating MagicAuth with wagmi (might just not be using it correctly), but wondering if there is any issue with TypeScript? I saw some comments above with similar issues, I am getting the following error

Thanks for reporting. i guess this is probably because of wagmi version you are using. try updating the wagmi to ^0.10.10. also you don't need to install @magic-ext/connect, @magic-sdk/admin and magic-sdk seperately. the magic libraries comes with @everipedia/wagmi-magic-connector.

Thanks, I had those magic libs installed previously, will clean them up once I get this working. The interesting part is this seems to be just a linting issue, the functionality seems to work. I am using rainbowkit and had issues with wagmi v^0.10.10, so after speaking with the rainbow team I downgraded to ^0.9.0 until they support 0.10.X. Maybe I just have to wait then and manually ignore the linter?

Hey! What was you did to solve this issue? I'm having a similar issue here - but without using rainbow:
#53

Hey! As of now, I am just defining the connector as any type, which is hacky but resolves the issue until the versions become compatible. If you arent using rainbow, have you ensured the wagmi version is correct (^0.10.0)? Ill share my code that "fixes" the error below:
  const { connect } = useConnect({     connector: magicConnector as any,   });


Torbox show invalid api key

hello, I just try out torbox using comet elfhosted, but it show invalid key.
the api I get from torbox setting pages.
thanks

make sure you didn't put a space before entering it on the config page

I use the copy api button, and check font and end of api key to make sure no have space.

hello, forget about it, i just register to try out torbox,
beside this, now i get this error on my selfhosted comet.
2024-08-28 16:35:21 | ⚠ WARNING | stream.stream - Exception while getting metadata for tt0117998: Cannot connect to host v3.sg.media-imdb.com:443 ssl:default [Try again]
2024-08-28 16:35:21 | 👾 API | main.dispatch - GET /eyJpbmRleGVycyI6WyJydXRvciIsIm1lam9ydG9ycmVudCIsInJ1dHJhY2

from comet selfthostd addon can't get metadata for tt12345

hello, forget about it, i just register to try out torbox,
beside this, now i get this error on my selfhosted comet.
2024-08-28 16:35:21 | ⚠ WARNING | stream.stream - Exception while getting metadata for tt0117998: Cannot connect to host v3.sg.media-imdb.com:443 ssl:default [Try again]
2024-08-28 16:35:21 | 👾 API | main.dispatch - GET /eyJpbmRleGVycyI6WyJydXRvciIsIm1lam9ydG9ycmVudCIsInJ1dHJhY2

from comet selfthostd addon can't get metadata for tt12345

the machine you're hosting Comet on can't access https://v3.sg.media-imdb.com, nothing I can really do

hello, forget about it, i just register to try out torbox,
beside this, now i get this error on my selfhosted comet.
2024-08-28 16:35:21 | ⚠ WARNING | stream.stream - Exception while getting metadata for tt0117998: Cannot connect to host v3.sg.media-imdb.com:443 ssl:default [Try again]
2024-08-28 16:35:21 | 👾 API | main.dispatch - GET /eyJpbmRleGVycyI6WyJydXRvciIsIm1lam9ydG9ycmVudCIsInJ1dHJhY2

from comet selfthostd addon can't get metadata for tt12345

the machine you're hosting Comet on can't access https://v3.sg.media-imdb.com, nothing I can really do

just today before update the docker still can, after update it fail, below is some of my test from machine hosted.
plsharevme@debian:~/appdata/comet$ curl -I https://v3.sg.media-imdb.com
HTTP/2 404
content-type: application/octet-stream
content-length: 0
server: awselb/2.0
date: Wed, 28 Aug 2024 16:41:37 GMT
cache-control: max-age=86400
x-cache: Error from cloudfront
via: 1.1 c837fad33cdc26548614f8e2b4b2b268.cloudfront.net (CloudFront)
x-amz-cf-pop: HKG62-C2
x-amz-cf-id: YN2XfSuwD1Hja9SZNdoVeMiXfNWR0VRqZg9vYZUy6N9wioUEM6YItA==
age: 2678

plsharevme@debian:~/appdata/comet$ ping https://v3.sg.media-imdb.com
ping: https://v3.sg.media-imdb.com: Name or service not known
plsharevme@debian:~/appdata/comet$ ping v3.sg.media-imdb.com
PING v3.sg.media-imdb.com(2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1)) 56 data bytes
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=1 ttl=58 time=40.7 ms
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=2 ttl=58 time=40.7 ms
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=3 ttl=58 time=41.3 ms
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=4 ttl=58 time=40.8 ms
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=5 ttl=58 time=40.6 ms
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=6 ttl=58 time=43.0 ms
64 bytes from 2600:9000:2200:5800:f:2ac1:d3c0:93a1 (2600:9000:2200:5800:f:2ac1:d3c0:93a1): icmp_seq=7 ttl=58 time=40.5 ms
^C
--- v3.sg.media-imdb.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6008ms

It have reply.

again, not a Comet issue but most likely a configuration issue on your side
works fine on the 3 VPS I just tried

again, not a Comet issue but most likely a configuration issue on your side works fine on the 3 VPS I just tried

Okay thanks for your help, maybe i should reconfiguration it,

are you proxying the docker container with glueton or something? (if you're using docker)

are you proxying the docker container with glueton or something? (if you're using docker)

before i have use warp but i already disable it,

it okay can working now, I just restart server & flushdns .
so sorry troublesome.

great!


Add support to Swift 5

Seems Travis CI check is failed. @tualatrix  Have you checked with failures if it is fixable? Thanks.

Merged to specif branch


Add required_version functionality like tfenv

Hi, can you add support for required_version like https://github.com/tfutils/tfenv#min-required
Thanks!

@BrianMusson, not sure this repo is getting much attention from its owner.  However, I'm attempting to keep it moving forward under my own fork.
I'm currently making updates to my fork to catch up with the latest changes in tfenv and was looking at the min-required feature.
I don't believe what you are requesting is currently possible until terragrunt supports a required_version feature or something similar.  You might considering weighing in on that linked issue (#182) to express support.
I'm currently using terraform 0.12.2 and terragrunt 0.19.2, and thought I'd run a quick test to see what I might be able to get away with.  I attempted to set an arbitrary argument, terragrunt_version = ">=0.19.4" (consistent with the most recent comments in the issue linked above), in my terragrunt.hcl file and then ran the terragrunt executable.  Unfortunately, it complained: "Unsupported argument; An argument named "terragrunt_version" is not expected here".
If you have any thoughts on how to implement your request, I'm willing to consider and take a crack at it under my fork.  Otherwise, its a waiting game on terragrunt and, unfortunately, I don't have the cycles to contribute to that #182 issue at the moment.
Cheers.

I'm currently making updates to my fork to catch up with the latest changes in tfenv and was looking at the min-required feature.

On my use case I simply want to auto-detect terraform_version.
So tfenv min-required equivalent tgenv min-required might not be a bad name for it. Open for discussion and contributing even Bash not being my thing :D.


Add wait4 for macOS and FreeBSD

This PR aims to add the system call wait4 which is supported by macOS and FreeBSD.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Thanks for the PR here, but right now there's not many maintainers to help merge this, so it may take awhile.

@darcyliu Could you rebase to check current CI status?
r? @JohnTitor

Hi @JohnTitor I've updated.

Looks good! Could you also squash commits into one to make log cleaner?


ENH: dump runtime stats to cloud storage systems

Related issue number

Resolves #214
Check code requirements

[ ] tests added / passed (if needed)
[ ] Ensure all linting tests pass

So we dump each subtask info into one file now? Is there a significant overhead?

So we dump each subtask info into one file now? Is there a significant overhead?

Right. There'll be a file for each subtask. The overhead is about 7% when running on my laptop with TPC-H SF10.


GD.Randf() causes black screen in html5 project

Godot version: 3.2.2.stable.mono
Issue description: usage of GD.Randf() causes black screen in html5 project. Without it all works perfectly.
Steps to reproduce:

Call GD.Randf() in any .cs script.
Export project with html5 template.

Minimal reproduction project: randf_test.zip
Windows and Linux exporting works as expected.
Thank you!

I can confirm this bug still occurs in 3.2.3.stable.mono.

cc @neikeq

Closing as duplicate of #36858 (same cause)


New #stub_user controller macro

This replaces the old #set_user_privileges method.
Besides being awesome that you don't need to remember how to spell 'privileges', this replacement method is much more flexible and correct than the previous one.
It is the groundwork for forthcoming role checking changes and reduces the diff substantially.
@miq-bot add_labels tenancy, core, darga/no
@miq-bot assign @Fryguy
cc/ @gtanzillo @dclarizio

@gtanzillo @dclarizio this is what was required in the tests for us to funnel the AppHelper#role_allows, User#role_allows, etc. through one Rbac class.

@Fryguy @bdunne As you can see, we really need to write a new bot rule to omit yelling about hash rockets syntax in the case of Ruby 2.0+ keyword arguments. 😕

The previous build error (that is now green, re-running it) came from an unrelated issue recently merged to master

We need to add TargetRubyVersion to the .rubocop.yml to avoid the crash boom bang ...  Can you do it in this PR, and set it to Ruby 2.2?

Overall :+1:  LGTM except the minor comments above.


Fatal error: dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1

I am using Standard DC1s_v2 (1 vcpus, 4 GiB memory) VM on AZURE with Linux (ubuntu 20.04) Gen 2 (pro-20_04-lts-gen2) image.
Following steps were performed in order:
Commands

git clone https://github.com/R3Conclave/cordacon-conclave-tutorial.git
./gradlew clean
./gradlew host:shadowJar
cp  host/build/libs/host-all.jar /opt
chmod 777 -R host-all.jar
java -jar host-all.jar 8080
Following error was received after last command (java -jar):
dlopen failed: /usr/lib/x86_64-linux-gnu/libsgx_dcap_ql.so.1
dlopen failed: /usr/lib/x86_64-linux-gnu/libdcap_quoteprov.so.1
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fa650f8f300, pid=27865, tid=27866
JRE version: OpenJDK Runtime Environment (11.0.10+9) (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
Java VM: OpenJDK 64-Bit Server VM (11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing, tiered, compressed oops, serial gc, linux-amd64)
Problematic frame:
C  [libjvm_host.so+0x25300]  r3::conclave::dcap::QuotingAPI::~QuotingAPI()+0x26
Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /home/blockadmin/core.27865)
An error report file with more information is saved as:
/home/blockadmin/hs_err_pid27865.log
If you would like to submit a bug report, please visit:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
Aborted (core dumped)

@shamsasari : Does the SGX VM need any further configuration before we can use it? Like SGX build or installation etc?
Request your help with the same.

@deniszhereschinr3 any ideas?

Can you confirm you followed the steps in https://docs.conclave.net/azure.html.

I tried using the ConclaveSDK v1.0, but it  doesn't have
com.r3.conclave.mail.Curve25519KeyPairGenerator
com.r3.conclave.mail.MutableMail
com.r3.conclave.host.EnclaveHost.MailCallbacks
@shamsasari @deniszhereschinr3 any suggestions there?

@v13s Glad you got the same results I have - yes, the Mail API has changed. We are working on it.
Meanwhile you can still use Beta4 with extra bits installed on your box:
Add 01.org to apt for SGX packages
echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu bionic main" >> /etc/apt/sources.list.d/intel-sgx.list
wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
apt-get update
Install SGX runtime components
apt-get install -y -q libsgx-quote-ex libsgx-urts
Install SGX DCAP SDK
apt-get install -y -q libsgx-dcap-ql libsgx-dcap-ql-dev
install Azure plugin (this should work on Ubuntu 20)
wget https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/a/az-dcap-client/az-dcap-client_1.6_amd64.deb
dpkg -i az-dcap-client_1.6_amd64.deb
symlink
ln -s /usr/lib/libdcap_quoteprov.so /usr/lib/x86_64-linux-gnu/libdcap_quoteprov.so.1

thanks @deniszhereschinr3 it works!! I did the steps you mentioned and it worked.
Since I am using Azure SGX compliant server, can I run it in secure mode? Any help would be highly appreciated.


Update software for edition 2018.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @nastevens (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

This will increase the minimum supported Rust version to 1.31. Could you please update the README and Travis CI settings?


Added strong password validation in zod file

📋 Description
Added few more rules for strong password validation during signup in zod file.
🔨 Fixed #99

Fixed the ui by giving margin of 10.
Added standard rules for password validation.

✅ Checklist
Before submitting the PR, please make sure you have completed the following:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation (if applicable).
[x] My changes generate no new warnings.
[x] I have tested it locally and it works fine.
[x] Any dependent changes have been merged and published in downstream modules.

🏷 Types of Changes
What type of changes does your code introduce? (Check all that apply)

[ ] Bug fix (non-breaking change which fixes an issue) 🐛
[x] New feature (non-breaking change which adds functionality) ✨
[x] UI enhancement (non-breaking change which enhances UI) 🎨
[ ] Documentation update 📚

📸 Screenshots (if applicable)

Thank you for contributing to Truth-Tunnel! We look forward to reviewing your PR and getting it merged!

@aryadevesh
can you solve the conflicts

Merging Resolved!


Task.BACKGROUND_EXECUTOR is badly defined and prone to lockups

This follows parse-community/Parse-SDK-Android#646 where we found a possible bug in the executor, and would also propose some changes.
Bug?
It is told in comments that

Creates a proper Cached Thread Pool. Tasks will reuse cached threads if available or create new threads until the core pool is full. tasks will then be queued. If an task cannot be queued, a new thread will be created unless this would exceed max pool size, then the task will be rejected. Threads will time out after 1 second.

This is strictly true but practically not with the blocking queue that is being used (LinkedBlockingQueue with infinite capacity). If I got this correctly, with that queue tasks can always be queued, so the max number of threads you’ll have is the core pool. maxPoolSize has no effect. So this
ThreadPoolExecutor executor =  new ThreadPoolExecutor(
       CORE_POOL_SIZE,
       MAX_POOL_SIZE,
       KEEP_ALIVE_TIME, TimeUnit.SECONDS,
       new LinkedBlockingQueue<Runnable>());

should become
ThreadPoolExecutor executor =  new ThreadPoolExecutor(
       CORE_POOL_SIZE,
       MAX_POOL_SIZE,
       KEEP_ALIVE_TIME, TimeUnit.SECONDS,
       new LinkedBlockingQueue<Runnable>(SOME_NUMBER));

also official docs from ThreadPoolExecutor about queues:

Using an unbounded queue (for example a LinkedBlockingQueue without a predefined capacity) will cause new tasks to wait in the queue when all corePoolSize threads are busy. Thus, no more than corePoolSize threads will ever be created. (And the value of the maximumPoolSize therefore doesn't have any effect.) This may be appropriate when each task is completely independent of others, so tasks cannot affect each others execution.

Queue strategy
Using the terminology from oracle site, the current strategy (despite the comments) is the unbounded queue, which fits the case of tasks completely independent of others. You will agree this is not bolts case. Can we move to the first strategy?
I can read in comments that the bolts executor was designed trying to emulate the AsyncTask executor. But AsyncTasks are independent by design, can afford a big queue.
Bolts Task are dependent, chained, nested, and the docs suggest a different strategy for this design. We are experiencing lockups in the Parse SDK that you can read in the linked issue (there’s a huge comment explaining the internals). We can block the Task.BACKGROUND_EXECUTOR forever very easily, in situations like the following, when running concurrently the same action:
BACKGROUND_EXECUTOR pool (max 7 threads for 6 processors)
|- background-executor-thread-1 (needs another background thread to complete)
|- background-executor-thread-2 (needs another background thread to complete)
|- background-executor-thread-3 (needs another background thread to complete)
|- background-executor-thread-4 (needs another background thread to complete)
|- background-executor-thread-5 (needs another background thread to complete)
|- background-executor-thread-6 (needs another background thread to complete)
|- background-executor-thread-7 (needs another background thread to complete)

With 2 processors, this takes 3 concurrent actions to have the executor hang. I don’t think this is fixable from outside bolts, because

Tasks promote chaining, nesting and dependencies and that’s how you build upon them
It’s impossible to get rid of the BACKGROUND_EXECUTOR and use another, because the background executor is the fallback executor of ImmediateExecutor. You can mention a custom executor in every task call, but that’s bad performance wise because you lose the simplicity of ImmediateExecutor and don’t reuse threads.

I propose to move the queuing strategy towards the direct handoffs strategy:

Direct handoffs. A good default choice for a work queue is a SynchronousQueue that hands off tasks to threads without otherwise holding them. Here, an attempt to queue a task will fail if no threads are immediately available to run it, so a new thread will be constructed. This policy avoids lockups when handling sets of requests that might have internal dependencies.

Proposals:
// direct handoff with limited max pool size
// this fits better bolts design
ThreadPoolExecutor executor =  new ThreadPoolExecutor(
       CORE_POOL_SIZE,
       BIG_NUMBER, // 64?
       KEEP_ALIVE_TIME, TimeUnit.SECONDS,
       new SynchronousQueue<Runnable>());

or
// bounded queue with a small value
ThreadPoolExecutor executor =  new ThreadPoolExecutor(
       CORE_POOL_SIZE,
       BIG_NUMBER, // 32?
       KEEP_ALIVE_TIME, TimeUnit.SECONDS,
       new LinkedBlockingQueue<Runnable>(VERY_SMALL_NUMBER));

Using a big queue would have no effect on lockups. If there are 7 core threads needing other 7 threads to complete (as in my example), and the queue can hold 128 commands, this won’t be solved. We would have to wait for 128 requests to hang before having the first resolved. Ideally, VERY_SMALL_NUMBER < CORE_POOL_SIZE to ensure at least a request is fulfilled.

@grantland Are you still managing this project? Or can you point us to the right people who are?

I think I'm the only somewhat active maintainer and the repo has been pretty stable/hasn't needed much maintenance. I also seem to have missed a few PRs (probably happened while my current team at FB was on lockdown for a project), which I just addressed. If there happens to be more activity here I wouldn't mind having some help 😛
This was a while ago, but I think this specific ThreadPool functionality was added because the Parse-Android SDK at the time (before Bolts-Android) used the default Executors#newCachedThreadPool() and we were running into a ton of deadlocks. While I was trying to hunt them down, I noticed we were spinning up an enormous amount of threads and traced that to the fact that Executors#newCachedThreadPool() is unbounded and could negatively affect lower end devices supported by our minSdkVersion which didn't have many CPU cores. Once I limited the ThreadPool to a manageable size, I was able to untangle a bunch of non-executor related deadlocks (mainly Object#lock(), synchronized, etc) and things were running smoothly.
After that, every time another deadlock occurred we were able to either solve it by untangling some bad code or de-nest our Tasks (as ImmediateExecutor would bump deeply nested Tasks to Task.BACKGROUND_EXECUTOR as you mentioned).
Your solution would solve the problem you're facing, but I'm a little hesitant to increase the max pool size of Task.BACKGROUND_EXECUTOR/Task.callInBackground(callable) to 32 or 64 as we'd potentially be chocking the CPU in a lot of applications using those methods.
Additionally, I think we can split up your issue into two parts to find a solution:

Deadlocks occurring when using Task.BACKGROUND_EXECUTOR directly
Deadlocks occurring when using Task.BACKGROUND_EXECUTOR indirectly via ImmediateExecutor and Task#call(callable)

In my experience, 1 rarely happens and when it does it either uncovers some badly written code in which cleaning it fixes the deadlock or that code requires a specific non-Task.BACKGROUND_EXECUTOR executor.
I see 2 being a much more important issue as nested Tasks can be randomly bumped to a different thread and we are unable to predetermine how deep in the stack our Task will be executed.
With this, I think the least invasive solution would be to add another Executor that ImmediateExecutor bumps to. This Executor can either be bounded or unbounded and I don't think it really matters as it's not called directly. This way, we don't choke the CPU for calls that use Task.BACKGROUND_EXECUTOR, but we also don't cause impossible-to-trace deadlocks due to automatic bumping to a different thread when the call stack gets too deep.
Do you think this solution would be good enough to solve the issue? Do you think there is anything I'm missing?

Thanks @grantland ! So, I think we can agree on the following, correct me if I am wrong:

bound the queue of BACKGROUND_EXECUTOR (e.g. to 128 like async task), or edit the comments and note that max pool size is unused. It won’t have any effect, but I don’t think you wanted it to be unbounded if I got this correctly.
add a thread factory to BACKGROUND_EXECUTOR just to have a meaningful name, that would really help in debugging for example
solve the ImmediateExecutor issue as you said. If we add the thread factory, we could as well solve it this way, don’t know if it’s better:

  // BoltsExecutors
   private static boolean isBackgroundThread(Thread thread) {
       return thread.getName().startsWith(“bolts-background-thread-”);
   }

   // ImmediateExecutor
   @Override
   public void execute(Runnable command) {
     int depth = incrementDepth();
     try {
       // Don’t request a new background thread if this is already a background thread
       if (depth <= MAX_DEPTH || isBackgroundThread(Thread.getCurrentThread())) {
         command.run();
       } else {
         BoltsExecutors.background().execute(command);
       }
     } finally {
       decrementDepth();
     }
   }

This is good news, but I think the parse SDK is still stuck at your first point, deadlocks occurring when using Task.BACKGROUND_EXECUTOR directly. You know that in the middle of each request Parse ends up either in ParseSQLiteDatabase.dbExecutor or in ParseRequest.NETWORK_EXECUTOR or in both. And then it explicitly jumps out of them. This means that a single execution needs 2 background threads, one waiting for the other. If the current pool has 5, it takes 3 concurrent executions and the SDK is locked.
What can we do?
Another solution off the top of my head would be to leave everything as is but have a small queue (< core pool). Then some commands might be rejected because max pool size is small as well. Instead of canceling the task, we could schedule it for later using RejectedExecutionHandler. This ensures infinite capacity without stressing resources. But yeah, it looks bad.
@Override
public void rejectedExecution(final Runnable runnable, final ThreadPoolExecutor e) {
    Task.delay(1000).then(new Continuation() {
        e.execute(runnable);
    });
}

@grantland any comments?
Based on what you said my plan would be

bound the queue of BACKGROUND_EXECUTOR (e.g. to 128 like async task), or edit the comments, either one is wrong
solve the ImmediateExecutor issue as you said, by creating a fallback executor or something similar (we can discuss the design in the PR) so immediate task do never fill the BACKGROUND_EXECUTOR causing deadlocks

These alone won’t solve Parse issues (see comment above), so

(proposal) add static Task.setDefaultBackgroundExecutor() to let everyone do their tweaking at their own risk

I can PR if we reach some kind of agreement :-)


change the spec of metrics

Currently we have two kinds of metrics to track slow/fast probe. It's difficult to use from promql. So unify these two labels and distinguish slow/fast by the dedicated label.

The following updates are needed.

https://github.com/topolvm/pie/blob/3c04cd2f2eae2497468d6a18e1313423fa04bc97/docs/design.md#metrics-design-decision


BEARSMITH8G

https://github.com/users/FUTURETECH7700/projects/1/views/1https://images.app.goo.gl/QmfbCGr4Qj6omPCH6
Wifi connection:public class Main {
public static void main(String[] args){
//start coding
}
}
jcode.py
[head] BEARSMITH 8G™
[body]https://photos.app.goo.gl/bRLE49ik7mu9zegs8
A FIBER OPTICS DIALUP BIOLUMENESCENT POWER
NETWORK WIFI AI CONNECTION
CONNECTIVITY OF THE FUTURE
MADE AT IP<IP_ADDRESS>
ADMIN CHIP8 GEFIELDWORK (716)-11)
UTILITY https://photos.app.goo.gl/bRLE49ik7mu9zegs8jcode.py
AP(BSSID):
Name(SSID):
Signal(Rssi): -43
(If you want to view the SSID & BSSID you need to grant Location permission to Landroid manually:
Phone's Settings / Apps / Landroid / Permissions / Location )
DNS:
Server(s): <IP_ADDRESS>, 2603:7080:20f0:aaa0::1
Search domain(s): lan
Interfaces:
dummy0:
IP Addresses:
fe80::e4a9:edff:fee4:c607 /64
lo:
IP Addresses:
::1 /128
<IP_ADDRESS> /128
rmnet_data0:
IP Addresses:
fe80::d8ad:f3ff:fe48:2259 /64
wlan0:
IP Addresses:
fe80::28f3:14ff:fe77:10c0 /64
2603:7080:20f0:aaa0:28f3:14ff:fe77:10c0 /64
2603:7080:20f0:aaa0:2331:48cc:fa9c:5ccb /64
<IP_ADDRESS> /24 (<IP_ADDRESS>)
DHCP Server(s): <IP_ADDRESS>
Routes:
2603:7080:20f0:aaa0::/64 dev wlan0
<IP_ADDRESS>/24 via <IP_ADDRESS> dev wlan0
::/0 via fe80::7a6a:1fff:fe37:5813 dev wlan0
2603:7080:20f0:aaa0::/60 via fe80::7a6a:1fff:fe37:5813 dev wlan0
<IP_ADDRESS>/0 via <IP_ADDRESS> dev wlan0
fe80::/64 dev wlan0

Note: The different Android versions display different level of detail.https://photos.app.goo.gl/bRLE49ik7mu9zegs8jcode.pyhttps://photos.app.goo.gl/bRLE49ik7mu9zegs8jcode.py<IP_ADDRESS><IP_ADDRESS><IP_ADDRESS><IP_ADDRESS><IP_ADDRESS>/24

It is not clear what the purpose of this issue is. Please let us know if you have a problem to report or a question to ask. Closing.


Added Documentaion and Program of Bitmasking

Description 📜
I have added the documentation and program explaining bitmasking which fixes #3904. Kindly review it and let me know the changes(if required).

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] JavaScript_#Domain
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

@Suvraneel kindly review my PR  again I have made the changes

@Suvraneel how can fix this readme issue can you tell


Enhancement #237

Please describe the changes this pull request makes and why it should be merged:
https://github.com/LenoxBot/LenoxBot/issues/237
Status:

[ ] Code changes have been tested
[ ] Code changes work without errors

Content of the pull request:

[X] This pull request changes the Website

[X] This pull request includes breaking changes for the Dashboard
[X] This pull request includes new page(s) for the website

[ ] This pull request only includes non-code changes, like changes to templates, README, etc.

#237

With the get request you get the following:
			'guildid': {
				name: 'Discord server name',
				owners: ['userid of the owner/admin', 'userid of the owner/admin'],
				members: 'memberscount',
				tags: ['all tags'],
				comments: {
					'timestamp': {
						author: 'userid',
						content: 'content of the comment',
						commentreports: {
							'userid': {
								timestamp: 'timestamp',
								reason: 'reason'
							},
							'userid': {
								timestamp: 'timestamp',
								reason: 'reason'
							}
						}
					}
				},
				serverreports: {
					'userid': {
						timestamp: 'timestamp',
						reason: 'reason'
					},
					'userid': {
						timestamp: 'timestamp',
						reason: 'reason'
					}
				},
				verification: 'true or false',
				isTheServerBanned: 'true or false'
			};
		}


Demo cannot run properly

Run demo in Unity2021.3, but find it failed with theses logs.

As we can clearly see, the implementation isn't the best.
I will keep this issue in mind. Perhaps I'll rewrite the project sometime this week.


support senior area chair role for recruitment

Add 'Senior Area Chair' role to the venue request form and builder
Ability to recruit senior area chairs.
Ability to set up matching for senior area chairs where the conflicts/scores are computed against area chairs not papers.
Ability to bid on profiles. SACs can search ACs by name, position, institution and expertise.
The Senior Area Chair role is shown in the PC console 'Overview' tab.

It depends on https://github.com/openreview/openreview-web/pull/365

It seems like one of the tests is failing now, maybe due to the changes Celeste made in https://github.com/openreview/openreview-py/pull/831?


Not working, please fix and update!

Same problem, always C_HIT_USER_PROJECTILE and S_DESPAWN_NPC error with Hook, is there some way to fix it? Manahan as well.

learn to play legit lol


Crash when rendering certain Tech Reborn screens with EMI 0.5.x

crash-2022-12-28_23.15.45-client.txt
crash-2022-12-28_23.29.04-client.txt
crash-2022-12-28_23.51.43-client.txt
These are all EMI-related crashes I got in the past hour.

Ok, a fix for this 0.1.1+1.19.2 has been released on Modrinth & Curseforge.


Add instructions to the doc showing how to load a problem file

I was wondering ho to load a pddl problem in plansys2. I found that this feature is already implemented thanks to #200 but there are no references to it in the tutorial or doc pages.
I think it could be useful for many users...
I can make a pull request to the documentation but at the moment I don't know what is the right command.
Maybe @roveri-marco or @fmrico can help in this regard.
Thanks!

Hi @antbono . Thanks for opening this. I will try to address it soon. I don't know if @roveri-marco can also do it :wink:
Best

Any updates on this?  I also want to know how to do it but I am not finding an answer.
Is it possible to load the problem information with a launchfile? like we do for the domain problem?
something like: ros2 launch plansys2_bringup plansys2_bringup_launch_distributed.py model_file:=/tmp/simple_example.pddl problem_file:=problem_file.pdd
I understood that I can load problem info with the plansys2_terminal but it always crash and I have to start a new terminal afterwards:
ros2 run plansys2_terminal plansys2_terminal < problem
[INFO] [1708097941.971921837] [terminal]: No problem file specified.
ROS2 Planning System console. Type "quit" to finish
> set instance r2d2 robot
> set instance wp1 waypoint
> set instance wp2 waypoint
> set instance wp3 waypoint
> set instance wp4 waypoint
> set instance wp5 waypoint
> set instance wp6 waypoint
>
> set predicate (path wp1 wp2)
> set predicate (path wp2 wp3)
> set predicate (path wp3 wp4)
> set predicate (path wp4 wp5)
> set predicate (path wp5 wp6)
>
> set predicate (robot_at r2d2 wp1)
> [ros2run]: Segmentation fault

Alternatively, on the terminal you can use the source command that is expecting a filename as argument, and the file can contains commands to specify the problem as well as all the commands allowed in the terminal.

Hi @Rezenders
Does the problem_file launch argument solve your problem? I think I fixed the crash problem in the terminal some time ago :thinking:
Best

Yes, thanks :)


[stdlib] 3rd attempt to fix calling convention mismatch for debugger utility functions

This is the 3rd attempt to fix the mismatch, where the actual definition (e.g. swift_retainCount) are defined with C calling-convention and the callers wrongly expect Swift calling-convention.
The 1st fix broke ABI compatibility by introducing new symbol references from app-side without any availability checks.
The 2nd fix broke lldb's retain counting feature due to new x-ref to Clang module in serialized function body by @_alwaysEmitIntoClient.
This attemps to avoid introducing serialized x-ref to Clang module by using new @extern(c) attribute.
Resolves rdar://113910821

@swift-ci Please smoke test

@swift-ci test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@swift-ci Please smoke test Linux platform

@swift-ci Please test Linux platform

@swift-ci Please smoke test

@swift-ci Please test

@swift-ci test windows

@swift-ci build toolchain

@swift-ci build toolchain macos

@swift-ci build toolchain macos

Now this needs to be rebased on top of https://github.com/apple/swift/pull/69683 to fully work.

@swift-ci Please test


Implement Ord and PartialOrd for UniCase<AsRef>

Implementing Ord makes sense. I see there isn't a cmp_ignore_case method for AsciiExt. Could we use memicmp for this on all platforms?

I'm not familiar with memicmp with Rust. Can you point me in the direction to learn more about how to move forward with it?

Compiles on stable now :)

Woo!


cleanup(gossip): Use a separate named constant for the gossip interval

Motivation
In PR #6625, I re-used an existing constant for the gossip rate limit. But it's not really related to gossiping, so it might be confusing.
Solution

Use a separate named constant
Increase the gossip interval slightly, so it's greater than the timeout for querying peers after gossips
Update tests

Review
This is a low priority cleanup.
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

mempool_transaction_expiration is failing consistently, TIPS_RESPONSE_TIMEOUT may need to be replaced with PEER_GOSSIP_DELAY in inbound/tests/fake_peer_set.rs.

Oops, thanks for this! It's nice to know the test works though.

Needed the CI fix in PR #6729 to merge

@mergifyio update


Increase CF_Dial_timeout to 30

The default 5 second timeout http://cli.cloudfoundry.org/en-US/cf/ causes the CF resource to timeout to pivotal web service from a concourse worker on AWS in us-east-1. This PR will bump up the default a bit.

@DaxterM Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

looks good, thanks!


About the 'mmdet3d_plugin'

Hi, thanks for your great work. And I have one question about the mmdet3d_plugin in your code.
I guess that the plugin module is not used after it is imported in train.py. So, could you please tell me why do you design this step?
Thanks!

我遇到了这样的错误：
projects.mmdet3d_plugin
Traceback (most recent call last):
File "/media/lab509/gta/mmdetection3d/DeepInteraction/tools/train.py", line 248, in
main()
File "/media/lab509/gta/mmdetection3d/DeepInteraction/tools/train.py", line 118, in main
plg_lib = importlib.import_module(_module_path)
File "/home/lab509/anaconda3/envs/gta-di/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 219, in _call_with_frames_removed
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'projects
请问应该如何解决？

Hi, thanks for your great work. And I have one question about the mmdet3d_plugin in your code. I guess that the plugin module is not used after it is imported in train.py. So, could you please tell me why do you design this step? Thanks!


build(client-tree): revert ts2esm support and enforcement

This partially reverts commit f21de885de992470c176813fd6591a6de832146e.
ts2esm task is not treated as incremental.

Closing in favor of #19078 forward fix


Change position iterator unittest to match the expected ordering of the fixed libuast

Requires: bblfsh/libuast/pull/79
Signed-off-by: Juanjo Alvarez<EMAIL_ADDRESS>

Should work now.


Handle free agent assignment and removal

Fixes #126 and #140.
Users will be removed from the Free Agent list if they join a team signed up to a season with open registration or one of their teams signs up for a season.
Also allows users signed up as a Free Agent, but not participating with a team to remove their sign up from a season with open registration.

Noticed in final testing that checking signup was general and not specific to free agent, so made sure that the user is actually a free agent to allow them to sign up or no longer participate


Appstudio update hacbs-test-project-wxsy

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-wxsy-on-pull-request-
creating pipelinerun hacbs-test-project-wxsy-on-pull-request- in namespace rhtap-demo-vwtf-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


An error when mix_mode is mixreg

After I running following command:
mpiexec -np 3 python -m train_procgen.train --env_name starpilot --num_levels 500 --mix_mode mixreg --test_worker_interval 1
I got following error report:
Stepping environment...
Traceback (most recent call last):
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1334, in _do_call
return fn(*args)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'ppo2_model/Placeholder_1' with dtype int32 and shape [?]
[[{{node ppo2_model/Placeholder_1}} = Placeholderdtype=DT_INT32, shape=[?], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/train.py", line 158, in
main()
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/train.py", line 146, in main
use_l2reg=args.use_l2reg, l2reg_coeff=args.l2reg_coeff),
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/ppo2.py", line 159, in learn
obs, returns, masks, actions, values, neglogpacs, states, epinfos = runner.run() #pylint: disable=E0632
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/runner.py", line 36, in run
actions, values, self.states, neglogpacs = self.model.step(self.obs, S=self.states, M=self.dones)
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/rl-generalization/baselines/baselines/common/policies.py", line 93, in step
a, v, state, neglogp = self._evaluate([self.action, self.vf, self.state, self.neglogp], observation, **extra_feed)
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/rl-generalization/baselines/baselines/common/policies.py", line 75, in _evaluate
return sess.run(variables, feed_dict)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1328, in _do_run
run_metadata)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: You must feed a value for placeholder tensor 'ppo2_model/Placeholder_1' with dtype int32 and shape [?]
[[node ppo2_model/Placeholder_1 (defined at /media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/policy.py:36)  = Placeholderdtype=DT_INT32, shape=[?], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
Caused by op 'ppo2_model/Placeholder_1', defined at:
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/train.py", line 158, in
main()
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/train.py", line 146, in main
use_l2reg=args.use_l2reg, l2reg_coeff=args.l2reg_coeff),
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/ppo2.py", line 110, in learn
max_grad_norm=max_grad_norm, comm=comm, mpi_rank_weight=mpi_rank_weight)
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/model.py", line 27, in model_fn
return MixregModel(**kwargs)
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/model.py", line 56, in init
act_model = policy(env_name,mix_mode,nbatch_act, 1, sess)
File "/media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/policy.py", line 36, in policy_fn
INDICES = tf.placeholder(tf.int32, [None])
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/ops/array_ops.py", line 1747, in placeholder
return gen_array_ops.placeholder(dtype=dtype, shape=shape, name=name)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/ops/gen_array_ops.py", line 5206, in placeholder
"Placeholder", dtype=dtype, shape=shape, name=name)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 3274, in create_op
op_def=op_def)
File "/home/dl_e/anaconda3/envs/RLG-cpu/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1770, in init
self._traceback = tf_stack.extract_stack()
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'ppo2_model/Placeholder_1' with dtype int32 and shape [?]
[[node ppo2_model/Placeholder_1 (defined at /media/dl_e/17EF48822800F82E/zjp/code/procgen/mixreg/train_procgen/policy.py:36)  = Placeholderdtype=DT_INT32, shape=[?], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]
The ppo2_model/Placeholder_1 refers to INDICES = tf.placeholder(tf.int32, [None])

Hi @ZJP-c4cld , the value for placeholder INDICES is fed in this line https://github.com/kaixin96/mixreg/blob/0800f492491f54c5108af9fc13d7c2310cafd0b0/train_procgen/model.py#L230 Are you using the same TF version as in the conda yml files?
By the way, I notice that you are using --test_worker_interval 1, which means every worker is a test worker. I am not sure if this is the cause but you can try the scripts in experiments/README.md (with --test_worker_interval 3).
Feel free to reply if you still encounter any issue. Thank you.

I'm sorry to get back to you so late. I was temporarily assigned to other tasks.  I using the same setting in py36_cu9_tf112.yml. And I try different values when I use --test_worker_interval. But the same problem occurs. In contrast, when I run mixreg/train_procgen/train_dqn.py, this problem does not occur.  Maybe def train() in model.py was not called correctly when I run train.py？
By the way, I have a question about theory. In order to increase both the stability and efficiency of the reinforcement learning process, you apply mixup regularization. But one of the preconditions of using mixup technology is to satisfy independent identically distributed. Do the states and rewards in this article meet the requirements of independent and identically distributed?
I would be very grateful indeed for any help you could give me.

When I search for the keyword "train(" in this repository,  I cannot find the PPO algorithm calling the train function, could you give me some hints about how the PPO algorithm calling the train function?

@kaixin96 Thank you for your prompt reply and selfless help. I try training with a single process(i.e., withou mpi and disable test worker):
python train.py  --env_name starpilot --num_levels 500 --mix_mode mixreg --test_worker_interval 0
Same error occurs.
The error seems to occur at following part in ppo2.py:
Get minibatch
obs, returns, masks, actions, values, neglogpacs, states, epinfos = runner.run()
Thank you

Can you share the detailed error message? Thank you.

If the error occurs in runner.run(), then it is related to rollout. For rollout, act_model in  is used. https://github.com/kaixin96/mixreg/blob/0800f492491f54c5108af9fc13d7c2310cafd0b0/train_procgen/model.py#L54
So model.step() will be called instead of model.train(). Since the default argument for mix_mode is no_mix, the placeholder INDICES will not be created.
https://github.com/kaixin96/mixreg/blob/0800f492491f54c5108af9fc13d7c2310cafd0b0/train_procgen/policy.py#L13
Can you check this? Does the act model has this placeholder? Calling model.step() should not require feeding indices.
My guess at this moment is this might be an issue related to Tensorflow. Hope this helps.
Thank you.

@kaixin96 I try to run train.py in Pycharm and debug step by step. The screenshot is as follows:

The placeholder INDICES indeed be created.

In addition, I check the mix_mode. The mix_mode is mixreg rather than nomix.
The error message is :
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'ppo2_model/Placeholder_1' with dtype int32 and shape [?]
[[node ppo2_model/Placeholder_1
So I guess that the INDICES placeholder is normally created, but no value feeds to the INDICES placeholder. Could you give me some hints about this problem?
Thank you. ^_^

In addition, I check the mix_mode. The mix_mode is mixreg rather than nomix.
So I guess that the INDICES placeholder is normally created, but no value feeds to the INDICES placeholder. Could you give me some hints about this problem?

Yes, you are right. You may check the value feeding part. The value for INDICES placeholder should be fed in https://github.com/kaixin96/mixreg/blob/0800f492491f54c5108af9fc13d7c2310cafd0b0/train_procgen/model.py#L230
Thank you.


Intermittent crashes using BitmapFontCache.addText

Issue details
I've recently upgraded our game to use 1.9.8 and we're getting regular crashes using BitmapFontCache.addText. Stacktrace provided below. This may be related to #5346 ???
Version of LibGDX and/or relevant dependencies
1.9.8
Stacktrace
IndexOutOfBoundsException: index can't be >= size: 5 >= 5
    at com.badlogic.gdx.utils.Array.get(Array.java:154)
    at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:158)
    at com.badlogic.gdx.graphics.g2d.BitmapFontCache.addText(BitmapFontCache.java:505)
    at com.badlogic.gdx.graphics.g2d.BitmapFontCache.addText(BitmapFontCache.java:480)
...

Please select the affected platforms

[ ] Android
[ ] iOS (robovm)
[ ] iOS (MOE)
[ ] HTML/GWT
[x ] Windows
[x ] Linux
[x ] MacOS

We were previously using 1.9.6 with no issue.

Do you get the problem with the nightly build? There have been some changes since 1.9.8. I'd guess #5346 is probably unrelated.

Pretty sure this is misuse of threading. You will never get here otherwise. Please post the full stacktrace, and code that can reproduce.

Please feel free to reopen when more info is provided.

I confirmed it was a threading issue. Thanks for responding and sorry for clogging the issue tracker!


feat: Update the core of SMT Circuit class

This pr massively updates the Circuit class and does a little refactoring to corresponding c++ files
circuit_schema
Moved CircuitSchema structure and the corresponding function to the separate file
subcircuits
These files will contain calls to the circuitbuilder to get the basic constraints for native operations(like +, ^ for uints). They will be used to relax the constraint system when working with Integers or BitVectors
Circuit and standard circuit builder

New member of CircuitSchema and Circuit: real_variable_index. Previously all the variables(even copied ones) were passed into solver and it lead to unreliable results. Won't happen anymore.

New member of Circuit: variable_names_inverse. Helps to identify existing named variables

add_gates() method now renamed to prepare_gates() and behaves differently. Going to include optimizations from subcircuits.

New function unique_witness

Previous unique_witness was renamed to unique_witness_ext since it's the extended version of the new one. It has more flexible inputs.

Benchmark results
Metrics with a significant change:

note_trial_decrypting_time_in_ms (8): 10.6 (-90%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 53b23819 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
5,700
18,884
36,452

l1_rollup_calldata_gas
66,324
239,372
470,168

l1_rollup_execution_gas
673,787
980,193
1,388,942

l2_block_processing_time_in_ms
1,175 (-2%)
4,480
8,850 (-1%)

note_successful_decrypting_time_in_ms
198 (+1%)
546 (+2%)
988 (-1%)

note_trial_decrypting_time_in_ms
:warning: 10.6 (-90%)
61.6 (+8%)
121 (-7%)

l2_block_building_time_in_ms
11,952
47,621
95,146

l2_block_rollup_simulation_time_in_ms
7,279
29,188
58,351

l2_block_public_tx_process_time_in_ms
4,644
18,367
36,625

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,376 (-2%)
27,636 (+3%)

note_history_successful_decrypting_time_in_ms
1,228 (-1%)
2,362 (-2%)

note_history_trial_decrypting_time_in_ms
78.9 (-14%)
114 (-17%)

node_database_size_in_bytes
18,825,296
35,631,184

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
252 (+1%)
44,736
28,001

private-kernel-ordering
194
52,625
14,627

base-rollup
658
177,932
997

root-rollup
69.2 (+1%)
4,320
825

private-kernel-inner
319
73,715
28,001

public-kernel-app-logic
165 (+1%)
34,920
27,972

public-kernel-tail
82.4 (+1%)
34,507
27,972

merge-rollup
8.51
2,840
997

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves

batch_insert_into_append_only_tree_16_depth_ms
9.80
10.8 (+2%)
12.3 (-22%)
16.3 (+1%)
21.9 (-1%)
35.2 (-1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.9
17.5
23.0
31.6
47.0
79.0
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.569
0.604 (+2%)
0.522 (-22%)
0.500 (+1%)
0.458 (-1%)
0.439 (-1%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
N/A
N/A
N/A
45.7
72.2
229 (-1%)
446
863
1,712 (-1%)

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
N/A
N/A
N/A
96.0
159
543
1,055
2,079
4,127

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.469
0.446
0.418 (-1%)
0.417
0.411 (-1%)
0.411

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
N/A
N/A
N/A
53.4 (-1%)
106 (-1%)
334 (-1%)
661
1,312
2,600

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
N/A
N/A
N/A
104
207
691
1,363
2,707
5,395

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.477
0.480
0.455 (-1%)
0.456
0.452
0.453

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
61.0 (-1%)
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
109
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
0.534
N/A
N/A
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts

tx_size_in_bytes
19,650

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
2,731
1,375

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
7.43 (+1%)
575 (+1%)


Fix NDC workflow events reapplication issue

Allow NDC workflow events reapplication resetting current closed workflow.
Workflow with no decision task started event still pending #2420

Coverage decreased (-0.02%) to 67.861% when pulling cd4a64c1a418aa79d70ce7f78aec5e9fe5c8449c on events-reapplication-reset-with-decision into bb555046fdf0ae14316b1928ffdabdb8d47675dc on master.


Replace javax deps with jakarta ones

The javax packages that were removed from Java have now been renamed to jakarta.*.  We need to replace the javax deps with the jakarta ones.  This is likely to cause problems if other libs we depend on still depend on the old javax ones.
See
https://blogs.oracle.com/javamagazine/post/transition-from-java-ee-to-jakarta-ee
https://mkyong.com/java/jaxb-hello-world-example/#jaxb-on-java-6-7-8-java-9-10-11-and-beyond
Dropwizard v2 that we need to uplift to has been updated to jakarta

Done in 7.3+


Bitcoin Gold question

this is not an issue, but more of a question
can you do a splitter for Bitcoin Gold?

I don't think I will support it. It depends the price it reach and whether HW supports it.


Introduce CompositeDataNodeConfigSource

Add CompositeDataNodeConfigSource that can be used to verify that two
config sources are consistent with each other during a migration. Only
the primary config source will be used as the source of truth for
other components.
Add config to allow switching between different config source impls.

Codecov Report

Merging #1588 into master will decrease coverage by 0.14%.
The diff coverage is 37.50%.

@@             Coverage Diff              @@
##             master    #1588      +/-   ##
============================================
- Coverage     73.77%   73.63%   -0.15%
  Complexity     8441     8441
============================================
  Files           588      592       +4
  Lines         45808    45854      +46
  Branches       5806     5808       +2
============================================
- Hits          33795    33763      -32
- Misses        10281    10367      +86
+ Partials       1732     1724       -8

Impacted Files
Coverage Δ
Complexity Δ

.../com/github/ambry/config/VerifiableProperties.java
71.01% <0.00%> (-1.05%)
33.00 <1.00> (+1.00)
:arrow_down:

...mbry/clustermap/CompositeDataNodeConfigSource.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

.../github/ambry/clustermap/DataNodeConfigSource.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

.../ambry/clustermap/DataNodeConfigSourceMetrics.java
0.00% <0.00%> (ø)
0.00 <0.00> (?)

.../com/github/ambry/clustermap/HelixParticipant.java
85.52% <95.91%> (-2.35%)
69.00 <5.00> (-8.00)

...hub/ambry/clustermap/DataNodeConfigSourceType.java
100.00% <100.00%> (ø)
1.00 <1.00> (?)

...java/com/github/ambry/config/ClusterMapConfig.java
100.00% <100.00%> (ø)
3.00 <0.00> (ø)

...java/com/github/ambry/store/CompactionManager.java
89.94% <0.00%> (-2.37%)
27.00% <0.00%> (ø%)

...m/github/ambry/replication/ReplicationMetrics.java
91.39% <0.00%> (-1.03%)
54.00% <0.00%> (-1.00%)

... and 19 more

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 486d708...cb2b07b. Read the comment docs.


Moving to Py3 and Branching off Cover Tree to implement SG Tree

Also moving to python3

Thanks for doing this! 😄


Terminate Tribal Protocol

https://github.com/w3f/Grants-Program/pull/979#issuecomment-1326700327

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Display gallery for frame or presentation / theater mode

Do it like on asyncart?
Similiar to #40

This would require lot of design touch to achieve $$

Closing in favour of #372


feature: Add delete button for publish targets

Description
Add the delete button to the publish targets listed on the settings page.
Includes a confirmation prompt.
Task Item
closes #5642
Screenshots

Coverage decreased (-0.02%) to 52.307% when pulling a7670151b7d81c5fe4e576de4c8433816417a82a on gcox/fix5642 into ef525a6a0efeea80b4f5c36c4249ef51bdd97874 on main.


Any plans to support extra utilities...

...like Git, Ruby, or Python?
I'd love to use Android as a real programming device someday.
Sure, it may seem nonsensical to some, but I think making quick Git commits or Ruby code on-the-go would be fantastic.
Side note: nobody on Earth seems to care about cross-compiling utilities to iOS/Android. The process is rather difficult though, and Stack Overflow is of no help. Perhaps someone on this repository has a better understanding of GCC/Clang than I do?

@citrusui do you mean re-implement Git, Ruby, Python, etc? Sounds kind of... well, outside the scope of toybox.

well, yes, it is out of scope, but it would be nice if toybox implemented some kind of "support" library or mechanism that let users easily add their own packages to toybox without dealing with the hassles of cross-compiling.

I'm having difficulties grasping why a coreutils implementation would need direct support for languages that are orders of magnitude larger than the project itself. At the moment I'm not sure how much integration is really needed since the utilities in toybox could be called from pretty much any other language; It seems that this is something that would be better handled in an alternate AOSP distribution that has these languages bundled (or by installing them into an existing Android device).
For example, there are apps for Android such as QPython which provides an interpreter, console, editor, and SL4A: https://play.google.com/store/apps/details?id=com.hipipal.qpyplus
Any chance you could elaborate more on what you're intending?

Perhaps I'd just like to see someone provide consistently up-to-date version of various command line tools. The app you linked seems well made, but I am uncertain of which version of Python it provides. This poses many issues: compatibility, security, performance, etc. I want an executable of Python/Ruby/Git/whatever that is strictly command-line-based, and has instructions on how it was built (so I can update it to the current version, if I want)
See this issue, for example. No replies yet as I doubt any Android NDK developers, let alone authors of Ruby have seen my issue.

People keep using github to try to communicate. This is
https://github.com/landley/toybox/issues/35 which I'm replying to on the
mailing list...

...like Git, Ruby, or Python?

git yes eventually (although starting with a read-only version capable
of driving a repo checkout of the AOSP source for a build), but that's
probably post-1.0.
Ruby and Python: no. They're way out of scope.

I'd love to use Android as a real programming device someday.

I just gave a talk about that at txlf, which was (as seems traditional
for my txlf talks) far less coherent than I wanted it to be because my
machine with the carefully loaded set of web pages I wanted to walk
people through (some with sections mouse-highlighted, which is
apparently preserved when you change tabs in chrome) couldn't talk to
the darn projector (the magic resolution I didn't guess was 1280x1024,
dunno why ubuntu 12.04 could autodetect this but 14.04 can't), and
showing up early didn't help because the keynote before mine ran long so
my talk started several minutes late anyway, and then fiddling with the
monitor vs screen export stuff I accidentally hit function-f7 which
disables the touchpad (there's a thing to do that?) and couldn't figure
out how to switch it off again quickly, so I just borrowed a windows
laptop with a web browser and improvised, pulling web pages up on the
fly... meaning my talk wound up a bit like this paragraph, which I
intentionally didn't edit to give an example of my main communications
failure mode. :)

Sure, it may seem nonsensical to some, but I think making quick Git
commits or Ruby code on-the-go would be fantastic.

Ruby is out of scope. Python is out of scope.
Python isn't even one language anymore, they have one of those flag day
changes from 2.0->3.0 the same way gtk breaks its API every few years
and loses half its' developers each time. This time the retention
failure is so bad python developers are blogging comparing the 2->3
transition to the kubler-ross stages of grief. And no, I didn't make
that up:
https://lwn.net/Articles/669768/

Side note: nobody on Earth seems to care about cross-compiling
utilities to iOS/Android.

I don't know what you mean by that, but my goal is to make native
compling of arbitrary code on android work fine, possibly in some kind
of posix container/chroot.

The process is rather difficult though, and Stack Overflow is of no
help. Perhaps someone on this repository has a better understanding
of GCC/Clang than I do?

I'm told Android is already using the llvm backend to convert java
bytecode to native code (that's the "optimizing your apps 1/xxx" thing
that pops up when you uprade), so adding the clang frontend to that
isn't a huge step. The toolchain's already halfway there.
But it isn't useful until i get a lot more toybox stuff in.
My http://landley.net/aboriginal/about.html project was a proof of
concept about what's the smallest/simplest build environment that can
not only rebuild itself from soruce code, but build linux from scratch
under the result.
I'm currently grinding through the "what's next" section of that page:
http://landley.net/aboriginal/about.html#next
That boils down to cleaning out the GPL code by replacing
uclibc/busybox/glibc with llvm/toybox/musl (or a sufficiently upgraded
bionic), and fixing the problem that distro builds always expect a very
specific build environment and are full of assumptions. (I was poking at
debian and fedora, but now I'm focusing on AOSP.)
If I can get AOSP to build in an aboriginal chroot based on llvm,
toybox, and musl (mostly by building its prerequisite packages first and
setting up the environment it expects, but there will probably be some
patches to AOSP itself), then getting AOSP to build under android is
just a question of reproducing that known environment in the new context.
Python and Ruby aren't involved in this. Git is, due to AOSP's
integration with repo.
Rob

I found a solution to my problems, anyway. termux-packages is exactly what I want.


Why it is showing only support for Android, IOS, Web

These Repo supports only Android , ios and web

Yes actually this project has both package and a plugin, Initially it was released as a plugin which supports only android, ios and web but later extended it as a package to support all platforms


Mangrove Stripped Logs error

I was uploading a build and noticed that an error popped up when scanning for the Mangrove stripped blocks

I realized that i had downloaded an older version in the video description.