For the wee bit docker impaired

My container keeps restarting and the data directory doesn't show up, so I can't edit config.sh.
Error message is:
$ docker compose up teslaproxy
[+] Running 1/0
 ⠿ Container teslaproxy  Recreated                                                                                0.0s
Attaching to teslaproxy
teslaproxy exited with code 0

Any pointers to get the container running? The is no info from docker log, and can't attach to the container since it's restarting.
The relevant part of my docker-compose.yml:
  teslaproxy:
    restart: unless-stopped
    container_name: teslaproxy
    image: iainbullock/tesla_http_proxy
    network_mode: host
    volumes:
      - '/opt/teslaproxy/data:/data'

After adding the entrypoint it runs, and creates the files in data.
For reference; the complete config (without my other containers) is now:
version: '3'
services:
  teslaproxy:
    restart: 'no'
    container_name: teslaproxy
    image: iainbullock/tesla_http_proxy
    entrypoint: "/app/run.sh"
    volumes:
      - '/opt/teslaproxy/data:/data'

Running it again after filling in the fields in config.sh yields:
$ docker compose up teslaproxy
[+] Running 1/0
 ⠿ Container teslaproxy  Created                                                                                0.0s
Attaching to teslaproxy
teslaproxy  | Configuration Options are:
teslaproxy  | CLIENT_ID=1c1f3b6bff4a-4bc0-bec6-8eb8f3ec39d2
teslaproxy  | CLIENT_SECRET=Not Shown
teslaproxy  | DOMAIN=tesla.host.info
teslaproxy  | PROXY_HOST=<IP_ADDRESS>
teslaproxy  | REGION=Europe, Middle East, Africa
teslaproxy  | Setting up for first launch
teslaproxy  | Setting up GnuPG and password-store
teslaproxy  | gpg: keybox '/data/gnugpg/pubring.kbx' created
teslaproxy  | gpg: /data/gnugpg/trustdb.gpg: trustdb created
teslaproxy  | gpg: directory '/data/gnugpg/openpgp-revocs.d' created
teslaproxy  | gpg: revocation certificate stored as '/data/gnugpg/openpgp-revocs.d/B723A4E0720CB1AB4B2F49E23B3F0489842E9045.rev'
teslaproxy  | gpg: checking the trustdb
teslaproxy  | gpg: marginals needed: 3  completes needed: 1  trust model: pgp
teslaproxy  | gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
teslaproxy  | gpg: next trustdb check due at 2027-03-13
teslaproxy  | /data/gnugpg/pubring.kbx
teslaproxy  | ------------------------
teslaproxy  | pub   ed25519 2024-03-13 [SC] [expires: 2027-03-13]
teslaproxy  |       B723A4E0720CB1AB4B2F49E23B3F0489842E9045
teslaproxy  | uid           [ultimate] myself
teslaproxy  | sub   cv25519 2024-03-13 [E]
teslaproxy  |
teslaproxy  | created directory: '/data/password-store/'
teslaproxy  | Password store initialized for myself
teslaproxy  | Generating self-signed SSL certificate
teslaproxy  | -----
teslaproxy  | Generating keypair
teslaproxy  | -----BEGIN PUBLIC KEY-----
teslaproxy  | MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEUBzCzMpLvefVioAQ72FwUbC9o7iT
teslaproxy  | fcygjebFlhhTTvQLOa9pLpmzQ0NkViRtEsuIj2mmT+wpcWAqkuqqvtd8XQ==
teslaproxy  | -----END PUBLIC KEY-----
teslaproxy  | Starting temporary Python app for authentication flow. Delete /data/access_token to force regeneration in the future
teslaproxy  | Traceback (most recent call last):
teslaproxy  |   File "/app/run.py", line 14, in <module>
teslaproxy  |     CLIENT_ID = os.environ['CLIENT_ID']
teslaproxy  |                 ~~~~~~~~~~^^^^^^^^^^^^^
teslaproxy  |   File "<frozen os>", line 679, in __getitem__
teslaproxy  | KeyError: 'CLIENT_ID'
teslaproxy exited with code 1

(I've altered the id and host here, you never know what men in trenchcoats might be up to on the internet!)
It seems like the environment variables set in config.sh/app.sh isn't available in the environment in app.py? Next attempt also fails on the same line in app.py
But feels like getting closer :)

I don't know how to test this since I can't edit the files in the container. Perhaps config.sh should export the variables to add them to the env?
#!/bin/ash
# Enter values for your particular configuration here
export CLIENT_ID=client_id
export CLIENT_SECRET=client_secret
export DOMAIN=tesla.example.com # Public FQDN
export PROXY_HOST=<IP_ADDRESS> # Local hostname or IP of this docker host
export REGION='Europe, Middle East, Africa' # Change to match your region
# Change this to OPTIONS_COMPLETE=1 when ready to run
OPTIONS_COMPLETE=0

You beat me to it. Can you try that and let me know. Also change
OPTIONS_COMPLETE to 1
Thanks
On Wed, 13 Mar 2024 at 14:50, yurgh @.***> wrote:

I don't know how to test this since I can't edit the files in the
container. Perhaps config.sh should export the variables to add them to the
env?
#!/bin/ash
Enter values for your particular configuration here
export CLIENT_ID=client_id
export CLIENT_SECRET=client_secret
export DOMAIN=tesla.example.com # Public FQDN
export PROXY_HOST=<IP_ADDRESS> # Local hostname or IP of this docker host
export REGION='Europe, Middle East, Africa' # Change to match your region
Change this to OPTIONS_COMPLETE=1 when ready to run
OPTIONS_COMPLETE=0
—
Reply to this email directly, view it on GitHub
https://github.com/iainbullock/tesla-http-proxy-docker/issues/2#issuecomment-1994578474,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AODIAOIZH5YWTKARDO3IFFDYYBRUPAVCNFSM6AAAAABET2FRBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUGU3TQNBXGQ
.
You are receiving this because you commented.Message ID:
@.***>

Also edit your earlier posting to delete your Client ID it’s visible in the
logs!
On Wed, 13 Mar 2024 at 14:53, Iain Bullock @.***> wrote:

You beat me to it. Can you try that and let me know. Also change
OPTIONS_COMPLETE to 1
Thanks
On Wed, 13 Mar 2024 at 14:50, yurgh @.***> wrote:

I don't know how to test this since I can't edit the files in the
container. Perhaps config.sh should export the variables to add them to the
env?
#!/bin/ash
Enter values for your particular configuration here
export CLIENT_ID=client_id
export CLIENT_SECRET=client_secret
export DOMAIN=tesla.example.com # Public FQDN
export PROXY_HOST=<IP_ADDRESS> # Local hostname or IP of this docker host
export REGION='Europe, Middle East, Africa' # Change to match your region
Change this to OPTIONS_COMPLETE=1 when ready to run
OPTIONS_COMPLETE=0
—
Reply to this email directly, view it on GitHub
https://github.com/iainbullock/tesla-http-proxy-docker/issues/2#issuecomment-1994578474,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AODIAOIZH5YWTKARDO3IFFDYYBRUPAVCNFSM6AAAAABET2FRBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUGU3TQNBXGQ
.
You are receiving this because you commented.Message ID:
@.***>

You can edit /opt/teslaproxy/data/config.sh on the host to include the
export commands as you suggested. Alternatively:
I was at a loss why it works for me but not you. I think it’s because I
have these declared and set with default values in the environment section
in docker-compose.yml This must export them when the container starts and
config.sh overrides them with the actual values.
You could add the environment section from my example into your
docker-compose.yml
Good luck
On Wed, 13 Mar 2024 at 16:23, yurgh @.***> wrote:

Also edit your earlier posting to delete your Client ID it’s visible in
the logs!
Hehe, I changed it before posting, but made sure to have it look real! :D
You beat me to it. Can you try that and let me know.
I really wish I could but I have no idea how to edit the file in the
container. I'll look into it tho.
—
Reply to this email directly, view it on GitHub
https://github.com/iainbullock/tesla-http-proxy-docker/issues/2#issuecomment-1994869551,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AODIAOO77KIMD2DMI4Q4HIDYYB4R5AVCNFSM6AAAAABET2FRBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUHA3DSNJVGE
.
You are receiving this because you commented.Message ID:
@.***>

Now we're getting places. I just added the environment variables to the  docker-compose.yaml, and changed the nginx conf to serve the com.tesla.3p*pem from another location. Went thru oa auth and installed virtual key in the car.
Next up is getting this to work with the HACS Tesla integration. I'm  unsure what to fill in the Proxy URL and Proxy SSL certificate fields: Have you got any pointers there?
And my tesla proxy is world accessible; I guess that is not a problem since the worst anyone could do is grant me access to their car?

Excellent.
Regarding the HACS Tesla App, keep an eye on this Issue, which is
currently preventing it working for me:
https://github.com/alandtse/tesla/issues/899
Proxy URL should be https://IPaddressofyoudockerhost:portusedforproxy
Proxy SSL cert is the path to the SSL certifcate (selfsigned.pem) relative
to HA container root (you are running HA in a docker correct?). I manually
put the certificate in the HA config directory, and used
/config/selfsigned.pem as the input to this field.
If it doesn't work I suggest you wait for the above Issue to be fixed. In
the meantime, try it out using curl and your access token on the command
line. e.g.:
export TESLA_AUTH_TOKEN=your access_token
export VIN=yourcarVINnumber
curl --cacert cert.pem
--header "Authorization: Bearer $TESLA_AUTH_TOKEN"
"https:// IPaddressofyoudockerhost:portusedforproxy/api/1/vehicles"
gives the details of your vehicle.
or this:
curl --cacert cert.pem
--header 'Content-Type: application/json'
--header "Authorization: Bearer $TESLA_AUTH_TOKEN"
--data '{"which_trunk": "rear"}'
"https://<IP_ADDRESS>:4430/api/1/vehicles/$VIN/command/actuate_trunk"
opens the boot (I left my IP and port in on that one you'll have to change
it)
Note access_token will only last for 8 hours from when it was first
created. The HA integration handles the refreshing of the tokens
Your proxy shouldn't be world accessible. What port are you using and is it
accessbile form the internet? In my case I'm using port 4430 which is not
accessible to the outside world.
Your webserver serving up the car's public key needs to remain accessible
to the internet at all times for the proxy to work
Let me know if it works. There is something satisfying about opening your
boot from the command line :)
On Wed, 13 Mar 2024 at 17:41, yurgh @.***> wrote:

