x-doc-hide : true not working after migration from next to studio - URGENT

Describe the bug
We migrated a lot of projects from Next to Studio and the APIs having
"x-private": true,
"x-doc-hide": true,
which were hidden before and showing up in the published document after migration.
Please help urgently.
To Reproduce

Given this OpenAPI document '...'
Run this CLI command '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (remove any that are not applicable):

Library version: [e.g. 3.0.0]
OS: [e.g. Windows 7]
Browser: [e.g. Chrome 61]
Platform: [desktop or web]

Hey! If you're looking to hide endpoints/models you can use x-internal:true for that.

Hi Nauman,
This is something new to Studio? we have been using x-doc-hide and x-private in all our legacy API definitions and after Next to Studio migration, this should stay the same. We need to make a lot of changes if we need to introduce a new parameter now.
Why was this changed from x-doc-hide to x-internal? Is there a workaround to make this work as it is?


Fix lint issues by importas linter

Description
Fix lint issues by importas linter.

/retest

/retest

/test pull-eventing-auth-manager-integration-test

/hold

/hold cancel


Add Summons info to Petition Review

I added 3 images
MOSummons.png
MOSummonsCourtDate.png
MOSummonsSignature.png
I added the full page to the question about Petition, but now it has two big images

these images and more have been added already


Consider changing _logger.LogInformation to _logger.LogVerbose in TemplateRoute.cs

Consider changing this code to _logger.LogVerbose
_logger.LogInformation(
"Request successfully matched the route with name '{RouteName}' and template '{RouteTemplate}'.",
Name,
RouteTemplate);
That message is more like a low level debug. For example I have an application that uses the Info level to log things like "App Starting", "App Started", "Something configured or not". I can safely enable those logs without being aware of logs spamming. But if i do that, mvc starts spamming with the message above for each request. It would be cool if the routing uses the Verbose level, so that i could enable it in case i really want to debug each request.

717260872222d2674a85e718ad72dca583b4ee82


[21.05] evolution, evolution-ews, evolution-data-server: backport patch release bumps

Motivation for this change
fix a bug that affected me
Things done
tested for a few days

Built on platform(s)

|x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of ~all binary files (usually in ./result/bin/)~ evolution with evolution-ews
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 137311 at cfe6bd05 run on aarch64-linux 1

3 packages failed to build:

gnome.gnome-documents
gnome.gnome-todo
xmonad_log_applet

1 package skipped due to time constraints:

adapta-gtk-theme

41 packages built successfully:

almanah
bubblemail
calls
chrome-gnome-shell
empathy (gnome.empathy)
evolution
evolution-data-server (gnome.evolution-data-server ,gnome.evolution_data_server)
evolution-ews
folks (gnome.folks)
gnome-photos (gnome.gnome-photos)
gnome.bijiben (gnome.gnome-notes)
gnome.file-roller
gnome.geary
gnome.gnome-applets
gnome.gnome-books
gnome.gnome-boxes
gnome.gnome-calendar
gnome.gnome-contacts
gnome.gnome-control-center (gnome.gnome_control_center)
gnome.gnome-flashback
gnome.gnome-maps
gnome.gnome-panel
gnome.gnome-session (gnome.gnome_session)
gnome.gnome-shell (gnome.gnome_shell)
gnome.gnome-terminal (gnome.gnome_terminal)
gnome.gnome-tweaks (gnome.gnome-tweak-tool)
gnome.gnome-user-share
gnome.nautilus
gnome.nautilus-python
gnome.pomodoro
tracker-miners (gnome.tracker-miners)
gnomeExtensions.easyScreenCast
gnomeExtensions.gsconnect
kgx
pantheon.elementary-calendar
pantheon.elementary-greeter
pantheon.elementary-session-settings
pantheon.extra-elementary-contracts
pantheon.wingpanel-indicator-datetime
pantheon.wingpanel-with-indicators
phosh

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


PIM Assert message state

