is it possible to get rtt(round trip time) of each request?

as im working on a game that timing is important to me, i need to know the latency of each request arrive to the server. i want to know is it possible in grpc?

Please direct general question like this one to https://stackoverflow.com/search?tab=newest&q=grpc is%3Aquestion
Your answer may already be there or you can post a new question if it's not.


Feature/project detail list

Splitting the PR and the tests up so we can visualize progress of this important piece. Tests needed ASAP.

Such tears of joy....

@ifandelse HAH! Awesome


Wfly 15978

https://issues.redhat.com/browse/WFLY-15978
This relies on: https://github.com/ironjacamar/ironjacamar/pull/754

hi @darranl could you please take a look whether such refactor makes sense? The goal is to be able to migrate EARs with IronJacamar configuration files to Elytron.

@tadamski sorry I missed the original request to review - are these changes still needed as we already have https://github.com/wildfly/wildfly/pull/15157 merged?

@darranl I think we can close it; I still need to do some cleaning here but I'm working on it in another branches currently


[MWPW-137551] MAX QA UI fixes

Fixed sticky promo bar text wrapping issue
Fixed PUF layout bugs
Resolves: MWPW-137551
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/pricing/business?lighthouse=on
After: https://mwpw-137551-1--express--adobecom.hlx.page/express/pricing/business?lighthouse=on

Codecov Report

Merging #344 (de16473) into stage (9461970) will decrease coverage by 0.03%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##            stage     #344      +/-   ##
==========================================
- Coverage   31.20%   31.17%   -0.03%
==========================================
  Files         122      122
  Lines       25059    25051       -8
==========================================
- Hits         7820     7810      -10
- Misses      17239    17241       +2

Files
Coverage Δ

...xpress/blocks/sticky-promo-bar/sticky-promo-bar.js
24.63% <ø> (+2.68%)
:arrow_up:

express/blocks/puf/puf.js
6.65% <50.00%> (-0.02%)
:arrow_down:

express/scripts/scripts.js
37.73% <75.00%> (-0.26%)
:arrow_down:

express/blocks/modal/modal.js
18.49% <60.00%> (-0.22%)
:arrow_down:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Fix bug where buttons programmatically selected off screen do not animate/highlight.

This should fix https://github.com/hightower/HTHorizontalSelectionList/issues/47

:+1:


[android_alarm_manager] Specfiy that targetSdkVersion and comileSdkVersion need to be 28

Fixes #27441

Shouldn't be necessary now since this is also necessary for AndroidX migration.

After it's been merged, I've noticed all steps appear as 1.
Would adding padding fix the issue?


Implement a special bootstrapper node

To connect to the QGB p2p network, an orchestrator will need at least 1 connection to an already connected node to get up and running.
Currently, we can use any kind of node as bootstrapper since all DHTs are open read/write. However, it would be better to have a specific node type that just listens for incoming P2P connections and share the peers list with them.
Also, these bootstrapper nodes will need to be able to connect between each other to have same QGB P2P network.

Also, this would make it easier to maintain a set of bootstrapping nodes for the wanted networks without the need of running a Celestia validator alongside.


Connection exception doesnt fail "patch"

If the patcher fails to connect to the patch server for manifest or files, the log shows exceptions
The patcher also green lights as successfull patch

Add serilog and logging to file
Write exceptions to logfile and notify user of location of logfile and that critical error occured
Report to discord link?


Port warning over 8992

This issue may be invalid, as I have yet to fully investigate, but I want to get this noted and recorded.
Quite a lot of folks are going to try out Keylime in a single VM (running everything over localhost).
If you do this, revocation won't work - yet there will be no warning of this.
For example when you start the verifier, it spawns a port on 8992 as does the agent, you then end up with the following:
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:8992            <IP_ADDRESS>:*               LISTEN      6780/python3
tcp        0      0 <IP_ADDRESS>:38562         <IP_ADDRESS>:8992          ESTABLISHED 6798/python3
tcp        0      0 <IP_ADDRESS>:8992          <IP_ADDRESS>:38562         ESTABLISHED 6780/python3

I believe this may cause an issue for revocation messages being broadcasted?
@nabilschear , am I making sense or onto something here, or is this misguided?

i think this is ok.  the verifier is the one listening, then the agent connects.  If revocations aren't working, there may be some other reason.  Overall, I did look at this for making the error handling a bit better for when zmq isn't working.  it's going to be more complicated, but perhaps for this reason and others, we should consider doing it.


Throw exception if the login response is not OK.

I need to add a test tomorrow to see why the Actor would not log Fetching the next IAM authentication token failed.

Ah, the initial nextToken fails here.


Remove constructor parameters from TimeAxisTickRenderer/ResourceAxisTickRenderer

Used generics as opposed to union types, feedback welcome on whether this is the way to go or not.

Generics approach looks good


sw-6838 remove flag so caseload shows #patch

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

Files
Coverage Δ

internal/server/environment_vars.go
68.42% <ø> (-1.58%)
:arrow_down:

internal/server/workflow_vars.go
92.20% <100.00%> (ø)

:loudspeaker: Thoughts on this report? Let us know!.


GitHub searches don't decrease

Using 2.3.0 with this command:

mmc-export -i "C:\Users\Madis\Desktop\Fabulously Optimized 3.8.3 MR.zip" -f Modrinth -o "C:\Users\Madis\Desktop" --exclude-providers CurseForge --modrinth-search loose

and every launch gives me this result again:

59/60 GitHub searches remaining, after that only cached results will be used.
To get more searches, sign in with mmc-export gh-login or wait until 22:18 to get 60 searches again.

Considering that I am not signed in and there are links in modrinth.index.json, it doesn't seem possible that it only ran one request. And even then, why does it not repeat the request the next time I use the command, while the API limits haven't been reached?

After first launch, all results are cached, except failed ones, this means if you 1 mod failed to even search on GitHub (broken url for example), it will try to make request every launch to get successful result and cache it.

Okay, but how come it only used one search if I am not signed in? I think you said that only signed in users get batch requests?

I didn't specified cache expire time, maybe it's too big so it doesn't expire from last launch, or, library I use finally implements 302 codes handling and requested resources didn't changed from last launch

Fair enough.


minimumPowerUpSizeBabz returns incorrect value

It works well only for the very first power up. For the subsequent once it will return incorrect value, cause it doesn't consider power pool (and it should).
The formula for minimumPowerUpSizeBabz is much complex then it is now in the code. Unfortunately it was lost in the Slack archives
This is low priority thing cause minimumPowerUpSizeBabz is not affecting how contracts work and just used as a UI convenience on the frontend

I just looked into this issue. We have only one relevant check in our powerUp function
powBal >= authorizedPow.div(MIN_SHARE_OF_POWER)
And this is really not a check. Once someone has power equal to
authorizedPow.div(MIN_SHARE_OF_POWER)
the minPowerUpSizeBabz for him comes down to 0.
So instead of having someone power Up completeSupply() / MIN_SHARE_OF_POWER which would grow as the economy grows, we could just have them power a minimum amount of nutz, which can just be set in the power Up.
I have commented on #56, we could just use that solution

the whole "min share" idea was about prevention of possible rounding errors. I don't get how are they possible. If there is no problem with rounding we can just remove the limit altogether and allow to power up any amount


Use dataset_id to query /api/predictors

Currently, predictors are queried using run_ids. Internally, the newest predictors for that set of runs is queried. However, to do this, Predictor and PredictorEvent must be joined, which can be quite slow.
Instead, if we query by dataset_id, we can directly filter Predictors.
It should not be necessary to filter by runs anyways, because all runs within a dataset should presumably have the same predictors. Unless, the two tasks in the same Dataset would have conflicting features. If we think this is not going to happen, we could implement this. Otherwise, we might have to think of another way to speed up this query, because currently it takes a few seconds, which is not user friendly.

In the meantime, we should at least display a "loading.." text. @rwblair can you change the empty table text in Predictors (for the top table) to "Loading..." instead of No Data in the meantime?


bump to 0.9.6

Hello @mb, @landism,
Please review the following commits I made in branch maiamcc/bump-0.9.6:
a8b5e5437cf9c33a2f92189d4abd01b1c8d3a78b (2019-07-25 18:01:51 -0400)
bump to 0.9.6
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

sorry @mb, I meant @mariavivanco!


Data structures and C sharp materials added

Thanks!😄

Welcome😘😘
On Tue, 22 Dec 2020 at 21:33, Sumana Basu<EMAIL_ADDRESS>wrote:

Thanks!😄
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Webwiznitr/Project-basil/pull/60#issuecomment-749620222,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQKSE5EWUO2YMXSJZS2LVTTSWC7OLANCNFSM4VFWM6AA
.


force_dungeon_index_reload shows up for rai - does @auth_check('contentadmin') work properly?

Mystery solved!!! Rai was following MY coginfo instead of his own.


Add SCC/AOT test with varying heap size

A customer found a problem where changing the heap size between JVM invocations using AOT. The problem is observed on aarch64.  Thanks Akira for providing us with the detailed step of reproducing it using the benchmark.
1. Clear the SCC.
$ java -Xshareclasses:destroyAll

2. Populate the SCC.
$ java -Xmx20m -Xms20m -noverify -cp . SpecApplication -a -m10 -M10 _201_compress

3. Run the workload again with the smaller heap settings.
$ java -Xmx16m -Xms16m -noverify -cp . SpecApplication -a -m10 -M10 _201_compress

Please note that we need to using the same value for  "-Xms" as "-Xmx".
The fix was already merged but the problem exists in 0.29.0 release.

It would be nice if we can run this using system tests in the open (i.e., MiniMix_5m). For example, update the  in playlist.xml with the above scenario:
<command>$(SYSTEMTEST_CMD_TEMPLATE) -test=MixedLoadTest -test-args=$(Q)timeLimit=5m$(Q) -java-args-execute-initial=$(Q)$(ADD_OPENS_CMD) -Xmx3g -Xms3g$(Q); \
$(SYSTEMTEST_CMD_TEMPLATE) -test=MixedLoadTest -test-args=$(Q)timeLimit=5m$(Q) -java-args-execute-initial=$(Q)$(ADD_OPENS_CMD) -Xmx2g -Xms2g$(Q); \
$(TEST_STATUS)</command>