Now we're getting places. I just added the environment variables to the
docker-compose.yaml, and changed the nginx conf to serve the
com.tesla.3p*pem from another location. Went thru oa auth and installed
virtual key in the car.
Next up is getting this to work with the HACS Tesla integration. I'm
unsure what to fill in the Proxy URL and Proxy SSL certificate
fields: Have you got any pointers there?
And my tesla proxy is world accessible; I guess that is not a problem
since the worst anyone could do is grant me access to their car?
—
Reply to this email directly, view it on GitHub
https://github.com/iainbullock/tesla-http-proxy-docker/issues/2#issuecomment-1995135841,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AODIAOL6OSYUXEJMTTVGLXDYYCFUJAVCNFSM6AAAAABET2FRBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJVGEZTKOBUGE
.
 But thanks for help :)
I'm considering just getting the KIA EV-6 instead of the Model Y when replacing the Model 3 next year... (Not totally joking about it...)

You've done the hardest part. Just wait for the issue to be resolved.
I've got a 2024 Model 3 so I am determined to make it work
Whether you buy a Kia is another story...

I can confirm I've got it all working, so my Home Assistant works as required, including sending commands to the car.
This thread has a commentary on how I eventually got it working with the HA integration
I'm going to tidy things up a bit here, including updating the documentation.
Essentally it can be used as is and it will work
@yurgh if you haven't lost the will to live and traded in for a Kia yet, I can give you some support in getting it working

Hi @iainbullock
Thank you for all this work!
I followed all your comments on the subject (thank you for specifying at one point that it is necessary to use the fleet api refresh token)
I tried with curl and access token and it worked, But it still not working with Tesla HA addon
2024-03-15 23:12:05.443 DEBUG (MainThread) [teslajsonpy.connection] Token expiration in -19798 days, 0:47:55 2024-03-15 23:12:05.443 DEBUG (MainThread) [teslajsonpy.connection] Oauth expiration detected 2024-03-15 23:12:05.444 DEBUG (MainThread) [teslajsonpy.connection] Refreshing access token with refresh_token 2024-03-15 23:12:05.804 DEBUG (MainThread) [teslajsonpy.connection] Unable to refresh sso oauth token 2024-03-15 23:12:05.804 DEBUG (MainThread) [teslajsonpy.connection] Auth returned {'error': 'login_required', 'error_description': 'Login required', 'referenceID': '895be12b-8367-469d-a3a8-aa9735df5167-1710540725667'}
I used local domain like you specified in other post.
configuration :

I don't know what to do, do you have an idea ?
Thank you.

Firstly are you using the latest version of https://github.com/alandtse/tesla (currently v3.20.3), I had problems with v3.20.1?
Most likely is that the refresh_token is invalid or expired.
Fleet API refresh keys look like this: EU_3a3258ffa4c89c91a5615ff2e9be33c81a136cb743e9ace8d5bddd6392eb3b2b
Owner Refresh tokens are a lot longer. Don't use them
You can only use the same refresh token once (so if you previously tried it and it failed for some other reason it won't work), and they don't last long (hours). Try generating a new key and using that.

The issue here was I used the fleet refresh token from the tesla-http-proxy, so it was already used.
I generated a new token with Auth for Tesla app and it's worked fine.
Thank you very much for your help.


BTP Block on updateClient

If we produce a BTP Block on updateClient on ICON IBC Handler, that height has to be updated on the ICON light client on Archway. If IBC contract of Archway generates any event, that probably is to be updated on ICON as well, which causes loop of unnecessary updates.
Producing BTP Blocks on updateClient might not be necessary

Fixed by PR 279


Unable to parse flow tuples of unions

It's currently impossible to parse flow tuples of unions in eslint. Is this something you plan to support?
What version of ESLint are you using?
1.10.3
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint 4.1.6
What did you do? Please include the actual source code causing the issue.
type Suit =
  | "Diamonds"
  | "Clubs"
  | "Hearts"
  | "Spades";

function result(suit: Suit): string {
  return 'I had: ' + suit;
}

suit('Clubs');

What did you expect to happen?
To parse the above JS
What actually happened? Please include the actual, raw output from ESLint.
error  Parsing error: Unexpected token

babel-eslint uses babylon as the parser. Also this should of been added before in babylon already - I would update to the latest version like mentioned in the readme since you are using 4.x and there's a 6.x now - I think that should work.

I'm working with quite a big codebase, so it will take some time to update the dependencies. Once I do I will come back and report back here!

Confirmed this is in fact working now, thanks!


[SPARK-49034][CORE] Support server-side sparkProperties replacementin REST Submission API

What changes were proposed in this pull request?
Like SPARK-49033, this PR aims to support server-side sparkProperties replacement in REST Submission API.

For example, ephemeral Spark clusters with server-side environment variables can provide backend-resource and information without touching client-side applications and configurations.

The place holder pattern is {{SERVER_ENVIRONMENT_VARIABLE_NAME}} style like the following.

https://github.com/apache/spark/blob/163e512c53208301a8511310023d930d8b77db96/docs/configuration.md?plain=1#L694
https://github.com/apache/spark/blob/163e512c53208301a8511310023d930d8b77db96/core/src/main/scala/org/apache/spark/deploy/rest/StandaloneRestServer.scala#L233-L234
Why are the changes needed?
A user can submits an environment variable holder like {{AWS_ENDPOINT_URL}} in order to use server-wide environment variables of Spark Master.
$ SPARK_MASTER_OPTS="-Dspark.master.rest.enabled=true" \
  AWS_ENDPOINT_URL=ENDPOINT_FOR_THIS_CLUSTER \
  sbin/start-master.sh

$ sbin/start-worker.sh spark://$(hostname):7077

curl -s -k -XPOST http://localhost:6066/v1/submissions/create \
  --header "Content-Type:application/json;charset=UTF-8" \
  --data '{
          "appResource": "",
          "sparkProperties": {
            "spark.master": "spark://localhost:7077",
            "spark.app.name": "",
            "spark.submit.deployMode": "cluster",
            "spark.hadoop.fs.s3a.endpoint": "{{AWS_ENDPOINT_URL}}",
            "spark.jars": "/Users/dongjoon/APACHE/spark-merge/examples/target/scala-2.13/jars/spark-examples_2.13-4.0.0-SNAPSHOT.jar"
          },
          "clientSparkVersion": "",
          "mainClass": "org.apache.spark.examples.SparkPi",
          "environmentVariables": {},
          "action": "CreateSubmissionRequest",
          "appArgs": [ "10000" ]
  }'

http://localhost:4040/environment/

Does this PR introduce any user-facing change?
No. This is a new feature and disabled by default via spark.master.rest.enabled (default: false)
How was this patch tested?
Pass the CIs with newly added test case.
Was this patch authored or co-authored using generative AI tooling?
No.

Could you review this PR too, @viirya and @yaooqinn ?

Thank you, @viirya !

Thank you, @yaooqinn .

Merged to master for Apache Spark 4.0.0-preview2.


FluidKineticGenerator fluid name Display error

At the beginning, the fluid in the fluidTank is lava, and fluid name displays correctly.
However, when fluid burned to the remaining 10mb, the name start error
In fact, the fluid in the fluidTank is lava(岩浆), not Distilled water(蒸馏水).

现在解决了吗？

还没有


Qr-code scan is not working

Duplicate of https://github.com/threefoldtech/threefold_connect/issues/360
Also not a TF connect issue.
If the phone camera can't read it, there is nothing TF connect can do to change that.


Initialize init tree forward

Instead of creating lists then merging them, we create and populate only one tree. The current implementation creates a lot of temporary objects. I decided to leave it be for now because the PR is already quite large. We can fix this up later if needed.

Codecov Report

Merging #2178 into master will decrease coverage by 0.02%.
The diff coverage is 82.97%.

@@             Coverage Diff              @@
##             master    #2178      +/-   ##
============================================
- Coverage     86.86%   86.84%   -0.03%
+ Complexity     5139     5138       -1
============================================
  Files           456      456
  Lines         20385    20398      +13
  Branches       2184     2181       -3
============================================
+ Hits          17707    17714       +7
- Misses         1908     1914       +6
  Partials        770      770

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/google/api/codegen/util/Scanner.java
85.36% <100%> (+0.18%)
33 <1> (+1)
:arrow_up:

...e/api/codegen/transformer/InitCodeTransformer.java
94.96% <100%> (+0.25%)
81 <0> (ø)
:arrow_down:

...m/google/api/codegen/metacode/InitValueConfig.java
72.22% <64.28%> (-20.64%)
12 <5> (-3)

...gle/api/codegen/metacode/FieldStructureParser.java
88.23% <75%> (+0.14%)
22 <6> (+1)
:arrow_up:

.../com/google/api/codegen/metacode/InitCodeNode.java
82.94% <92.5%> (-1.01%)
68 <10> (ø)

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 866d38b...7637d79. Read the comment docs.


purocean.YankNote version 3.68.0

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @vedantmgoyal9,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 877.)

Automatic Validation ended with:

Installation failed with exit code -1978335187
2024-04-23 04:35:22.169 [FAIL] Installer failed security check. Url: https://github.com/purocean/yn/releases/download/v3.68.0/Yank-Note-win-x64-3.68.0.exe Result: 0x80004005

(Automated response - build 877.)

@wingetbot run


Device not recognized at Step 4

I've tried everything. I just need personal help at this point. Thanks in advance.

Likely a local key/device id issue. So duplicate of https://github.com/apexad/eufy-robovac/issues/14 which I plan to work on soon.


[Attestation Revocation] JWT/CWT/Accumulators based revocation mechanisms

Privacy preserving status list
https://github.com/vcstuff/draft-looker-jwt-cwt-status-list
https://vcstuff.github.io/draft-looker-jwt-cwt-status-list/draft-looker-jwt-cwt-status-list.html

in addition to the current draft related to the status list we're looking also to the anonymous accumulators proposed by sweden
here the will to collect in this issue all the related material to be considered for developments

Hi. Status lists are not very privacy preserving. Please see https://api-pilot.ebsi.eu/docs/specs/credential-status-framework/credential-status-vcs - an extensive analysis has been performed in collaboration with other experts.
Advanced cryptographic approaches have also been analysed but are not presented since use cases discarded them.

Thank you @alenhorvat
this issue is going to be closed since the discussion is moving to have status list and status attestations for different use cases and credential types.