While doing some tests I ended up to a situation where RP had some (S,G) entries in Assert state. Once entered to such state, it looks like pimd never resets Assert. I looked at the receive_pim_assert() function a bit and I couldn't understand what actually happens there. First of all in pim_proto.c line 2878-2879 there is mrt->timer manipulation, but I suppose it should be mrt->assert_timer manipulation? If I change that timer, then ASSERT timer starts to run once assert message is received. But then in timer.c the assert_timer handling seems to be somewhat unfinished.
What I would do is change mrt->timer to mrt->assert_timer in receive_pim_assert(), and then in timer.c  if assert_timerhas expired, then go through all VIFs of givenmrtentry and clear assert state.  Currently VIFs are not looped through at all while doing assert checks andasserted_oifs` are not cleared.
So, am I missing something here? I could do some fixes to assert message state handling, but it would be great to get another opinion how this should be fixed.

Good work tracking this one down! I've actually never dared to venture into the assert handling, it always looked very scary. I too have noticed recurring problems with the assert election but could never figure out what was the root cause ... you may have stumbled upon it here! :+1:
In any case, simply creating a branch and doing a pull-request is a LOT easier to discuss around at GitHub. So just go ahead and make a pull request and we can discuss the details around that :smiley:

See pull request #64 for a proposed fix.

Merged to master


Issue with "On-the-Fly" formulas

After discussing an issue at length in GURPS discord with Nick Coffin, PI we are able to narrow down a problem and its likely cause.
While using an on the fly formula /r ["(Vision roll at ‑10 or Per-based Traps roll at ‑5)" Vision -10 | S:Traps-5 (Based:Per)] I would get nothing returning with a character selected and need to select character if one wasn't. The issue was found that if you were required to roll any roll that was modified to or below 0 it wouldn't make a roll at all.
I would like to be able to use "On-the-Fly" formulas without thought or consideration. It is an excellent feature that will make playing GURPS for even new players fast and easy even when not using rules lite options, and returning something when a roll is invalid would be useful in avoiding confusion.

For ease of reference, when the GM allows a roll, "... a roll of 3 or 4 is always a success" and "You may not attempt a success roll if your effective skill is less than 3 unless you are attempting a defense roll" and "A roll of 3 or 4 is always a critical success" page 347 of basic set

So I would suggest a pop-up that says "Cannot roll, skill insufficient" and allow a roll for defense rolls.

@crnormand I found this problem in both Foundry v10 & GGA 0.15.x, as well as Foundry v11 & GGA 0.16.x.
The problem occurs in the chat command handler that takes a list of checks such as [Vision -10 | Traps]. To resolve this, it gets the target of each of the rolls and selects the one with the highest value. Unfortunately, that code also uses the value of "0" to represent a skill that isn't found. So in the example above ("[Vision -10 | Traps]"), if the character does not have Traps, and his Vision score is 10 or less, the code ends up with no targets of 1 or higher, and just quietly quits.
I propose that instead of quietly stopping, we put up a message that says "No skills were found, or target rolls are less than 1" or something.

Ah yes...   would:
"This character does not have a viable skill (effective level 3 or higher) that can be rolled"
work?


Add more content to the Readme.

This is good to merge I think

@siemensikkema is this ready to go?


sgx-sdk, sgx-psw: improve samples

Motivation for this change
Make it easier to review updates to sgx-{sdk,psw} on machines with
actual SGX hardware support. The passthru tests build and run the SGX
samples in simulation mode which works without any hardware support. To
run the samples on a machine with SGX hardware support, issue the
following command:
 $(nix-build -A sgx-sdk.runTestsHW)/bin/run-tests-hw

Make sure the SGX AESM daemon is running as some tests require it. See
the services.aesmd.* NixOS module options and the sgx-psw package
for details.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Unrelated to this PR with the new systemd version from here, aesmd fails with:
Jan 10 02:18:33 turingmachine systemd[75093]: aesmd.service: Failed to set up mount namespacing: File exists
Jan 10 02:18:33 turingmachine systemd[75093]: aesmd.service: Failed at step NAMESPACE spawning /nix/store/n6mxmq4cc5apw9az1cz6qmidf7w4nj93-copy-aesmd-data-files.sh: File exists

I am using the mainline sgx kernel driver
but my system somehow does not create those character devices.
So I add the following:
  systemd.tmpfiles.rules = [
    "c /dev/sgx_enclave 777 root root - 10:56"
  ];

This allows aesmd to start:
Jan 10 02:19:16 turingmachine systemd[1]: Starting Intel Architectural Enclave Service Manager...
Jan 10 02:19:16 turingmachine systemd[1]: Started Intel Architectural Enclave Service Manager.
Jan 10 02:19:16 turingmachine aesm_service[2555]: The path of system bundle: System Bundle
Jan 10 02:19:16 turingmachine aesm_service[2555]: ecdsa_quote_service_bundle_name:2.0.0
Jan 10 02:19:16 turingmachine aesm_service[2555]: epid_quote_service_bundle_name:2.0.0
Jan 10 02:19:16 turingmachine aesm_service[2555]: le_launch_service_bundle_name:2.0.0
Jan 10 02:19:16 turingmachine aesm_service[2555]: linux_network_service_bundle_name:2.0.0
Jan 10 02:19:16 turingmachine aesm_service[2555]: pce_service_bundle_name:2.0.0
Jan 10 02:19:16 turingmachine aesm_service[2555]: quote_ex_service_bundle_name:2.0.0
Jan 10 02:19:16 turingmachine aesm_service[2555]: system_bundle:4.0.0

However the hardware test don't quite work:
sudo strace -o /tmp/strace.log -f $(nix-build -A sgx-sdk.runTestsHW)/bin/run-tests-hw
*** Running test Cxx11SGXDemo-HW ***

[get_driver_type /build/source/psw/urts/linux/edmm_utility.cpp:111] Failed to open Intel SGX device.
Info: Please make sure SGX module is enabled in the BIOS, and install SGX driver afterwards.
Error: Invalid SGX device.
Enter a character before exit ...

Sgx is enabled in BIOS on my thinkpad x13 (Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz)
$ uname -a
Linux turingmachine 5.15.11-zen1 #1-NixOS ZEN SMP Tue Jan 1 00:00:00 UTC 1980 x86_64 GNU/Linux
$ dmesg | grep sgx
[    0.508793] sgx: EPC section 0xa0200000-0xa5f7ffff

Here is the strace output:
https://dl.thalheim.io/c4uivVoPbawekUjR-0MXhg/strace.txt

Anything else needed?

Thanks for taking a look!

I am using the mainline sgx kernel driver
but my system somehow does not create those character devices.

I cannot quite understand what's happening. I suppose something's not working properly with regard to the setup of the SGX devices on your machine; both /dev/sgx_enclave and /dev/sgx_provision should exist if you're using the in-tree Linux SGX kernel driver.

Here is the strace output:
https://dl.thalheim.io/c4uivVoPbawekUjR-0MXhg/strace.txt

Apparently, although the in-tree Kernel driver uses the flat paths /dev/sgx_*, the SGX SDK/PSW seems to look for the enclave device within /dev/sgx/* only. According to your strace, the SDK doesn't try opening /dev/sgx_enclave:
25617 openat(AT_FDCWD, "/dev/sgx/enclave", O_RDWR) = -1 ENOENT (No such file or directory)
25617 openat(AT_FDCWD, "/dev/isgx", O_RDWR) = -1 ENOENT (No such file or directory)
25617 openat(AT_FDCWD, "/dev/sgx", O_RDWR) = -1 ENOENT (No such file or directory)

I can confirm this on my machine and also in the source code:
https://github.com/intel/linux-sgx/blob/2ee53db4e8fd25437a817612d3bcb94b66a28373/psw/urts/linux/edmm_utility.cpp#L102-L108
This is an issue as systemd decided to not provide a symlink (which seems like a sane choice): https://github.com/systemd/systemd/pull/18944#issuecomment-795675952. As we do not install the udev rules packaged with sgx-psw (see https://github.com/NixOS/nixpkgs/pull/148593#issuecomment-988799570), we also do not create any symlink even if the AESM service is enabled; creating an SGX enclave should be possible without AESM anyways. On Debian/Ubuntu, Intel advises to depend on libsgx-enclave-common which would install the same udev rules.
I'm going to open an upstream issue if you share my analysis. I'm not sure how to tackle this issue in the meantime. A tmpfiles rule would do the job:
{
  systemd.tmpfiles.rules = [
    "L /dev/sgx/enclave - - - - /dev/sgx_enclave"
  ];
}

Intel also suggests some udev rules to create those symlinks: https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/94e327a8235bc7c85353dc5e0a6dc1564e6c96c6/driver/linux/README.kernel.md#udev-rules
I switched from enabled in bios to software-controlled and then enabled it with https://github.com/intel/sgx-software-enable
this gave me sgx_provision and sgx_vepc but not sgx_enclave:
$ ls -la /sys/class/misc | grep sgx
lrwxrwxrwx 0 root 10 Jan 17:08 sgx_provision -> ../../devices/virtual/misc/sgx_provision/
lrwxrwxrwx 0 root 10 Jan 17:08 sgx_vepc -> ../../devices/virtual/misc/sgx_vepc/

pretty weird.

Intel also suggests some udev rules to create those symlinks: https://github.com/intel/SGXDataCenterAttestationPrimitives/blob/94e327a8235bc7c85353dc5e0a6dc1564e6c96c6/driver/linux/README.kernel.md#udev-rules

That's correct; yet, they also mention that installing those udev rules mainly aims at supporting existing enclaves compiled with an SGX PSW without in-tree support:

To remap those nodes to be compatible with existing user space software (e.g., Intel SGX PSW 2.12 or earlier), as root user, add a new udev rules file and activate it as following.

I'm happy to open a PR which includes a udev rule to symlink /dev/sgx_{enclave,provison}.

Edit: opened an upstream issue: intel/linux-sgx#772

Intel announced that they'd address the issue in the upcoming release.
Meanwhile, I've opened #154550 which adds two udev rules to symlink the application and provisioning enclave devices for backward compatibility.
I guess this PR already showed its usefulness. Unfortunately, @Mic92's SGX setup seems not working properly (for whatever reason). Maybe anybody else with an SGX-enabled machine (preferably running NixOS) could test this PR to get it merged? @sbellem @CitadelCore @arcz

@veehaitch I'll try to test this out before the end of this week.

At some point I might be able to get access got some other SGX hardware.

Btw.: https://www.bleepingcomputer.com/news/security/new-intel-chips-wont-play-blu-ray-disks-due-to-sgx-deprecation/

Btw.: https://www.bleepingcomputer.com/news/security/new-intel-chips-wont-play-blu-ray-disks-due-to-sgx-deprecation/

Also relevant: https://github.com/intel/linux-sgx/issues/760#issuecomment-999258032

Did you have chance to test this, @sbellem?

I ran this on my i5-8500 using 5.15.12. Looks fine until it comes to the remote attestation test:
Info: ProtobufDemoEnclave successfully returned.

*** Running test RemoteAttestation-HW ***

First round, we will try ECDSA algorithm.

Call sgx_get_extended_epid_group_id success.
MSG0 body generated -
4 bytes:
{
0x0, 0x0, 0x0, 0x0
}

Sending msg0 to remote attestation service provider.

Sent MSG0 to remote attestation service.

Info, call sgx_select_att_key_id fail, current platform configuration doesn't support this attestation key ID. [main]
Second round, we will try EPID algorithm.

Call sgx_get_extended_epid_group_id success.
MSG0 body generated -
4 bytes:
{
0x0, 0x0, 0x0, 0x0
}

Sending msg0 to remote attestation service provider.

Sent MSG0 to remote attestation service.

Call sgx_select_att_key_id success.
Call sgx_create_enclave success.
Call enclave_init_ra success.
Error, call sgx_ra_get_msg1_ex fail [main].
Call enclave_ra_close success.
Enter a character before exit ...

When I remove this test, all the others succeed.
@veehaitch Neither dmesg nor aesmd contain any helpful information. Can you guide me in debugging this?

@veehaitch Neither dmesg nor aesmd contain any helpful information. Can you guide me in debugging this?

Unfortunately, I don't know. Maybe it's a network issue?

Maybe tcpdump helps?

I think we can merge this. I would assume the issue @jtraue sees is related to their configuration. In any case, this PR is an improvement.

@veehaitch I'm trying to test it right now. Can the hardware-based tests work with out-of-tree drivers? That is, instead of using /dev/sgx_* it would use /dev/isgx.


correlation matrix calculation & data preprocessing

hi, I have some confuse about the calculation of correlation matrix——how can we use pretraining test set to get the matrix? here is my assumption:

the each emoji, we have 10K test sample, use pretrained model to predict emoji distribution with 64 emoji, we get (10K, 64) matrix for each emoji
averaging in the axis 0, we get (1, 64) for each emoji and calculate the correlation between each other
do I understand corretly ?

what's more, labeling a text with emoji(s) in the original twitter, what if the emoji doesn't occur in selected emoji set(64)? drop it or keep in the text just as a char ?
looking forward your reply

Good question. Step 1 is correct. You then compute the correlations across all 10K observations. If you do the averaging you propose in step 2, then you'll lose the needed information to compute correlations.
Instead, you treat the 64 columns as separate features and use traditional methods to compute correlations across features. You can see a simple example of how that's done here: https://chrisalbon.com/machine_learning/feature_selection/drop_highly_correlated_features/

thanks much!


Options limit and offset to allow pagination

Describe the feature
Allow user of the storage add limit and offset when getting multiple values with getKeys or getItems
Additional information

[ ] Would you be willing to help implement this feature?

https://developers.cloudflare.com/kv/api/list-keys/#list-method
cloudflare kv already supports this feature


Add request headers to traits available to segment rules

It would be nice to be able to write segment rules using HTTP request headers as trait values. E.g a browser might send the following HTTP Request header through:
accept-language: en-GB,en-US;q=0.9,en;q=0.8

We could then enable users to add a segment rule based on this data as a transient trait, with the name header:accept-language and the value en-GB,en-US;q=0.9,en;q=0.8

Related issue


chore: jx-go-2 to 0.0.1

chore: Promote jx-go-2 to version 0.0.1

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

Needs approval from an approver in each of these files:

OWNERS

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


build<EMAIL_ADDRESS>[dev]

coverage: 100.0%. remained the same when pulling 49f56cbfe4cb89a40bc5f3b669b0b736f4f1f25b on v4.4.2 into 90396910d6503a4c606386b637ee992d73948e9c on dev.


Feature Request: Add option to disable loadbalancing

When integrating with higher level orchestration systems, we currently
don't allow to opt out of performing load balancing operations.
We need to disable translating Kubernetes services to Cilium services,
if load-balancing is disabled.
Fixes issue #2008
Signed-off-by: Manali Bhutiyani<EMAIL_ADDRESS>Feature Request: Add option to disable loadbalancing

@tgraf @aanm Made the changes as per review comments. Added a new flag --disable-k8s-services Please take a look.

Why not add the check to daemon/k8s_watcher.go:EnableK8sWatcher? Within that function:
if !k8s.IsEnabled()  || viper.GetBool("disable-k8s-services") == true{
		return nil
}

My understanding was that in EnableK8sWatcher  we still need to execute cache.ResourceEventHandlerFuncs{ 			AddFunc:    d.addK8sServiceV1, 			UpdateFunc: d.updateK8sServiceV1, 			DeleteFunc: d.deleteK8sServiceV1, 		},  for headless services feature.

My understanding was that in EnableK8sWatcher we still need to execute cache.ResourceEventHandlerFuncs{ AddFunc: d.addK8sServiceV1, UpdateFunc: d.updateK8sServiceV1, DeleteFunc: d.deleteK8sServiceV1, }, for headless services feature.

Given that this is the case, the flag name is not clear; it should be something like --disable-k8s-loadbalancing (?)

My understanding was that in EnableK8sWatcher we still need to execute cache.ResourceEventHandlerFuncs{ AddFunc: d.addK8sServiceV1, UpdateFunc: d.updateK8sServiceV1, DeleteFunc: d.deleteK8sServiceV1, }, for headless services feature.

We need to parse k8s services for service based policy enforcement

Per our offline discussion / my other comment, given that we still want headless services to be enabled(?), this flag should be renamed and the documentation for it updated accordingly.
To confirm, we should only disable Cilium management of Kubernetes LoadBalancing services, not headless services @tgraf @nebril ?

I like the name k8s-services because loadbalancer has a different meaning in k8s. We really disable services. We only keep record so we can still enable policy enforcement based on service information. The purpose of the flag is to disable performing service datapath work.


Text extractor - Extracting a multi-line text, pasting into single-line text doesn't treat new line as a space

Microsoft PowerToys version
0.75.0
Installation method
Microsoft Store
Running as admin
None
Area(s) with issue?
TextExtractor
Steps to reproduce

Copy description text of Text Extractor using Text Extractor
Paste it in the browser
View text

✔ Expected Behavior
New line in extracted text would be treated as a space when pasted into single-line text area.
❌ Actual Behavior
Words separated by new line are run together.

Other Software
No response

I am unable to reproduce this bug. Can you provide a /bugreport please

PowerToysReport_2023-10-30-23-06-03.zip

Hello,
I currently am not in possession of my laptop and it may be a while before
I get it back. If you would like this can be closed. Thank you for the
reply.
Respectfully,
Ray
On Wed, Jan 17, 2024, 3:21 PM Joseph Finney @.***>
wrote:

@BL4KST3V3 https://github.com/BL4KST3V3 are you still having this issue
where newlines are not treated as spaces? /needinfo
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/29504#issuecomment-1896630109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM5VOPZKW2MTI5LBZNKYVZLYPAXERAVCNFSM6AAAAAA6WXPW2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGYZTAMJQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@BL4KST3V3 I will close this issue, but if this happens again, feel free to reopen or open a new issue.


Chain logs "expected" errors

Describe the bug
In Prater fork many blocks were missed, causing many errors for the chain processor. However this errors are expected in such network conditions and should not be logged as full errors, maybe warning or just info.
beacon_node_1  | Sep-02 12:40:40.494 [CHAIN]           error: Block error slot=1173203 code=BLOCK_ERROR_PARENT_UNKNOWN, parentRoot=0x520990c851ba76fec4bfdbe08a06ade7da6cce87d233c72a237be4cec0da7c05
beacon_node_1  | Error: BLOCK_ERROR_PARENT_UNKNOWN
beacon_node_1  |     at Object.processBlock (/usr/app/packages/lodestar/src/chain/blocks/process.ts:36:11)
beacon_node_1  |     at processBlockJob (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:66:11)
beacon_node_1  |     at JobItemQueue.BlockProcessor.jobQueue.queue_1.JobItemQueue.maxLength.maxLength [as itemProcessor] (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:34:18)
beacon_node_1  |     at Timeout.JobItemQueue.runJob [as _onTimeout] (/usr/app/packages/lodestar/src/util/queue/itemQueue.ts:85:33)
beacon_node_1  |     at listOnTimeout (internal/timers.js:554:17)
beacon_node_1  |     at processTimers (internal/timers.js:497:7)
beacon_node_1  | Sep-02 12:40:40.854 [CHAIN]           error: Block error slot=1173202 code=BLOCK_ERROR_PARENT_UNKNOWN, parentRoot=0x9c583b08f4f000776b74934ddf8ab4e11c0e17e933f0f6133844c35b97115f52
beacon_node_1  | Error: BLOCK_ERROR_PARENT_UNKNOWN
beacon_node_1  |     at Object.processBlock (/usr/app/packages/lodestar/src/chain/blocks/process.ts:36:11)
beacon_node_1  |     at processBlockJob (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:66:11)
beacon_node_1  |     at JobItemQueue.BlockProcessor.jobQueue.queue_1.JobItemQueue.maxLength.maxLength [as itemProcessor] (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:34:18)
beacon_node_1  |     at Timeout.JobItemQueue.runJob [as _onTimeout] (/usr/app/packages/lodestar/src/util/queue/itemQueue.ts:85:33)
beacon_node_1  |     at listOnTimeout (internal/timers.js:554:17)
beacon_node_1  |     at processTimers (internal/timers.js:497:7)
beacon_node_1  | Sep-02 12:40:41.295 [CHAIN]           error: Block error slot=1173200 code=BLOCK_ERROR_PARENT_UNKNOWN, parentRoot=0x33ffd09b9a984de9301c9a910b5194b5b2eed7a0ce0de7ac8dd26493f6d6f58d
beacon_node_1  | Error: BLOCK_ERROR_PARENT_UNKNOWN
beacon_node_1  |     at Object.processBlock (/usr/app/packages/lodestar/src/chain/blocks/process.ts:36:11)
beacon_node_1  |     at processBlockJob (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:66:11)
beacon_node_1  |     at JobItemQueue.BlockProcessor.jobQueue.queue_1.JobItemQueue.maxLength.maxLength [as itemProcessor] (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:34:18)
beacon_node_1  |     at Timeout.JobItemQueue.runJob [as _onTimeout] (/usr/app/packages/lodestar/src/util/queue/itemQueue.ts:85:33)
beacon_node_1  |     at listOnTimeout (internal/timers.js:554:17)
beacon_node_1  |     at processTimers (internal/timers.js:497:7)
beacon_node_1  | Sep-02 12:40:41.536 [CHAIN]           error: Block error slot=1173197 code=BLOCK_ERROR_PARENT_UNKNOWN, parentRoot=0xbb2f42559ec348347e1e83bd52caa5765768ecb5a99654c7cc6d6ea53bd2e78b
beacon_node_1  | Error: BLOCK_ERROR_PARENT_UNKNOWN
beacon_node_1  |     at Object.processBlock (/usr/app/packages/lodestar/src/chain/blocks/process.ts:36:11)
beacon_node_1  |     at processBlockJob (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:66:11)
beacon_node_1  |     at JobItemQueue.BlockProcessor.jobQueue.queue_1.JobItemQueue.maxLength.maxLength [as itemProcessor] (/usr/app/packages/lodestar/src/chain/blocks/processor.ts:34:18)
beacon_node_1  |     at Timeout.JobItemQueue.runJob [as _onTimeout] (/usr/app/packages/lodestar/src/util/queue/itemQueue.ts:85:33)
beacon_node_1  |     at listOnTimeout (internal/timers.js:554:17)
beacon_node_1  |     at processTimers (internal/timers.js:497:7)

Expected behavior
Log as errors bad unexpected things

I'm testing in kiln with nethermind, and I got:
Aug-11 01:02:08.901[CHAIN]           error: Block error slot=5760, errCode=BLOCK_ERROR_PARENT_UNKNOWN BLOCK_ERROR_PARENT_UNKNOWN
Error: BLOCK_ERROR_PARENT_UNKNOWN
    at verifyBlocksSanityChecks (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/chain/blocks/verifyBlocksSanityChecks.ts:68:15)
    at BeaconChain.processBlocks (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/chain/blocks/index.ts:61:56)
    at JobItemQueue.BlockProcessor.jobQueue.JobItemQueue.maxLength [as itemProcessor] (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/chain/blocks/index.ts:27
:30)
    at Timeout.JobItemQueue.runJob [as _onTimeout] (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/util/queue/itemQueue.ts:92:33)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

Same for slots 5824, 5857, 5952, 6080, 6305.
Is this the same problem reported here?

I'm testing in kiln with nethermind, and I got:
Aug-11 01:02:08.901[CHAIN]           error: Block error slot=5760, errCode=BLOCK_ERROR_PARENT_UNKNOWN BLOCK_ERROR_PARENT_UNKNOWN
Error: BLOCK_ERROR_PARENT_UNKNOWN
    at verifyBlocksSanityChecks (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/chain/blocks/verifyBlocksSanityChecks.ts:68:15)
    at BeaconChain.processBlocks (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/chain/blocks/index.ts:61:56)
    at JobItemQueue.BlockProcessor.jobQueue.JobItemQueue.maxLength [as itemProcessor] (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/chain/blocks/index.ts:27
:30)
    at Timeout.JobItemQueue.runJob [as _onTimeout] (file:///mnt/data/workspace/lodestar/packages/beacon-node/src/util/queue/itemQueue.ts:92:33)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)

Same for slots 5824, 5857, 5952, 6080, 6305.
Is this the same problem reported here?

its possible for lodestar to receive block segments from peers such that there are few missing blocks in front and can't connect to the chain. this is when such an error throw happens and is self recoverable. It becomes serious if its not recoverable and sync doesn't proceed, so the main issue here now is to modify the lodestar error UX.

@dapplion Currently we are logging such block processing errors at DEBUG level. I think that's fine to do so and we can close this issue. What do you suggest?
https://github.com/ChainSafe/lodestar/blob/6ac8c07023bc72c7ef54a6ea66884790793eda21/packages/beacon-node/src/chain/blocks/index.ts#L126


district_needs page

Solved collapsing of table contents of district_needs page when viewing in mobile

@Augustinetharakan12 There are too many file changes with this pr. And the issue seems to be fixed(for me).
Close the pr. Else clarify.

@Augustinetharakan12  too Many file change


API/Json Export Failing Due to Bad Configuration

There is a version of a program that is pointing to a bad question. This is causing the API and Json Exporting to fail.
This is causing the FreshBuck API integration to fail.
[1;31mERROR[0;39m o.p.p.f.SecurityFilter - Exception during authentication procedure
java.util.concurrent.CompletionException: java.lang.RuntimeException: java.lang.IllegalStateException: Question type NULL_QUESTION should not be rendered. Question ID: 2597. Active program question definition is possibly pointing to an old question ID
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at play.core.j.ClassLoaderExecutionContext.$anonfun$execute$1(ClassLoaderExecutionContext.scala:64)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Question type NULL_QUESTION should not be rendered. Question ID: 2597. Active program question definition is possibly pointing to an old question ID
at controllers.api.ProgramApplicationsApiController.lambda$list$2(ProgramApplicationsApiController.java:129)
... 14 common frames omitted
Caused by: java.lang.IllegalStateException: Question type NULL_QUESTION should not be rendered. Question ID: 2597. Active program question definition is possibly pointing to an old question ID
at services.applicant.question.ApplicantQuestion.getQuestion(ApplicantQuestion.java:339)
at services.applicant.question.ApplicantQuestion.isAnswered(ApplicantQuestion.java:118)
at services.applicant.ReadOnlyApplicantProgramServiceImpl.addDataToBuilder(ReadOnlyApplicantProgramServiceImpl.java:344)
at services.applicant.ReadOnlyApplicantProgramServiceImpl.getSummaryDataAllQuestions(ReadOnlyApplicantProgramServiceImpl.java:300)
at services.export.JsonExporterService.buildApplicationExportData(JsonExporterService.java:141)
at services.export.JsonExporterService.lambda$exportPage$1(JsonExporterService.java:94)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.Collections$2.tryAdvance(Unknown Source)
at java.base/java.util.Collections$2.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
at services.export.JsonExporterService.exportPage(JsonExporterService.java:95)
at controllers.api.ProgramApplicationsApiController.lambda$list$1(ProgramApplicationsApiController.java:111)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at play.core.j.ClassLoaderExecutionContext.$anonfun$execute$1(ClassLoaderExecutionContext.scala:64)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
[1;31mERROR[0;39m p.h.DefaultHttpErrorHandler -
play.api.UnexpectedException: Unexpected exception[RuntimeException: java.lang.IllegalStateException: Question type NULL_QUESTION should not be rendered. Question ID: 2597. Active program question definition is possibly pointing to an old question ID]
at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:384)
at play.api.http.HttpErrorHandlerExceptions.throwableToUsefulException(HttpErrorHandler.scala)
at play.http.DefaultHttpErrorHandler.throwableToUsefulException(DefaultHttpErrorHandler.java:245)
at play.http.DefaultHttpErrorHandler.onServerError(DefaultHttpErrorHandler.java:181)
at controllers.ErrorHandler.onServerError(ErrorHandler.java:106)
at play.core.j.JavaHttpErrorHandlerAdapter.onServerError(JavaHttpErrorHandlerAdapter.scala:33)
at play.core.server.AkkaHttpServer$$anonfun$invokeAction$1$1.applyOrElse(AkkaHttpServer.scala:488)
at play.core.server.AkkaHttpServer$$anonfun$invokeAction$1$1.applyOrElse(AkkaHttpServer.scala:480)
at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:490)
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:63)
at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:100)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:94)
at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:100)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)
at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Question type NULL_QUESTION should not be rendered. Question ID: 2597. Active program question definition is possibly pointing to an old question ID
at controllers.api.ProgramApplicationsApiController.lambda$list$2(ProgramApplicationsApiController.java:129)
at java.base/java.util.concurrent.CompletableFuture.uniExceptionally(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniExceptionally.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postComplete(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture.postFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at play.core.j.ClassLoaderExecutionContext.$anonfun$execute$1(ClassLoaderExecutionContext.scala:64)
... 7 common frames omitted
Caused by: java.lang.IllegalStateException: Question type NULL_QUESTION should not be rendered. Question ID: 2597. Active program question definition is possibly pointing to an old question ID
at services.applicant.question.ApplicantQuestion.getQuestion(ApplicantQuestion.java:339)
at services.applicant.question.ApplicantQuestion.isAnswered(ApplicantQuestion.java:118)
at services.applicant.ReadOnlyApplicantProgramServiceImpl.addDataToBuilder(ReadOnlyApplicantProgramServiceImpl.java:344)
at services.applicant.ReadOnlyApplicantProgramServiceImpl.getSummaryDataAllQuestions(ReadOnlyApplicantProgramServiceImpl.java:300)
at services.export.JsonExporterService.buildApplicationExportData(JsonExporterService.java:141)
at services.export.JsonExporterService.lambda$exportPage$1(JsonExporterService.java:94)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.Collections$2.tryAdvance(Unknown Source)
at java.base/java.util.Collections$2.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
at services.export.JsonExporterService.exportPage(JsonExporterService.java:95)
at controllers.api.ProgramApplicationsApiController.lambda$list$1(ProgramApplicationsApiController.java:111)
at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(Unknown Source)
at java.base/java.util.concurrent.CompletableFuture$Completion.run(Unknown Source)
at play.core.j.ClassLoaderExecutionContext.$anonfun$execute$1(ClassLoaderExecutionContext.scala:64)
at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:49)

It appears the source cause was related.to caching. Restarting the application to clear that cache seems to have fixed the api.
Leaving this open for now in case I need to provide more updates.

I wrote this up for Gwen on the Json API flow:

API flow

The ProgramApplicationsApiController gets the pagination token and filters, calls into programService.getSubmittedProgramApplicationsAllVersions() to get a page of applications, and then passes them to JsonExporterService.exportPage() here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/controllers/api/ProgramApplicationsApiController.java#L106-L112

JsonExporterService.exportPage() builds a map of all program definitions for the program, and then for each application it calls buildApplicationExportData() with that map an application, here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/export/JsonExporterService.java#L89-L95

buildApplicationExportData()

Uses a Map<Path, AnswerData to store the answers to export. We store an AnswerData for all paths across all versions of a program.
First, it uses the ReadOnlyApplicationProgramService.getSummaryDataAllQuestions() to get AnswerData objects for every question in the program version associated with the application. That's here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/export/JsonExporterService.java#L123-L131
Then, it loops through the remaining program versions, calling ReadOnlyApplicationProgramService.getSummaryDataAllQuestions() for each one (with an empty ApplicantData so all questions are "unanswered"), and adds their AnswerDatas to the map if the Path to that question is not already in the map. This is so that questions still show up in the API even after they're removed from a program, so API consumers don't break when a program is changed. That here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/export/JsonExporterService.java#L133-L142
Then the resulting map is then processed into an ApplicationExportData and each AnswerData is converted into a value to be inserted into a JSON blob, which starts here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/export/JsonExporterService.java#L145-146

500 error source
There error is coming from calling getSummaryDataAllQuestions() with the program version that had the null question:

getSummaryDataAllQuestions() builds blocks for every block in the program
Then for each block, in [addDataToBuilder()](https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/applicant/ReadOnlyApplicantProgramServiceImpl.java#L332), it loops through every question and fetches a bunch of metadata and the scalar answers, puts them in the AnswerData, and adds it to the list that it eventually returns.

In addDataToBuilder()

As it's building metadata about the question, it calls ApplicantQuestion.isAnswered() here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/applicant/ReadOnlyApplicantProgramServiceImpl.java#L344-L345
which calls ApplicantQuestion.getQuestion():
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/applicant/question/ApplicantQuestion.java#L117-L120
which calls ApplicantQuestion.getType(), switches on the result, and throws a 500 if it's a NULL_QUESTION:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/applicant/question/ApplicantQuestion.java#L337-L343

Weirdly, this issue went away after restarting the prod server, which also clears the program definition cache. It was also happening inconsistently when running from a copy of the prod DB.
Working out way back up:

The ApplicantQuestion is created in Block.getQuestions() here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/applicant/Block.java#L165-L177 when getQuestions is called from ReadOnlyApplicantProgramServiceImpl.addDataToBuilder().
The question is created from a ProgramQuestionDefinition that's on the Block's BlockDefinition.
The Blocks are built when getSummaryDataAllQuestions() calls getBlocks() here(ish):
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/applicant/ReadOnlyApplicantProgramServiceImpl.java#L415
That programDefinition is the one passes to ApplicantService.getReadOnlyApplicantProgramService() in JsonExporterService here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/export/JsonExporterService.java#L128-L130
Which comes from calling `programService.getAllVersionsFullProgramDefinition() here:
https://github.com/civiform/civiform/blob/469c5c397ada272ac749ed0fd361f33000add9e1/server/app/services/export/JsonExporterService.java#L88-L90