I am not able to reproduce the issue in Grinder using Openj9 0.29.0.
Console output:
00:05:27.520  STF 17:33:39.490 - +------ Step 1 - Run mixed unit tests
00:05:27.520  STF 17:33:39.490 - | Run foreground process
00:05:27.520  STF 17:33:39.490 - |   Program:     /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java
00:05:27.520  STF 17:33:39.490 - |   Mnemonic:    LT
00:05:27.520  STF 17:33:39.490 - |   Echo:        ECHO_ON
00:05:27.520  STF 17:33:39.490 - |   Expectation: CLEAN_RUN within 1h5m
00:05:27.520  STF 17:33:39.490 - |
00:05:27.520  STF 17:33:39.491 - Running command: /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED -Xmx3g -Xms3g -classpath
...

00:11:16.099  STF 17:39:28.165 - +------ Step 1 - Run mixed unit tests
00:11:16.099  STF 17:39:28.165 - | Run foreground process
00:11:16.099  STF 17:39:28.165 - |   Program:     /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java
00:11:16.099  STF 17:39:28.165 - |   Mnemonic:    LT
00:11:16.099  STF 17:39:28.165 - |   Echo:        ECHO_ON
00:11:16.099  STF 17:39:28.165 - |   Expectation: CLEAN_RUN within 1h5m
00:11:16.099  STF 17:39:28.165 - |
00:11:16.100  STF 17:39:28.166 - Running command: /home/jenkins/workspace/Grinder/openjdkbinary/j2sdk-image/bin/java --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED -Xmx2g -Xms2g -classpath
...
Finished: SUCCESS

Akira thinks "AOT is not used by loadTest workload because the SCC has been populated with the different configuration by the java process launched at the generation phase."
@Mesbah-Alam  Can we pass jvm options in the generation phase?

Thanks, @llxia
The generation phase seems to accept java-debug-args option, so I gave it a shot. I could reproduce the problem in Grinder by adding -debug-generation -java-debug-args=$(Q)-Xmx3g -Xms3g$(Q) to the STF command args.
However, the option name suggests that it is for the debugging purpose and I do not think it is appropriate for this usage. 🤔
https://github.com/adoptium/STF/blob/7a63de15c6d46c6f9eb731f7dfb5012fa20b4f1c/stf.core/scripts/stf.pl#L426-L448
    my $cmd = "$javahome_generation/bin/java " .
              "$java_debug_settings" .
              " -Dlog4j.skipJansi=true" .  # Suppress warning on Windows
              " -Djava.system.class.loader=net.adoptopenjdk.stf.runner.StfClassLoader" .
              " -classpath $log4j_api_dir" . $sep . "$log4j_core_dir" . $sep . "$Bin/../bin" .
              " net.adoptopenjdk.stf.runner.StfRunner" .
              " -properties \"$stf_parameters, $stf_personal_properties, $stf_defaults\"" .
              " -testDir \"$test_dir\"";

https://github.com/Akira1Saitoh/openjdk-tests/commit/22f3b8e97157b6b9d5e3bdecb259f6c3fd515bd2
		<command>$(SYSTEMTEST_CMD_TEMPLATE) -test=MixedLoadTest -debug-generation -java-debug-args=$(Q)-Xmx3g -Xms3g$(Q) -test-args=$(Q)timeLimit=5m$(Q) -java-args-execute-initial=$(Q)$(ADD_OPENS_CMD) -Xmx3g -Xms3g$(Q); \
	$(SYSTEMTEST_CMD_TEMPLATE) -test=MixedLoadTest -test-args=$(Q)timeLimit=5m$(Q) -java-args-execute-initial=$(Q)$(ADD_OPENS_CMD) -Xmx2g -Xms2g$(Q); \
	$(TEST_STATUS)</command>

Opened https://github.com/adoptium/aqa-tests/pull/3178

Thanks @Akira1Saitoh . The PR is delivered.


vscode causes the whole system to lag

Does this issue occur when all extensions are disabled?: Yes
Version: 1.71.0-insider
Commit: 235a92a3693176fbf9af16ec5b829c458a1d682f
Date: 2022-08-22T05:33:35.823Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.6.0
Sandboxed: No

Steps to Reproduce:
I have no way to reproduce this reliably, this just happens sporadically/randomly.
The "Code - Insider (GPU Process)" and "WindowServer" processes are spiking to 100% cpu when this "lag" happens.
I've managed to profile this short period when the lag happens (Although, I don't really see the bottleneck here, except that it confirms the "lag" due to the "dropped frames").
EDIT: I've noticed that the Google Chrome Helper (GPU) process also spikes when this lag happens.
Profile-20220909T140222.json.zip

Does this still happen with latest insiders ? Can you capture the sample of Code - Insider (GPU Process) from Activity monitor when this happens next time.

@deepak1556 Sorry I totally forgot about this issue since I’ve upgrade to macOS Monterey. I also haven’t experienced any lags since then. So I guess closing this issue seems appropriate. Thanks anyway for the help.

Nevermind, I've just experienced the same system lag on macOS Monterey too, so I guess it's macOS independant (also on the latest VSCode Insiders).
@deepak1556 Fortunately, I was able to capture a sample of the GPU process:
Sample of Code - Insiders Helper (GPU).txt

Hey @deepak1556, this issue might need further attention.
@cynecx, you can help us out by closing this issue if the problem no longer exists, or adding more information.

Can you check if the issue persists with our exploration build that comes with newer version of the runtime, thanks!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Revert "stack-trace symbolizer using llvm-symbolizer subprocess"

Reverts cloudflare/workerd#297
This broken an internal build. Somehow.

I have read the CLA Document and I hereby sign the CLA

Oh now you accept that I've signed the CLA

@mikea fyi

hm, seems the CI is taking a long time. I see cache errors in the logs, I guess the cache is down or @ObsidianMinor doesn't have access to it?

He doesn't have access (yet). cc @byule


Failing before each hook does exit with code 0

While failing tests exit with an exit code > 0, a failing before each hook does exit with code 0 when it fails. Here is an example:

Consequently, CI tests can fail without the CI tool noticing it.

Thanks! Good report

Tests are running!
CodeceptJS v0.4.8
Using test root "/home/davert/projects/codeceptjs/examples"

GitHub --
 ✖ "before each" hook: Before for "search" in 3135ms

-- FAILURES:

  1) GitHub "before each" hook: Before for "search":
     unknown error: unhandled inspector error: {"code":-32603,"message":"Cannot navigate to invalid URL"}

  Run with --verbose flag to see NodeJS stacktrace

  FAIL  | 0 passed, 1 failed   // 3s
➜  codeceptjs git:(master) ✗ echo $?
1

this is in master branch and will be in 0.4.9

Great, many thanks! :+1:


Hamburger icon is too small

Is it something todo with icon?

Fixed by upgrading to latest react-native. Commit 64efcce4358daf4f0cb4301370fa3d7a65b30b8c


[SUGGESTION] Consider adding support for Wall spells

The wall spells (Wall of Force, Wind Wall, Wall of Fire and Wall of Water) are kinda hard to manage in foundry. Maybe something that can be automated?

Wall of fire is on my list to look at.  Assuming I get that working well I'll look at the other wall spells too.

It would be wonderful to have the option of wall spells.

This request is already on the CPR discord. We are no longer accepting regular feature requests off the github.


Consider versioning the environments schema

To prepare for future breaking changes, have you considered adding version info into the environment file, e.g:
apiVersion: pulumi.com/v1alpha1
kind: Environment
imports:
  ...
values:
  ...

Something to consider regarding the concept of apiVersion, would Pulumi adopt the versioning conventions?


rust: MemoryStore wedging?

See https://github.com/matrix-org/matrix-rust-sdk/actions/runs/9351153389/job/25736195990?pr=3496
Times out on pushNotifEventID = bob.SendMessage(t, roomID, text).
Upon investigation, the logs show that the rust SDK did not send the event. It seems to get stuck after GET /state/m.room.encryption/ as there is no log line for "Sending encrypted event because the room is encrypted" but there is a 200 OK response to that GET. There is 1 lock that is taken between the two bits of code:
https://github.com/matrix-org/matrix-rust-sdk/blob/2cf36c7a5ed60c75824bea80422a8dbf829b1bed/crates/matrix-sdk/src/room/mod.rs#L486
I guess something is stopping the send_raw span from taking that lock, probably the next_sync_with_lock > sync_once{pos="1"} span which seems to be doing stuff at the same time.

TestBackupWrongRecoveryKeyFails/{rust_hs1}|{rust_hs1} has the same failure mode: key_backup_test.go:102: SendMessage(rust) @user-24-alice:hs1: timed out after 11s - it fails on the sanity check that you can send messages into an encrypted room...

There was another flake in https://github.com/matrix-org/matrix-rust-sdk/actions/runs/9503969571/job/26195597830?pr=3539 - this time we got past the encryption state and see "Sending encrypted event because the room is encrypted" for Charlie's message send, but then wedge after getting the /members response. The code after getting the response calls receive_all_members which does lots of things and ends with:
        let _sync_lock = self.sync_lock().lock().await;
        let mut room_info = room.clone_info();
        room_info.mark_members_synced();
        changes.add_room(room_info);

        self.store.save_changes(&changes).await?;
        self.apply_changes(&changes, false);

..once again implicating either the sync lock or the data store (via save_changes). Further investigation on previous flakey tests show log lines in the sync code appearing which only appear after releasing the sync lock which should have allowed forward progress on the send event task, which makes myself (and @poljar ) suspect that the sync lock is blameless in this.

The sync lock seems to be consistently held throughout calls to save_changes afaict. This means it isn't possible to have 2 concurrent tasks inside save_changes at the same time, meaning there must be some other cause here.

2024-06-26T17:50:15.679813Z DEBUG matrix_sdk::sliding_sync: Start handling response | crates/matrix-sdk/src/sliding_sync/mod.rs:678 | spans: sync_once{pos="1"}
2024-06-26T17:50:15.679858Z DEBUG matrix_sdk::sliding_sync: Update position markers delta_token=None | crates/matrix-sdk/src/sliding_sync/mod.rs:294 | spans: sync_once{pos="1"} > handle_response
2024-06-26T17:50:15.681704Z DEBUG matrix_sdk::http_client: Got response | crates/matrix-sdk/src/http_client/mod.rs:193 | spans: sending_task{room_id=!QHAxGOXvXFVwmJzIiE:hs1} > send_raw{room_id="!QHAxGOXvXFVwmJzIiE:hs1" transaction_id="50da7ffd3d3042f29397de91d214848f" is_room_encrypted=true} > send{server_versions=[V1_0, V1_1, V1_2, V1_3, V1_4, V1_5, V1_6] config=RequestConfig { timeout: 60s, retry_limit: 3 } request_id="REQ-12" method=GET uri="http://<IP_ADDRESS>:32781/_matrix/client/v3/rooms/!QHAxGOXvXFVwmJzIiE:hs1/members" status=200 response_size="982 B"}
2024-06-26T17:50:15.682925Z DEBUG matrix_sdk_base::store::memory_store: Saved changes in 13.846µs | crates/matrix-sdk-base/src/store/memory_store.rs:519 | spans: next_sync_with_lock > sync_once > handle_response