Progression Incompatability with Epic Loot

While using Progression with Private Keys enabled and running Epic Loot, upon trying to log off I get stuck in a black screen with the following error in console,
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
ZNetView.InvokeRPC (System.String method, System.Object[] parameters) (at <0a1a436be26b421bb46752e573a7aa2f>:0)
VentureValheim.Progression.KeyManager.SendPrivateKey (Player player, System.String key) (at <287518290501407490164a3261759c78>:0)
VentureValheim.Progression.KeyManager+Patch_ZoneSystem_SetGlobalKey.Postfix (System.String name) (at <287518290501407490164a3261759c78>:0)
(wrapper dynamic-method) ZoneSystem.DMDZoneSystem::SetGlobalKey(ZoneSystem,string)
EpicLoot.Adventure.Feature.BountiesAdventureFeature.SaveBountyLedger () (at <3445a66d20694f088e28b9e0c6e99344>:0)
EpicLoot.Adventure.Feature.BountiesAdventureFeature.OnWorldSave () (at <3445a66d20694f088e28b9e0c6e99344>:0)
EpicLoot.Adventure.AdventureDataManager.OnWorldSave () (at <3445a66d20694f088e28b9e0c6e99344>:0)
EpicLoot.ZNet_SaveWorld_Patch.Prefix (ZNet __instance) (at <3445a66d20694f088e28b9e0c6e99344>:0)
(wrapper dynamic-method) ZNet.DMDZNet::SaveWorld(ZNet,bool)
ZNet.Save (System.Boolean sync) (at <0a1a436be26b421bb46752e573a7aa2f>:0)
(wrapper dynamic-method) ZNet.DMDZNet::Shutdown(ZNet)
(wrapper dynamic-method) Game.DMDGame::Shutdown(Game)
(wrapper dynamic-method) Game.DMDGame::Logout(Game)
Menu.Logout () (at <0a1a436be26b421bb46752e573a7aa2f>:0)
Menu.OnLogoutYes () (at <0a1a436be26b421bb46752e573a7aa2f>:0)
UnityEngine.Events.InvokableCall.Invoke () (at :0)
UnityEngine.Events.UnityEvent.Invoke () (at :0)
UnityEngine.UI.Button.Press () (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at <67859b8eac9e4f3b99606821e32b26c6>:0)
UnityEngine.EventSystems.EventSystem:Update()

I actually changed some of the code around this so you will never see this specific error again after updating to version 0.24. If there are new problems that come up while using the Epic Loot Bounties system please share the new errors and I will see if I can fix it if there ends up being an issue.


DOI on ArXiv pages

There are very few DOI on arXiv "abstract" pages, but when they appear, the URL are prefixed with an arXiv redirection, see https://arxiv.org/abs/astro-ph/0610309
https://arxiv.org/ct?url=http%3A%2F%2Fdx.doi.org%2F10%252E1111%2Fj%252E1365-2966%252E2006%252E11191%252Ex&v=a7de5521

However, the right way to cover arXiv will be to add arXiv identifiers in ISTEX, we could then have the ISTEX button directly in the result pages too.

do you have any idea how % of istex is included in arxiv repository ?

I was wondering a bit the opposite, the % of arXiv papers present in ISTEX, and it should be much higher than HAL I think. When I visited the CDS at Strasbourg a couple of weeks ago, one documentalist observed that the most important journals in Astronomy were included in the ISTEX collection and 95% of the articles in Astronomy in general are also in arXiv if I remember well (like for the HEP field, e.g. CERN).
However there are very few DOI in arXiv, so the mapping between arXiv records and ISTEX records would be hard. But I have a plan ;)


Cookie notice cookie lifetime is too short

The expiration of the cookie-notice cookie (named "seen-cookie-notice") is set to session. This is too short, a recurring visitor will get to accept the cookie notice again.
Solution: set the cookie notice cookie to a considerable longer period of time. A lot of sites seem to set the cookie expiration to a year.

Fixed in DXA 1.5


flutter run is not able to recognize iOS simulator even after installing xcode and running all the necessary command.