Closing as stale, since clearing the cache fixed it.

I'd be curious whether we've seen anything interesting in the logs, since we added this in the latest version.

None at this time, but I only just updated prod a few hours ago.

The logging that was added got hit. It happened when re-publishing a program when translations were the only thing being edited. It caused an enumerator and related blocks to be removed from the program.

[31mWARN [0;39m r.ProgramRepository - Program homewisewx with ID 2211 has the following null question ID(s): 1 in 2732 / 34 blocks, so we won't set it into the cache.

There were also dozens of this error before and after the warning message:

[1;31mERROR[0;39m s.q.ReadOnlyVersionedQuestionServiceImpl - Question not found for ID: various ids

Did clearing the cache/restarting the server fix it?

No


[CLOSED] Add Conversation

 Issue by Wilson-Ding1
Thursday Sep 28, 2017 at 04:13 GMT
Originally opened as https://github.ibm.com/IBM-Swift/swift-watson-sdk/issues/25

 Issue by vherrin
Friday Jul 15, 2016 at 13:25 GMT
Originally opened as https://github.com/IBM-Swift/swift-watson-sdk/issues/25

[x] Implement service
[x] Add unit tests
[x] Update documentation
[x] Update travis to reflect new service

 Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 04:13 GMT

 Comment by vherrin
Sunday Jul 31, 2016 at 04:13 GMT

these tasks are complete


No Correct Weights - FinRL for Quantitative Finance: Tutorial for Portfolio Allocation

Hi All, I would like to reproduce the results or so similar weights as in the article (https://towardsdatascience.com/finrl-for-quantitative-finance-tutorial-for-portfolio-allocation-9b417660c7cd). However, my weights are always close to identical and all are almost the same size.... means all shares have almost a weight of 0.033...
But it never becomes a weight zero or similar - what can be the reason???

When portfolio optimization models produce nearly identical weights for all assets, it could be due to several reasons.
Model Initialization: Some optimization algorithms might start with an equal weight distribution as an initial solution. Depending on the algorithm's learning rate, convergence criteria, or other hyperparameters, it might remain close to this initial solution.
Regularization: If the model has a strong regularization term, it might encourage the weights to be distributed more evenly among the assets to prevent overfitting.
Optimization Constraints: Ensure that there aren't any constraints in the optimization process that might be causing this uniform distribution. For instance, constraints that enforce diversification might lead to such outcomes.
Model Convergence: The optimization algorithm might not be converging properly. This could be due to a variety of reasons such as a high learning rate, inappropriate optimization algorithm, or reaching a local minimum.
Hyperparameters: Ensure that you're using the same hyperparameters as in the referenced article. Small changes in hyperparameters can lead to significantly different results.
Version Differences: There might be differences in the versions of the libraries or tools you're using compared to those used in the article. These differences can sometimes lead to varied results.
Please share more details about the steps you've followed, any modifications you made to the original code, and the versions of the libraries you're using.
If possible, share the output or logs from your optimization process. This might provide insights into the optimization's behavior.
Once we have more information, we can provide more targeted recommendations. In the meantime, you might want to experiment with different hyperparameters, optimization algorithms, or constraints to see if that changes the results.


[CMake] Add broader support for cross-compiling the portions of the compiler that are written in Swift to non-Darwin Unix

Add cross-compilation flags for the newly added Swift source in lib/ASTGen/, similar to how SwiftCompilerSources/ is already cross-compiled for other platforms. Make sure the Swift source in the compiler builds and links against SWIFTLIB_DIR in this cross-compilation build directory, not the one that comes with the native host compiler.
This requires changing the dependency chain in CROSSCOMPILE mode, as normally the Swift compiler is built first when building natively for the host, then it's used to build the stdlib. However, when cross-compiling the toolchain, the stdlib must be cross-compiled first by the host compiler, then the portions of the Swift compiler written in Swift must be cross-compiled with that new stdlib. All these dependency changes simply change that compilation order when cross-compiling, including removing the dependency that the Swift compiler is built before the stdlib when cross-compiling the Swift compiler.
All changes in this pull are gated on the CROSSCOMPILE mode, so they will not affect any of the existing CI or build presets.
This implements 1. of #71507, generalizing my Android patch from late last year to more non-Darwin platforms. @compnerd, let me know what you think, could be useful for Windows too. @rintaro and @bnbarham, you added some of this CMake support for linux that I'm now modifying for cross-compilation, input appreciated.
@drodriguez, you may be the only person other than me using this CROSSCOMPILE mode, considering the slight modifications you added in #70134 a couple months ago. What platforms are you building for? Let me know what you think of this pull, and if you need me to pull out the SWIFT_COMPILER_SOURCES_SDK_FLAGS override you added there and apply it to all this Swift source that is now built into the compiler.

@drodriguez, OK, I see. You don't use this mode, but you generally just wanted to pass in some Swift flags, so you passed them into both.

Ping @eeckstein, maybe you can review?

Yep, I've been using most of it to cross-compile the Swift source in the compiler for Android since the 5.9 release.
@kateinoigakukun, please run the CI.

@swift-ci test

Ping @bnbarham, ready for merge.

@etcwilde, do you think you will get your cross-compilation changes into 6.0 before the release later this year? If not, maybe we can get this in now, and you can get your changes into trunk after the 6.0 branch, to be released with 6.1 next year.

@etcwilde, do you think you will get your cross-compilation changes into 6.0 before the release later this year? If not, maybe we can get this in now, and you can get your changes into trunk after the 6.0 branch, to be released with 6.1 next year.

No, I think there is too much risk to slide my rewrite into 6.0. I'm aiming for 6.1 with it. I'll leave it up to @bnbarham what he wants to do with things in their current state.

Alright, @bnbarham, do you think we can get this small pull in? It has no effect on the CI and will simply help with cross-compiling the compiler for Unix platforms until Evan does his big CMake rewrite.

Alright, @bnbarham, do you think we can get this small pull in? It has no effect on the CI and will simply help with cross-compiling the compiler for Unix platforms until Evan does his big CMake rewrite.

These components aren't required today and they won't be for 6 - there shouldn't be anything stopping you from building the compiler right now. So given that, I would strongly prefer we don't propagate BOOTSTRAPPING_MODE further.

@bnbarham, I think you misunderstand what I'm using this for. BOOTSTRAPPING_MODE is only used in this pull to determine if the compiler is being cross-compiled or not: it has nothing to do with bootstrapping but is simply a signifier of what kind of build is being undertaken. Evan will have to do something similar for his rewrite later this year, then we can just take all this out.
Until then, this is necessary to cross-compile the Swift portions of the compiler for Unix platforms, so I think we should get it in.

@eeckstein, do you mind merging? I don't think other Swift devs understand that this has nothing to do with bootstrapping, but rather the distinction between building with host tools for the native host or a cross-compilation host.
Once Evan puts up his CMake rewrite, presumably using some other way to distinguish between native and cross compilation, it should be easy to remove this support, as it is all scoped by checking CROSSCOMPILE. I have told him that I will try out his new approach and contribute to get that working well then.

Fine with me to merge next week (after the branch). @etcwilde @bnbarham are you fine merging this?

Why after the branch? It has no effect on the CI, as none of the CI cross-compile the toolchain for non-Darwin platforms. I'm asking now since Evan said his rewrite won't make it into 6.0 anyway.

Is this essential for 6.0?

No, it isn't. It is a necessary patch for people like me, who cross-compile the toolchain for non-Darwin platforms, but for most other users of 6.0, it has both little benefit and pretty much zero risk of breaking anything.

So, can we wait until Monday for merging?

okay, fine with me

My objection to the PR is more about not adding even more to our already complex build system than it is to do with bootstrapping/cross-compiling.

Everything in this pull is scoped with if(BOOTSTRAPPING_MODE STREQUAL "CROSSCOMPILE"), so I disagree that this is adding any complexity to the normal build paths that most devs use.

I'm not misunderstanding anything here... These components aren't required today, so this isn't needed.

What components aren't required today? This pull does three things:

fixes the cross-compilation build for SwiftCompilerSources/
adds cross-compilation flags for lib/ASTGen/ for the first time
reorders the build dependencies so the Swift stdlib is cross-compiled before the Swift portions of the compiler are cross-compiled

Maybe you believe 1. isn't necessary, but I don't see how you think the others aren't.


refactor(pie-monorepo): set component props to public

"@justeattakeaway/pie-icon-button": minor
"@justeattakeaway/pie-button": minor
[Changed] - Set all component props to public

I'm not sure this was necessary, as public is the default value, but I don't have a problem with it 😄


Search bar suggestions in explore/collections

we have search bar on collections hotfixed thanks to:

https://github.com/kodadot/nft-gallery/pull/3390

next thing would be to get rid of the errors, after speaking to @vikiival, the problem is with magick (subquery) queries being passed to our snek indexer, and if I understand the problem correctly, moving forward we should rewrite the queries to subsquid so that we don't get those graphql errors we now get when typing + there seems to be some redundant redirection happening:

correct me here if I'm wrong, but the errors seem to be coming from the search bar attempting to give suggestions

correct me here if I'm wrong, but the errors seem to be coming from the search bar attempting to give suggestions

yeah so maybe for now we can turn off suggestions for bsx?


[bug] Need to fix errors of Qt locale bitcoin_ko.ts file for 1.21-dev

Bug Report
Current behavior:

For 1.21-dev
The Korean translation has the following errors and needs to be fixed.

Typos
Incorrect translation
'Bitcoin' instead of 'Dogecoin' in Korean translation
'Satoshi' instead of 'Koinu' in Korean translation
etc.

File: src/qt/locale/bitcoin_ko.ts

I'm working on it.

Need reviewers for the PR


option to turn off "click on folder stickers to change it"

The option to click on the stickers of folders to change them is great but it is too aggressive.
Accidental clicks are common and as soon as the file structure gets deeper it is almost impossible not to click constantly on change stickers.
A setting to turn that quick access off would help.

I would agree.  Actually might even suggest that clicking on the icon in the tree view never brings up the change dialog but instead you can only change it by clicking on the larger icon at the top of the view of the note page itself.  Maybe a right click menu entry for cases where this might not be the case (canvas or when not viewing folder-notes with contexts turned off)


ValueError: arange: cannot compute length

Hi
Thank you for creating an great tool.
When I run the following code, a problem occurs. Can you help me solve it?
Code:
adata_result = mv.recover_dynamics_chrom(ldata_subset,
adata_subset,
max_iter=5,
init_mode="invert",
verbose=False,
parallel=True,
save_plot=False,
rna_only=False,
fit=True,
n_anchors=500,
)
Error:
_RemoteTraceback                          Traceback (most recent call last)
_RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/user/envs/scVelo/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 463, in _process_worker
r = call_item()
File "/home/user/envs/scVelo/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 291, in call
return self.fn(*self.args, **self.kwargs)
File "/home/user/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py", line 588, in call
return [func(*args, **kwargs)
File "/home/user/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py", line 588, in
return [func(*args, **kwargs)
File "/home/user/envs/scVelo/lib/python3.9/site-packages/multivelo/dynamical_chrom_func.py", line 2549, in regress_func
cdc = ChromatinDynamical(c,
File "/home/user/envs/scVelo/lib/python3.9/site-packages/multivelo/dynamical_chrom_func.py", line 1074, in init
self.initialize_steady_state_params(model_mismatch=self.model
File "/home/user/envs/scVelo/lib/python3.9/site-packages/multivelo/dynamical_chrom_func.py", line 1386, in initialize_steady_state_params
for t_sw_1 in np.arange(1, rna_interval-1, 2,
ValueError: arange: cannot compute length
"""
The above exception was the direct cause of the following exception:
ValueError                                Traceback (most recent call last)
Cell In[385], line 1
----> 1 adata_result = mv.recover_dynamics_chrom(ldata_subset,
2                                          adata_subset,
3                                          max_iter=5,
4                                          init_mode="invert",
5                                          verbose=False,
6                                          parallel=True,
7                                          save_plot=False,
8                                          rna_only=False,
9                                          fit=True,
10                                          n_anchors=500,
11                                         )
File ~/envs/scVelo/lib/python3.9/site-packages/multivelo/dynamical_chrom_func.py:3107, in recover_dynamics_chrom(adata_rna, adata_atac, gene_list, max_iter, init_mode, model_to_run, verbose, plot, parallel, n_jobs, save_plot, plot_dir, rna_only, fit, fit_decoupling, extra_color_key, embedding, n_anchors, k_dist, thresh_multiplier, weight_c, outlier, n_pcs, n_neighbors, fig_size, point_size, partial, direction, rescale_u, alpha, beta, gamma, t_sw)
3104 verbose = False
3105 plot = False
-> 3107 res = Parallel(n_jobs=n_jobs, backend='loky', verbose=verb)(
3108     delayed(func_to_call)(
3109         c_mat[:, i],
3110         u_mat[:, i],
3111         s_mat[:, i],
3112         model_to_run[i] if m_per_g else model_to_run,
3113         max_iter,
3114         init_mode,
3115         global_pdist,
3116         embed_coord,
3117         rna_conn,
3118         verbose,
3119         plot,
3120         save_plot,
3121         plot_dir,
3122         fit_args,
3123         gene_list[i],
3124         partial[i] if p_per_g else partial,
3125         direction[i] if d_per_g else direction,
3126         rna_only,
3127         fit,
3128         fit_decoupling,
3129         extra_color,
3130         ru[i] if isinstance(ru, (list, np.ndarray)) else ru,
3131         alpha[i] if isinstance(alpha, (list, np.ndarray))
3132         else alpha,
3133         beta[i] if isinstance(beta, (list, np.ndarray))
3134         else beta,
3135         gamma[i] if isinstance(gamma, (list, np.ndarray))
3136         else gamma,
3137         t_sw[i] if isinstance(t_sw, (list, np.ndarray)) else t_sw)
3138     for i in gene_indices)
3140 for i, r in zip(gene_indices, res):
3141     (loss, model, direct_out, parameters, initial_exp,
3142      time, state, velocity, likelihood, anchors) = r
File ~/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py:1944, in Parallel.call(self, iterable)
1938 # The first item from the output is blank, but it makes the interpreter
1939 # progress until it enters the Try/Except block of the generator and
1940 # reach the first yield statement. This starts the aynchronous
1941 # dispatch of the tasks to the workers.
1942 next(output)
-> 1944 return output if self.return_generator else list(output)
File ~/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py:1587, in Parallel._get_outputs(self, iterator, pre_dispatch)
1584     yield
1586     with self._backend.retrieval_context():
-> 1587         yield from self._retrieve()
1589 except GeneratorExit:
1590     # The generator has been garbage collected before being fully
1591     # consumed. This aborts the remaining tasks if possible and warn
1592     # the user if necessary.
1593     self._exception = True
File ~/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py:1691, in Parallel._retrieve(self)
1684 while self._wait_retrieval():
1685
1686     # If the callback thread of a worker has signaled that its task
1687     # triggered an exception, or if the retrieval loop has raised an
1688     # exception (e.g. GeneratorExit), exit the loop and surface the
1689     # worker traceback.
1690     if self._aborting:
-> 1691         self._raise_error_fast()
1692         break
1694     # If the next job is not ready for retrieval yet, we just wait for
1695     # async callbacks to progress.
File ~/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py:1726, in Parallel._raise_error_fast(self)
1722 # If this error job exists, immediatly raise the error by
1723 # calling get_result. This job might not exists if abort has been
1724 # called directly or if the generator is gc'ed.
1725 if error_job is not None:
-> 1726     error_job.get_result(self.timeout)
File ~/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py:735, in BatchCompletionCallBack.get_result(self, timeout)
729 backend = self.parallel._backend
731 if backend.supports_retrieve_callback:
732     # We assume that the result has already been retrieved by the
733     # callback thread, and is stored internally. It's just waiting to
734     # be returned.
--> 735     return self._return_or_raise()
737 # For other backends, the main thread needs to run the retrieval step.
738 try:
File ~/envs/scVelo/lib/python3.9/site-packages/joblib/parallel.py:753, in BatchCompletionCallBack._return_or_raise(self)
751 try:
752     if self.status == TASK_ERROR:
--> 753         raise self._result
754     return self._result
755 finally:
ValueError: arange: cannot compute length

I don't know much about the code. Therefore, I tried asking ChatGPT.
Answer:

The error message you provided seems to have originated from the arange function in numpy. This function generates numbers at a certain interval from a start value to an end value. The error occurred because the supplied parameters are not appropriate, and it cannot calculate the length.
In the code, it seems that the problem occurred in the part for t_sw_1 in np.arange(1, rna_interval-1, 2,. For np.arange(1, rna_interval-1, 2), the rna_interval-1 needs to be greater than 1. If the rna_interval is less than or equal to 2, arange can't generate a valid sequence, leading to an error.
To solve this problem, you should first check the value of rna_interval. Ensure that rna_interval is set to an appropriate value, and adjust this value if necessary. This is especially important if rna_interval represents a certain attribute of the data.
It would also be good to review the entire code as there may be issues in other parts of the code. Particularly, verify that the inputs to the recover_dynamics_chrom function are correct. Make sure the parameters of the function are working as expected, and that each variable has the right range and format.
Additionally, since this error occurred during a parallel processing operation, there may be issues in the part of the code managing parallel processing. Check if your parallel processing settings are appropriate and adjust them if necessary.
For more specific assistance, additional information on the input variable values for the recover_dynamics_chrom function or how the mv.recover_dynamics_chrom function was implemented would be helpful. Providing this information will allow me to provide more detailed advice.

Hi,
What's the version of MultiVelo that you're using? It could be related to issue #5.

Name: multivelo
Version: 0.1.3
Summary: Multi-omic extension of single-cell RNA velocity
Home-page: https://github.com/welch-lab/MultiVelo
Author: Chen Li
Author-email<EMAIL_ADDRESS>License: BSD 3-Clause License
Location: /home/user/envs/scVelo/lib/python3.9/site-packages
Requires: anndata, h5py, ipywidgets, joblib, loompy, matplotlib, numba, numpy, pandas, scanpy, scikit-learn, scipy, scvelo, seaborn, tqdm, umap-learn
Required-by:
The version of Multivelo installed in my Python is 0.1.3
is it new released version?

Yes, that seems to be the latest version. Do you know which gene was causing the error at the end? Can you plot its phase portrait with scvelo.pl.scatter?

The previous error disappeared. So, I tried again by creating a new one, but a similar error occurred. It stopped at variable number 8544 out of 19516 variables. Therefore, I looked for adata_rna.var.iloc[8543] and found the result:
Accession: ENSMUSG00000112294.1
Chromosome: 10
End: 123199418
Start: 123196695
Strand: +
Gene_count_corr: -0.01
I plotted the values for Gm4129 using scvelo.pl.scatter, and the result is as follows.

Thanks for sharing the plot. It seems like this gene doesn't have high-quality unspliced and spliced counts. Was any filtering performed on the unspliced and spliced counts during preprocessing steps prior to calling the recover dynamics function?
In the meantime, it is safe to continue the run without this gene.

Following your advice on filtering, it worked out well
Thanks!!

Glad it worked out. In case there are more ambiguous errors, our team has recently added more robust logging functions to the GitHub version of the package, and it should be helpful for debugging purposes. It will be bundled into a new release in the near future.
Closing the issue due to completion.


Fix the status of the plugin manager at the end of integration of int-4

If Integration test 5 is run directly after integration test 4, the start state of the platform for integration test 5 is corrupted. There are no plugins registered with the plugin manager, while at least the SMR, SLM and IA should be registered. This causes integration test 5 to fail.
If we run integration test 5 on a clean environment, the test succeeds. As temporarily fix, we changed the chain of integration tests, so that integration test 5 is run on a clean environment.
In the long run, we should fix the issue itself. It should not be possible that the platform reaches the corrupted state it has at the end of integration test 4 (this state is not necessarily caused by int-4, it can be caused by an earlier test as well). Therefor, we should investigate how we reached this state and prevent it from happening again.

@tsoenen
As a rule, the order of running the tests should be irrelevant (there are even some testing frameworks that force this). To facilitate/achieve this, there's usual a set-up action, ran before each test, that puts the component to be tested in a know state.
Can't we do it this way?

@jbonnet
Yes, that is basically what this quick fix does. It is not as clean as your suggestion (where the cleaning of the platform is done at the start of the test, instead of running int-9 to provide a clean platform), but it fixes the test for now.
Next to making sure that the test starts from a known state, we should also address the real issue that causes this failure: it is somehow possible that our platform reaches a state where the plugins are no longer registered in the plugin manager. Whether this is caused by some standard actions that a owner/customer could do, or by some 'sonata-team admin' moves during the previous test should be checked. But if its the first, then we need to prevent this from happening. This issue shoudl remind us to fix this when we have more time (as I don't think this has the highest priority)


Feature: make globals.cwd accept a function instead of a string

Have you RTFM'd?

[X] I have done proper research

Feature Request
As i was reading the docs, i noticed that globals.cwd doesn't accept a function as a value to calculate the current working directory this makes specifiyng the root of your workspace a bit unflexible, and makes your keymaps be repetitive and a bit ugly, i was thinking that allowing this option to accept a function to calculate dynamically the current working directory would be awesome, and would make things a lot easier.

here is a example of the stuff that im facing right now:

if i want all pickers that accept a cwd to have a [dynamic] default cwd, i would have to specify it in each one of them. instead of just putting it in the global section.

This argument can be made for any option not just cwd, for static options set for everything (e.g. file_icons) you need to use the setup.defaults table (not directly in setup).
For dynamic options, send a function as opts and return all the options you want:
lua require("fzf-lua").files(function() return { cwd = "~/.config/nvim" } end)


Add columns and name filter to admin accounts panel

Counter caches are being used for users and entries which belong to an account. Translations must be added manually.

see #568


[ Question ]

Sorry to ask another question this early on.
The show gold, zoom in and out map, in caster cockpit don't seem to work/need development. Is there any way to fix this?

Map Zoom: This is intended to work with a vMix integration, otherwise nothing will happen.
Gold: This should work without issue; note that this just causes the observer tool to press "X" on the observer PC. If you're not tabbed into the game or have the button bound to something else, it won't work.

I don't know how to configure and run, is there a schematic picture

How do I get the API KEY?

I don't know how to configure and run, is there a schematic picture

The Wiki  has step by step installation instructions. If you run into problems, please open a new issue.


Add reliable data channel v2

Exploring your suggestions in #63 regarding #25 I tried an alternative implementation.
The two main differences beside some fixes are:

It is possible to receive a packet and at the same time understand from which channel it came
I use vectors instead of tuples to prepare for a later extension of the feature for more than two data channels

I decided to open two PRs for both variants because I am not sure which one is better. I like the simplicity of #63 and I tried to keep it in this PR - it is still possible to simply use the send() and receive() methods to not have to worry about the big world of WebRTC at all and remain blissfully oblivious of the data channels used backstage.
If the library user would like to have more influence or information over how the packet is or was sent I added two methods:

send_enhanced() that return or take a struct respectively where the user can request the packet to be sent via a certain channel (possibly there might be other settings later on but I can't think of any right now to be honest).
receive_enhanced() where the user can see via which channel the packet was received

Of course there would be more convenient APIs if it would be a common usecase to open several data channels where each has its own specific settings and use cases but I love matchbox for its simplicity and this is I think the simplest API for simple use cases.
Please let me know what you think and if this is going more in a direction that is convenient for you as well.

btw, sorry, for being so back-and-forth about this. I hope you don't feel like you've done a lot of wasted work.
For what it's worth, discussing this and reading through your PRs has been really useful in order to start and think about what-why-and-how the API will be used.

Also, FYI: I'm fixing a quite serious regression in #65 that has conflicts wit this PR. I'll probably merge it within the next day or two unless someone has comments.

Thanks for your replies - and I don't feel that I wasted work because I learned a lot in the process and I would oppositely only regret to merge something that doesn't meet the quality standards and ease of use I am used from this library so I am happy about all of your suggestions. I am back and forth myself and have to apologise myself for giving you so many different things to review :)
Also I am in no hurry because for my game I use my own fork and am happy with it for now

I finally found time to implement a working version following your suggestions. I believe this API makes matchbox much more powerful while still keeping it fairly simple.
After a lot of thinking I actually don't like any of my suggestions better than yours and I guess adding more features will make the API inevitably more complex as well. Also this keeps everything very flexible in the backend if one day someone finds a more beautiful API!
Also thanks a lot for your explanations in #65 - it was like I already expected but having you confirm it gave me the confidence and focus to dig through it once more and finally find a point of leverage from where on I could deconstruct the multiplexing single sender/receiver pair into separate ones which was a prerequisite for this implementation - following compiler suggestions until it worked!
I tested it locally with multiple reliable and unreliable data channels both natively and wasm and my (simple) tests were successful. Both demos work fine natively and my game works well with the wasm version.
I am getting more confident already with webrtc and async programming but I still expect that there might have been a few things I missed so I am looking forward to your feedback

Looking much better now! From my side I would be confident to merge but please feel free to also test it on your own because the change was quite big.

Okay, I think this should be almost good now. Just the one cleanup.
I still wonder whether to include it in 0.5 or not. I intended to release that as soon as the demo was updated for bevy 0.9.
I'm currently leaning towards merging it right after 0.5, then hopefully I'll have some time to dogfood it in my own project before we release it on crates.io

It's fine to wait a bit and I agree it's probably better to not include it in 0.5 but let's better merge it not too late because anybody forking the PR at this point will face a lot of merge conflicts


Feature: Add an RAII wrapper to support RPC timeouts when making blocking COM calls #458

Closes #458
Why is this change being made?
We have a project where we want to make blocking COM calls to another COM server process, but we want protection from the calls taking an infinite amount of time.  There is an existing, but very old, wrapper that provides this functionality.  Instead of using the old wrapper I am porting it to WIL so that we can use it in a different repo than the original and to share it more broadly because it is useful.
Briefly summarize what changed
Add a new wil::rpc_timeout class to <wil/com.h> along with a few test cases for it.  This class uses a combination of CoEnableCallCancellation, CoDisableCallCancellation, and CoCancelCall to provide the COM functionality.  CreateThreadpoolTimer is used to provide a timed callback that will not block on the same thread as the blocking COM call.
This object is intended to live on the stack and have a short lifetime.  It is single-use and applies to all RPC calls made while it is alive.
How was this change tested?
New test cases in ComTests.cpp.

I noticed the CppWinRTComServerTests::NotifierAndRegistration failure in other pipeline runs; currently looking at it. This is not a new failure


Admin features

Updating Site Logos and Favicons

[x] Create New Logo

[x] Update Favicons

[x] Update Base.html for favicons

[x] Updated Python version to 3.11

With python versioning upgrade merging this branch


[docs-infra] New Component API design followup

[x] I have followed (at least) the PR section of the contributing guide.

Follow-up for https://github.com/mui/material-ui/pull/37405
I've added an explanatory comment for each change I did, all other changes are generated by the docs:api script.
Example page: https://deploy-preview-38183--material-ui.netlify.app/joy-ui/api/alert/
TODO:

[ ] Update MUI X once this PR is merged

I realized the slots did not get enough care, so I added a few tweaks to:

avoid the "required" everywhere
the semi-bold font for slot description

To avoid further CSS errors, I've split the CSS dedicated to slots and the CSS dedicated to props


[Event Request] - Table Vendor Ledger Entry/Customer Ledger Entry - OnBeforeValidateMessageToRecipient

Could this be added? Or maybe the same functionality that is in sales header for status check.
Both for vendor ledger entry and customer ledger entry.
field(289; "Message to Recipient"; Text[140])
        {
            Caption = 'Message to Recipient';

            trigger OnValidate()
            var
                IsHandled:Boolean;
            begin
                OnBeforeValidateMessageToRecipient(Rec,IsHandled);
                if not StatusCheckSuspended then
                    TestField(Open, true);
            end;
        }

 [IntegrationEvent(false, false)]
    local procedure OnBeforeValidateMessageToRecipient(var VendorLedgerEntry:Record "Vendor Ledger Entry"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Upgrading from 0.39.0 to 0.44.0 fails with lots of errors

Describe the Bug
When upgrading from one minor version to another the terraform plan fails with about 50+ errors.
Expected Behavior
When upgrading minor versions I expect that planning will not fail because the changes should be backwards compatible.
Steps to Reproduce
I have 3 elastic cache clusters deployed with 0.39.0, upgrading them to 0.44.0 caused about 53 errors each. I did not change the values to the modules arguments and I did not change terraform version or aws provider version.
Screenshots

Environment (please complete the following information):
This is Terraform enterprise running terraform version 1.0.9. I'm not sure about the AWS provider version. I dont see one specified, so I'm assuming it's the latest, but I will ask a co-worker (I'm new to Terraform Enterprise).

I also ran this on the latest terraform version, 1.2.4 and it still failed to plan for the same errors.

I finally found this https://github.com/cloudposse/terraform-aws-elasticache-redis/blob/master/docs/migration-notes-0.41.0.md while going through every single release notes.
I'm guessing I will need to upgrade to 0.41.0 before I can upgrade to later versions. Will try that and report back.


Normalize keypoint coordinate values between 0.0 and 1.0

Currently, the keypoint x and y values are reported in pixels. To support easier transformation of pose coordinates into other systems, MovementOSC should normalize its output for the x and y axes to values between 0.0 (left/top) and 1.0 (right/bottom).
Z axis values are somewhat unique, in that they are reported by BlazePose as an offset from a center point (0.0) representing the plane of the hips, where the value will be negative if the keypoint is in front of the hips and positive if it's behind them. The value range is between -1.5 and 1.5, so it probably makes sense to scale these values within -1.0 and 1.0 as well.
It looks like the pose detection library provides a function to normalize keypoints, poseDetection.calculators.keypointsToNormalizedKeypoints(keypoints, imageSize).

Interestingly, despite what the the BlazePose GHUM 3 model card says, the pose detection documentation and the implementation of keypointsToNormalizedKeypoints suggest that the Z axis is actually in "image pixels", though in my own testing I've never seen the raw values go larger than around +1.85 or smaller than -3.05.
While I'm slightly confused by this, for now it seems worth trusting the scaling that the pose detection library does (divide the z value by the image's width).

We can, however, optimize the implementation by modifying the keypoints array in place, rather than creating a copy each time through use of .map() as the Tensorflow implementation does.


[Bug] Moderate and critical vulnerabilities in dependent packages

Describe the bug
A clear and concise description of what the bug is.
There a moderate and high security vulnerabilities in the dependency packages.
found 147 vulnerabilities (65 low, 70 moderate, 12 high)
  run `npm audit fix` to fix them, or `npm audit` for details

To Reproduce
Steps to reproduce the behavior:

Go to terminal
run npm install
See error

Expected behavior
A clear and concise description of what you expected to happen.
There should not be any moderate or high vulnerabilities if it can be avoided.
Server (please complete the following information):

OS: Ubuntu
Version 18.04

Additional context
Add any other context about the problem here.

Thanks for opening this issue! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.
If no reviewer appears after a week, a reminder will be sent out.

This issue has been closed. If you wish to re-open it please provide additional information.


Calling super(this) in constructor of child ES6 class

Using ES6 class with extends can't call super class with this argument.
This is in raw mode without any optimization.
goog.require('goog.events.EventHandler');

class Child extends goog.events.EventHandler {
  constructor() {
    // Call EventHandler consturctor with opt_scope equal to this
    super(this); // exception is thrown here
  }
}

var child = new Child();

The good old prototype based approach works and not the ES6 way.

It is an optional parameter that you shouldn't need. If you take a look at the implementation the scope has a precedence that ends with itself.
opt_scope /* argument to listen */ || self.handler_ /* constructor argument */ || self /* this */
To put it another way, super() should have the functionality you're looking for with super(this).


Official EMACS Major Mode

While most major text editors have official syntax highlighting plugins, there is no current official support for EMACS.
A good starting point would be this: https://github.com/nabero/ron-mode

Hey, so recently I did a few things to help on this front:

I pushed an update to Spacemac's Rust layer adding the layer given in the initial comment, so now there is some support in there
I thought about it and decided that I would take on writing my own EMACS major mode for RON, mainly to learn more about the process. The source code is here. I am currently working on getting it available on the MELPA repository for Emacs and once done will modify the aforementioned pull request to instead use my own ron-mode implementation. I'll provide an update here when it gets put into MELPA.


Include zone in times (ISO 8601)

This lib doesn't include timezones for time/date types, but really should. Rails to_json uses a format with zone.
I'm afraid I couldn't find a cleaner way than this.

Thanks for this! I went ahead and merged it, will push a new version up within the hour.

This has now been pushed to RubyGems as v3.0.7.

That was quick. Thank you! :)

No problem, appreciate you forking :octocat:


README.md file with dead link for "trouble shooting"

The main README.md file contains the markdown string
Assume that this worked (and if not, check [trouble shooting](Trouble) to find out ...

For e.g. on GitHub the resulting HTML page contains an according link to https://github.com/icing/mod_md/blob/master/Trouble but such a  file or directory doesn't exist.

Should be fixed now. Thanks.


Publish mraa 2.0.0 to Maven Central

It appears that MRAA has released version 2.0.0, but Maven Central only has up to version 1.9.0. Could you please publish the latest version (2.0.0) to Maven Central as well?
Thanks for the great project!

Hi @jakekarnes42 I managed to publish MRAA 2.0 for Android Things, but we'll need to update our build system to get the regular java bindings up on Maven. @tingleby is this something you can help with?

Thanks @Propanu.
Any updates on this @tingleby? Your help would be greatly appreciated.

Yep, it'll end up on Maven Central too: https://oss.sonatype.org/#nexus-search;quick~mraa

Confirmed that MRAA 2.0.0 is available on Maven Central here: https://mvnrepository.com/artifact/io.mraa/mraa/2.0.0
Thanks so much!


fix(config): actually validate that weights are between 0.0 and 1.0

fixes https://github.com/MotherTongues/mothertongues/issues/23

going to merge this in so I can rebase my branch and resolve conflicts


Add ACPI Support

This is a pretty big feature but it's something we'll eventually need.

https://wiki.osdev.org/ACPICA
https://github.com/acpica/acpica

https://github.com/panix-os/acpica

From the OSDev Wiki:

Using ACPICA in your OS
I didn't find any good description of integrating the ACPICA source code into an operating system, and the released package is basically just a bundle of C files with little organization. This is what I ended up having to do:

I copied the C files from dispatcher/, events/, executer/, hardware/, parser/, namespace/, utilities/, tables/, and resources/ into a single acpi folder.
I copied the header files from include/
I created my own header file based on aclinux.h where I ripped out all of the userspace stuff, then I changed around the rest to be appropriate to my OS's definitions.
I edited the include/platform/acenv.h file to remove the inclusion of aclinux.h and included my header file instead.
I copied over acenv.h, acgcc.h, and my header file over to my include/platform/ folder.

This is in addition to writing an AcpiOs interface layer, and it is not well indicated by the reference manual that you have to actually edit header files. Many of the macros defined in the headers are documented, though.

#include <acpi/acpi.h>

https://acpica.org/sites/acpica/files/acpica-reference_18.pdf


Error is displayed while re-enforcing CLA for GitHub Organization

Error is displayed while re-enforcing CLA for GitHub Organization

On admin portal staging env, create a CLA group, connect a new GitHub organization to a project, and complete the process by installing EasyCLA.
Enforce CLA on all repositories, un-enforce, and try to re-enforce by switching the Enforce CLA toggle button. It shows the following error:

queryName:"enableCla"
error:"{"Code":"409","Message":"EasyCLA - 409 Conflict - unable to add repository - repository already exists for projectSFID: a097c000007oCARAA2 - error: GitHub repository already exists with repository name: LF-Documentation/Repo-1","x-request-id":"3897b840-6aee-11eb-9bf4-9d0fe35c4cdd"}"
Expected behavior
Un-enforcing, and re-enforcing CLA on repositories should behave normal.
Screenshots

Environment:

[ ] STAGING

This is deployed to DEV, Staging & PROD.

This is deployed to DEV, Staging & PROD.

Verified on Staging environment and found working fine as expected. Please refer the video attached for reference.
[Uploading... 2600-11022021.mp4]

Verified on both Dev and Staging environment and found working fine.


feat: add prettypst

Describe your changes

Adds prettypst another formatter for Typst.
As typst-fmt was archived this is an alternative formatter.
Issue ticket number and link

Checklist before requesting a review

[x] I have successfully tested installation of the package.
[x] I have successfully tested the package after installation.

Screenshots

@mason-org/triage What is missing here?


Spectrum Inquiry - Add similar logic to Grant Request Processing

Check if we need to log inquiry responses. The fundamental question is:

Do we need output of SI to form input for grant request? For example, Max EIRP is provided in the SI stage and this value is to be used in the GR stage. How do we verify correctness of grant request?

Solution -> SI stage uses some logic to calculate operational params. We can use the same to re-generate params


As an organised SoC professor, I can set a deadline for one or more projects

... so that I can advise my students on what to be prioritized.

Closed by #111


Use persistence factory to hide the detail name of database driver.

Summary

Concisely describe the issue and your solution:
Link to existing issue (type "#" to check):
Specify the tests done so far:

Solutions (Optional)
Please describe the details of your solution if it might be too complicated for reviewers.

Codecov Report

Merging #253 into develop will decrease coverage by 1.02%.
The diff coverage is 6.25%.

@@              Coverage Diff              @@
##             develop     #253      +/-   ##
=============================================
- Coverage      39.88%   38.86%   -1.03%
+ Complexity      1570     1548      -22
=============================================
  Files            240      240
  Lines          13574    13614      +40
  Branches        1698     1722      +24
=============================================
- Hits            5414     5291     -123
- Misses          7496     7670     +174
+ Partials         664      653      -11

Impacted Files
Coverage Δ
Complexity Δ

.../com/webank/weid/service/impl/AmopServiceImpl.java
2.54% <0.00%> (-0.09%)
2.00 <0.00> (ø)

...k/weid/service/impl/CredentialPojoServiceImpl.java
43.84% <0.00%> (-0.19%)
135.00 <0.00> (ø)

...weid/service/impl/callback/KeyManagerCallback.java
2.73% <0.00%> (-0.21%)
2.00 <0.00> (ø)

...ervice/impl/engine/fiscov1/CptServiceEngineV1.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...ervice/impl/engine/fiscov2/CptServiceEngineV2.java
48.53% <0.00%> (-1.04%)
14.00 <0.00> (ø)

...m/webank/weid/service/impl/inner/InnerService.java
8.33% <0.00%> (-5.96%)
1.00 <0.00> (ø)

...va/com/webank/weid/util/BatchTransactionUtils.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...ebank/weid/suite/encode/CipherEncodeProcessor.java
50.98% <50.00%> (-0.57%)
10.00 <2.00> (ø)

...k/weid/suite/persistence/mysql/ConnectionPool.java
0.00% <0.00%> (-61.86%)
0.00% <0.00%> (-5.00%)

...webank/weid/suite/persistence/mysql/SqlDomain.java
0.00% <0.00%> (-46.16%)
0.00% <0.00%> (-4.00%)

... and 4 more

Continue to review full report at Codecov.

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


run JS button not working

I am just learning how to code, however, I have found this service to be the best and have used it for many hours while prototyping code for some online courses.
Today, I wrote some basic code and hit "run with JS". Nothing.
I tried some pretty basic code like: console.log("hello, world"); this was typed into the JS column. I then proceeded to hit "run with JS". Nothing.
I was able to get the code to run by toggling the console (sometimes). Or by checking the auto run option.
This is a huge hassle. I have used this service enough to believe this is not user error. I took away the complex code blocks and simply tried a few alerts and console logs. Is this normal. This was never an issue before.

the same trouble with me!!

thank you so much


Few racing games crashing in latest JL-Mod

Recently I noticed that most of the racing games are crashing in the latest JL-Mod version (work fine in previous 0.81 build)

LOG
log.txt

Name
GVer
JL-ModVer
Status
Note

Street Race World 3D
1.23.9 [SE]
All
graphic not rendered (when starting a race, show a green screen)

Ridge Racer 3D
1.0.3 [SE]
All
graphic not rendered (cars)

The Sims Pool 3D
1.15.26 [SE]
All
crash

Video
https://user-images.githubusercontent.com/81209454/173220817-8de27343-8e8d-43d6-bee8-7ec8527fb842.mp4

Should work on a new build (requires reinstalling the game)

[x] NFS series, Juiced 2, Ridge Racer Drift  — fixed (0.82.3)
[ ] Ridge Racer, SpeedChaser 3D, SRW3D, The Sims Pool 3D — unfixed, still same problem

#68


HTTP client needs cookie support

This will be needed for Niagara4 support (issue #39)
lixs74
@lixs74
20:24
almost finish still have one things but it's more python related I have to go but in case
I got a response with the header
Set-Cookie: niagara_userid=pyhaystack;Expires=Fri, 06-Apr-2018 10:22:50 GMT
Set-Cookie: JSESSIONID=eb18a79a08f8d13e694fd76a23460fb4533265d10cceb06c9c;Path=/;HttpOnly
Content-Type: text/plain;charset=iso-8859-1
Connection: close
My issue two of them have the same name Set-Cookie
but I need to get the value
Once we have that we should have a working version

Based on that it should worl already : http://stackoverflow.com/questions/16263265/python-web-client-multipile-set-cookie-header-get-raw-set-cookie-header


Mobile device support

I was wondering if C2M sonification could be also access via mobile devices, such as iOS and Android. My quick test with iPhone does not seem to work, but please correct me if I am wrong.

We have preliminary support for mobile interactions. Here is what you can do:

Open a chart in a browser on a mobile device.
Find the chart on the screen.
Over the chart, initiate a pass-through gesture. For iOS, this means double tap and hold until you hear 3 rising tones. I don't know what that would be on Android.
Using one finger, swipe right. This will move focus to the next data point.
Perform the pass-through gesture, then use 2 fingers to swipe right. This will play all of the data through to the end.
If the chart has multiple categories, perform the pass-through gesture, then use 2 fingers to swipe down. This will move focus to the next category.
If the chart has multiple statistics (such as in a OHLC), perform the pass-through gesture, then use 1 finger to swipe down. This will move focus to the next statistic.

I'll create an issue for writing a user guide for interacting with charts.

Thanks, @julianna-ciq ! I have tested again on iPhone following your instruction. Unfortunately, it does not work on my end (tested with both Safari and Chrome). I hear tripple rising tone with the single double tap, but it does not seem to bypass the next VO gesture (e.g., swipe right). This related post similarly discusses this issue.

I’m pretty sure mobile device support is not currently available due to restrictions on the iPhone and the number of interactions required to interact with all the charts that we currently handle. Please let me know if I’m wrong about this, @julianna-langston.
I’m keeping this issue open for now for any discussion or design ideas, but I am removing this from our internal roadmap until we can resolve some of the design questions.

Because we still do not have a UX model that covers all of the essential features on mobile devices, I am closing this issue. If more people come and open up additional issues for mobile device support, we can revisit it then.


[AutoPR storage/resource-manager] [Storage] Support HDFS feature and web endpoint in Account properties

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3289

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2134


YARN-6457  use existing conf object as sslConf object in WebApps for the builder to use for the HttpServer2

Merged from 2.7.1 branch

closed as another PR will replace this