For https://github.com/matrix-org/matrix-rust-sdk/actions/runs/9684285011/job/26721675685 - same thing, wedging after /members response.

And https://github.com/matrix-org/matrix-rust-sdk/actions/runs/9698745771/job/26766021784?pr=3619#step:16:244

It reproduced with trace logging. It deadlocks somewhere in this code block

2024-07-09T08:00:29.544568Z TRACE matrix_sdk_base::store::memory_store: starting | crates/matrix-sdk-base/src/store/memory_store.rs:289 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes
2024-07-09T08:00:29.544609Z TRACE matrix_sdk_base::store::memory_store: profiles | crates/matrix-sdk-base/src/store/memory_store.rs:296 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes
2024-07-09T08:00:29.544659Z TRACE matrix_sdk_base::store::memory_store: ambiguity maps | crates/matrix-sdk-base/src/store/memory_store.rs:319 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes
2024-07-09T08:00:29.544685Z TRACE matrix_sdk_ui::timeline::builder: Waiting for an event. | crates/matrix-sdk-ui/src/timeline/builder.rs:188 | spans: room_update_handler{room_id="!ZdajZoYbBHcccwoqPi:hs1"}
2024-07-09T08:00:29.544709Z TRACE matrix_sdk_base::store::memory_store: account data | crates/matrix-sdk-base/src/store/memory_store.rs:331 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes
2024-07-09T08:00:29.544739Z TRACE matrix_sdk_base::store::memory_store: room account data | crates/matrix-sdk-base/src/store/memory_store.rs:339 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes
2024-07-09T08:00:29.544743Z TRACE matrix_sdk_ui::timeline::inner: Forcing update of sender profiles: {"@user-38-bob:hs1"} | crates/matrix-sdk-ui/src/timeline/inner/mod.rs:1062 | spans: room_update_handler{room_id="!ZdajZoYbBHcccwoqPi:hs1"}
2024-07-09T08:00:29.544763Z TRACE matrix_sdk_base::store::memory_store: room state | crates/matrix-sdk-base/src/store/memory_store.rs:352 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes
2024-07-09T08:00:29.544784Z TRACE matrix_sdk_base::store::memory_store: room state: got room_state lock | crates/matrix-sdk-base/src/store/memory_store.rs:355 | spans: sending_task{room_id=!ZdajZoYbBHcccwoqPi:hs1} > send_raw{room_id="!ZdajZoYbBHcccwoqPi:hs1" transaction_id="9af92432710442b985c20292c0c4fe4a" is_room_encrypted=true} > receive_all_members{room_id="!ZdajZoYbBHcccwoqPi:hs1"} > save_changes

..and then it wedges. So it blocks on let mut stripped_room_state = self.stripped_room_state.write().unwrap();

This implicate this block of code:
    async fn get_state_events(
        &self,
        room_id: &RoomId,
        event_type: StateEventType,
    ) -> Result<Vec<RawAnySyncOrStrippedState>> {
        fn get_events<T>(
            state_map: &HashMap<OwnedRoomId, HashMap<StateEventType, HashMap<String, Raw<T>>>>,
            room_id: &RoomId,
            event_type: &StateEventType,
            to_enum: fn(Raw<T>) -> RawAnySyncOrStrippedState,
        ) -> Option<Vec<RawAnySyncOrStrippedState>> {
            let state_events = state_map.get(room_id)?.get(event_type)?;
            Some(state_events.values().cloned().map(to_enum).collect())
        }

        Ok(get_events(
            &self.stripped_room_state.read().unwrap(),
            room_id,
            &event_type,
            RawAnySyncOrStrippedState::Stripped,
        )
        .or_else(|| {
            get_events(
                &self.room_state.read().unwrap(),
                room_id,
                &event_type,
                RawAnySyncOrStrippedState::Sync,
            )
        })
        .unwrap_or_default())
    }

because this block acquires a read lock on stripped_room_state then potentially tries to acquire a read lock on room_state which it can't do - it's an ABBA deadlock.
I need confirmation from rust folks if this is how the locking works.

@poljar confirms that the stripped_room_state lock is still held when the room_state lock is acquired. As such, this would cause a deadlock.

https://github.com/matrix-org/complement-crypto/pull/115 moves us away from using the memory store
https://github.com/matrix-org/matrix-rust-sdk/pull/3668 fixes the memory store.


fix(ingest/looker) : Handle DeserializeError to improve error reporting.

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@sagar-salvi-apptware can we merge this PR?

@sagar-salvi-apptware can we merge this PR?

Yes we can, I ll fix the comment then we can merge


Feature request: can you add formula of LSTM to docs?

Have I written custom code： No
OS Platform and Distribution: Linux 16.04
TensorFlow installed from: pip install tensorflow-gpu
TensorFlow version: 1.8.0
CUDA/cuDNN version: 9.0
Describe the problem
Hi,
I have trained a bidirectional lstm(256 hidden units) model in pytorch and I want to transfer it to tensorflow.
In pytorch,  each LSTM has two weights and two bias:
rnn.0.rnn.weight_ih_l0 torch.Size([1024, 512])
rnn.0.rnn.weight_hh_l0 torch.Size([1024, 256])
rnn.0.rnn.bias_ih_l0 torch.Size([1024])
rnn.0.rnn.bias_hh_l0 torch.Size([1024])

weight_ih_l[k] – the learnable input-hidden weights of the kth layer (W_ii|W_if|W_ig|W_io), of shape (4*hidden_size x input_size)
weight_hh_l[k] – the learnable hidden-hidden weights of the kth layer (W_hi|W_hf|W_hg|W_ho), of shape (4*hidden_size x hidden_size)
bias_ih_l[k] – the learnable input-hidden bias of the kth layer (b_ii|b_if|b_ig|b_io), of shape (4*hidden_size)
bias_hh_l[k] – the learnable hidden-hidden bias of the kth layer (b_hi|b_hf|b_hg|b_ho), of shape (4*hidden_size)

However in tensorflow, each LSTM has only one weight and one bias:
<tf.Variable 'RNN/BiLSTM1/stack_bidirectional_rnn/cell_0/bidirectional_rnn/fw/basic_lstm_cell/kernel:0' shape=(768, 1024) dtype=float32_ref>,
 <tf.Variable 'RNN/BiLSTM1/stack_bidirectional_rnn/cell_0/bidirectional_rnn/fw/basic_lstm_cell/bias:0' shape=(1024,) dtype=float32_ref>,

I do not know how to convert the parameters in pytorch into tensorflow. Can you add some formula and weight structures of LSTM to docs as what they did in pytorch?
Thanks!

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

Sorry for the delay in the reply. @MarkDaoust may be able to help with documentation. In the meantime you may get a better answer to the immediate question on StackOverflow since there is also a larger community that reads questions there.

Nagging Assignee @MarkDaoust: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 29 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 50 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 65 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 80 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 95 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @MarkDaoust: It has been 110 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


FR - iframe title for screen readers

Issue description
The iframe does not contain a title. This is advised by Google Lighthouse:
https://dequeuniversity.com/rules/axe/2.2/frame-title?application=lighthouse
Current behavior
iframe without title
Expected/desired behavior
The iframe to have a default title or a way to set it.

This isn't something we can fix. The iframe gets generated by the google maps api directly


updateInitialGuess()

Hi @TixiaoShan,
When get the current laser's initialize pose in map, i debug this code in updateInitialGuess() function in mapOptmization.cpp:

 if (cloudInfo.imuAvailable == true)
    {
       //this line is me added
        ROS_WARN("odom = %d, cloud = %d, self = %d ", cloudInfo.odomAvailable, cloudInfo.imuPreintegrationResetId , imuPreintegrationResetId);

        Eigen::Affine3f transBack = pcl::getTransformation(0, 0, 0, cloudInfo.imuRollInit, cloudInfo.imuPitchInit, cloudInfo.imuYawInit);
        Eigen::Affine3f transIncre = lastImuTransformation.inverse() * transBack;

        Eigen::Affine3f transTobe = trans2Affine3f(transformTobeMapped);
        Eigen::Affine3f transFinal = transTobe * transIncre;
        pcl::getTranslationAndEulerAngles(transFinal, transformTobeMapped[3], transformTobeMapped[4], transformTobeMapped[5],
                                                      transformTobeMapped[0], transformTobeMapped[1], transformTobeMapped[2]);

        lastImuTransformation = pcl::getTransformation(0, 0, 0, cloudInfo.imuRollInit, cloudInfo.imuPitchInit, cloudInfo.imuYawInit); // save imu before return;
        return;
    }

The output is:

process[lio_sam_rviz-8]: started with pid [14288]
[ INFO] [1593869689.438855893]: ----> IMU Preintegration Started.
[ INFO] [1593869689.471981403]: ----> Image Projection Started.
[ INFO] [1593869689.498746662]: ----> Feature Extraction Started.
[ INFO] [1593869689.507955480]: ----> Map Optimization Started.
[ WARN] [1593869693.421098667]: odom = 0, cloud = 0, self = 0
[ WARN] [1593869693.626720210]: odom = 0, cloud = 0, self = 0
[ WARN] [1593869869.932765664]: odom = 1, cloud = 0, self = 1
[ WARN] [1593869870.131129145]: odom = 0, cloud = 0, self = 1
[ WARN] [1593869874.965915153]: odom = 1, cloud = 1, self = 2
[ WARN] [1593869875.179717063]: odom = 0, cloud = 1, self = 2
[ WARN] [1593869875.376471333]: odom = 0, cloud = 1, self = 2
[ WARN] [1593869905.031495240]: odom = 1, cloud = 2, self = 3
[ WARN] [1593869905.231531192]: odom = 0, cloud = 2, self = 3
[ WARN] [1593869909.896946401]: odom = 1, cloud = 3, self = 4
[ WARN] [1593869910.136724098]: odom = 1, cloud = 3, self = 4
[ WARN] [1593869910.275975347]: odom = 0, cloud = 3, self = 4
[ WARN] [1593869919.954947659]: odom = 1, cloud = 4, self = 5
[ WARN] [1593869920.157889474]: odom = 0, cloud = 4, self = 5
[ WARN] [1593869925.202043337]: odom = 1, cloud = 5, self = 6
[ WARN] [1593869925.428638865]: odom = 0, cloud = 5, self = 6
[ WARN] [1593869930.039206332]: odom = 1, cloud = 6, self = 7
[ WARN] [1593869930.244444627]: odom = 1, cloud = 6, self = 7
[ WARN] [1593869935.081837640]: odom = 1, cloud = 7, self = 8
[ WARN] [1593869935.286080622]: odom = 0, cloud = 7, self = 8
[ WARN] [1593869944.967022261]: odom = 1, cloud = 8, self = 9
[ WARN] [1593869945.161093601]: odom = 0, cloud = 8, self = 9
[ WARN] [1593869950.010743418]: odom = 1, cloud = 9, self = 10
[ WARN] [1593869950.215691434]: odom = 1, cloud = 9, self = 10
[ WARN] [1593870259.647486738]: odom = 0, cloud = 10, self = 10
[ WARN] [1593870325.011413956]: odom = 1, cloud = 10, self = 11
[ WARN] [1593870325.214021085]: odom = 0, cloud = 10, self = 11
[ WARN] [1593870329.867247998]: odom = 1, cloud = 11, self = 12
[ WARN] [1593870330.052590294]: odom = 0, cloud = 11, self = 12
[ WARN] [1593870330.254257450]: odom = 0, cloud = 11, self = 12
[ WARN] [1593870335.117750271]: odom = 1, cloud = 12, self = 13
[ WARN] [1593870335.295067667]: odom = 0, cloud = 12, self = 13
[ WARN] [1593870335.505050773]: odom = 0, cloud = 12, self = 13
[ WARN] [1593870344.980313780]: odom = 1, cloud = 13, self = 14
[ WARN] [1593870345.181445314]: odom = 0, cloud = 13, self = 14
[ WARN] [1593870345.382959890]: odom = 0, cloud = 13, self = 14
^C[lio_sam_rviz-8] killing on exit
[navsat-7] killing on exit
[ekf_gps-6] killing on exit
[lio_sam_mapOptmization-5] killing on exit
[lio_sam_featureExtraction-4] killing on exit
[lio_sam_imageProjection-3] killing on exit
[lio_sam_imuPreintegration-2] killing on exit
****************************************************
Saving map to pcd files ...
Processing feature cloud 956 of 957 ...****************************************************
Saving map to pcd files completed
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

The cloudInfo.odomAvailable in each msg is not always true when after initialized, is it normal?
Thanks for your help!

It's normal. As you can see, cloudInfo.imuPreintegrationResetId is changed multiple times. I assume the graph is reset due to loop closure. Then the odometry from imuPreintegration will be teleported and cannot be used for initial guess.

Thanks a lot !


RBAC Tutorial

This is tutorial style docs as opposed to a reference which is already present http://docs.stackstorm.com/latest/rbac.html

early feedback: +1 for format and structure.

I did a 2nd pass over the tutorial. I am happy to include more changes but for the time being will merge this in. Can pick up any suggestions in a separate PR.

I just noticed this is not in the docs/.
Are you OK with moving this to a new "Tutorials" section in the docs?

Are you OK with moving this to a new "Tutorials" section in the docs?

Yeah. I can move it to tutorials.

Done it in #2067


Missing link to Github page

Is there a reason this page doesn't link to the github code for it?
https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml
This seems like a mistake and I had to go to Google to figure out where the code was. I was expecting this to be in the pre-requisites.

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

ID: a10c58c2-1767-778c-5591-8b6eb1e50969
Version Independent ID: ecc11aa4-56c9-d8b0-69c0-d9978de4adc5
Content: Use software environments - Azure Machine Learning
Content Source: articles/machine-learning/how-to-use-environments.md
Service: machine-learning
Sub-service: core
GitHub Login: @saachigopal
Microsoft Alias: sagopal

@aronchick We are checking this and will get back to you.

@aronchick A reference to the MachineLearningNotebooks repo is available in the notebooks  section of this page but for a particular scenario. In general references to the repo are available in the documentation for specific notebooks.
@saachigopal Could you please review the doc to check if a reference could be added as a note to refer the complete code of a snippet in this document?

@aronchick thank you for reporting this. This document covers topics not included in the suggested repo, so linking to it or a specific notebook would be a little misleading. Can you clarify what you're looking for in the notebooks that isn't covered in the documentation, so we can close that gap?

It is my opinion this is a deep anti-pattern. You have a bunch of code in the documents but because of the nature of Python/Jupyter/ML, you can't just copy and paste a blurb - it won't work. You should have a link off to a notebook that includes all the code from the article - each one in an individual cell - to give people context how it runs.

#assign:@nibaccam

An edit has been applied to this doc. @aronchick thank you for the suggestion. The edit should be published later today.
We will now proceed to close this thread #please-close


Initial commit USICore, hardcoded license

closes #2381

LET'S SEE NOW. WILL THIS WORK? WILL THIS NOT? WE MAY NEVER KNOW!

@plague006 I stuck it into both places where it won't work, didn't I?
It should have been in the name of the commit, not a description?

It works on my local NetKAN.

@plague006 good to go.

@qm3ster: The KS page is a little light on info, so I just want to confirm we're doing the right thing here. Am I correct this is mostly a parts and assets pack (which contains Kontainers and Reactors), which nothing else depends upon?
Glancing at the contents of the .zip I'm guessing it has a dependency on Firespitter-Core, but I can add that before merging if needed.
Is the dependency on USITools a hard one (required) or a soft one (recommended)? The reason I ask is that the .zip itself doesn't have the USITools files at all.