I am sharing all the logs of the commands - flutter doctor -v and xcode-select --install.
$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
$ flutter doctor -v
[✓] Flutter (Channel stable, 2.8.0, on Mac OS X 10.16 20G314 darwin-x64, locale en-US)
    • Flutter version 2.8.0 at /Users/kavit.mehta/work-career/side-hustles/flutter-apps/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (9 weeks ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at /Users/kavit.mehta/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[!] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    • CocoaPods version 1.11.2

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

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.80

! Doctor found issues in 2 categories.

I even ran these two commands:-
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch

still running the issue doesn't get fixed. I also cross checked and Xcode.app is installed in Applications folder.
One more thing, running iOS simulator from xcode works fine, but I want to run it using flutter run command.

Hi @Kavit900, Thanks for filing the issue. Could you please share what version of xcode have you installed?  please check this solution and ensure you have done all the steps mentioned here https://github.com/flutter/flutter/issues/6308#issuecomment-257812324.
Additionally, you may try upgrading the flutter version by running flutter upgrade .

@maheshmnj  thanks for your reply, I was able to fix the issue. Closing this issue as of now.


[loom] Avoid synchronized lazy values in blocking context and replace required sync lazy inits with ReentrantLock when Loom is enabled

It'll most likely resolve #1966

Could you give me a brief explanation of this? Not familiar with most of these concepts.

By default, each lazy {} uses this implementation:
https://github.com/JetBrains/kotlin/blob/master/libraries/stdlib/jvm/src/kotlin/util/LazyJVM.kt#L55
It means that we're wrapping the init body into synchronized(lock) block. This is the safest behavior for a default value, but in most cases we don't even need it. For all of these cases, I've changed lazy() -> lazy(NONE). The NONE does not keep track of the init body, if multiple threads would call this at once, we don't know which value will be stored, but it doesn't matter if these properties are used in non-async context or produces the same result.
Then, we have a cookieStore. The cookieStore is created on top of the cookie header, so we can read the source multiple times, but we also want to produce just one final instance. PUBLICATION mode fulfills these requirements in this case.
The body & outputStreamWrapper are based on I/O and requires sync. We can't really change that behavior, so we need a better replacement for synchronized block. As long as synchronized is not handled by Loom that good, the ReentrantLock should be. On top of this lock, I provided our own implementation of kotlin.Lazy that is used when Loom is enabled. If Loom is disabled, we're using regular synchronized Lazy as it's just cheaper (ReentrantLock requires new ReentrantLock instance per lazy, it means that we have 2 of them for each Context).

I think it can be merged, everything works properly and:

https://github.com/javalin/javalin/issues/1966#issuecomment-1668835662

I think it can be merged, everything works properly and:

https://github.com/javalin/javalin/issues/1966#issuecomment-1668835662

Btw

🤨

Can you quickly debug it and tell me on discord? I can't replicate this 🤔

Thanks @dzikoysk 🙇


[ICONS] added transparent bg in printed SVGs

Fixes #1026

(One on the left side is the screenshot taken before the fix.)
Signed-off-by: Shijir Tsogoo<EMAIL_ADDRESS>

Please download and try out the SVGs here: all-shapes.zip

Please download and try out the icon SVGs here: all-shapes.zip

sweet, it works!


fix(autoware_object_velocity_splitter): fix funcArgNamesDifferent

Description
This is a fix based on cppcheck funcArgNamesDifferent warnings
perception/object_velocity_splitter/src/object_velocity_splitter_node.cpp:68:82: style: inconclusive: Function 'onObjects' argument 1 names different: declaration 'msg' definition 'objects_data_'. [funcArgNamesDifferent]
void ObjectVelocitySplitterNode::onObjects(const DetectedObjects::ConstSharedPtr objects_data_)
                                                                                ^

Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@kokosabu @scepter914 @miursh @YoshiRi
Using objects_data_ as a parameter, not as a global variable, seems not ideal.
And the variable declared in header seems not be used
  // Data Buffer
  DetectedObjects::ConstSharedPtr objects_data_{};

Is it correct?

@scepter914 @miursh @YoshiRi
Please confirm the PR. Thank you very much.

It appears that objects_data_ is not used in this change. objects_data_ is likely a typo. It would be better to align the code with msg instead of objects_data_.

It appears that objects_data_ is not used in this change. objects_data_ is likely a typo. It would be better to align the code with msg instead of objects_data_.

@scepter914  @miursh @YoshiRi
Please check whether objects_data_ is really a typo. Thank you.
@kobayu858
If it is a typo, then change the parameter/argument name and delete objects_data_ declaration from hpp
If not, please follow the maintainer's instructions.

It appears that objects_data_ is not used in this change. objects_data_ is likely a typo. It would be better to align the code with msg instead of objects_data_.

It seems typo, so would you align to msg?

Thanks for the discussion.
I removed objects_data_ and unified it with msg.


Bug On Nodejs

Issue Type: Bug
not showing nodejs codes autocomplete like require and nodejs modules after recent updates just a min
VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:49:13.459Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
5.88GB (1.37GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

debugger-for-chrome
msj
4.11.7

material-icon-theme
PKi
3.9.0

(1 theme extensions excluded)

@GaneshKoirala can you provide simple repro steps that worked in the previous release?

in new update it doesn't show this require autocomplete and also not showing core node modules inside require("")

I tried reproing the issue from 1.35 => 1.38 and it seems to be broken in 1.37.1 as well

Yeah I agree that it was already broken in 1.37

@GaneshKoirala What type of project are you working in? Do you have a package.json for example?
Please describe your project and provide some basic steps to reproduce the issue


Breached Defenses does not work on Vampires.

Breached Defenses allows you to bypass resistances that have an "except" clause. All vampires have resistance to physical damage except "magical silver". Due to the way the PF2 system developers programmed this unique resistance, the exploit vulnerability script bugs out, showing for Breeched Defenses "physical, bypassed by [object Object], and when selecting says "Don't know how to bypass [object Object]"
The Vampire Vulnerabilities effect contains the code that adds the resistances for vampires. This is an example of the code from the Vampire Count creature:
{
  "exceptions": [
    {
      "definition": [
        "item:magical",
        {
          "or": [
            "damage:material:dawnsilver",
            "damage:material:silver"
          ]
        }
      ],
      "label": "PF2E.IWR.Custom.MagicalSilver"
    }
  ],
  "key": "Resistance",
  "type": "physical",
  "value": 7
}

This is going to take a little time for me to mull over. The issue is the combination magical + silver. I ran into the issue before. It's a little bit of a problem that I've been pushing off trying to solve.


Prefs dont seem to build properly?

I am trying to convert my tweak from theos to dragon. After building it (I used github actions because I'm too lazy to reboot into Linux and apparently linux has sdk issues) and installing it, prefs didn't show up in settings. The pref bundle is there but for some reason, it isn't being loaded into settings.


Ensure deprecation warning includes the word deprecation

Trying to find anywhere we aren't using the word deprecation in nagging warnings.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

Here's all the places where we aren't including "deprecated" in our deprecation messages, which will prevent them from being detected during tests.  Don't know if we want to merge this as a quick correction, or have the appropriate code owners fix each area separately.
I think it might be worth having a runtime check upon creating the message, just to ensure this doesn't happen again and lead to difficult to debug tests.

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.


Microsoft Edge and Windows Mixed Reality motion controller support

It is possible to enter the immersive experience in Microsoft Edge using the Windows Mixed Reality headsets, but the version of A-Frame that is used here (0.6.0) does not have support for motion controllers, so it is impossible to interact with the scene.
A-Frame 0.7.0 added support for the Windows Mixed reality headsets and motion controls, updating to that will give you access to the windows-motion-controls component.

Could a site maintainer assign this to me? I’d like to make a PR here, if that’s cool. Just want to properly track my assigned issues.

On an Oculus Go one can enter VR but there is no controller available. That appears to be part of this same issue and not specific to Oculus.


FracdiffStat enormously slow

Hi! I was trying to differentiate an Ethereum price dataset (attached below) but it is taking more than 1h and also uses more than 10 GB of memory. I don't mind the high memory usage, but it's taking too much time
from fracdiff import FracdiffStat
import pandas as pd

df = pd.read_csv('ETHUSDT.csv.gz')
FracdiffStat().fit_transform(df.values)

ETHUSDT.csv.gz

Thanks for sharing that. Could you let me know the shape of the differentiated array?

Also, is Fracdiff slow too?

Fracdiff is instantaneous! There are no issues.
The shape of the array is  (229682, 5). Is historic stock candlestick data (OHLCV)
Update: It tooks like 9h to finish. Based on my observations, in order to find the minimum differentiation value to preserve the memory of the series FracdiffStat has to do a linear search. I saw that for every step it has to compute a linear regression and that's why it takes so long imo.

Thanks for letting me know!
I think the ADF test (adfuller in statsmodels) is the bottleneck.
As you point out, it performs linear regression which needs matrix inversion.
Fractional differentiation is the linear order of n_samples (since it is essentially convolution) and order is binary-searched. These operations are optimized and unlikely to be the bottleneck.

It would be super useful to have a stationary test that uses the GPU. Surprisingly I couldn't find any GPU implementation of ADF or KPSS. Is there something that I'm missing out, or I just didn't search thoroughly enough?

I think that would be awesome, but I've never heard of that kind of thing implemented, unfortunately. I guess https://github.com/rapidsai/cuml is somewhat promising.

Thank you! There is in fact a gpu implementation of KPSS
https://github.com/rietmann-nv/cuml/pull/1/files

Hi! I come to give a little update about alternative implementations of stationary tests.
I've tried cuml's implementation of KPSS, but it was horrendous instable. Luckily I found a Pytorch implementation of Dickey-Fuller Test that was much faster and used much less memory than the statsmodels one. I optimized further that code and I bring it to a x20 speedup
Here's the link if you're interested (I should make it a package):
https://github.com/cTatu/DFuller-Numpy

Awesome! Although fracdiff is not likely to have GPU in the future for the same reason why sklearn doesn't have it, that's really amazing idea.


fix typo

Current coverage is 100% (diff: 100%)

Merging #51 into master will not change coverage

Powered by Codecov. Last update 54e2577...e839aa6

Thanks! :medal_sports:


there are lots of issues in henri's repository

https://github.com/HenriAugusto/completion-plugin/issues

have scanned them all...


fix crowdin for ach,ast,ber,chr,kab,lol,sat,sco,sma,son;tzl;val;vec;vls;zea

fix crowdin for ach,ast,ber,chr,kab,lol,sat,sco,sma,son;tzl;val;vec;vls;zea

In #285 I added them to the gitignore for now. I think we are not able to add languages which not supported.


Can't get module / imports to work

import "jq-lib" as L;

L::testfunction

gives the warning: L::testfunction not found

Is there I way I can setup the directory to search modules from? Just like the -L option from the gojq cli?

Hi, thanks for the report. Yeap that is missing at the moment, but i guess it shouldn't be that much work to fix.
About -L, that should be possible also but i'm not sure how it would be communicated to the lsp serve? thru extension option? some kind of config in jq file?

Maybe create a separate issue for the search path thing?

👍 and let me know if the PR fixed your problem

Did fix the issue. Thanks!


APPLICATION FAILED TO START

I clean and build application. After that i ran command this gradlew bootRun (or java -jar cas/build/libs/cas.war). It throw an exception "Caused by: java.io.FileNotFoundException: \etc\cas\thekeystore". I think it must be initialized for first time with no ssl certificate and https security. Already cas application throws an exception for ssl security.

See Readme for more info

I read info. And i ran command step step. But it is not working. It always throw an exception "Caused by: java.io.FileNotFoundException: \etc\cas\thekeystore". I created a keystore and pasted it under \etc\cas\ folder.

I solved this. I copied etc file to C:\ directory. Because of cas searchs at root directory. On windows, root directory is c:\ . Could you change properties file or readme for windows configurations.

I cannot. Instead, please w submit a pull request with this change you have in mind. Thanks


add zh-CN locale

Thanks for this effort. Sadly, I can't merge this just yet. I'm not sure how to handle localisation of Factory Planner, as it has quite a few things to think about. I'll have to think about this some more. I really appreciate the effort though, and hope I can include it in the main mod at some point, but for now, you'll have to create a separate translation mod if you want to share this work.


Confusing statement in headline - is it okay for mobile or not?

1. On https://github.com/CalsRanna/ant_design_flutter it says:

Since antdf is designed for pc application at very first, so it wasn't recommand to use in mobile application even can be used.

Apart from grammatical error in "recommend", it's not possible to comprehend: is ant_design_flutter suitable for mobile or not?

2. On https://doc.antdf.xyz every title is followed by Chinese translation

does that mean ant_design_flutter incompatible with i18n and only one language/translation can be used?

Hi @romanr , I stand corrected about your first comment about "recommend" first. antdf is pure dart code for any widget, so you can use it in mobile apps for sure. But the document posted in readme means it can not always work as expected some time, cause I did not test it in the mobile app.
And for the second comment, it was true for so long, But i18n will be supported in the future. But I personally don't have enough time to do it, so I can not give you a certain time. Sorry for that.
The most thing is that, I really don't recommend you use antdf in the product environment cause it is a WIP project, and ant design has release v5.0 and flutter comes to 3.7.*, the project is kinda out of date. I will update it in the future come soon.

Thank you for comprehensive answer! 😄


GH-45005 [C++] Support for fixed-size list in conversion of range tuple

What changes are included in this PR?
This PR introduces support for fixed-size lists in Apache Arrow's STL conversion.  Added specializations for arrow::stl::ConversionTraits and arrow::CTypeTraits to handle std::array as a fixed-size list and also Unit Test.

Are these changes tested?
Yes, new type is tested.

Are there any user-facing changes?

GitHub Issue: #45005

LGTM. Please fix the lint (format) issue in CI. Then I'll merge it. Thanks.

Never mind the format, I've rebased the PR and fixed the format issue. Let's wait for CI.

The CI failure is unrelated. Merging.


[BUG] The homepage is completely blank for the mobile users so I

Description
the homescreen for mobile users is completely blank they can only see a small button there but ig that's not a good first impression for users
Screenshots

It's great having you contribute to this project by creating an issue Make sure you are assigned to this before you work on it and you read the Contributing.md file, Thank you! Welcome to the community :nerd_face:

i know, working on it already here 👉🏾 #140


Preparedness (PER) - April 2024 refinements

A few things to improve on PER:
PER export:

[ ] Would be great to compress all info to 2 A4 pages. Suggest to put Component Rating PER Cycles and Current Component Rating sections on page 2.
PER NS - Level Performance - Example Report.pdf
[ ] Apply area component colors (purple, yellow, green, red, blue) on the Average PER Rating By Area and on the Current Component Rating sections

Component Rating Results:

[ ] Apply area component colors (purple, yellow, green, red, blue) on the chart. Design updates have been requested

Translations:

[ ] Spanish version should be available by 24.05. Translations of forms, questions etc. were extracted through the api, reviewed, and we try to update the database with these.

@szabozoltan69, would you mind to update the spanish, french and arabic translations of

[ ] component titles
[ ] component descriptions
[ ] form question groups
[ ] questions
[ ] form areas
[ ] form answers

per_translations_(restructured)-to_import.xlsx
Thanks!

I'll update them in lang_string table.

SQL
6.zip
Update scripts were running fine on Staging.

Need to ask a few updates:

[ ] "Epi considerations" change to "Epidemic considerations"
[ ] "Type of Operation" change to "PER Areas"
[ ] PDF export: Change country name in the title to the NS name
[ ] PDF export: Top right corner: replace "PER" with the PER logo


x/net/http2: Transport Proxy field isn't always respected on TCP level

What version of Go are you using (go version)?
go1.10.2 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="..."
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="..."
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10.2/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10.2/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_j/6wqhr8r57g34l96w0vt17bww0000gp/T/go-build671837991=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I build an HTTP/2.0 server and 2 TCP proxy servers. Then I executed 20 concurrent requests (with an HTTP/2.0 transport) to the server, alternating the proxy servers to go through. The transport has been configured to disable keepalives.
The server prints out the http.Request.RemoteAddress of the request and it's ID. (The ID determines which proxy server should be selected: odd or even number). So we can see if a connection has been reused or not.
The code can be found here: https://play.golang.org/p/bak7OfuefOI
However it won't run in the playground, since the "golang.org/x/net/http2" package is used.
What did you expect to see?
When commenting out the http2.ConfigureTransport, the output becomes:
Address: <IP_ADDRESS>:49934 - ID: 2
Address: <IP_ADDRESS>:49936 - ID: 1
Address: <IP_ADDRESS>:49932 - ID: 5
Address: <IP_ADDRESS>:49937 - ID: 13
Address: <IP_ADDRESS>:49933 - ID: 4
Address: <IP_ADDRESS>:49938 - ID: 3
Address: <IP_ADDRESS>:49951 - ID: 8
Address: <IP_ADDRESS>:49935 - ID: 0
Address: <IP_ADDRESS>:49949 - ID: 7
Address: <IP_ADDRESS>:49941 - ID: 9
Address: <IP_ADDRESS>:49940 - ID: 12
Address: <IP_ADDRESS>:49946 - ID: 18
Address: <IP_ADDRESS>:49939 - ID: 19
Address: <IP_ADDRESS>:49943 - ID: 10
Address: <IP_ADDRESS>:49942 - ID: 14
Address: <IP_ADDRESS>:49944 - ID: 16
Address: <IP_ADDRESS>:49948 - ID: 15
Address: <IP_ADDRESS>:49945 - ID: 17
Address: <IP_ADDRESS>:49947 - ID: 11
Address: <IP_ADDRESS>:49950 - ID: 6

Which means every request was done through it's own connection. Nothing has been reused. This was what I expected to see for HTTP/2.0 as well.
What did you see instead?
This is the output of the program:
Address: <IP_ADDRESS>:49910 - ID: 12
Address: <IP_ADDRESS>:49910 - ID: 15
Address: <IP_ADDRESS>:49910 - ID: 9
Address: <IP_ADDRESS>:49910 - ID: 14
Address: <IP_ADDRESS>:49910 - ID: 5
Address: <IP_ADDRESS>:49910 - ID: 13
Address: <IP_ADDRESS>:49910 - ID: 7
Address: <IP_ADDRESS>:49929 - ID: 11
Address: <IP_ADDRESS>:49920 - ID: 16
Address: <IP_ADDRESS>:49920 - ID: 19
Address: <IP_ADDRESS>:49920 - ID: 17
Address: <IP_ADDRESS>:49920 - ID: 8
Address: <IP_ADDRESS>:49920 - ID: 6
Address: <IP_ADDRESS>:49920 - ID: 0
Address: <IP_ADDRESS>:49920 - ID: 10
Address: <IP_ADDRESS>:49920 - ID: 4
Address: <IP_ADDRESS>:49925 - ID: 18
Address: <IP_ADDRESS>:49925 - ID: 2
Address: <IP_ADDRESS>:49921 - ID: 3
Address: <IP_ADDRESS>:49927 - ID: 1

Only a few connections have been setup and reused over different requests. For example requests with ID 12, 15, 9, 14, 5, 13 and 7 all went through the same connection, which means they used the same proxy server as well, even though the odd ID's should use a different proxy server from the even ID's.
So even though a proxy server was assigned on HTTP level, through the http.Transport.Proxy, it isn't always respected on TCP level, since a previous connection gets reused.

Try to unmute errors:
	proxy1URL, err := url.Parse("<IP_ADDRESS>:8001")
	fmt.Println(err)

The output is:
parse <IP_ADDRESS>:8001: first path segment in URL cannot contain colon
proxy1URL and proxy2URL is nil.
If Proxy returns nil, no proxy is used.

You are right, my bad. There seems to be an issue with the proof of concept. The issue is real though. I'll look into fixing the example.

@vagruchi The issue has been fixed in the version above.

I think there are still problems with the proof of concept. Using env var GODEBUG=http2debug=1 shows a entries like:

read tcp <IP_ADDRESS>:54530-><IP_ADDRESS>:8001: use of closed network connection
read tcp <IP_ADDRESS>:54532-><IP_ADDRESS>:8002: use of closed network connection

For context, please see this discussion.
The behavior you say is unexpected of connection reuse is actually happening when there is not an error yet - before the connections are getting closed due to the above error. So I expect that when the error is fixed, you'll see a lot more reuse. I encourage you to fix the error to confirm, but I think the underlying problem is more clearly highlighted by https://github.com/golang/go/issues/25793.

Sounds like this bug has timed out and might be a bug in the repro. Or it might be a duplicate of #25793. In any case, closing in favor of #25793.


Love Ant.D!

Are you using Ant.D for Rekit Portal? It looks amazing! Would you be willing to consider adding ant.d as a plugin for Rekit? Hate to ask for more when what you've already put together looks so great!
Congratulations on your work :)

Thanks @loganpowell :) I'm also indeed a And.D fan.

Thought so! Any tips/advice for how best to use ant.d with Rekit? Should we follow the Use in create-react-app workflow/process?

No dice on incorporation of ant.d?

Oh, sorry @loganpowell , I thought I answered your question.
Actually a Rekit app is just a normal React project, no special config needed. You can just follow the guide on https://ant.design/docs/react/getting-started . Or you can also refer to Rekit portal for the usage.

Great. So, just update the webpack.test.config.js file or the webpack-config.js file?

Also, following this tutorial (step 4) it looks like webpack-config.js is using webpack1 syntax... should I be using that? I.e.:
// webpack*.config.js
const path = require('path');
const fs  = require('fs');

const lessToJs = require('less-vars-to-js');
const themeVariables = lessToJs(fs.readFileSync(path.join(__dirname, './ant-theme-vars.less'), 'utf8'));
...
// webpack2.config.js
module: {
  rules: [
    ...
    {
      test: /\.less$/,
      use: [
        {loader: "style-loader"},
        {loader: "css-loader"},
        {loader: "less-loader",
          options: {
            modifyVars: themeVariables
          }
        }
      ]
    }
  ]
}
//webpack1.config.js
module: {
  loaders: [
    {
      test: /\.less$/,
      loader: 'style-loader!css-loader!less-loader',
      query: {
        modifyVars: themeVariables
      }
    },
  ...
  ]
}

HI, has anyone added antd to rekit?
Amazing work BTW.

@fgiarritiello Since Rekit app is based on create-react-app, you can follow https://ant.design/docs/react/use-with-create-react-app to add antd to a Rekit project. The only thing you need to be aware of is enable javascript for less-loader if you want to compile antd style locally:
{
            test: /\.less$/,
            use: [
              {
                loader: 'style-loader',
              },
              {
                loader: 'css-loader',
                options: { sourceMap: true },
              },
              {
                loader: 'less-loader',
                options: { sourceMap: true, javascriptEnabled: true },
              },
            ],
          },

As I know antd is widely used in Rekit projects.


Add the efforts in the project tab on dashboard

Is your feature request related to a problem? Please describe.

In the dashboard, we just show the list of projects of the particular user

Describe the solution you'd like

Make it a table structure and show the individual person's hour and the team's effort in the project dashboard section.

closing as feature has been implemented


Unable to add additional cluster members even though the default admin and other users exists

v2.6-head 6cb1847 8/11 5pm

Set up HA Rancher cluster
Create a standard user test1
Log in as test1
Create a cluster
Unable to add any other members to the cluster even though the default admin exists as well as other standard users

Note: I'm also unable to add in project members with the same issue.
I'll be filing a separate issue for showing the "System account" user.

This was happening due a perceived lack of users to add to (aka response of v1/mgnt users only ever returning themselves). This feature was recently removed in https://github.com/rancher/dashboard/pull/3800 and won't come back until https://github.com/rancher/dashboard/issues/3813 is resolved in 2.6.x.

Tested on rancher/rancher:master-head b2a2948
As standard user I was able to add another standard user as Member of the Cluster on existing RKE1 and RKE2 clusters:

It is possible to assign an user when defining a new RKE2 cluster (prior bootstrap):

But it is impossible to assign another user when defining a new RKE1 clusters (prior bootstrap) in iframe as standard user,  admin is allowed to do it. For this I opened extra issue https://github.com/rancher/rancher/issues/34230
The issue with assiging Members to a new or existing project is solved:

Close.


Cursor-based pagination not working for usePublications

Describe the bug
Cursor-based pagination doesn't seem to be working for the usePublications hook. hasMore is always false and if I try to fetch using next I get the error Unable to merge incoming cursor-based pagination result
To Reproduce
https://codesandbox.io/s/relaxed-cache-7jqnw3?file=/src/LensFeed.tsx
Expected behaviuor
A clear and concise description of what you expected to happen.
If using the React bindings, what is the essence of your React app?

[x] React Web App
[ ] React Native

Version of the packages you are using
"@lens-protocol/react": "1.2.0-next.2",
Additional context
NA

Thank you so much for a nice repro example. I can also see it's happening in our web-wagmi example app (https://github.com/lens-protocol/lens-sdk/blob/main/examples/web-wagmi/src/publications/UsePublications.tsx) and seems to be a regression we introduced recently while adding the way to fetch previous items.
Will look into it with the team tomorrow and push a fix 🌿 .

I've spent some time today on investigating this but I didn't find the issue.

issue is present in production setting, but not in development or sandbox (weird)
createPublicationsFieldPolicy calls cursorBasedPagination that sets correctly moreAfter field, it is present in apollo cache and I see it when read/merge functions all called from type policy
but apollo query when called as a hook Apollo.useQuery returns paginated result without additional @client only fields
any ideas?

@melissafzhang - we identified the issue and released a patch as v1.1.1, could you please try and let us know if it works for you?
npm install<EMAIL_ADDRESS>

@krzysu thanks! Looks like it's fixed. Another small issue I noticed was that loading never changes to true when calling next. Is that intended?

@melissafzhang its intended behaviour to not change loading while fetching more data (either with next or prev).
The loading flag only indicates the initial request to fetch the data and folks often use it in a following way:
function Publications() {
  const { loading, data } = usePublications(...);

  if (loading) {
    return <PublicationsSkeleton />
  }

  return data.map(publication => <Publication publication={publication} />);
}

Changing the flag in the above scenario would cause the UI to flicker with the loading indicator while the next/prev items are fetching which we can both agree is quite a bad UX 😄.
In your specific case unless there is some strict UX requirements to have load more button i would go with an infinite scroll which significantly reduced cognitive overhead on the user when consuming any sort of lists (feed/publications/etc).
Please have a look for inspiration inside our web-wagmi example where we use infinite scroll approach and have already premade hook (https://github.com/lens-protocol/lens-sdk/blob/main/examples/web-wagmi/src/hooks/useInfiniteScroll.ts).
Let me know if that's helpful 🙏


Calc's "exec" function could have special processing for our "utilities" tools

Suggested implementation:

Generate or maintain a special ".properties" file with a list of all our scripts (such as "c", "gz", "gmt", "hash", etc.) along with their implementing classes and any flags or special things needed
Recognize inside the "exec" function when one of these scripts is going to be executed
Instead of doing the script, invoke the class somehow (could use the same ClassLoader idea as Tester, once that's implemented)
Take care to switch stdin, stdout, and stderr in this case to capture them

Not only would this be faster, but would basically serve to make these tools a "built-in" part of Calc (kind of like the existing issue about making "Lists" functionality part of Calc).

Actually, with the right data structure, we could actually generate all the wrapper scripts on demand in the build without having to keep them in source control. The same data structure could then be consumed inside Calc to drive the special processing here (that is, finding and invoking the right class with any special arguments).

Here's an idea:

Non-Windows ("bash") script template, if a particular value is null, then the whole line is omitted
Windows (".bat") script template
JSON or XML structure with key:value pairs
Then use JavaPreProc to process the templates into files
Generate from "scripts" directly to the UTILITIES_HOME location

Things that are used in the scripts:

CLASS_NAME (always)
CMD_ARGS (a few places)
JVM_ARGS (uses substitution for @@@JVM17+@@@ token) (just once)

So, the hardest thing is what mechanism to use to do the template substitution. Calc can read JSON, but not XML. Probably Ant could somewhat deal with XML, but not sure, JSON probably not. If we write a Java program, it could do anything, but simplest would be to use the JSON API. But, at that point it would be a lot simpler just to write a Calc script to do it (because we'd need to build all the Java code first anyway, and then Calc would be just as available as any other Java program).

The remaining tasks are:

Generate the properties file from "makeScripts" (need another command-line flag for which operation to do)
Add the properties file to the "utilities.jar" distribution
Inside "exec" processing, load the properties if not loaded, then check the program name to see if it exists in the properties map
If so, then use the same classloader technique as Tester and invoke the "main" method of the class with the arguments and other flags
Haven't figured out the format for the properties file yet, though.

Maybe:
cg = info.rlwhitcomb.calc.Calc,-gui

Something like that.


GLES2 batching - Add UV precision adjustment for tilemaps

Scaling tilemaps can cause border artifacts around the edges of tiles. This has been traced to precision issues in the GPU. This PR adds an adjustment to allow a minor contraction of the UVs of rects in order to compensate for the incorrect classification of texels across the UV border.
Fixes #39096.
Notes

See the issue for a detailed description of the problem and approaches to solving it
This problem seems less likely to occur using the old uniform draw method. However it still exists - border artifacts occur when pixel_snap is off even with uniform draw. Also there are reports of this occurring pre-batching.
This problem is very clear with either the nvidia_workaround, or the batching draw methods, which are standard drawing methods passing regular vertices.
Other engines may deal with this problem by adding a single pixel border around tiles on tilemaps. While it may be worth adding this capability, we can't rely on this for backward compatibility reasons.
The contraction may lead to a corresponding decrease in the size of the edge texels at high magnifications. This is undesirable, but may be a cost of dealing with this problem.
There is a setting to enable / disable the feature. I did consider only having it on with pixel_snap, however the problem occurs with pixel_snap off as well so it could benefit from independent control.
The offset is applied only when using unfiltered textures (i.e. GL_NEAREST)
I have used the new 'batching' common project setting, in accordance with #39068 (moving common batching settings into a batching folder, rather than gles2) - these adjustments will also be needed in GLES3.

Defaults
After further thought I decided to add a separate on / off setting and amount setting, and the default is off. There could be an argument for having it on as default - I'll leave this to the reviewers.
Padded tilemaps
I am also investigating adding the ability to Godot to automatically create and use padded tilemaps from unpadded source tilemaps. Although this may add one more (possibly automatic) step to the tilemap creation process, it may be the only way to solve the texel precision problem in an efficient manner with no squashing of edge pixels. However it will not be backward compatible, and would have to be applied to all atlased artwork (including animated sprites), so the technique in this PR would probably still be needed.

I just wanted to confirm that this patch has the same effect on my device as in the intermediate patch evaluated here:
https://github.com/godotengine/godot/issues/39096#issuecomment-636899670
(the one using max_join_item_commands = 45)
Great work! :partying_face:

I just wanted to confirm that this patch has the same effect on my device as in the intermediate patch evaluated here:
#39096 (comment)
(the one using max_join_item_commands = 45)

Yes, the default value of 45 is straight from your experiments. :+1: However it is still possible it may need changing to a slightly larger figure after more testing, because the value may be dependent on the relative tile and tilemap dimensions.

Looks good.
With this in place, can we remove the hack in canvas.glsl?

I did a lot of thinking about that. The original version of this PR actually had an offset to correct for the hack in canvas.glsl, but then I realised that if the hack was actually doing a useful job (giving an absolute offset and helping to classify texels within) it might still be needed. Also the shader hack works on all primitives, and this UV contraction is only working on rects.
At this stage I'm not absolutely sure we can remove the shader hack - without having been able to replicate the other effect myself, I can't confirm or deny whether it is also solved by UV contraction, so I've left it as is for now.
I'm actually kind of amazed the other effect happens at all, given that precision issues should be identical across a horizontal / vertex line, IF there is no rotation. Even with a rotation I'd expect there just to be a single break in lines, not a jittering effect. I.e. precision errors should be systematic rather than 'random'.

Hope this can fix my issues I had. Otherwise I'll put a polygon 2d behind my tiles 😆
Good work Lawnjelly


How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[x] The installer meets the above requirements

Please provide the following information
Download Page Url:https://wincdemu.sysprogs.org/download/
Publisher: Sysprogs
Package Name: wincdemu
Description: Emulator of CD images
Package Version: 4.1
Installer Url: https://objects.githubusercontent.com/github-production-release-asset-2e65be/36779968/ad433180-20a7-11e9-9a2a-544a6987b52c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241013%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241013T095028Z&X-Amz-Expires=300&X-Amz-Signature=1274d904acf02b94721aad45bcf9c6a7d84ca219c4d2d0b539db3e5c23223fd0&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B filename%3DWinCDEmu-4.1.exe&response-content-type=application%2Foctet-stream

A driver installation window pops up during installation:

Unfortunately this kind of window is unskippable, and unattended installation doesn't skip driver installation.

[Policy] Interactive-Only-Installer


chore: bdd-spring-1582330998 to 0.0.1

chore: Promote bdd-spring-1582330998 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Add NU5128 docs

Page 1/5 for https://github.com/NuGet/Home/issues/8439

Docs Build status updates of commit 6b0ebbc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/Errors-and-Warnings.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5128.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 27b688e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/TOC.md
:white_check_mark:Succeeded
View

docs/reference/Errors-and-Warnings.md
:white_check_mark:Succeeded
View

docs/reference/errors-and-warnings/NU5128.md
:white_check_mark:Succeeded
View

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

@rrelyea This repo is set up to dismiss approvals when a new commit is pushed. Can you take another look please?
@donnie-msft

Should we warn the user on Install as well? If someone doesn't honor this warning, and pushes to nuget.org, a consumer should still get some information about the TFM mismatch.

We can discuss this, but it's out of scope for this docs PR.


Update CI browser and deployment criteria

Use the latest stable releases of Firefox and geckodriver.
Update the PyPI deployment criteria so it doesn't try to upload for both the core and needlePython 3.6 workers.

Codecov Report

Merging #225 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #225   +/-   ##
=======================================
  Coverage   89.22%   89.22%
=======================================
  Files          10       10
  Lines         919      919
  Branches      152      152
=======================================
  Hits          820      820
  Misses         64       64
  Partials       35       35

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 216effb...be78a64. Read the comment docs.

@michaelyoungstrom Yeah, we still have this nightmare of a process for that: https://openedx.atlassian.net/wiki/spaces/TE/pages/814022796/How+to+upgrade+browser+versions


As/emulate sample with nn hmc

Adds an emulate-sample example using a neural network and hamiltonian monte-carlo. Enzyme is used for autodiff. The example runs in about 2 minutes on a local laptop. This is done as a separate directory and is meant as a discussion point rather than user-friendly "emulate sample" framework (which would better go in the CalibrateEmulateSample package)

Does the example produce a posterior eestimate? What is it?

Epic! What do the bimodal results mean (parameters 1 and 5). Noise or something meaningful?

I think it's just noise. More sampling might suffice to get rid of it (or perhaps a better neural network surrogate). I don't expect this to be the "end" of the story, but rather a starting point for further work

Here it is with 100,000 samples:

and the regularization distribution (basically the prior)

How expensive is it? Can we experiment changing the prior/regularization distribution?

The likelihood (no regularization)

It runs in a few minutes. It's easy to change

The likelihood (no regularization)

Note that these are the marginal distributions as given by the neural network (we aren't see the higher order joint pdf structures with these figures

For reference I think these are the names of the parameters:
julia> eki.inverse_problem[1].free_parameters.names
(:CᵂwΔ, :Cᵂu★, :Cʰⁱc, :Cʰⁱu, :Cʰⁱe, :CʰⁱD, :Cˢ, :Cˡᵒc, :Cˡᵒu, :Cˡᵒe, :CˡᵒD, :CRi⁰, :CRiᵟ, :Cᵘⁿc, :Cᵘⁿu, :Cᵘⁿe, :CᵘⁿD, :Cᶜc, :Cᶜu, :Cᶜe, :CᶜD, :Cᵉc, :Cˢᵖ)

or
1 CᵂwΔ
2 Cᵂu★
3 Cʰⁱc
4 Cʰⁱu
5 Cʰⁱe
6 CʰⁱD
7 Cˢ
8 Cˡᵒc
9 Cˡᵒu
10 Cˡᵒe
11 CˡᵒD
12 CRi⁰
13 CRiᵟ
14 Cᵘⁿc
15 Cᵘⁿu
16 Cᵘⁿe
17 CᵘⁿD
18 Cᶜc
19 Cᶜu
20 Cᶜe
21 CᶜD
22 Cᵉc
23 Cˢᵖ

Couple thoughts: parameters 1 and 2 probably don't matter much. Parameter 10 (has to do with diffusivity of TKE for low Ri) seems sketch, since the prior is up against the upper bound. I'm surprised that parameters 8-9 are not more well constrained, I think they are crucial (along with 11) for shear mixing (together they determined the model's critical Ri). It's nice to see constraint on parameter 18, which controls tracer mixing during convection.

The updated plot now looks like the following for convenience:


forcing output as webp or jpeg based on config

i found your image filter module code to be the most appropriate for my cause. Trying to build on top of it and add the functionality of forcing output in a particular format. Having some issues with the code.
Would love support.
Thanks

It does png to jpeg right now if you pass in quality < 96, example:
https://nirklars.files.wordpress.com/2015/02/exomoon_of_binary_red_dwarfs__2_by_nirklars-d86asrr.png
http://imageproxy.niiknow.org/rx/q95/https://nirklars.files.wordpress.com/2015/02/exomoon_of_binary_red_dwarfs__2_by_nirklars-d86asrr.png
GIF is kind of tricky.  It's better to be JPEG if it's a photo; otherwise, GIF provide better compression.  "For a single photo frame, JPEG is a much better format both in quality and file size."  I would recommend using a service like cloundinary for anything else:  http://cloudinary.com/blog/animated_webp_how_to_convert_animated_gif_to_webp_and_save_up_to_90_bandwidth
Also, the problem, as you have face yourself, is that  this project is a hack of the original ngx_image_filter.  It's also using libdg which has it's own issues.  I would recommend doing anything more using ngx lua and magick/libvips.

firstly, thanks for the response.
In my use case i have to only deal with photos, and only relevant formats are png, jpeg and webp.
as webp still has limited support i want the request to be able to specify whether it wants a webp or a jpg of the image. While rendering it will force that type automatically.
Attaching my version of the imagefilter
ngx_http_image_filter_module_jpeg_webp_flag.txt
you should be able to do a simple diff to see my changes.
** Issue i am facing currently is that when asking for a webp image the image is green instead of its natural color

Just updating you. The code works fine. Was some issue in my libgd setup. On a proper set up it was returning the webp images as expected.
Still, Please look at the code i will submit a pull request if you want to add the functionality to your code.
Thanks.

Looks good, I was thinking something along the line of:
image_filter_output  string"jpg|jpeg|png|webp"

I have updated the code to support this feature.
Original: http://img08.deviantart.net/2c6f/i/2013/082/a/c/png_grass_by_moonglowlilly-d5z1o5t.png
Force Jpeg: http://imageproxy.niiknow.org/rx/200,ofmt_jpg/http://img08.deviantart.net/2c6f/i/2013/082/a/c/png_grass_by_moonglowlilly-d5z1o5t.png
Enjoy!

I added nginx directive image_filter_output
Update the server.conf to add output format/ofmt parameter.   This feature remove the old quality < 96 to force jpeg since it's no longer applicable.

Thanks for the feature add :). I was half way through updating of the image_filter in a similar fashion.


Refresh the Fee-Bump Transaction section

Get up to $100 worth of XLM
What problem does your feature solve?
We have examples for most Stellar functions, but not for fee-bumps. We'd like to ensure this section also has an example.
What would you like to see?
Create a fee-bump example. Make sure the content in this section is still correct. https://developers.stellar.org/docs/encyclopedia/fee-bump-transactions

@briwylde08 Please assign me this issue

You got it!

Yes i have submitted the form


feat: Added German translation

Description

Fixes #
Added German translation
Type of change

[ ] Bug fix (added a non-breaking change which fixes an issue)
[x] New feature (added a non-breaking change which adds functionality)
[ ] Updated documentation (updated the readme, templates, or other repo files)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

[ ] Tested locally with a valid username
[ ] Tested locally with an invalid username
[ ] Ran tests with composer test
[ ] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings

Screenshots

Thanks to a recent PR, we can now translate the word "Present" into multiple langauges. If you could help out by pulling the latest changes and translating this additional phrase, that would be much appreciated!
Thanks again for your contribution to the project!

Already opened a PR #250!


Adding dotenv config, unit-testing framework

@maruthi-adithya Review the changes and lmk. Mostly only moving around things / cosmetic changes/ naming and minor refactoring based on stuff I see in other popular repos.
Added a single unit test as of now, WIP: adding unit tests for others.
Also added a dotenv module, that pulls in a file called .env, which will be a central place to store any deployment or application config (gitignored)

@Shriram-Balaji Can you add a check for the Input String. If it is not valid, return 400. Also, if there is any procedure to write tests, add to the documentation.

@maruthi-adithya added http error handling, removed utils.splitHostPort and used inbuilt method instead. lmk after review.


Retrieving the authenticated user causes nginx error

Hi,
I have been assigning the authenticated user to a property using the constructor like so:
`    protected $user;
public function __construct()
{

    // Fire up the base controller
    parent::__construct();

    // Authenticated user
    $this->user = $this->auth->user();

}`

The parent class contains no reference to the auth user.
But since I updated yesterday (10/03/16), this method started killing the php-fpm process with the following error:
recv() failed (104: Connection reset by peer) while reading response header from upstream
I have worked around the issue by adding the user to the methods that require the authenticated user.
I'm on:
Nginx 1.8.1
PHP 5.6
Using the oauth2 bridge from "lucadegasperi/oauth2-server-laravel": "5.0.*@dev"
Thanks.

If you're using the Helpers trait then you can use $this->user already in your methods.
I'll look into this, but I've been against folks trying to pull the authenticated user in the constructor anyway since it fires the authentication business a little earlier then it's usually fired.


Creator crashes when duplicating card with array component in bf-tests > twenty-card

Try duplicating 2 Diamond. Crashes with:
phet-lib-main.js:32 Uncaught Error: Assertion failed: Reference component must be in the list of model components
    at window.assertions.assertFunction (phet-lib-main.js:32:51)
    at eval (ViewComponent.js:83:17)
    at Array.forEach (<anonymous>)
    at DescriptionViewComponent.setReferenceComponentNames (ViewComponent.js:82:29)
    at new ViewComponent (ViewComponent.js:47:10)
    at new DescriptionViewComponent (DescriptionViewComponent.js:11:5)
    at DescriptionViewComponent.fromStateObject (DescriptionViewComponent.js:19:12)
    at eval (ProgramViewContainer.js:165:100)
    at Array.forEach (<anonymous>)
    at ProgramViewContainer.load (ProgramViewContainer.js:164:22)

Also, program duplication involved a project with an array component.

Ah, I think this actually might have to do with the reference feature, and may not involve the array component (though that may have other problems).
Ran into this in a project (bf-tests > multimodal-book) when trying to duplicate a project. One of the components (coverText) in the views is a reference instead of dependency. Crashed Creator.

Can reproduce easily by duplicating the lone program.

OK I think this should be fixed in the dev branch. Unit tests coming up.

OK, I merged this into the main branch. I tested by copying a program with a reference connection in a test project. I added some unit tests for this case. Then I created a copy of bf-tests/twenty-card jg-tests and copied the 2 Diamond program and have a reasonable looking copy with no crash.
Closing.


Kotlin jvm plugin adds to 'Created during configuration' for build scan

Current Behavior
Applying alias(libs.plugins.jvm) adds to 'created during configuration' for build scan.
This also happens for both the java-library plugin, and the application plugin
Expected Behavior
A default jvm plugin should not be adding to configuration time, particularly one is that designed for designed - where the configuration time being incurred is happening due to compileJava, and not even compileKotlin.
As per build scan, we can see the below:
Configuration time	0.304s	(0.306s total)
Plugin application	0.189s	(0.191s total)
Collection callbacks	0.098s
Project.afterEvaluate (1st)	0.007s
Project.afterEvaluate (18th)	0.006s
Project.afterEvaluate (20th)	0.002s
Project.afterEvaluate (21st)	0.002s
Gradle.projectsEvaluated (1st)	0.000s
Gradle.projectsEvaluated (2nd)	0.000s
Project.afterEvaluate (2nd)	0.000s
Project.afterEvaluate (3rd)	0.000s
Project.afterEvaluate (4th)	0.000s
Project.afterEvaluate (5th)	0.000s
Project.afterEvaluate (6th)	0.000s
Project.afterEvaluate (7th)	0.000s
Project.afterEvaluate (8th)	0.000s
Project.afterEvaluate (9th)	0.000s
Project.afterEvaluate (10th)	0.000s
Project.afterEvaluate (11th)	0.000s
Project.afterEvaluate (12th)	0.000s
Project.afterEvaluate (13th)	0.000s
Project.afterEvaluate (14th)	0.000s
Project.afterEvaluate (15th)	0.000s
Project.afterEvaluate (16th)	0.000s
Project.afterEvaluate (17th)	0.000s
Project.afterEvaluate (19th)	0.000s
TaskExecutionGraph.whenReady	0.000s
Total tasks created	1
Created during configuration	compileJava
Context (optional)
For a more complex build scan here: https://scans.gradle.com/s/ia5newdt6kveq/performance/configuration, I'm trying to accomplish
Created during configuration
0
Created during task execution
0
Created during task graph calculation
0
and this is preventing me from doing so.
Steps to Reproduce

Run gradle init project with the following options:

'/gradlew init'
Select type of project to generate:
1: basic
2: application
3: library
4: Gradle plugin
Enter selection (default: basic) [1..4] 4
Select implementation language:
1: Groovy
2: Java
3: Kotlin
Enter selection (default: Java) [1..3] 3
Select build script DSL:
1: Kotlin
2: Groovy
Enter selection (default: Kotlin) [1..2] 1
Project name (default: gradle-8-6-test-project):
Generate build using new APIs and behavior (some features may change in the next minor release)? (default: no) [yes, no] no

Then run './gradlew test'

Gradle version
8.6
Build scan URL (optional)
https://scans.gradle.com/s/mggkzeepyjwtw/performance/configuration?help=tasks&openScriptsAndPlugins=WyJjb2RlLXVuaXQta290bGluIl0
Your Environment (optional)
No response

The issue is in the backlog of the relevant team and is prioritized by them.

Awesome, do you have a link for the bug that publicly details it? I'd just like to follow along/be aware of the specific details if possible.

Considering configuration avoidance is being preached on the gradle site, can I also suggest:

Having some form of test infrastructure around the examples you provide
Test things like configuration cache, configuration avoidance etc within them

I have experienced a number of issues related to performance which very easily could have been avoided by basic integration testing/functional testing.

Awesome, do you have a link for the bug that publicly details it?

This issue IS the issue, you opened it:)

Having some form of test infrastructure around the examples you provide

We do test our example to be valid. If you discovered some issues, please report them.

Test things like configuration cache, configuration avoidance etc within them

We do have integration tests for those features. They may not cover 100% of the examples, though. Again, If you discovered some issues, please inform us.


add mle new -> mle kaggle pipeline

refer

https://github.com/MLSysOps/MLE-agent/pull/98/files#diff-45ae98bf9e7ae664a78357b55052f959738b29fb4377ab2aa53070060ff5f45c

Software execution information
MLE-agent version:
System OS version:
Problem description
Steps to reproduce the problem
Expected behavior
Other information
Things you tried, stack traces, related issues, suggestions on how to fix it...

I have removed the kaggle worflow in this commit, if you want, you can add it back when the function is ready


Keys now trigger actions on hold, not press

Hey, not sure if this is on bevy_egui's end or if I'll have to chase it through egui. I updated https://github.com/ndarilek/bevy_egui_a11y to work on Bevy 0.6. Formerly, pressing tab moved focus once. Now it seems to move focus rapidly.
It seems like some of these events are being triggered on hold rather than just on press. Focus should only move once when I press tab.
Thanks!

Sorry for the double post, but it just occurred to me that this might be happening on click as well (I.e. enter/space on an item may be generating multiple click events, and it should only generate one on press.) I'm getting lots of crashes, one of which involves multiple state transitions per frame. It occurs to me that this might be caused by multiple clicks generated when enter/space is pressed on an item, thus triggering multiple state transitions per frame when it shouldn't.
Thanks for the help so far.

Hi! There were changes in bevy_egui 0.6.2, which made bevy_egui listen for each keypress event that the system fired. The motivation for it was the following: imagine, you're typing something in a text field and decided to remove several characters by holding BACKSPACE. Before this change, you'd remove only 1 char, no matter how long you'd hold it, now bevy_egui will remove more than 1 character if you hold the button long enough, which is consistent with the majority of applications with UI. If you hold TAB in Google Chrome, for instance, you'll observe the same behaviour: the focus will be moved more than once.
So I'd say that this functionality works as intended.
I've a couple of questions related to your crashes though:

Is it bevy_egui causing the panic or your application? I couldn't reproduce it by holding TAB or SPACE while being focused on different widgets.
Do you receive several events immediately during the same frame (even if you barely touch a button)? What is your desktop environment? On both Windows and macOS, which I use, there are configurable "Delay until repeat" and "Key repeat" settings. I believe every DE should support those and have sane defaults for them to prevent firing several keypress events during 1 frame.

Hello,
I definitely agree with keys continuing to trigger many actions when held. Backspace should of course clear a text edit field if held down long enough. And I can confirm that focus does indeed repeatedly move when holding down tab in Chrome.
But are we absolutely certain that a) Bevy's key repeat rate is tied to that of the OS vs. managed itself and b) that repeat rate is by default equal? Seems to me like there are different expectations for aa UI which needs to debounce key input a bit, vs. for a game that needs to consume it as quickly as possible.
To be clear, I'm not experiencing any crashes or panics. Nor am I claiming that I'm seeing multiple events per frame. It just seems like I have to tap tab way more quickly in my game to move focus a single spot, vs. in my OS where I don't have to be quite as fast. And while I respect and appreciate that I can change the key repeat delay, I don't think asking my players to do this will work out.
That said, I'm not sure what the best solution here might be. I'll try running my menus on a slower fixed timestep to see if that helps. I'd suggest slowing everything down, but that might make in-game UIs more sluggish too. Focus transitions definitely feel way too twitchy, though. I'd be interested in whether the same is true for sliders as well, though those would be harder for me to test since change events aren't propagated. But I think some sort of debounce somewhere makes sense.

But are we absolutely certain that a) Bevy's key repeat rate is tied to that of the OS vs. managed itself

Yeah, I believe this statement is true. Input events are handled by winit, and winit itself listens for OS events to handle keyboard input. There's simply no other source of that events. If we imagine that Bevy had its own rate of emitting the events, and it depended, let's say, on the framerate, it would behave really unreliably and in the worst case would lead to inconsistent or missed inputs. Such behaviour would require writing some additional logic and just makes less sense.
Btw, the fact that Bevy simply proxies OS events is also quite easy to confirm:
https://github.com/bevyengine/bevy/blob/514754d6503b2416e5266a24b39c884ab5d90d2f/crates/bevy_winit/src/lib.rs#L299

b) that repeat rate is by default equal?

Sorry, could you clarify this? Equal to what exactly? Like, whether it's constant and doesn't grow linearly, for instance?

It just seems like I have to tap tab way more quickly in my game to move focus a single spot, vs. in my OS where I don't have to be quite as fast.

This inconsistency might be related to the way you're handling the inputs. Are you iterating through all the events with EventReader<KeyboardInput> or simply using Input::pressed? The former depends on the OS repeat rate, while the latter is indeed affected by the framerate.

I've poked this a bit more, and I think there were a few things going on that made this look like a problem. Having fixed the other issues, this appears to have gone away.
Closing for now. If I'm still experiencing oddness, I'll open a new issue with more rigorous analysis.
Thanks a bunch, and sorry for the noise.

No worries, glad you were able to figure out what was the problem!


In Generated RAML we need handle exceptions

Hi,
In Generated RAML we want to add some exceptions.
Please check below snapshot

For each API we want to handle above scenario is there feasibility to add ?
If it is already present then it is superb.
.

Currently this is not supported. Do you want to add this manually (should be doable via annotation) or do you want the plugin to infer it from the code?


Data structure for quadratic Hamiltonians

The InteractionOperator class provides a convenient matrix represention of fermionic operators that conserve particle number and spin. However, there is another class of operators that I'd like a convenient matrix representation for: general (not necessarily particle-number-conserving) quadratic Hamiltonians.
There are several ways one could represent such Hamiltonians, and I think the most convenient (for me, right now) is in the Majorana basis:
H = i/2 * s^T * A * s + constant
where s is the vector of Majorana operators and A is a real antisymmetric (2n) x (2n) matrix, where n is the number of sites.
I propose that we create a data structure similar to InteractionOperator, which stores the matrix A and the constant. Maybe we can call it QuadraticMajoranaOp. Actually, I already wrote some code for this, but I figured I would ask for people's thoughts before spending more time cleaning it up.
I haven't thought much about whether it would be better to have a more general data structure.

I also see a need for this. Along these lines, we may also want to implement InteractionTensor in a more general way at some point so that we can optionally support higher body terms. While these are unlikely to come up often for InteractionOperator, there are many reasons why one is sometimes interested in the 3-RDM, for instance, and thus should come up sometimes for InteractionRDM.

What if instead of one_body_tensor and two_body_tensor, we stored a dictionary called n_body_tensors? n_body_tensors[n] would be the tensor corresponding to n-body interactions, and n_body_tensors.keys() would contain the types of interactions that the object describes.

So, for instance, in your implementation my_tensor.n_body_tensors[3][3, 4, 5, 6, 7, 8] would correspond to the coefficient (if InteractionOperator) or expectation value (if InteractionRDM) of a^\dagger_3 a^\dagger_4 a^\dagger_5 a_6 a_7 _a_8. Right? That is a reasonable solution. Perhaps a little on the ugly side but it's at least "explicit" and fairly clear what is going on.
One thing I've been thinking about is that we could make a lot of OpenFermion cleaner by using get/set magic methods. Internally, we could implement the solution you mention but we could provide an exceptionally clean way to access elements by writing get and set methods so that one need only to type my_tensor[3, 4, 5, 6, 7, 8] and get would automatically see that there are 6 elements so you must be looking for the 3-RDM and then it returns the appropriate thing. But this might be over-engineering a bit. Either way, the solution you propose would be a reasonable start.
But another thing we might want to think about is whether to support sparse arrays. In a lot of cases where one is dealing with 3-body terms (for instance), those interactions will be sparse. But again, it probably makes sense to make the change you mention above before getting more fancy.
Finally, if one goes to the trouble of implementing this change, it might be a good opportunity to change the name of the class. I've never liked the names InteractionTensor/InteractionOperator/InteractionRDM.
Also, I want to loop @jarrodmcc and @ncrubin into this thread since those guys are working on projects that use these classes.

Maybe rename InteractionTensor to PolynomialOperator. From the fact that it stores the coefficients of a polynomial in the creation and annihilation operators (the n-body interactions correspond to the coefficients of monomials with degree 2n). Would double as a reminder that it's a special class of operators that have a polynomial-size description.

👍

I like @kevinsung's idea of generalizing all the various Interaction* objects relating to marginal type objects.  The object would have some notion of data (the actual scalar values associated with the RDM) and the 'type' of the RDM--namely, the number of creation/annihilation operators.  That way transformations to other objects via Jordan-Wigner and inverse Jordan-Wigner can query the operator 'type'.  This general object could represent an entire class of marginals--for example a_{p}a_{q}a_{s}^{\dag}a_{r}^{\dag}--the 2-hole-marginal.  I could even imagine defining an algebra for how to combine these objects (wedge product) and contract an object producing a different type order marginal.
For the non-particle conserving and BCS type Hamiltonians you'd want to keep a large number of these general tensor objects around in order to represent all the appropriate correlations in the system (see http://iopscience.iop.org/article/10.1088/1367-2630/14/2/023027/pdf).
I've used an object (called Tensor--great name--lol) with the above properties plus a way to index into matrices representing 4-tensors.  The reason for this extra basis feature is that you commonly
want to represent the RDM as a numpy 4-tensor (as it is currently done in OpenFermion) or as a matrix (more useful for computation).  The basis field let's you index from a geminal--if you are dealing with the 2-particle-RDM--to a matrix index using any bijection you would like to define.  My first pass at some code that does the above is in this gist.   I know this doesn't help with the name but I think it's a sufficiently general to capture InteractionOperator, InteractionRDM,  and PolynomialOperator.
Of course, this might be total overkill for your application.  Sorry for the long response.  I've found that an abstract definition of an RDM is pretty important for manipulating RDMs in a sane way without getting into all the details of how the elements vary contravariantly with respect to the one-particle basis-yadda-yadda-yadda....

@babbush I just submitted a PR with the changes we discussed. The get/set magics were already implemented and just needed to be updated. I only implemented the dictionary part; I did not change names or add sparse support. I also did not implement arbitrary n-body rotations. I think that in principle, the current functions for one- and two-body rotations can be combined into one function that can do rotations for arbitrary n. However, this is not a priority for me now, and I must admit that I don't really understand the indexing for two-body rotations. Also, when I work out the coefficients for the two-body transformation by hand, I'm off from the expression in the paper draft by some conjugates or transposes. I'm probably just missing something.