Haven't been around much, so not sure where it's headed. USI tools is not required right now, but will probbably be a hard dependency once more content is added. (It's not something that has user-facing functionality, so no way it could be a suggestion/recommendation, it's either needed or not.)
In the future, this will be suggested/recommended/depended by MKS, FTT. (Most likely the rare 'recommended' because while nothing stops you from running those mods without reactors and kontainers, but using them is a different issue, and would require other mods.
The idea behind this release is not having duplicate parts in eg MKS and FTT, so they are being taken out into their own package.

Auto-closing works in the top comment and/or in any of the commits or commit messages/descriptions.

This core mod will conflict with/cause issues for https://github.com/KSP-CKAN/NetKAN/pull/2343

With USI Core still not merged, currently already not possible to install Karbonite and MKS together. They both install UmbraSpaceIndustries folder, not Kolonization and Karbonite, clashing a lot.

The entire suite of RoverDude's mods need all their metadata overhauled at once. Merging/creating USI Core alone will only server to create more issues.

Agreed, thanks for Karbonite delay.


test_tree.nim failing for Nim v2.0.2 in PR branch ipa-tree-types and the develop branch as well

Found the same for develop branch as well

Strangely it does work with Nim v1.6.16 and v1.6.18

seems like the error is resulting from the typecasting in line 212, node.BranchesNode

Tried all 2x2x2=8 combinations of:

Nim 2.0.2 and 2.0.10:

Nim Compiler Version 2.0.10 [Linux: amd64]
Compiled at 2024-07-30
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: 92e505577e8b6b9214b6fcdd7fe1b0e9a244023b
active boot switches: -d:release

and
Nim Compiler Version 2.0.2 [Linux: amd64]
Compiled at 2024-07-31
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: c4c44d10df8a14204a75c34e499def200589cb7c
active boot switches: -d:release

Commit 4cb17a3d056fcac03142ce08e05fb616977efd09 on develop  and 6db26394a6f9c2ba6d88ccc6f1750325d42502f8 on ipa-tree-types

and --mm:orc and --mm:refc.
Can reproduce this on both commits but only with 2.0.2 with --mm:orc, not --mm:refc.
Since 2.0.10 (current version-2-0, soon to be released version) doesn't seem to exhibit this, this seems to have been fixed upstream by Nim, whatever was happening.
In general, the reason one sometimes sees this jump from 1.6 to 2.0 when not specifying --mm:orc or --mm:refc explicitly is that aside from everything else, Nim 2.0 switched the default from --m:refc to --mm:orc, so by default ORC issues start appearing even if they had been there the whole time and would have been reproducible in 1.6 with --mm:orc too, just, no one had tried (and there's not much reason to).


Why only randomly select a label as a hint in the ground truth mask?

Dear author, hello. I found that the box and point hints in your code are randomly generated based on a label of the truth mask of the image (the truth mask of an image contains multiple labels). In your code, a truth mask often has multiple labels, and you only randomly select one as a hint. Isn't it a waste of other labels of the truth mask?
gt = np.load(
            self.gt_path_files[index], "r", allow_pickle=True
        )  # multiple labels [0, 1,4,5...], (256,256)
        assert img_name == os.path.basename(self.gt_path_files[index]), (
            "img gt name error" + self.gt_path_files[index] + self.npy_files[index]
        )
        # 获取标签文件中所有唯一标签值，除去背景标签（假设背景标签为0）
        label_ids = np.unique(gt)[1:]
        #选择一个随机的标签，生成一个二维的掩码图，其中选中的标签位置为1，其他为0。
        gt2D = np.uint8(
            gt == random.choice(label_ids.tolist())  # 只能选中一个貌似
        )  # only one label, (256, 256) # 创建了一个布尔数组
        assert np.max(gt2D) == 1 and np.min(gt2D) == 0.0, "ground truth should be 0, 1"
        y_indices, x_indices = np.where(gt2D > 0)
        x_min, x_max = np.min(x_indices), np.max(x_indices)
        y_min, y_max = np.min(y_indices), np.max(y_indices)
        # add perturbation to bounding box coordinates
        H, W = gt2D.shape # 1024 1024
        # x_min, x_max, y_min, y_max = 594, 633, 418, 479
        x_min = max(0, x_min - random.randint(0, self.bbox_shift))
        x_max = min(W, x_max + random.randint(0, self.bbox_shift))
        y_min = max(0, y_min - random.randint(0, self.bbox_shift))
        y_max = min(H, y_max + random.randint(0, self.bbox_shift))
        bboxes = np.array([x_min, y_min, x_max, y_max])

Hi @WanZhan-lucky ,
Thanks for your interest. The direct answer is no.
This is because the dataset will be iterated multiple times during training. All labels have the chance to be used.


Fix PieChart

Seems like it does not manage to display any stats, even though value is given

Seems like with data where there is not only just 1 instance which is not 0 it will display data


fix SourceKit injected VFS with .swiftinterface files

The injected VFS (added in #24708) does not work with ".swiftinterface" files (see test that this PR adds).
The reason is that the ".swiftinterface" loader runs a "subcompilation" like this:

Initialize a CompilerInstance SubInstance: https://github.com/apple/swift/blob/tensorflow/lib/Frontend/ParseableInterfaceModuleLoader.cpp#L558
Propagate the current filesystem to the SubInstance using SubInstance.getSourceMgr().setFileSystem(...): https://github.com/apple/swift/blob/tensorflow/lib/Frontend/ParseableInterfaceModuleLoader.cpp#L559
Calls SubInstance.setup(...): https://github.com/apple/swift/blob/tensorflow/lib/Frontend/ParseableInterfaceModuleLoader.cpp#L566

The changes in #24708 make it so that SubInstance.setup(...) clobbers the FS set up in SubInstance.getSourceMgr().setFileSystem(...), so the SubInstance gets a real filesystem instead of our injected filesystem.
This PR fixes things so that SubInstance.setup(...) does not clobber FS's that have been previously set.

@swift-ci please test tensorflow


Shulker Spawner not working

Shulkers spawn but they have no brain, they will not shoot or open

This is not related to this plugin. This plugin doesn't affect mobs at all, just placing and mining spawners. Check your spigot settings and other plugins for anything that disables mob ai


[question] How/why do you defer connection?

The official MongoDB driver only vends the db reference after connection:
MongoClient.connect(url, function(err, db) {
  insertDocuments(db, function() {
    updateDocument(db, function() {
      db.close();
    });
  });
});

whereas with mongojs you are able to do
var db = mongojs(url);
db.collection('test').insert(…);

Do you lazily connect to the database, or connect synchronously? And once connected, do you then hold that connection open to implement connection pooling?
I prefer your syntax, am just confused why the official driver wouldn't do it this way—seems simpler.

Yes we connect to the database on the first connection attempt using thunky. Behind the scene we wrap mongodb-core and either instantiate a new Server or new ReplSet depending on the connection type and reuse that.

Neat! Thanks for the quick response & clever implementation.


[gui] The interface is confusing. When the mouse pointer moves, the interface follows the pointer and overlaps and displays repeatedly.

Issue details

The interface is confusing. When the mouse pointer moves, the interface follows the pointer and overlaps and displays repeatedly.
Jadx version
1.4.7
Java version
1.8.0_333
OS

[X] Windows
[ ] Linux
[ ] macOS

@Da-Miao as mentioned in Troubleshooting guide:
Try the newer java version (prefer Java 17):
- Use release bundle with included JRE: jadx-gui-***-with-jre-win.zip (for 1.4.7: link)
- Or download from oracle.com

thanks

@mkx173 Can you please give us more details about your used JDK (which one do you use, Oracle, Eclipse, Corretto, ..) and about your used graphics chip + driver version?
Also please give the latest unstable version a try: https://nightly.link/skylot/jadx/workflows/build-artifacts/master


When using checkboxes, validation always fails

Because in the attempt builder, text is <ActionController::Parameters {"0"=>"0", "1"=>"0", "2"=>"0", "3"=>"0", "4"=>"0", "5"=>"0"} permitted: true>, not an array, to that string "<ActionController::Parameters {"0"=>"0", "1"=>"0", "2"=>"0", "3"=>"0", "4"=>"0", "5"=>"0"} permitted: true>" gets set as the answer.

Even that fix does not complete it unless the values include "0", since Rails will submit 0 for unchecked checkboxes. I will work on that as well.

Ok, that fix should be good now.

Is there a fix to this problem. I've been trying to use checkboxes, but I always get the same error: "Answer text is invalid"

I've just been using my own fork of this project, which has that fix and many more improvements (at least for my use-case).
See #115 for my fix for only this issue, or #113 for all of them.

Thanks for your reply, I'm just gonna go with a custom solution for what I need. Thanks again.


Avoid StackOverflow when comparing unknown foreign objects

Pull Request Description
Closes #7677 by eliminating the stackoverflow execption. In general it seems too adventurous to walk members of random foreign objects. There can be anything including cycles. Rather than trying to be too smart in these cases, let's just rely on InteropLibrary.isIdentical message.
Important Notes
Calling sort on the numpy array no longer yields an error, but the array isn't sorted - that needs a fix on the Python side: https://github.com/oracle/graalpython/issues/354 - once it is in, the elements will be treated as numbers and the sorting happens automatically (without any changes in Enso code).
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] All code follows the
Java,
All code has been tested:

[x] Unit tests have been written where possible.

What about a compromise - keep the old version, but checking of member values would not be implemented with a child equalsNode, but rather with isIdentical interop message?

What would be a point of a compromise? How could one explain that to users? Any important use-case that are covered by such a compromise? I could think of JSON, but there is a proper API for JSON in Enso and that one does == right.

I guess you are right. I cannot think of any important use case for the compromise that I have suggested. Let's just keep it simple and check for isIdenticalObject as you suggest.


Stage view through deep link mentions "threadId" but doesn't explain what it does

Under the "Invoke Stage View through deep link" section the docs call out a deep link with and without a threadId.
But there is no information on what the threadId can be (can it be a chat, a meeting, a channel, all three) or why a developer should include a threadId?
Can we expand the docs to explain what this threadId is used for.

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

ID: b9bfa5c3-8227-c122-c4ff-a80786bc11d3
Version Independent ID: b8a577f6-be73-14d7-3c6a-32eed5568b51
Content: Tabs link unfurling and Stage View - Teams
Content Source: msteams-platform/tabs/tabs-link-unfurling.md
Service: msteams
GitHub Login: @Rajeshwari-v
Microsoft Alias: surbhigupta

Thanks for raising your query.
We will look into it and let you know the updates.

@eoinobrien - Ideally it should be all three. We are discussing this with concerned team and will get the document updated accordingly after further investigation.
Thanks!

The document is updated as below:
The optional threadId parameter only supports chat threads. If a channel threadId is used, the side panel isn't displayed.
Ref: https://learn.microsoft.com/en-gb/microsoftteams/platform/tabs/open-content-in-stageview?tabs=withchat#deep-link-query-parameters


examples/label: fix Editor shortcut description

The label example program now mentions the same shortcut as the
widgets example program.
Updates #342.

Thanks for the fix!


helm 3 support for kubernetes-helm template

The container template kubernetes-helm is still using helm 2. I changed it using helm 3 and deleted the optional steps from the docu where it says to call helm init which was needed to setup the tiller in the K8s cluster

Apologies for the delay, I was OOF last week.  Thanks for the contribution.  LGTM!


Bug: Citation list deduplication logic review

Problem

the citations we show are maybe the first one? here the 2024.1.4 Release item is the first version that cited the #Release document. and always when I try to see the 2024.1.4 document I go to an older version.
in sites the citations are not deduplicated
not sure if we need to show the number of version for a particular publication that cited the current main document?

Steps to Reproduce

Expected Behavior

Debug Info

Related: https://github.com/MintterHypermedia/mintter/issues/1619


Incompatibility with Custom Favicon

Hi there,
First of all, thanks for the plugin!
Today I was messing around with the "Favicon Changer" integration and I noticed that conflicts with this plugin.
Basically, if I select a different icon, the favicon counter plugin will re-load the default one to apply the counter, after HA have already loaded the custom one, this way the custom one will appear about 1 second to then change again to the standard one.
Would be possible to integrate some kind of check for the custom favicon config and use that as favicon if present?
Thanks
Andrea

https://github.com/custom-cards/favicon-counter/releases/tag/1.0.0


Allow first argument to be a shared ref to a python value

This allows the first argument to a function to be a shared reference to a type implementing PyValue as a special case. This is useful because it allows calling python methods from rust without consuming or cloning the reference. Eventually, it would be ideal to support shared references in any position, but that is significantly more complex to accomplish due to a combinatorial explosion of trait impls required.

I note that you move all the methods onto PyFloat from PyFloatRef. It doesn't seem to be possible to use the &self for methods on ```PyFloatRef````? (I guess that mostly isn't necessary?)

I note that you move all the methods onto PyFloat from PyFloatRef. It doesn't seem to be possible to use the &self for methods on ```PyFloatRef````? (I guess that mostly isn't necessary?)

Yeah it shouldn't be necessary because PyRef<T> derefs to T, and if we actually do need a full PyRef, we should just take it by value.
I originally started the impl Py*Ref pattern so we could use self instead of zelf, but it causes some problems, mainly that it's not legal for crates outside of rustpython_vm to create such an impl block. For the rare case we need a full cloneable reference, we can just use zelf: PyRef<Self> until arbitrary_self_types is stabilized in rust, at which point we can use self: PyRef<Self> there.

I'm not sure I understand the solution, but very glad you solved it!

I'll have to add more documentation, but in general this is basically working around rust's trait coherence rules, because we can't implement IntoPyNativeFunc for both owned and reference types without them overlapping.

I'll have to add more documentation,

Don't worry too much about documentation. This is I'd have to work with the implementations to really get them thing. I understand well enough to use them. (I hope.)

Yeah it shouldn't be necessary because PyRef<T> derefs to T, and if we actually do need a full PyRef, we should just take it by value.

That leaves us back where we started with needing to do obj.clone().foo if the method needs the PyRef. I guess there will be few enough of those cases that it doesn't matter.


Added MSE2 export feature.

Planeswalker code is incomplete here; this will be fixed in the next commit.


feat: airdrop module boilerplate and keepers

Description
Airdrop module boilerplate and keepers
Closes: https://github.com/ojo-network/ojo/issues/160
Epic: https://github.com/ojo-network/ojo/issues/121

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] added appropriate labels to the PR
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #159 (b7e0d65) into main (448bd25) will increase coverage by 0.13%.
The diff coverage is 66.66%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
+ Coverage   17.14%   17.28%   +0.13%
==========================================
  Files          41       44       +3
  Lines       11946    11979      +33
==========================================
+ Hits         2048     2070      +22
- Misses       9790     9800      +10
- Partials      108      109       +1

Impacted Files
Coverage Δ

x/airdrop/keeper/grpc_query.go
33.33% <33.33%> (ø)

x/airdrop/keeper/msg_server.go
33.33% <33.33%> (ø)

x/airdrop/keeper/keeper.go
85.71% <85.71%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Cache hf images from memory fs

One more attempt to explore caching images from huggingface datasets. In this approach, each image is saved in a MemoryFileSystem and then cached as a regular image file, which means cache is always on for these objects.
Here is the performance for an example:
>>> from datachain import C, DataChain
>>> chain = DataChain.from_hf("lmms-lab/COCO-Caption2017", split="val")
>>> chain = chain.save("coco")
Processed: 1 rows [00:00, 966.21 rows/s]
Generated: 1 rows [00:00, 1028.77 rows/s]
Parsed Hugging Face dataset: 5000 rows [02:29, 33.40 rows/s]
Processed: 1 rows [02:29, 149.79s/ rows]02:29, 70.66 rows/s]
Generated: 5000 rows [02:27, 33.94 rows/s]
Saving: 5000 rows [00:00, 40493.06 rows/s]
Cleanup: 2 tables [00:00, 124.91 tables/s]
>>> images = list(chain.select("image").to_pytorch())
Saving: 5000 rows [00:00, 49880.65 rows/s]
Parsed PyTorch dataset for rank=0 worker: 5000 rows [00:16, 295.62 rows/s]

Performance during chain.save() may be hurt by not having an async implementation for MemoryFileSystem. It may be possible to further optimize how the images are saved to the cache.
Here is the same on the main branch for comparison:
>>> from datachain import C, DataChain
>>> chain = DataChain.from_hf("lmms-lab/COCO-Caption2017", split="val")
>>> chain = chain.save("coco")
Processed: 1 rows [00:00, 735.84 rows/s]
Generated: 1 rows [00:00, 765.80 rows/s]
Parsed Hugging Face dataset: 5000 rows [02:31, 32.97 rows/s]
Processed: 1 rows [02:32, 152.83s/ rows]02:31, 81.97 rows/s]
Generated: 5000 rows [02:30, 33.24 rows/s]
Saving: 5000 rows [00:01, 4584.52 rows/s]
Cleanup: 2 tables [00:00,  2.88 tables/s]
>>> images = list(chain.select("image").to_pytorch())
Saving: 5000 rows [00:01, 3841.78 rows/s]
Parsed PyTorch dataset for rank=0 worker: 5000 rows [00:15, 329.91 rows/s]

Performance looks pretty similar, so it's up to a preference between saving the images in the warehouse db or in the file cache.

Yep, thanks @dberenbaum . It's hard for me to tell tbh if one is better. If we don't see the difference (btw it might be a bit different performance with SaaS?) - then I would keep it as is for now (data in DB) and probably we should leave the data for training optimizations downstream (there can be a variety of those - special FS, bundling, etc?). WDYT?

Sounds good @shcheklein. This was more to create a record in case there is ever a desire to come back to it. Closing for now.


docs(textlint): fix broken link

Fixed some broken links, which seem to be introduced during migration to typescript.
I also found some files referred in the README.md no longer exist (e.g. core/ directory and rule-manager-js), but left them untouched as I wasn't sure whether they'd been renamed or just removed.

Thanks!


Crash when Missing email field in LDAP

Hey guys,
When the email field is not filled in the active directory the application crash because the empty email isn't catch.
This is the 0.3.9 develop version.
See the following error:
/home/node/develop/node_modules/lets-chat-ldap/lib/auth.js:93
    var email = ldapEmail.toString().split(',')[0];
                          ^
TypeError: Cannot call method 'toString' of undefined
    at Function.Ldap.createLdapUser (/home/node/develop/node_modules/lets-chat-ldap/lib/auth.js:93:27)
    at Promise.<anonymous> (/home/node/develop/node_modules/lets-chat-ldap/lib/auth.js:82:18)
    at Promise.<anonymous> (/home/node/develop/node_modules/mongoose/node_modules/mpromise/lib/promise.js:177:8)
    at Promise.emit (events.js:95:17)
    at Promise.emit (/home/node/develop/node_modules/mongoose/node_modules/mpromise/lib/promise.js:84:38)
    at Promise.fulfill (/home/node/develop/node_modules/mongoose/node_modules/mpromise/lib/promise.js:97:20)
    at Object.cb (/home/node/develop/node_modules/mongoose/lib/query.js:1150:30)
    at Object._onImmediate (/home/node/develop/node_modules/mongoose/node_modules/mquery/lib/utils.js:137:16)
    at processImmediate [as _immediateCallback] (timers.js:354:15)

npm ERR<EMAIL_ADDRESS>start: `node app.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is most likely a problem with the lets-chat package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node app.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls lets-chat
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 3.16.0-30-generic
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start"
npm ERR! cwd /home/node/develop
npm ERR! node -v v0.10.37
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/node/develop/npm-debug.log

Thanks
Patrick

@pathetiq email is a required field for users. Before we consider changing that, are you guys able to just supply an email?

@hhaidar Yes it is all good and fixed on our side, it is mostly for you to had an error message back to the user saying that email or other info is missing in it's account and it is required to connect, instead that it crash the app completely.

ah thanks @pathetiq <3


[BUG] macOS app not starting

Describe the bug
Many users report that the latest macOS version is not bootable and is stuck on starting up.
See Discord
Screenshots

System:
various macbook Pros
Additional context
Personally don't have that issue but seems to be affecting quite some people

this one had been fixed on #1308

QA not possible. Users report it should be fixed


Update junit-4-13 to <IP_ADDRESS>

About this PR
📦 Updates org.scalatestplus:junit-4-13 from <IP_ADDRESS> to <IP_ADDRESS>
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatestplus", artifactId = "junit-4-13" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalatestplus", artifactId = "junit-4-13" }
}]

labels: test-library-update, commit-count:1

Superseded by #1627.


fix rawRequest() return type: it never returns errors (#174)

I also formatted the request()'s argument list to look like the rest of the code, if you don't mind.

@jasonkuhrt not sure what you mean, there's no new features. The behavior is exactly the same as it was before. I only fixed the type signature of rawRequest() and request() methods as it was described in the original message of #174

@AlexIII right, but if the type signature didn't make it possible before it probably means we had no tests for it otherwise we would have tests with static type errors and I don't recall that. Would be great to capture that now. If you don't want to do it, just let me know.

@jasonkuhrt I'm sorry, I really don't know how to do this. I'm not only unfamiliar with jest, I genuinely cannot understand how one would test for something that not suppose to be in the type signature.

Hi! Sorry to bother you again, but people from #174 and I are interested in this fix. I honestly tried to look into that situation with the test you've requested, but the problem is that one simply cannot write a test for something that's not there. There was the errors property in the return type of rawRequest() and all I did in my PR was removing it. Could you please elaborate how would you like to test that that property is not present? As mach as I am aware, TS has no such functionality, it can only do the opposite, i.e. test if a property exists.

There's more to do but yeah this is an improvement I guess since its removing something misleading.


Interpolate table/figure names

Often times tesseract will incorrectly read the document, resulting in things like "Table I" (capitol i), "Figure l" (lowercase L), etc. Other times, the identifier word itself is wrong ("Teble").
If we assume that some identifications will be accurate, we can interpolate the names of ones that are messy or unknown. For example, if we can see that there is a "Figure 2", a "Figure 5", and a "Figure 6", we could infer that there is also a figure 1, 3, and 4, and perhaps even a figure 7 and 8.
This could be done by leveraging the known page numbers of positive identifications. For example, if we know that "Figure 2" is on page 2, and there is an unknown extract area on page 1, it could be "figure 1".
However, there is currently no distinction made between types of extracts, as tables, figures, and maps all share the same signal. Therefore, if we had positive identifications for "Figure 2" and "Table 2", and two unknown extract areas before those, there is no way to decide which is "Figure 1" and which is "Table 1".  Because of this, the metadata should represent this uncertainty by providing an array of possible values ("name": ["Figure 1", "Table 1"])

@cambro or @iross - any thoughts on this?

If the extract areas have some kind of "associated nearby text" attribute, then could we solve this by trying some kind of fuzzy matching? It looks like the regex module (https://pypi.python.org/pypi/regex/) has some fuzziness handles. For the case where we have two ambiguous extraction areas, could we do some logic equivalent to:
for extract area:
 get caption
 extract_area.isTable = caption.regex(?:Table){s<=2} # look for the word "table" with up to two substituted characters
 extract_area.isFigure = caption.regex(?:Figure){s<=2} # look for the word "figure" with up to two substituted characters
 if it's flagged as both, store the metadata as you suggested...

We might still be left with some ambiguity, but I feel like the fact that Tesseract got pretty close could definitely be leveraged somehow.

I think the information from the Tesseract analysis of elements should distinguish tables vs. figures. e.g., measure of alignment/justification of text blocks within tables, etc.

This might be tricky...just ran into an instance where "Figure 17" and "Figure 18" were read by tesseract as "Figure 13".


extra page to show custom stuff from config

should we build an extra page or modal, to show colors and shortcuts defined in config
reference https://ptb.discord.com/channels/810981250981953597/813781309184671765/830824830466129980

I kinda think we can have something like "defined but not in use", similar to #13. So ppl could find some mis-usages as well (like it should be used but not) or removing redundant configs.


[Bug]-[22]:Appsmith loses connectivity to ArangoDB

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Shared by user on Discourse

I’ve recently started testing AppSmith with ArangoDB(v3.9.0).
I have both AppSmith and Arango hosted in separate Docker containers on my local machine.
Initially everything works well, but after a period of time AppSmith appears to lose connectivity to Arango. Looking at the AppsSmith console i can see the following: (logs here - https://community.appsmith.com/t/arangodb-connectivity-issues/834)
I’ve tried binding to host.docker.internal and my local IP address, both behave the same - works initially and then stops. I can also confirm that this behaviour has not changed since updating to AppSmith v1.6.18

Steps To Reproduce
https://community.appsmith.com/t/arangodb-connectivity-issues/834
Public Sample App
No response
Version
Self-Hosted - v1.6.18

Arango 6m: 11

Stats

Stat
Values

Reach
11

Effort (months)
0.25

I'm closing this issue because we haven't seen this in the past year or so


S3 ingestion: Error when trying to read JSON file

Description: when trying to read JSON file which is on AWS S3 getting validation error.
Input JSON which is on S3 bucket:
{
"id":21,
"name": "service",
"displayName": "service",
"implClass": "org.apache.ran.services.Service",
"label": "Service",
"description": "service",
"resources": "Service"
}
Error Log:
'. Run with --debug to get full trace\n'
'[2022-11-24 14:03:02,843] INFO     {datahub.entrypoints:191} - DataHub CLI version: 0.8.42 at '
'/tmp/datahub/ingest/venv-s3-0.8.42/lib/python3.10/site-packages/datahub/init.py\n'
'[2022-11-24 14:03:05,082] INFO     {datahub.ingestion.run.pipeline:103} - sink wrote workunit '
'container-urn:li:container:8fd8e279d98b2ef71ef1e9dfa6e7d178-to-urn:li:dataset:(urn:li:dataPlatform:s3,s3-datahub-ingestion/servicedef.json,PROD)\n'
'[2022-11-24 14:03:05,182] ERROR    {asyncio:1744} - Task exception was never retrieved\n'
"future: <Task finished name='Task-2' coro=<retrieve_version_stats() done, defined at "
'/tmp/datahub/ingest/venv-s3-0.8.42/lib/python3.10/site-packages/datahub/upgrade/upgrade.py:159> '
"exception=ValidationError(model='VersionStats', errors=[{'loc': ('version',), 'msg': 'none is not an allowed value', 'type': "
"'type_error.none.not_allowed'}])>\n"
'Traceback (most recent call last):\n'
'  File "/tmp/datahub/ingest/venv-s3-0.8.42/lib/python3.10/site-packages/datahub/upgrade/upgrade.py", line 184, in '
'retrieve_version_stats\n'
'    current=VersionStats(\n'
'  File "pydantic/main.py", line 342, in pydantic.main.BaseModel.init\n'
'pydantic.error_wrappers.ValidationError: 1 validation error for VersionStats\n'
'version\n'
'  none is not an allowed value (type=type_error.none.not_allowed)\n',
"2022-11-24 14:03:14.873377 [exec_id=2c45b977-ee2e-4ffa-8466-b57c5186207b] INFO: Failed to execute 'datahub ingest'",

@shlatha1990, please can you upgrade your client? You are using a quite old version of it.

Hi @shlatha1990  this seems like a troubleshooting issue, rather than a bug. We're happy to provide community support on our Slack channel, but currently reserve git issues for bugs.
If you're still having trouble, please join us at [slack.datahubproject.io](https://slack.datahubproject.io/) and we can troubleshoot there. For now, I'm going to close this issue.


Subcommand to print the kubeconfig

We want to have a subcommand that prints the current kubeconfig to the stdout.
It could be something like helmvm kubeconfig.

Moved to Shortcut.


Installing WLS2 - wsl : The term 'wsl' is not recognized

Environment
Microsoft Windows [Version 10.0.18363.1198]
Steps to reproduce
I tried to install WSL2 as shown in https://docs.microsoft.com/en-us/windows/wsl/install-win10, following the manual installation instructions.
All the steps went fine, no error, until Step 5:
wsl --set-default-version 2
which returned:
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ wsl --set-default-version 2
+ ~~~
    + CategoryInfo          : ObjectNotFound: (wsl:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Expected behavior
The command being recognized and changing the default version to 2
Actual behavior
I had that same error (command not recognized) both using the PowerShell (on standard and admin mode), and with cmd.exe
Weirdly, if I open windows explorer in "C:\Windows\System32" I do see a file named wsl.exe (not even having hiden flag). When moving to that same directory from powershell (user or admin) and cmd, this file doesn't even appear with the DIR command:
With CMD:
C:\Windows\System32>dir | findstr wsl
19/03/2019  01:45           166 400 windowslivelogin.dll

With Powershell:
PS C:\WINDOWS\system32> dir | findstr wsl
-a----       19/03/2019     01:45         166400 windowslivelogin.dll

However, installing Windows Terminal app (https://docs.microsoft.com/en-us/windows/terminal/get-started), and launching the command from there (which uses the Powershell as well), then the files do show up.
PS C:\Windows\System32> dir | findstr wsl
-a----       19/03/2019     01:44         226816 windowslivelogin.dll
-a----       10/12/2020     21:13         201728 wsl.exe
-a----       10/12/2020     21:13          37888 wslapi.dll
-a----       10/12/2020     21:13          76288 wslconfig.exe

They also show up in Windows Explorer, as mentioned previously, and in Cygwin as well.
I was able to finish the install from the windows terminal, setting the default version to 2, and installing Ubuntu from the Windows Store, which works fine, and can be ran from the Ubuntu app, or from the Windows Terminal.
Yet I can't explain why the wsl program isn't found from the standard cmd and powershell, since it's not a problem of executables paths, it doesn't even "see" the file when being in System32 folder.

Can you run the following from the both the working and non-working powershell/cmd instances?

cmd: echo %PROCESSOR_ARCHITECTURE%
powershell: $Env:PROCESSOR_ARCHITECTURE

How are you launching the instances that do not work? What sort of machine are you using?

Can you run the following from the both the working and non-working powershell/cmd instances?

cmd: echo %PROCESSOR_ARCHITECTURE%
powershell: $Env:PROCESSOR_ARCHITECTURE

How are you launching the instances that do not work? What sort of machine are you using?

Oh yeah, seems you're onto something.
I run an Acer Laptop, with an Intel Core i5 (64bits), and the OS, Win 10, is also 64bits.
So from the CMD (where WLS doesn't not work) I get:
C:\Windows\System32>echo %PROCESSOR_ARCHITECTURE%
x86
C:\Windows\System32>wmic OS get OSArchitecture
OSArchitecture
64-bit

From the standard PowerShell (where WLS doesn't work neither):
PS C:\Users\adrien> $Env:PROCESSOR_ARCHITECTURE
x86
PS C:\Users\adrien> reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PROCESSOR_ARCHITECTURE
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
    PROCESSOR_ARCHITECTURE    REG_SZ    AMD64

On both it does show x86, whereas on the PowerShell from the Windows Terminal app (the one that worked) it shows x64:
PS C:\Users\adrien> $Env:PROCESSOR_ARCHITECTURE
AMD64
Here are the full info about the CPU (from lscpu)
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   39 bits physical, 48 bits virtual
CPU(s):                          8
On-line CPU(s) list:             0-7
Thread(s) per core:              2
Core(s) per socket:              4
Socket(s):                       1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           142
Model name:                      Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
Stepping:                        12
CPU MHz:                         2112.006

What I don't get is that the x86 shell might not be able to run the WSL program if it's only for 64bit, but shouldn't they at least be able to find the file in System32 using the command DIR ??

So! When you’re running a 32-bit process on 64-bit Windows (or on ARM64, any non-native combination), the hosted non-native process actually sees a different System32 folder(!). The one a 32-bit process sees on x64 Windows is stored on disk at \Windows\SysWOW64. You can access the “native” system32 from a hosted process by looking in the virtual folder \Windows\sysnative. It won’t actually be present on disk, mind you, but the filesystem path resolver will find it.
The WSL executable is (for better or for worse) only installed to the native system directory. Probably because on paper every binary in the hosted one should match the hosted architecture, and it wouldn’t make sense to ship a 32-bit wsl.exe :smile:

Oh I see, yeah didn't know about that specificity, I assumed you couldn't execute the program, but that you'd at least be able to list the files present in the directory. Thanks, that was puzzling me a lot despite having found a workaround!
And I actually realized why it gave the error in the first place. In "Start Menu\Programs\Windows PowerShel" there are two shortcuts for the PowerShell, the standard one, and the x86, it was the standard one (supposed to be x64) that I launched, but I actually was launching it from Launchy (https://www.launchy.net/), a small utility to run programs (similar to Alt+F2 on linux). And that software being 32bit, it'd launched the programs in 32bits as well. When I tried launching CMD and Powershell directly from the start menu it worked (I didn't have the issue with the Windows Terminal, because that one I had to launch from the Start Menu)
Thanks again!


locking/freezing

hi! i've been having an issue concerning the latest release. it seems that after an hour or so the stardew screen freezes and the server locks. when i try unpausing the game, it unfreezes but my fps drops significantly. the only way it gets fixed is by restarting :(

Was it happening on the previous release?


Link in this page is broken

The link on this page, https://csrc.nist.gov/groups/STM/cmvp/documents/140-1/1401vend.htm, does not work. When clicking it the resulting page is a server 500 error. Please correct this.

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

ID: 817fbe87-a720-b940-e27b-3e98b20e68e3
Version Independent ID: f998f64e-e05a-0ce1-85cd-30bbd537b5ae
Content: Encryption in the Microsoft Cloud - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/office-365-encryption-in-the-microsoft-cloud-overview.md
Service: o365-seccomp
GitHub Login: @KCCross
Microsoft Alias: krowley

@paul-rich Thank you for your feedback. We are currently working with the other to fix the broken link. I will update the document shortly.
Thanks
Sri

This link works for me after a redirect. The new URL is https://csrc.nist.gov/projects/cryptographic-module-validation-program/validated-modules/search. Updating.

https://github.com/MicrosoftDocs/microsoft-365-docs/pull/4404


Installing latest Keyvault-Keys library through vcpkg results in linker errors to credential classes

Describe the bug
When installing keyvault-keys 4.0.0 through vcpkg, the linker will not find ClientSecretCredential or ManagedIdentityCredential.
Exception or Stack Trace
Exception when building:
unresolved external symbol "const Azure::Identity::ClientSecretCredential::`vftable'" (??_7ClientSecretCredential@Identity@Azure@@6B@) referenced in function "public: __cdecl Azure::Identity::ClientSecretCredential::ClientSecretCredential(class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class std::allocator >,struct Azure::Core::Credentials::TokenCredentialOptions const &)" (??0ClientSecretCredential@Identity@Azure@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00AEBUTokenCredentialOptions@Credentials@Core@2@@Z)
Error LNK2019	unresolved external symbol "public: __cdecl Azure::Identity::ManagedIdentityCredential::ManagedIdentityCredential(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,struct Azure::Core::Credentials::TokenCredentialOptions const &)" (??0ManagedIdentityCredential@Identity@Azure@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBUTokenCredentialOptions@Credentials@Core@2@@Z) referenced in function "void __cdecl std::_Construct_in_place<class Azure::Identity::ManagedIdentityCredential,char * &>(class Azure::Identity::ManagedIdentityCredential &,char * &)" (??$_Construct_in_place@VManagedIdentityCredential@Identity@Azure@@AEAPEAD@std@@YAXAEAVManagedIdentityCredential@Identity@Azure@@AEAPEAD@Z)
To Reproduce

install package: vcpkg install azure-security-keyvault-keys-cpp (any triplet)
In cmakelists:

add find_package(azure-security-keyvault-keys-cpp CONFIG REQUIRED)
target_link_libraries(main PRIVATE Azure::azure-security-keyvault-keys)

Generate cache and build

Setup (please complete the following information):

OS: Windows 10, 64-bit
IDE : Visual Studio 2019
Version of the Library used: keys 4.0.0, identity 1.1.0, core 1.2.0

Additional context
Building from latest main resolves the issue, it seems to only be when installing through vcpkg. Additionally, explicitly linking to azure-identity (ie, target_link_libraries(main PRIVATE Azure::azure-identity)) will resolve ManagedIdentityCredential, but not ClientSecretCredential.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[X] Repro Steps Added
[X] Setup information Added

Make sure azure-identity is also installed.
The linker is complaining about it can’t find the ClientSecretCredential which comes from azure-identity.
Identity is not a dependency of any other package (for building the library).
Identity becomes a dependency of the application where some service (like keyvault or storage) is used together with an specific credential.

See how Key Vault samples are linking Identity as well like:
target_link_libraries(sample1-hello-world PRIVATE azure-security-keyvault-keys azure-identity)

The CMakeLists in question is already doing that:
#------in the root CMakeLists.txt

cmake_minimum_required (VERSION 3.8)

project ("azure-test")

find_package(azure-security-keyvault-keys-cpp CONFIG REQUIRED)
find_package(azure-identity-cpp CONFIG REQUIRED)

# Include sub-projects.
add_subdirectory ("azure-test")

#-------in the azure-test subdirectory CMakeLists.txt
add_executable (azure-test "azure-test.cpp" "azure-test.h")
target_link_libraries(azure-test PRIVATE Azure::azure-security-keyvault-keys Azure::azure-identity)

This helps when trying to link ManagedIdentityCredential, but I still get the ClientSecretCredential error

Can you share the azure-test.cpp as well?

And can you also share the output of running vcpkg.exe list from within the Vcpkg folder.  I want to see what libraries are installed in there

Removing KeyVault code from the sample and trying to just creating a Azure::Identity::ClientSecretCredential as:
auto credential = make_sharedAzure::Identity::ClientSecretCredential("a", "b", "c");
Failes.
I suspect about the change from PR: https://github.com/Azure/azure-sdk-for-cpp/pull/2448/files#diff-a30072fc7e8ef9f53bd6750f874a751d4b0d2d9ef2df45c41c9571250deff3caR99   moving _detail::g_aadGlobalAuthority.

g_aadGlobalAuthority is declared and defined exactly the same way. Let me to look.

@kyle-patterson, would writing the CMakeFile like this unblock you? -
cmake_minimum_required (VERSION 3.15)
project (vcpkg-test LANGUAGES CXX)

add_executable(vcpkg-test "main.cpp")
set_property(TARGET vcpkg-test PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreadedDebug")

set(VCPKG_TARGET_TRIPLET "x64-windows-static")
# install as this:
# vcpkg install azure-identity-cpp:x64-windows-static azure-security-keyvault-keys-cpp:x64-windows-static
find_package(azure-identity-cpp "1.1.0" CONFIG REQUIRED)
find_package(azure-security-keyvault-keys-cpp "4.0.0" CONFIG REQUIRED)

target_link_libraries(vcpkg-test PRIVATE Azure::azure-identity Azure::azure-security-keyvault-keys)

I need to take a further look into whether the Azure SDK is consumable at all when built as DLL. It could be not, it could be that I can't configure cmake to explain it what I want to do.

@antkmsft That did the trick, I'm able to compile with that cmakefile

I more or less isolated the problem - https://github.com/Azure/azure-sdk-for-cpp/issues/2771
I have a solution how to fix, but ideally that fix would not be necessary, and I'd prefer not to fix it that way. But we need to unblock our customers, so we may do it - at least temporary, if there is no other fix.
And I am even more fine with the fix, but what is hard to accept is that there is this inconsistent and unexpected MSVC behavior with no clear boundary, and so far we don't even know why, even though we know how to fix (the straightforward fix is super simple).

@antkmsft Has the recommendation by @Jinming-Hu here:
https://github.com/Azure/azure-sdk-for-cpp/issues/2771#issuecomment-916655025
Been implemented in the latest release of azure-security-keyvault-keys-cpp? I seem to be encountering this issue still on the 4.2.0 release, and I'm not using CMake (hence I'm not sure if your workaround here would apply to me), though I can try to move to it if absolutely needed.
Here's the linker error I'm seeing in Visual Studio 2019:
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2019	unresolved external symbol "const Azure::Identity::ClientSecretCredential::`vftable'" (??_7ClientSecretCredential@Identity@Azure@@6B@) referenced in function "public: __thiscall Azure::Identity::ClientSecretCredential::ClientSecretCredential(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,struct Azure::Core::Credentials::TokenCredentialOptions const &)" (??0ClientSecretCredential@Identity@Azure@@QAE@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00ABUTokenCredentialOptions@Credentials@Core@2@@Z)	AzureKeyVaultHSM	C:\Users\Correy\source\repos\AzureKeyVaultHSM\AzureKeyVaultHSM.obj	1

Some ancillary information if it helps:
My main.cpp (using Visual Studio 2019)
Worth noting I'm not usually a C++ developer, so admittedly there might be some redundant lines of code here:
#include <iostream>
#include <fstream>
#include <json/json.h>

#include <azure/keyvault/keyvault_keys.hpp>
#include <azure/keyvault/keys/key_client.hpp>
#include <azure/keyvault/keys/key_client_models.hpp>
#include <azure/keyvault/keys/key_client_options.hpp>
#include <azure/keyvault/keys/cryptography/cryptography_client.hpp>
#include <azure/core.hpp>
#include <azure/core/credentials/token_credential_options.hpp>
#include <azure/identity/dll_import_export.hpp>
#include <azure/identity/client_secret_credential.hpp>
#include <azure/identity/environment_credential.hpp>
#include <azure/identity/managed_identity_credential.hpp>

using namespace Azure::Core::Credentials;
using namespace Azure::Identity;
using namespace Azure::Security::KeyVault::Keys;
using namespace Azure::Security::KeyVault::Keys::Cryptography;

int main()
{
    AzureSecrets azureSecrets;
    std::string tenantId = azureSecrets.GetTenantId();
    std::string clientId = azureSecrets.GetClientId();
    std::string clientSecret = azureSecrets.GetClientSecret();
    std::string azureKeyvaultUrl = azureSecrets.GetAzureKeyVaultUrl();

    auto credential = std::make_shared<ClientSecretCredential>(tenantId, clientId, clientSecret);
    // KeyClient client(azureKeyvaultUrl, credential);

    return 0;
}

It's worth noting that if I instantiate credential as an instance of the EnvironmentCredential class like so (i.e. from the same azure/identity namespace), no errors occur:

$ vcpkg list
azure-core-cpp:x86-windows                         1.3.1            Microsoft Azure Core SDK for C++
azure-core-cpp[curl]:x86-windows                                    Libcurl HTTP transport implementation
azure-core-cpp[http]:x86-windows                                    All HTTP transport implementations available on ...
azure-core-cpp[winhttp]:x86-windows                                 WinHTTP HTTP transport implementation
azure-identity-cpp:x86-windows                     1.1.0            Microsoft Azure Identity SDK for C++
azure-security-keyvault-certificates-cpp:x86-wi... 4.0.0-beta.1     Microsoft Azure Key Vault Certificates SDK for C++
azure-security-keyvault-common-cpp:x86-windows     4.0.0-beta.3     Microsoft Azure Common Key Vault SDK for C++
azure-security-keyvault-keys-cpp:x86-windows       4.2.0            Microsoft Azure Key Vault Keys SDK for C++
azure-security-keyvault-secrets-cpp:x86-windows    4.0.0-beta.1     Microsoft Azure Key Vault Secrets SDK for C++
curl:x86-windows                                   7.80.0           A library for transferring data with URLs
curl[non-http]:x86-windows                                          Enables protocols beyond HTTP/HTTPS/HTTP2
curl[schannel]:x86-windows                                          SSL support (Secure Channel)
curl[ssl]:x86-windows                                               Default SSL backend
curl[sspi]:x86-windows                                              SSPI support
jsoncpp:x86-windows                                1.9.5            jsoncpp is an implementation of a JSON reader an...
vcpkg-cmake-config:x64-windows                     2021-11-01
vcpkg-cmake:x64-windows                            2021-09-13
zlib:x86-windows                                   1.2.11#13        A compression library

Feel free to let me know if I can provide any further details.


UBlox GNSS driver improvements

Added bitflag valid checks for position fix and time fix in PVT messages (only in Ublox version 7 and above). This is recommended procedure according to the UBlox protocol specification.
UBlox M8 Protocol Specification 6.3 page 11:

Important: Users are recommended to check the gnssFixOK flag in the UBX-NAV-PVT

The UTC time gets evaluated in two locations and I think you have only covered one. Could you add the 2nd?

Awesome, thanks!


Improve documentation for ROS 2 security

Apologies for the length of this PR but I felt the first cut at a section of security tutorials should all go at once. This adds content currently in the sros2 github repository, adds a "concepts" page and some adds additional content as tutorials:

Update "Concepts" with a paragraph on ROS 2 Security
Add a new "About ROS 2 Security" page under "Concepts" to give a security overview, introduce security enclaves, summarize the six security files, and mention important security environment variables
Add a new "Tutorials" section titled "Security" and remove the current link to the sros2 repo under the "Demos" section
Migrate existing content in the sros2 github repo as new security tutorials "Introducing ROS 2 Security", "Security Across Two Machines" and "Security Access Controls"
Add "Understanding the ROS 2 Security Keystore" tutorial to explain details about the security files
Add "Examine Network Traffic" security tutorial to demonstrate inspection of raw network traffic
Update "Security Access Controls" content to show manual editing of a policy file to restrict enclave permissions
Update "Security Across Two Machines" content to use security standard alice and bob names for clarity rather than feather2 and oldschool
Combine Linux, MacOS and Windows content as tabs in one tutorial rather than as separate documents
Reference other tutorials where possible rather than including content in these docs (e.g., ROS installation, changing middleware, etc.)
Add quiz questions to "Introducing" and "Keystore" tutorials to improve learning

@ros-security-wg @ruffsl @mikaelarguedas any chance I can get some eyes on this? Thank you!!

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2021-06-17/21017/1

@clalancette can we please get some help to move this forward? @SidFaber proposal is quite valuable (and needed)  IMHO.
Happy to rebase this and include all suggestions if @SidFaber can’t review.

@vmayoral @mikaelarguedas @clalancette thanks a bunch for moving this forward, sorry I've been out of pocket for the last few weeks. Really appreciate the great feedback, please let me know anything you'd like to iterate on.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2021-07-15/21453/2

Also, Thanks @SidFaber this is great and we really appreciate it.


Varshil

Added a new project Movielelo and attached the link of the deployment.

@varshilshah-2002 same problem with this PR

hey @varshilshah-2002 I hope you r not uploading the read me file in that folder
do one thing
add folder and run these git commands
git add -A
git commit -a -m "message"
git push origin branchname