Handle signals properly when dropping GVL

This is an improvement on #6472. We now no longer have extra ruby code to handle signals, we no longer spawn an extra thread to handle signals, and it no longer takes up to a second to handle a signal. Instead, we now use a built in facility to temporarily stop plucking when a signal arrives.

All of the Ruby tests pass.

In addition to those fixes, I also changed my mind again and removed the ruby-level signal handling. The code I have seems to do fine at interrupting pluck with an Interrupt exception when I press Ctrl+C.

LGTM.

OK, I think this can be merged. There was a problem that I was looking into, but it appears to not be related to this change.


Android app: sometimes stops updating after a while.

:question: Question

Has self-hosted ntfy server and acts as a downstream push gateway for Synapse.
Device:

Mi 9T (MIUI 12.5, based on Android 11, rooted)
HMD Global TA-1054 (based on Android 8.1, rooted)

ntfy 1.16.0
It manifests as:

Since the ntfy has taken over the Element push mechanism, Element Android cannot receive notifications and VoIP incoming calls;
The ntfy app cannot receive pushes (even when sending messages from the web UI of the self-hosted server).

During the period when the push cannot be received, it has been confirmed that the ntfy application is still running in the background, and the network connection is in good condition. Without manually starting the application, it cannot be restored even if the network is disconnected and reconnected.
Currently known "temporary workarounds" are:
a) Kill ntfy app and restart;
b) Manually enter the ntfy application, manually refresh.
After a period of time (maybe 1~3 days) of "temporary solution" by the above method, the problem still persists.
The way I can think of is to execute the following command to simulate self-starting through some timing task mechanism without restarting the phone or manually opening ntfy.
adb shell
su
am startservice -n io.heckel.ntfy/io.heckel.ntfy.service.SubscriberService
am broadcast -a android.intent.action.BOOT_COMPLETED -p io.heckel.ntfy

That's strange. I haven't heard of anyone having issues like this before. Since you're obviously familiar with adb and stuff, have you tried using logcat to look at the ntfy logs for any signs of problems? You can also enable logging in the ntfy app itself. I don't remember if those logs are any different than logcat

That's strange. I haven't heard of anyone having issues like this before. Since you're obviously familiar with adb and stuff, have you tried using logcat to look at the ntfy logs for any signs of problems? You can also enable logging in the ntfy app itself. I don't remember if those logs are any different than logcat

My phone won't shut down except in special circumstances, in which case it takes a few days to reappear (possibly more than 3 days). Since no way to mitigate this problem has been found until recently, I decided to keep watching.

That's strange. I haven't heard of anyone having issues like this before. Since you're obviously familiar with adb and stuff, have you tried using logcat to look at the ntfy logs for any signs of problems? You can also enable logging in the ntfy app itself. I don't remember if those logs are any different than logcat

Log is here:
{E46E8122-DF3A-2462-E709-4598BC67CD58}.zip
Unzip password: {038283B5-6D87-E578-AB7E-2B65EAF08B66}

not sure if this is related or not, but I am experiencing almost the same thing.
I am not able to get the notifications to auto-populate through cloudflare tunnel no matter what I do. The only way I get the notification is if I open the app and drag from top to refresh. Closing the app then sending a notification when the app is closed doesn't work, re-opening the app doesn't work. Having the app open, and even the topic open doesn't work.
I was able to get it to work instantly when I was running on the local network and not through cloudflare tunnel.
I had to change the port number for NTFY to get my topic working through my cloudflare tunnel, not sure if that's related.
However, I am getting instant notifications on the browser session regardless of using cloudflare URL or localhost on whichever port.
For testing, I subscribed twice on my android, once with local IP and once with cloudflare tunnel url. When I'm connected to the same router, I get an instant notification on my local topic, and don't get one at all on my cloudflare url topic (I suspect this is working as intended). When I am not connected to my network, I have to manually refresh to get the notification, which shows up in my cloudflare url topic and now the local topic doesn't get the notification (again, that part is probably working as intended).
Also for testing, I've opened my NTFY url in the browser on local machine, as well as on a second machine, and also on my android (in chrome). All of these solutions work instantly.
My android is a Samsung Galaxy Z fold 4 running Android 12.
I am running Android app using ntfy v2.9.0 and latest app on play store.
I'm running on a self-hosted server in a docker container, and I'm connecting to it through a cloudflare tunnel.

I'm on a Galaxy S10 running into similar issues (probably).
In my case I found that It's fine with getting instant notifications from my self hosted instance on the local network, but if I loose WiFi connection for a bit the app will just never reconnect. Refreshing works for getting the then pending notifications but the WS connection stays down.
It seems that in my case changing the connection protocol to HTTP and back to WS again solves the issue. This could indicate an issue with the reconnection logic when switching between networks.


GC config knobs touch-ups

Fixes #16075
@Maoni0 I didn't add the web.config examples that Nick Craver requested since this article is really about .NET Core. LMK if you think I should add them anyway.
Internal preview link

@mairaw This one is preapproved by Maoni if you could take a quick look.


leda-utils: removed bash dependency

In this patch the SRC_URI and SRCREV for the fork is used, to allow a successful build.
This should be changed after the leda-utils changes have been merged into eclipse-leda.

The leda-utils changes have been merged, would you be able to update this PR accordingly?

done.


MLIBZ-2030: Fix Web Storage Adapters

Description
This PR fixes several bugs that existed in the web storage adapters.
Changes

Replace lodash/findByIndex with [].indexOf().
Fix removeById().
Retrieve correct substring for cookie storage.
Fix typos referencing wrong storage adapters.

Tests

Add unit tests

@georgiwe You would need to approve the PR to allow me to merge the PR without using my administrator privileges. Can you please do this if everything is fine?

I submitted a review with comments earlier. I tried to explain my view in the general review comment. It's over here.


Add 2.0.0 breaking changes.

Docs Build status updates of commit 66d4fd4:
:clock10: Full build: the average full build time is 32 min(s) 8 sec(s), this is based on the last 106 build(s) for this repository.

Docs Build status updates of commit 66d4fd4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-2.1.0/migrate-az-1.0.0.md
:white_check_mark:Succeeded
View (azps-2.1.0)

docs-conceptual/azps-2.1.0/migrate-az-2.0.0.md
:white_check_mark:Succeeded
View (azps-2.1.0)

docs-conceptual/azps-2.1.0/toc.yml
:white_check_mark:Succeeded
View (azps-2.1.0)

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


[Bug]: table optimize history abnormal display

Why are the changes needed?
fix https://github.com/NetEase/arctic/issues/1494
Brief change log
Fix bugs
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks a lot for your contribution!
However, I still want to encourage you to provide some key details of the code changes in the Brief change log section of your PR description to help reviewers better understand your code.
For example, for this PR, the change log could be "Modified SQL for listing successful optimizing history to avoid reading records with the same name but not belonging to this table."

Thanks for you contribution.
You need to make this PR more compliant with the standards.  The. title need rename to "[ARCTIC-1494][AMS] table optimize history abnormal display"， some other see https://mp.weixin.qq.com/s/mpR9jREdBV21bFHxtdlAmw

Thanks for you contribution. You need to make this PR more compliant with the standards. The. title need rename to "[ARCTIC-1494][AMS] table optimize history abnormal display"， some other see https://mp.weixin.qq.com/s/mpR9jREdBV21bFHxtdlAmw

Thank you very much for your suggestion.  I will pay special attention next time.

LGTM


Doc improvements

Some little fixes from my side. :book: :dizzy:

Thanks!

@jlord Always welcome! :grin:


Thanks a lot

I tried many boilerplate for React Native typescript, I confirm that this configuration is working.
Thank you very much.

Glad I could hep


build or version task is not showing correct version

While generating build files or running gulp version it is displaying Semantic UI - x.x instead of actual version.


arch/stm32xx/Kconfig: simplify and unify PWM options

Summary

arch/stm32xx/Kconfig: simplify PWM options and unify them among stm32 chips

Impact
Configurations using PWM for STM32L4/F0/L0/G0 must be updated:

CONFIG_STM32F0L0G0_TIMx_PWM=y doesn't select CONFIG_PWM=y automatically,
CONFIG_STM32F0L0G0_PWM_MULTICHAN=y doesn't select CONFIG_PWM_MULTICHAN=y automatically
CONFIG_STM32L4_TIMx_PWM=y doesn't select CONFIG_PWM=y automatically,
CONFIG_STM32U5_TIMx_PWM=y doesn't select CONFIG_PWM=y automatically,

Testing
CI

Configurations using PWM for STM32L4/F0/L0/G0 must be updated:

@raiden00pl I only saw one, were all the in-tree defconfig updated?
Do we have enough configs to get good CI coverage?

@davids5 only nucleo-g070rb/nsh is affected. There is no more PWM configurations for F0/L0/G0 or L4. All other STM32 families don't require any changes (no select PWM in arch Kconfig options)

@hartmannathan Not really. The upper-half PWM driver logic is just an option and it is very limited. We can use the PWM lower-half logic to build more complex and application specific drivers (eg. FOC driver). The same applies to ADC.


[chore]: use unicorn/filename-case eslint rule

Previously, we discussed the specification of file names (see: https://github.com/netless-io/flat/issues/714)
But this is all built on an ego-driven basis and we need to have a rule to help us check this.

Thanks to @LitoMore  recommendation, we were made aware of the existence of unicorn/filename-case.

Rule Link: https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/filename-case.md
The following rules, which I have just come up with, may not be perfect.
"unicorn/filename-case": [
	"error",
	{
		"cases": {
			"kebabCase": true,
			"ignore": [
				"^[A-Z].+\\.tsx$",
				"^README.*\\.md$",
				".*\\.yaml",
				".*\\.yml"
			],
		}
	}
]

We could allow kebab-case and PascalCase both currently.
For markdown files, I think don't we too much rules for restricting its name. Because we need to append some language tags to our markdown files.
"unicorn/filename-case": [
	"error",
	{
		"cases": {
			"kebabCase": true,
			"pascalCase": true,
			"ignore": [
				/.*\.md$/,
				/.*\.(yml|yaml)$/,
			],
		}
	}
]

That feels down to the fact that this rule may not apply to our situation.
How about we redevelop it on top of it?

Or we write a script to do this. Because the main rule of eslint is the code specification, not the filename specification. Its an AST we will not be using.

That feels down to the fact that this rule may not apply to our situation. How about we redevelop it on top of it?

yes, you are right. other issue  https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1577 .There seem to be other special problems

That's what I want to mention. We are putting ourselves into a complicated situation: create another tool.
If we only use kebab-case then we have nothing to worry about.
For eslint-plugin-unicorn, if some rules will occur with lots of file changes and hard to fix then let us disable them or mark them as warnings.
My main point is to make our project rules simple and easy to maintain.
Any thoughts?

That's what I want to mention. We are putting ourselves into a complicated situation: create another tool.
If we only use kebab-case then we have nothing to worry about.
For eslint-plugin-unicorn, if some rules will occur with lots of file changes and are hard to fix then let us disable them or mark them as warnings.
My main point is to make our project rules simple and easy to maintain.
Any thoughts?

Do not worry, just write an git hook . that's enough

Just write an git hook. that's enough.

Let's go for it.


feat: add ability to mark To Do items as done

Description
Add ability to mark To Do items as done

Trying to verify this, and I am seeing a weird issue. Maybe you could try to reproduce it to make sure it is not an issue on my end.
Basically I create an item and then edit the item and instead of being taken to the edit page the item is marked as done.


fix: fix default value on value props on calendar component

fix: #
Changes proposed in this PR:

[ ] I have followed (at least) the PR section of the contributing guide.
@90milesbridge/tigger

fix: #797

Pull Request Test Coverage Report for Build 3242

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 79.197%

Totals

Change from base Build 3239:
0.0%

Covered Lines:
2768

Relevant Lines:
3377

💛  - Coveralls


Identical Requests Return Varying Headers

Submitting the same exact request returns different response headers. The former of which causes issues and results in an error. I do not specify Content-Length in the request. It is my understanding that wiremock should return "transfer-encoding: chunked" by default it Content-Length is not specified.
Age →0
Connection →Keep-Alive
Content-Length →167
Content-Type →application/json
Date →Fri, 16 Jun 2017 15:06:39 GMT
Proxy-Connection →Keep-Alive
Server →Jetty(9.2.z-SNAPSHOT)
Connection →Keep-Alive
Content-Type →application/json
Date →Fri, 16 Jun 2017 15:10:56 GMT
Proxy-Connection →Keep-Alive
Server →Jetty(9.2.z-SNAPSHOT)
transfer-encoding →chunked

Please could you post your stub mapping and full request traces so I can try to replicate the problem?

Not enough detail to reproduce. Please re-open if you'd like to add some.


Showing Error while Using!

sudo ./dyn-wallpaper-linux "Mumbai" "/home/anuj/Images/Wallpapers"
thread 'main' panicked at 'called Option::unwrap() on a None value', libcore/option.rs:355:21
note: Run with RUST_BACKTRACE=1 for a backtrace.

Hi, it's been a while since I last used this.
Is there any particular reason for running it using sudo? Also, what Linux distribution and Desktop Environment are you using?
cheers

Hey,
I am using Manjaro with deepin DE.
It was demanding admin privledges for executing.
Best Regards,

Mmm it shouldn't need admin privileges to change background.
I re-read my README and I think I missed a section where I explain how to use it for other DEs (i.e. gnome or deepin).
Can you please try to execute:
./dyn-wallpaper-linux Mumbai /home/anuj/Images/Wallpapers -c "gsettings set com.deepin.wrap.gnome.desktop.background picture-uri {path}"

Also, be sure to have the pictures inside /home/anuj/Images/Wallpapers.
if it's still not working I'll install Deepin myself to try :D

`anuj@anuj-pc  Downloads ./dyn-wallpaper-linux Mumbai /home/anuj/Pictures/wallpapers/mojave-background -c "gsettings set com.deepin.wrap.gnome.desktop.background picture-uri /home/anuj/Pictures/wallpapers/mojave-background"
error: Found argument '-c' which wasn't expected, or isn't valid in this context
USAGE:
dyn-wallpaper-linux   [command]
For more information try --help
✘ anuj@anuj-pc  Downloads  ./dyn-wallpaper-linux Mumbai /home/anuj/Pictures/wallpapers/mojave-background "gsettings set com.deepin.wrap.gnome.desktop.background picture-uri /home/anuj/Pictures/wallpapers/mojave-background"
thread 'main' panicked at 'called Option::unwrap() on a None value', libcore/option.rs:355:21
note: Run with RUST_BACKTRACE=1 for a backtrace.
✘ anuj@anuj-pc  Downloads 
`
Traceback for the above command.


icingaweb2: 2.11.4 -> 2.12.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Icinga/icingaweb2/releases.
meta.description for icingaweb2 is: Webinterface for Icinga 2
meta.homepage for icingaweb2 is: https://www.icinga.com/products/icinga-web-2/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.12.0 with grep in /nix/store/6bvqrwlaqarfbkmrxddkm2vvhcb0a7bd-icingaweb2-2.12.0
found 2.12.0 in filename of file in /nix/store/6bvqrwlaqarfbkmrxddkm2vvhcb0a7bd-icingaweb2-2.12.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
icingaweb2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6bvqrwlaqarfbkmrxddkm2vvhcb0a7bd-icingaweb2-2.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A icingaweb2 https://github.com/r-ryantm/nixpkgs/archive/7ef5d81cb2c06fc00bcc01a5ebf8351889fd9aa3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7ef5d81cb2c06fc00bcc01a5ebf8351889fd9aa3#icingaweb2

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6bvqrwlaqarfbkmrxddkm2vvhcb0a7bd-icingaweb2-2.12.0
ls -la /nix/store/6bvqrwlaqarfbkmrxddkm2vvhcb0a7bd-icingaweb2-2.12.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

icingaweb2

Maintainer pings
cc @dasJ for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/icingaweb2/versions.
meta.description for icingaweb2 is: Webinterface for Icinga 2
meta.homepage for icingaweb2 is: https://www.icinga.com/products/icinga-web-2/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.12.1 with grep in /nix/store/m9a2jdwfl8d3nwpiawhy46q8cg7vxk3n-icingaweb2-2.12.1
found 2.12.1 in filename of file in /nix/store/m9a2jdwfl8d3nwpiawhy46q8cg7vxk3n-icingaweb2-2.12.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
icingaweb2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m9a2jdwfl8d3nwpiawhy46q8cg7vxk3n-icingaweb2-2.12.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A icingaweb2 https://github.com/r-ryantm/nixpkgs/archive/543e18bdd44a9eac5dcd50dd08a5254532b50fbc.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/543e18bdd44a9eac5dcd50dd08a5254532b50fbc#icingaweb2

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m9a2jdwfl8d3nwpiawhy46q8cg7vxk3n-icingaweb2-2.12.1
ls -la /nix/store/m9a2jdwfl8d3nwpiawhy46q8cg7vxk3n-icingaweb2-2.12.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

icingaweb2

Maintainer pings
cc @dasJ for testing.


Stop objects from being merged onto arrays

This fix made a lot of sense, since we already had a test case and a logic flow specifically handling the "array onto object" case.
That makes me feel a bit better about releasing this as a patch version. though I may still do a feature version bump for paranoia's sake, since it is a decent behavioral change.
Fixes #65

Definitaly makes sense not to merge Objects -> Arrays and Arrays -> Objects.
This does change functionality so I definitely agree with a major semvar version change.

Ah, all the way to major?  I was willing to think of this as a bug fix.

I wish I knew how largely this would effect people. If they are using ^ in their packages.json to require this library then it would change functionality just based on an npm update. Has this always been broken or did it only happen recently?

Hard to say, but it's probably always been this way.  There was never a test asserting that behavior.
It's difficult to imagine anyone relying on being able to merge objects over arrays, but obligatory xkcd:

This is technically a breaking api change. so it would fall under a major patch version if we are strictly following http://semver.org/

The API signature is the same before and after this change, it's only a behavioral change.

Any updates on this? It's not currently breaking anything for me, just an annoyance but it would be nice to not have extra webpack bundled file (using deepmerge for webpack config) 😄

Thanks for the bump - published as 1.5.0.


Mount Non-Amazon S3 Bucket

I would like to be able to use yas3fs to mount an S3 bucket that is not hosted by Amazon such as a Minio server bucket ( a server that implements the S3 protocol, but isn't on amazon.com ). Looking through the commandline help, I haven't been able to find a way to specify a different S3 server.

Have you tried using the BOTO_ENDPOINTS or ENDPOINTS_PATH environment variables? Haven’t tried myself.. but it might work…
From: Zicklag<EMAIL_ADDRESS>Sent: Sunday, December 24, 2017 04:20
To: danilop/yas3fs<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [danilop/yas3fs] Mount Non-Amazon S3 Bucket (#162)
I would like to be able to use yas3fs to mount an S3 bucket that is not hosted by Amazon such as a Miniohttps://minio.io server bucket ( a server that implements the S3 protocol, but isn't on amazon.com ). Looking through the commandline help, I haven't been able to find a way to specify a different S3 server.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/danilop/yas3fs/issues/162, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADfOeW_oXO4SC8D3u_qfmZu03IgTslUBks5tDbTNgaJpZM4RL0DR.
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

I'm also tryng to play with the popular minio, without success
endpoints_path is ineffective and boto_endpoints raise an exception
export BOTO_ENDPOINTS=<IP_ADDRESS>
or
export BOTO_ENDPOINTS=http://<IP_ADDRESS>
2020-09-11 08:09:25,033 ERROR Uncaught Exception: <type 'exceptions.IOError'> [Errno 2] No such file or directory: '<IP_ADDRESS>' <traceback object at 0x7fa57280ccb0>
None
No connection appears in tcpdump


[Documentation] useMutation example for Vue Composition API

Describe the bug
Currently there's no example on how to use the useUpdateBooksMutation or something similar in the docs. It would be great if someone with knowledge could provide a simple example where loading, error onDone and mutation are used.
Additional context
Consider this mutation:
mutation {
  setViewerPreference(options: { language: "bb-bb" }) {
    language
  }
}

For this to work I created a file called setLanguage.graphql for graphql-codegen (a full options object as used in the Playground would've been better but I don't have that skill yet):
mutation setLanguage($language: String!) {
  setViewerPreference(options: { language: $language }) {
    language
  }
}

Using this in a component in Settings.vue looks like this:
<script lang="ts">
import { defineComponent, ref, watch } from '@vue/composition-api'
import { useSetLanguageMutation } from 'src/graphql/generated/operations'

export default defineComponent({
  setup(_, context) {
    const languageOptions = [
      { value: 'en-us', label: 'English' },
      { value: 'nl-be', label: 'Nederlands' },
    ]
    const language = ref(context.root.$i18n.locale)

    const { mutate, loading, error, onDone } = useSetLanguageMutation({
      variables: {
        language: 'ee-ee',
      },
    })

    watch(language, (newLanguage) => {
      context.root.$i18n.locale = newLanguage
      void mutate({ language: newLanguage })
    })

    return { language, languageOptions, }
  },
})
</script>

Questions/unclear
I don't understand why the function useSetLanguageMutation needs to be initialized with a variables value already? It would be great if one could just do this:
    const { mutate, loading, error, onDone } = useSetLanguageMutation()

    watch(language, (newLanguage) => {
      void mutate({ language: newLanguage })
    })

On a side note, when calling the mutate() function, the one that really executes the mutation, are the loading and other const returned by useSetLanguageMutation still usable?
I'm sorry for these stupid questions, but as you can see I'm a noob and would love to have a more detailed example or at least one example on how to properly use the useMutation generated by the graphql codegen. It would even be better if it would include an example on how to update the cache too, but this is of course out of scope for the codegen.  I tried to follow this example but it's for react.
Thank you anyhow for reading this far.

Anything you pass to mutate() is merged with anything you pass to useSetLanguageMutation({variables: ... }) so it can work both ways.
In your case uou can pass your variables directly to mutate(), you don't need to pass them to useSetLanguageMutation({variables: ...}) also.
The functions created by this library are thin wrappers around vue-apollo's composition API, you can find some documentation here: https://v4.apollo.vuejs.org/guide-composable/mutation.html

@DarkLite1 I was having the same issue, so thanks for posting the question and ask for documentation.
To extend on what @cdrx mentioned, you cannot "initialize" the mutate by const { mutate, loading, error, onDone } = useSetLanguageMutation()
You need to initialize it with an empty object. const { mutate, loading, error, onDone } = useSetLanguageMutation({})
Then you can call  mutate({ language: newLanguage })


Roman/bugfix/shopping-cart.fix-no-photo-items-and-payment

Travis automatic deployment: https://83-pr-ching.surge.sh


Hardhat Migration

Add some documentation here about the features we should support.

https://hardhat.org/guides/parallel-tests.html
https://hardhat.org/hardhat-network/reference/#console-log
https://mochajs.org/#-grep-regexp-g-regexp: Add to the readme on how to use grep regex to only run selective tests. Useful when in development and looking to only run some tests.

Consider scrapping the deploy.ts script generation and removing that in favor of some Hardhat solution.

/cib

We should preserve the capability to create factory methods with Typechain for web3js, TruffleContract, ethers


Conf/bill cpc configuring service

Configured and added database structure for Billing service

Correct me if I am mistaken, but your PR naming convention seems a bit off

Correct me if I am mistaken, but your PR naming convention seems a bit off

Did not have Jira for the issue #

Correct me if I am mistaken, but your PR naming convention seems a bit off

Did not have Jira for the issue #

Ah ok that's above my paygrade, gotta ask @cgerard321


Removes commented out OCIO_BUILD_PYTHON

Fixes #1050.

Hi @sobotka
You forgot to sign the commit i.e. git commit -sam "blabla". The DCO details explain how to proceed.

Ok, I think I have jumped through all successful hoops to have the single character patch accepted. Fingers crossed.
Let me know.

@sobotka no success because of the missing sign-off, perhaps @jmertic or @michdolan could help.

Details on the DCO at https://github.com/AcademySoftwareFoundation/tac/blob/master/process/contributing.md#contribution-sign-off.
Looks like you can fix this locally by...
git commit --amend --signoff
git push --force-with-lease origin patch-3

Sorry, I mistook the "sign" to mean GPG signed.


[azure-mgmt-network] No security rule name validation

There is no security rule names validation when create via azure.mgmt.network.NetworkManagementClient.security_rules.create_or_update()
As a result, I was able to create rules with names similar to this one: c7n-policy-6.367126014858692e+17
I'm not able to edit these rules via Azure Portal. (Portal doesn't allow to use similar names).

Hi @logachev
Seems to be me there is two bugs in one here:

The server itself should test and refuse names that are invalid. This way, you won't be in a situation where the portal cannot edit something you created with the SDK (which is really bad :()
The SDK could test with a regexp if the name is valid without even talking to Azure

@MikhailTryakhov your thought on this?

@chandrasekarsrinivasan please add validator on NRP layer?
@lmazuel  that's good idea to implement such validator on SDK level

We do not to have any name validation on clients (Portal, SDK or PS). Let me follow up with Portal on what restrictions are added and why this is showing up on SecurityRules only (This can happen with any resource).

@chandrasekarsrinivasan any updates?

I don't work on Security rules in NRP.
@Xiudong @.> and @Nitin @.> can you please have a look at this?
From: Xiang Yan @.>
Sent: Monday, November 29, 2021 2:24 PM
To: Azure/azure-sdk-for-python @.>
Cc: Chandrasekar Srinivasan @.>; Mention @.>
Subject: Re: [Azure/azure-sdk-for-python] [azure-mgmt-network] No security rule name validation (#3238)
@chandrasekarsrinivasanhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fchandrasekarsrinivasan&data=04|01|chsrini%40microsoft.com|3dbfd14c5b094b86f18408d9b386fe02|72f988bf86f141af91ab2d7cd011db47|1|0|637738214643604753|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=5ajGaW0c6H%2BaUVcfW%2Fdl9iJSDWF29pWWK%2BUiyYY8WgI%3D&reserved=0 any updates?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-python%2Fissues%2F3238%23issuecomment-982079245&data=04|01|chsrini%40microsoft.com|3dbfd14c5b094b86f18408d9b386fe02|72f988bf86f141af91ab2d7cd011db47|1|0|637738214643654749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=MDZFzqGVAQKll5zuv3kqHuPSjlseEG80So3GkV2CWE0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAH5ZC4NYQYJM24EHKU3A3OLUOP4RLANCNFSM4FSRDVMA&data=04|01|chsrini%40microsoft.com|3dbfd14c5b094b86f18408d9b386fe02|72f988bf86f141af91ab2d7cd011db47|1|0|637738214643654749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=qHFJ%2BR4EUzTTxxhtRM5sLVVgeL27leITzOeInVc8Mw4%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|chsrini%40microsoft.com|3dbfd14c5b094b86f18408d9b386fe02|72f988bf86f141af91ab2d7cd011db47|1|0|637738214643654749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=NEFEYFrZ%2BgNTd9Y1hLw9AfrxATMANKMSnAJnfwNsKdk%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|chsrini%40microsoft.com|3dbfd14c5b094b86f18408d9b386fe02|72f988bf86f141af91ab2d7cd011db47|1|0|637738214643654749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=IbzSBtvlK3qwa%2FAtVrqgrP5ldxCDkWrFX2iRg%2BAt404%3D&reserved=0.


[BFCL] Multi-turn query missing info & incorrect label

Describe the issue
Hi, recently we reviewed some multi-turn data from BFCL-v3, and noticed a few cases where there's not enough information in the query to complete the task, or the groundtruth is incorrect.
ID datapoint

ID
Query
GroundTruth Answer
Comment

multi_turn_base_1
I am alex. Check if the current directory is under my name and list all the visible and hidden contents in the current directory now, please.
cd(folder='workspace')ls(a=True)
'workspace' not mentioned in query

multi_turn_base_2
Go into document folder and Could you draft up a create a document titled 'TeamNotes.txt' for keeping track of all the fresh ideas?
cd(folder='documents')touch(file_name='TeamNotes.txt')
Query use 'document' but ground

multi_turn_base_3
As part of my latest photography project, I need to gather files that have 'test' in their name from a specific folder in my current directory. Could you help me locate those?
find(path='.',name='test')
Query missing info

multi_turn_base_4
Could you kindly place the report in the /tmp directory or show me the list of files in tmp if already there?
pwd()ls()
GroundTruth error

multi_turn_base_11
Display all the available files located within the '/temp' directory using the terminal interface.
pwd()ls(a=True)
GroundTruth error

multi_turn_base_18
Copy the txt contents of the 'Quarter1_Reports' directory and place it in a new directory naming it 'Archived_Quarter1.
mkdir(dir_name='Archived_Quarter1')cp(source='report1.txt',destination='Archived_Quarter1')cp(source='report2.txt',destination='Archived_Quarter1')cp(source='History101.txt',destination='Archived_Quarter1')cp(source='History202.txt',destination='Archived_Quarter1')
GroundTruth Error

Thank you for your reply!
6. multi_turn_base_18: The groundtruth error I'm talking about is that, the query says "Copy the txt contents of the 'Quarter1_Reports' directory", but the groundtruth did not first navigate to Quarter1_Reports or check what is the current directory.
You mentioned that "Our current working directory is Quarter1_Reports", but this information is not included in either the query or the system prompt, and because of which the model could not figure out. I wonder if it is supposed to be this way.

Yes, the Quarter1_Reports directory location is nowhere mentioned in the provided context. However, the model is able to obtain the information via ls or pwd to collect this layer of information if deemed necessary. We want the model to explore but we don't judge model's exploration or failure attempt, which is why we don't include this in ground truth.
We judge a data entry accuracy by 2 criteria:

Final state exact match
Minimal function calling steps to achieve all user queries(as annotated in ground truth)
There are steps such as pwd which is an exploratory step and is not required to complete the task, and therefore we do not include in ground truth.

Thanks for bringing this up and sorry for the late reply. We will also document this procedure in a clearer manner.


Financial contribution to Formik Development

🚀 Feature request
Current Behavior
There doesn't seem to be a way for users to support the sustainable maintenance of Formik. To be clear, I certainly don't have complaints, I  love Formik, I just want to make sure it continues to be the best form library on React.
Desired Behavior
A way to financially contribute to the projects success.
Suggested Solution
Don't have clear one yet. First the question would be who would maintain the program and be responsible for the money.  This depends on the type of revenue too. General donations need to be handled differntly than a pay for hire situation. Lots to think about and I'm happy to assist with that if I can.

 I can share more info via Twitter DM. As for donations, I’m open to ideas/discussions, however, having a few small donors is not going to incentivize development. I would rather

I will get in touch on Twitter, very curious about this info

Closing due to long inactivity


default styles work but classes ignored

My html:
<!DOCTYPE`` html>

     <meta charset="UTF-8">
     <title>TITLE</title>
     <meta name="description" content="DESCRIPTION">

offensive text

assets/bundle.js is compiled using webpack.
I thought it was odd because all the deaf ult styles like text color and font seem to be working fine, but any that I add (like 'text-center') have no effect. As soon as I add the default bootstraps link to my header everything works like a charm.
I realize that this is probably a webpack issue, but I was wondering if anyone might know why bootstrap's default styles might work but not class styles (a ton of code relating to these certainly seems to be included in assets/bundle.js whenever I check it out).
cheers.

Issues are for bug reports and feature requests, not general how-to questions. For that, we suggest the official Slack channel or Stack Overflow. Both are linked from our readme.
Thanks!

I don't necessarily want to know how to fix this, there are like a million straightforward ways around it, I'm more wondering if anyone who knows about bootstraps could tell me why it might be happening. Who knows, it might even be a bug.
But sure I'll go to stackoverflow.

Can’t tell from code snippets I’m afraid. You’re loading styles via JS I’m assuming based on that snippet though so I’m guessing there’s a problem in the imports or how you’re escaping styles. Sorry I can’t help more!

Oh wait, is this the problem from #24671?

I guess it could be related, but I'm trying to do everything as simply as possible so I'm avoiding prefixing. Thanks anyway.


Typing extensions constraints

Both typing-inspect and pydantic have fixed the "bugs" that made them incompatible with the latest typing-extensions release. This PR bumps the lower bound for these packages and drops the constraint on typing-extensions.
closes #6021

Processing this pull request

Failed to merge changes into iso5 due to merge conflict. Please open a pull request for these branches separately by cherry-picking the commit that was made on the branch master (git cherry-pick ee725e61a5602daad33f46c3ec3b2aef30bdba00).

Failed to merge changes into iso4 due to merge conflict. Please open a pull request for these branches separately by cherry-picking the commit that was made on the branch master (git cherry-pick ee725e61a5602daad33f46c3ec3b2aef30bdba00).

This branch was not deleted as it seems to still be in use.

Processing #6047.


Links to domain .md could not be recognized correctly

I tried to add a markdown link [Obsidian](https://obsidian.md) on the website using quartz. However, when click the link on the website, it forward the address to https://obsidian/, an address without .md.
I think maybe quartz recognize the domian .md as a markdown file, thus forward it to a wrong address.
I also changed the https://obsidian.md to https://www.obsidian.md, but it's the same result without .md
I tried this on chrome browser both on android and macOS.
Here is what the image of what has been rendered:

Please check it out,
Regards.
This issue is recommended to be filed here from https://github.com/jackyzha0/quartz/issues/11#issue-975445797

can you try adding a trailing slash / to the URL? otherwise, Quartz will assume it has a .md ending.
Try changing [Obsidian](https://obsidian.md) to [Obsidian](https://obsidian.md/)

can you try adding a trailing slash / to the URL? otherwise, Quartz will assume it has a .md ending.
Try changing [Obsidian](https://obsidian.md) to [Obsidian](https://obsidian.md/)

Problem solved. Thanks a lot!

Regards.


Lexical.dev.js:9060 Uncaught Error: Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update() or editorState.read().

Describe the bug
"verbum": "^0.5.0",

Unable to initialize default value
onChange cannot be converted into html code

const onChange = (state: string, editor?: any) => {
console.log(state, editor, "-----------------------editor");
editor?.update(() => {
const editorState = editor.getEditorState();
console.log(editorState, "-------------------------editorState");
const jsonString = JSON.stringify(editorState);
console.log(jsonString, '-------------------------jsonString');

const htmlString = $generateHtmlFromNodes(editor, null);
console.log(htmlString, '-------------------------htmlString');

})

I have the same problem, please help me

Same here.


Simplify Azure Maps PMTiles example

change pmtiles library version to 3.2.0
simplify addProtocol code
remove unnecessary call to add
rename map source for clarity

@bdon - in order to review your changes, we'll need you to agree to the CLA. See https://github.com/MicrosoftDocs/azure-docs/pull/124687#issuecomment-2427587924
thanks!

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@microsoft-github-policy-service agree company="Protomaps LLC"

@sinnypan
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#sign-off

#sign-off


$PRELOAD$ string in preload list.

Hi,
I have this script to generate preload file:
<?php

require('/var/www/phpbenchmarks/project/generator/var/generator/5e80978c2d086/generated/public/index.php');

$vendorDir = '/var/www/phpbenchmarks/project/generator/var/cache/dev/../../generator/5e80978c2d086/generated/vendor';
DarkGhostHunter\Preloader\Preloader::make()
    ->selfExclude()
    ->writeTo('/var/www/phpbenchmarks/project/generator/var/cache/dev/../../generator/5e80978c2d086/generated/.phpbenchmarks/php/7.4/preload.php');

Result contains $PRELOAD$ in files list, i'm not sure it's needed ? ;)
$files = [
    '/var/www/vendor/symfony/serializer/SerializerInterface.php',
    '$PRELOAD$',
    '/var/www/.phpbenchmarks/php/7.4/preload.php'
];

Another little bug: template have 2 empty lines at the end, so generated preload file contains this 2 lines. 1 should be enough ;)

Does it happen when you do not use self exclude?

It always happen: with selfExclude(), exclude() or nothing else than make()->writeTo().

Can you dump a list of your opcache cached list in the app? Seems weird that the $PRELOAD$ appears in the list.

You're right, when i call opcache_get_status() i have this file in scripts section:
    ["$PRELOAD$"]=>
    array(6) {
      ["full_path"]=>
      string(9) "$PRELOAD$"
      ["hits"]=>
      int(0)
      ["memory_consumption"]=>
      int(560)
      ["last_used"]=>
      string(24) "Thu Jan  1 01:00:00 1970"
      ["last_used_timestamp"]=>
      int(0)
      ["timestamp"]=>
      int(0)
    }

I don't have it, so it may be something in your end, or as I suspect. Did some kind of preloading occur when you used opcache_get_status()? or just vanilla (no-preload) PHP?

Hi there,
I have the same issue, I've used laraload to preload Laravel framework and in preload.php in $files array there is a $PRELOAD$ string that causes to throw an exception in preload file and php crashes on startup.  A quick fix can be to ignore invalid files in preload.php.stub on line 44

I think a better fix would be to filter any record that is equal to $PRELOAD$.

I think a better fix would be to filter any record that is equal to $PRELOAD$.

but maybe there will be other strings and you should check all of them. But ignoring invalid files can prevent future problems i guess

I think a better fix would be to filter any record that is equal to $PRELOAD$.

but maybe there will be other strings and you should check all of them. But ignoring invalid files can prevent future problems i guess

What other strings? Preload is a weird beast, and I think it's better to strictly tell the developer he's preloading something that doesn't exists.
Until there is more information available (I haven't found anything in the PHP manual), I will manually exclude this string exclusively in the next patch version, coming hot today.

Fixed in v2.0.5.


The start of the steps should be started at the same point

Context
When passing from the Pop-up to Legend tab It seems the start of the steps is not placed it at the same point. It shows like a little jump.
Steps to Reproduce

Current Result
Now both forms start at different points
Expected result
Both forms should start at the same point
Browser and version

Closed by CartoDB/cartodb#14140
In production! rocket


Is there a way to create sub-flow?

Is there a way to create sub-flow like PyFlow`s subgraphs or Baklavajs Subgraphs

No. It existed in the past, but I figured this is not a feature that Ryven should generally have by default.

So, if I want to develop this feature myself, could you please give me some guidance?

It really depends what you are trying to achieve, I will try to help if you can give me more details. I think in most cases the flow representation should only exist at the presentation layer. When one is not actively interacting with a flow anymore, it should usually be compiled into a lower-level representation that is more efficient than the flow optimized for the UI representation. If in your use case the graph itself is not involved in expensive computations, you can probably keep a separate instance of the represented ryvencore flow in your node, which is reasonably efficient; something like that.


Version of glibc Needed

The redhook crate will output the following on a base NodeJS image. S
/lib64/libc.so.6: version `GLIBC_2.28' not found (required by /opt/lib/libcrypteia.so)

This is what I see on ruby:2.7, nodejs:14, and nodes:16. This version was released on 2017-08-02 :(
bash-4.2# find / -name "*glibc*"
/usr/sbin/glibc_post_upgrade.x86_64
/usr/share/licenses/glibc-2.26
/usr/share/doc/glibc-common-2.26
/usr/share/doc/glibc-2.26

Learning more about Lambda Amazon Linux images:
$ cat /etc/os-release | grep LIKE
ID_LIKE="centos rhel fedora"
$ rpm -E %{rhel}
7
$ cat /proc/version
Linux version 5.4.0-1074-azure (buildd@lcy02-amd64-065) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #77~18.04.1-Ubuntu SMP Wed Mar 30 15:36:02 UTC 2022

More about the repo lists.
$ yum repolist all
$ yum repolist --enablerepo "amzn2-core-source"
$ cat /etc/yum.repos.d/amzn2-core.repo
$ yum install yum-utils
$ yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
( note there is an 8 and 9 but have warning)
$ yum --disablerepo="*" --enablerepo="epel" list available
$ yum --disablerepo="*" --enablerepo="epel" list available | grep glibc


Added translations to five languages by default.

@kshitij10496 please review the PR. The application will now store German,Spanish,French,Hindi, and German translations for the word on the add command.
Next step might be to allow custom-translation by adding the command. The English word for the same can be added to the database along with the translated versions.

LGTM. Great work! 👍
Just mention the rate limiting and/or other constraints in a comment below for future references.

Next step might be to allow custom-translation by adding the command. The English word for the same can be added to the database along with the translated versions.

Eventually, we will have separate subcommands such as $ lexico synonym great to fetch only the required details and make the corresponding entry to the database.


CCI: Auto Create all NPSP OpportunityContactRole values in new Scratch Orgs

Update CCI to automatically create all the NPSP related Opportunity Contact Role values (as active) on the OCR object.
Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

Unpackaged/pre is run for mpinstaller installs as well. Is that intended or should this only be for dev/test orgs?

What does the mpinstaller do? Generally, I think this should only be for new scratch orgs that we create manually.

@cdcarter To make this change only apply to scratch orgs, would the new changes need to be in the dev_config folder?


Circuits containing Clifford ops raise a lot of exceptions

Environment

Qiskit Terra version: 0.22.2
Python version:  3.9
Operating system: MacOS

What is happening?
Circuits containing Clifford operations cannot currently be used with the same classes used to construct them.
How can we reproduce the issue?
Some examples:
Initializing a Clifford or StabilzierState from circuit fails with following exception:
from qiskit import QuantumCircuit
import qiskit.quantum_info as qi

qc = QuantumCircuit(1)
qc.append(qi.random_clifford(1), [0])
qi.Clifford(qc)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [19], line 1
----> 1 qi.Clifford(qc)

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/quantum_info/operators/symplectic/clifford.py:132, in Clifford.__init__(self, data, validate)
    130 elif isinstance(data, (QuantumCircuit, Instruction)):
    131     num_qubits = data.num_qubits
--> 132     self.tableau = Clifford.from_circuit(data).tableau
    134 # DEPRECATE in the future: data is StabilizerTable
    135 elif isinstance(data, StabilizerTable):

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/quantum_info/operators/symplectic/clifford.py:573, in Clifford.from_circuit(circuit)
    571 clifford = Clifford(np.eye(2 * circuit.num_qubits), validate=False)
    572 if isinstance(circuit, QuantumCircuit):
--> 573     _append_circuit(clifford, circuit)
    574 else:
    575     _append_operation(clifford, circuit)

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/quantum_info/operators/symplectic/clifford_circuits.py:45, in _append_circuit(clifford, circuit, qargs)
     43     # Get the integer position of the flat register
     44     new_qubits = [qargs[circuit.find_bit(bit).index] for bit in instruction.qubits]
---> 45     _append_operation(clifford, instruction.operation, new_qubits)
     46 return clifford

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/quantum_info/operators/symplectic/clifford_circuits.py:98, in _append_operation(clifford, operation, qargs)
     92     return _BASIS_2Q[name](clifford, qargs[0], qargs[1])
     94 # If not a Clifford basis gate we try to unroll the gate and
     95 # raise an exception if unrolling reaches a non-Clifford gate.
     96 # TODO: We could also check u3 params to see if they
     97 # are a single qubit Clifford gate rather than raise an exception.
---> 98 if gate.definition is None:
     99     raise QiskitError(f"Cannot apply Instruction: {gate.name}")
    101 return _append_circuit(clifford, gate.definition, qargs)

AttributeError: 'Clifford' object has no attribute 'definition'

Similarly for other methods that should work with Clifford circuits, Clifford.compose, Pauli.evolve, etc.
 For example circuit.inverse()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [24], line 1
----> 1 qc.inverse()

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/circuit/quantumcircuit.py:607, in QuantumCircuit.inverse(self)
    597 inverse_circ = QuantumCircuit(
    598     self.qubits,
    599     self.clbits,
   (...)
    603     global_phase=-self.global_phase,
    604 )
    606 for instruction in reversed(self._data):
--> 607     inverse_circ._append(instruction.replace(operation=instruction.operation.inverse()))
    608 return inverse_circ

AttributeError: 'Clifford' object has no attribute 'inverse'

Reverse ops:
qc.reverse_ops()

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [39], line 1
----> 1 qc.reverse_ops()

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/circuit/quantumcircuit.py:490, in QuantumCircuit.reverse_ops(self)
    485 reverse_circ = QuantumCircuit(
    486     self.qubits, self.clbits, *self.qregs, *self.cregs, name=self.name + "_reverse"
    487 )
    489 for instruction in reversed(self.data):
--> 490     reverse_circ._append(instruction.replace(operation=instruction.operation.reverse_ops()))
    492 reverse_circ.duration = self.duration
    493 reverse_circ.unit = self.unit

AttributeError: 'Clifford' object has no attribute 'reverse_ops'

Conditionals:
qc = QuantumCircuit(1, 1)
qc.append(qi.random_clifford(1), [0]).c_if(0, 1)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In [43], line 5
      2 import qiskit.quantum_info as qi
      4 qc = QuantumCircuit(1, 1)
----> 5 qc.append(qi.random_clifford(1), [0]).c_if(0, 1)

File ~/mambaforge/envs/pec/lib/python3.9/site-packages/qiskit/circuit/instructionset.py:218, in InstructionSet.c_if(self, classical, val)
    216     classical = self._requester(classical)
    217 for instruction in self._instructions:
--> 218     instruction.operation.c_if(classical, val)
    219 return self

AttributeError: 'Clifford' object has no attribute 'c_if'

The above examples are likely not an exhaustive list since it looks like the Clifford's added to the circuit are not valid Instructions, and hence circuit methods and functions that consume circuits assuming this are breaking.
What should happen?
I would expect Cliffords to behave like any other unitary gate instructions and all of the above methods to work as they used to when Cliffords were greedily synthesized to gate when being added to circuits.
Any suggestions?
Clifford's added to circuits should satisfy semantics of unitary Gate Instructions so that circuit methods can work correctly with them

Hi @chriseclectic, it looks like my PR #7966 on natively adding Cliffords to quantum circuits broke the above functionality, sorry! Most of these should be easy to fix, for instance the very first problem is caused by that after the above changes we don't know how to build a Clifford from a QuantumCircuit that contains another Clifford, and could be fixed by adding the lines
if isinstance(gate, Clifford):
    return _append_circuit(clifford, gate.to_circuit(), qargs)

just before checking gate.definition. Though it may be possible to avoid synthesizing Clifford to circuit (which to_circuit() method for Cliffords or definition method for Instruction would do) and instead to "compose" the Cliffords' tables directly. If no one objects, I would be happy to take a look at these problems.

Having condition (as any other instruction) would also fix #9145

Clifford's added to circuits should satisfy semantics of unitary Gate Instructions so that circuit methods can work correctly with them.

This isn't correct - Instruction is no longer the core primitive of QuantumCircuit.data.  Instead, we should be asking "how do we update the behaviour for the new data model?".  If we try and add everything back on to Operation, we just end up back with the Instruction class, which is too restrictive - you could equally well say "why doesn't Clifford have a _define method?", but the fact that circuit instructions shouldn't need to have a canonical decomposition independent of hardware is the reason for the Operation class to exist.
For the same reason, we absolutely should not be adding condition attributes to Operation; we already made the decision that conditions are not a part of an individual operation, and so we shouldn't be regressing here, especially while we're trying to get it off all the other Instruction instances too.

Obviously there are real issues here - there's clearly behaviour that was missed when the update to Operation happened, and we need to be going through and working out how that should fit in the new data model.  In general, the solution can't be to stick if isinstance(operation, Clifford) everywhere, because that doesn't solve the problem, it just means that the next implementor of Operation will face the same issues.  We need a general solution for what is meant to happen.  For classes that do have particular accelerators for Clifford in particular, the isinstance check can make sense (such as in quantum_info.Operator, potentially).
In the general case, we need to know what the replacement strategy is for code that currently relies on definition existing (or the particular code having magic handling for non-definition object).  I think this was (or should have been) part of the discussion before Operation was implemented - what is the one-off, I-don't-care-about-efficiency entry-point to higher-level synthesis where there's no particular hardware in mind?  We should make sure that we're rock solid on what our intent is for that, and then be swapping things over to use it (and making sure it's at least as ergonomic as checking for .definition).

@chriseclectic, are any of these problems more urgent than others? E.g., would it make sense to commit the fix for creating Cliffords from QuantumCircuits that contain Cliffords, while we are evaluating options on how to properly handle reverse_ops, inverse, etc?
BTW, one can always explicitly convert Clifford objects to Instruction and to have access to all of the old functionality, for instance the following code works fine:
qc = QuantumCircuit(1, 1)
qc.append(random_clifford(1).to_instruction(), [0]).c_if(0, 1)

I should have explained that the motivation for these recent changes is that there are real benefits of not converting a Clifford to Instruction when we are add it onto a QuantumCircuit, but instead keeping it as an abstract mathematical object. As one example, we know how to compose consecutive Cliffords represented as mathematical objects. A quick experiment in #9169 shows that it's about 8x faster to compose two Cliffords using Clifford.compose function compared to synthesizing these Cliffords into circuits.

Chris: maybe it wasn't clear, but what you said is exactly what I meant.

The  PR https://github.com/Qiskit/qiskit-terra/pull/9169 fixes Clifford(circuit) in the case that circuit contains other cliffords; Operator(circuit) used to work correctly already.
I am still unsure what is the best way to fix inverse and reverse. Well, for inverse there is a very simple fix of adding the method inverse to Clifford class (which would simply call adjoint). @chriseclectic and @ikkoham, would you agree to such a solution? Of course it would be nicer to settle on a generic solution that would not need to change the Clifford class and work with all possible high-level-objects.

As written above, inverse(circuit) is the same as (clifford.adjoint()).to_circuit()
In addition, since the generators of the Clifford group (H, S and CX) are all symmetric, then:
reverse(circuit) is the same as (clifford.transpose()).to_circuit().

Thanks Shelly, I completely agree that explicitly adding methods like inverse and reverse_ops methods to the Clifford class would easily solve the two remaining problems, however I am not convinced that doing this is the right approach, because we want to separate the quantum_info/clifford object from the methods to support it as an object on a quantum circuit. If I did not understand your suggestion, please let me know.


ISPN-13485 Listener includeCurrentState memory improvements

https://issues.redhat.com/browse/ISPN-13485

Based on https://github.com/infinispan/infinispan/pull/9663, so make sure that is integrated first :)

Copied from Zulip: I got stuck trying to understand why we need QueueingAllSegmentListener at all, or rather why does it extend BaseQueueingSegmentListener if it doesn't care about segments.
The trigger was that I would have liked the per-segment maps in BQSL and the per-segment queues in DSQL to be stored and manipulated together, I don't like the look of 2 separate synchronizations (I'm sure performance is fine).
But this looks like a nice win anyway, so I'm merging it and we can discuss possible improvements later.

Copied from Zulip: I got stuck trying to understand why we need QueueingAllSegmentListener at all, or rather why does it extend BaseQueueingSegmentListener if it doesn't care about segments. The trigger was that I would have liked the per-segment maps in BQSL and the per-segment queues in DSQL to be stored and manipulated together, I don't like the look of 2 separate synchronizations (I'm sure performance is fine).

Sure, I am open to changing this code up more for the better. It is over 7 years old now :)


Support multiply query ResourceParameters with same name

Is your feature request related to a problem? Please describe.
There is currently now way to parse values for multiple parameters with the same key-name.
e.g. a valid query string could be: ?ctrarray=1&ctrarray=2&ctrarray=3&ctrarray=4 ... and getRequestParameter would always only return the first occurrence of the parameter.
This also occurs in POST forms where there are multiple input fields with the same name. e.g. when it's possible to enter multiple data rows with the same fields.
e.g.:
<form method="POST">
<input type="text" name="ssid"><input type="text" name="pass">

<input type="text" name="ssid"><input type="text" name="pass">

<input type="text" name="ssid"><input type="text" name="pass">

<button onClick="javascript:...">Add A Line</button>
</form>

Describe the solution you'd like
This is sometimes used in the wild and can be useful in bare-bone microcontroller webpage environments. Most frameworks support it. It would thus be useful to iterate over the request parameters.
Describe alternatives you've considered
Not supporting this, since most people hopefully won't need to parse queries like this.

Do you know anything more current/more official on this topic than what's discussed in this answer on StackOverflow?
Returning a collection of strings from getRequestParameter would make processing the request parameters more complicated in most cases (at least that's what I'd assume), where this is not needed, and if the specification does not cover the way this should be handled, I'd not make the API more complicated than that.
Maybe it would be a solution to include the duplicate parameters when using the iterator from #62 to go through the request parameters? In that case the user can decide if duplicate values are relevant and define how they should be handled.

Nothing more authoritative that that. As it says, there does not seem to be a standard, thus everything that the schema allows is used somewhere, including the use of multiple identical keys. I know that a decade ago already some frameworks would translate array data to request-data in this form.
I think that mostly this will not be needed, so just including them in the iterator from #62 should be perfectly fine.


[Event Change Request] - SalesPost.Codeunit.al - OnAfterFinalizePostingOnBeforeCommit

We like to request the following event change:
Object: SalesPost.Codeunit.al
ToDo: add parameter EverythingInvoiced
Where is the event placed:
local procedure FinalizePosting(var SalesHeader: Record "Sales Header"; EverythingInvoiced: Boolean; var TempDropShptPostBuffer: Record "Drop Shpt. Post. Buffer" temporary)
var
    ...
begin
    ...
        InsertValueEntryRelation;

        OnAfterFinalizePostingOnBeforeCommit(
          SalesHeader, SalesShptHeader, SalesInvHeader, SalesCrMemoHeader, ReturnRcptHeader, GenJnlPostLine,
          SuppressCommit, PreviewMode, WhseShip, WhseReceive, EverythingInvoiced);

        if PreviewMode then begin
            ...
end;

Event Code:
[IntegrationEvent(false, false)]
local procedure OnAfterFinalizePostingOnBeforeCommit(var SalesHeader: Record "Sales Header"; var SalesShipmentHeader: Record "Sales Shipment Header"; var SalesInvoiceHeader: Record "Sales Invoice Header"; var SalesCrMemoHeader: Record "Sales Cr.Memo Header"; var ReturnReceiptHeader: Record "Return Receipt Header"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; CommitIsSuppressed: Boolean; PreviewMode: Boolean; WhseShip: Boolean; WhseReceive: Boolean; EverythingInvoiced: 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.


Bottom Context-related Actions/Toolbar

@mprinc provide a placeholder a regular one that would be filled/injected with action icons etc, by active component(s)/puzzles,
like in this case: Brainstorming puzzle #139 .
It should be like bottom toolbar in MCM
TODO

see how divide what goes in upper, what in lower toolbar.
should be mobile-friendly

OK, then this is my next task

Implemented in a way that we send broadcasting message showSubComponentInBottomPanelEvent with the name of the pluggable sub component we want to show in the bottomPanel

@mprinc: with this we have 10 closed issues in this milestone :)

@sinisarudan Ih ten?! :)
On Thu, 21 Jul 2016 at 17:15 sinisarudan<EMAIL_ADDRESS>wrote:

@mprinc https://github.com/mprinc: with this we have 10 closed issues
in this milestone :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mprinc/KnAllEdge/issues/182#issuecomment-234412336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA8yoYMQJC20NTuNQirvCNvSmwMgEgfQks5qX_2YgaJpZM4JOPVx
.


Add release tutorial to contributing guide to make maintainer easy to do the release process of GraphAr

Is your feature request related to a problem? Please describe.
Add an github action to simplify the release process of GraphAr and add release tutorial for maintainer how to cut a version.
Describe the solution you'd like
simplify the process with tool like action-automatic-releases
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

solved by pull request #53


Collection of minor fixes for BlockStorage

Following last review of BlockStorage, there were a few minors issues outstanding.
This collection of commits fixes most of them.

Looks good. Let me know what you think of my comments.

@MukeunKim do these changes look ok to you? You might end up having to rebase your own PR in https://github.com/bpfkorea/agora/pull/158 if https://github.com/bpfkorea/agora/pull/160 is merged.


BAU: remove country typeahead to avoid inconsistent acceptance tests

We have some other changes in ida-hub-acceptance-test to work with this set of changes: https://github.com/alphagov/ida-hub-acceptance-tests/pull/26.
NOTE - please make sure we do the followings in order:

Put an announcement in the verify channels to let people know we will be breaking joint
Merge this PR first
Merge the ida-hub-acceptance-test PR next
Tell people joint should be back to normal

I opened this PR on behalf of @hugh-emerson because I couldn't wait to review it. I have now reviewed the changes and they are good to go.


support for onclickoutside of excalidraw modal

Addresses this issue 1927.

@zurfyx I have added the background overlay for excalidraw modal as mentioned in the second point.
Can you explain the first point a bit detail ?

Thanks! What you have makes sense now. Happy to merge as-is but we'll probably need some follow up PRs on a discard modal once you click outside as it's easy to accidentally lose content.
Actually, I even wonder whether we need save/discard action buttons, perhaps it should (always) be automatically saved. @rulikrulit thoughts on this?


Add support for custom field components in forms

Adds support for using custom field components in forms.
How to verify

Checkout this branch and build it with $ npm run build-cjs.
Checkout the reproduce-custom-field-error branch of the React example application.
Link the branches together.
Start the example application ($ npm start) and open http://localhost:3000/ in your browser.
Navigate to /register.
Verify that the fields are mapped and that the form functions as expected.
Checkout the master branch of the React example application.
Redo steps 5-6.

Fixes #85
Fixes #77

@typerandom I've verified that this PR does solve #85, but with a side effect: when I successfully submit the registration form, I'm not redirected to the default HomeRoute, as described in api.md.  Sepcifying redirectTo='/' on <RegistrationForm> has no effect either.  Is this a bug that needs to be resolved?

I'm looking into this! It feels like it should be unrelated to this code. But I'll let you know soon :)

@robertjd That is really strange. I have tried to reproduce this in several ways, but haven't. The redirect works fine for me... Are you seeing any error in the console when it fails? I did a rebase before though with the master branch (of the example app). Are you still able to reproduce the error?

I found that the  reproduce-custom-field-error was not reproducing the problem described in #85.  It needed to have the <RegistrationForm> replaced with the custom form that was used in the original post in #85.  Once I did this, I could verify the problem: that the POST had empty field values.  When I link to this fix branch, the problem resolves itself: the POST now has field values.
During my last review, I had email verification enabled on the directory, and this is why I ran into the problem: the custom form from #85 didn't include a display for the "email verification required" state.
When reviewing again today, I turned off email verification, and I get something succesful: I'm automatically logged in.  So, two outcomes here:

I believe this PR is good to merge, as it fixes #85
Auto-login is supposed to be an opt-in feature.  I've created #116

Ok, going to merge this in. I'm not really sure why auto-login should be opt-in (because we only do the login if result.status === 'ENABLED'. Hence, if you have email verification on, then that shouldn't be logging you in. But I'll take that discussion in #116.


Allow custom signal when "killing" container

The POST /containers/(id or name)/kill endpoint long supports a signal query parameter to control what signal is send to the container. It would be nice if that query parameter was exposed in the DockerClient.killContainer() API somehow.
Of particular interest/value is the ability to send SIGQUIT to the container which triggers a thread dump from Java processes.

You're right that this option has been around for a long time. I found it in the docker docs back to API v1.18. I did a big PR a while ago to ensure 1.18 compatibility, but I must have just missed this parameter.
This should be easy to add. You could do it yourself, if you want to give it a try.


Suggestions!

Hi @evias ,
I like your solution so much  in case when we go integrate the usdt node js other libs. So here as I have seen your code there is method getColoredScript so inside that method you have this below line
$rawOperation = $this->arguments["colored-op"] ?: "6f6d6e69000000000000001f000000002faf0800";
So could you please suggest $this->arguments["colored-op"] => what is the value of it and where from you are getting, not sure what exactly is this. Also what is the 6f6d6e69000000000000001f000000002faf0800 ?
I am also trying to add op_return to the bitcoin multisig trasaction for usdt. So your help will help me a lot. Thanks

Actually I have multisig transaction object of copay that uses Bitcoin protocol so I need to add op_return to that trasaction, But here I am not sure what should be the hex value so that I can use that as op_return. So could you please help me on that.
Since as your code you have put it static 6f6d6e69000000000000001f000000002faf0800 so I strongly keen to know how did you generated it? So that I can use that data to generate the same.

Hello there,
This is the hexadecimal hash of the OP_RETURN operation being carried out by your input. Let me explain how this works:

Omni publishes info on the bitcoin blockchain in form of low-amount Inputs with an OP_RETURN operation
This OP_RETURN operation only specifies the amount so it is OK to just copy it in a new Input (for sending those coins)

What Omni does is following:

It defines the new RECIPIENT of the colored coins by a simple rule, as you can see in following links:

https://bitcointalk.org/index.php?topic=2500531.msg25868201#msg25868201

The receiver is chosen/indicated by the last output address that is not the sender.

Hope this is some better information ! :) What you need to do is to copy the OP_RETURN hexadecimal payload from the Input you are trying to spend :)
For the record, I named this "colored-op" because it is in fact the Colored Operation as it specifies the amount of colored coins that will be sent to the latest output which is not the sender.
✌

Hi @evias Thanks for your help :)
So I shall Just copy of the coins/amount from the input and send it in OP_RETURN payload?
Also my current transaction is looking like as below so please let me know is this correct?
{
"addresses": [
"2NBP3G9sf9s8xjq4vPSrGUnSSdz3tBxGxd2"
],
"block_height": -1,
"block_index": -1,
"confirmations": 0,
"data_protocol": "unknown",
"double_spend": false,
"fees": 356,
"hash": "95628fd8dd8cb4c65ad56d905140c7406832fc9f71fe9c5c969459a82bb0f869",
"inputs": [
{
"addresses": [
"2NBP3G9sf9s8xjq4vPSrGUnSSdz3tBxGxd2"
],
"age": 1324615,
"output_index": 0,
"output_value": 1015625,
"prev_hash": "5791ae73cc7e06982b1b794f9a97f72d301150c41b3cf6daf4c6633052c73e3a",
"script": "004752210251a422018ab3f16c0db732af7152f0934023883d2138369d1b7a73163f0dc2a62102ca97efa55def7ca2de8456c74daef5df469c1bc3cd3f7e5470b0832215dda84752ae",
"script_type": "pay-to-script-hash",
"sequence":<PHONE_NUMBER>
}
],
"outputs": [
{
"addresses": null,
"data_hex": "4f505f52455455524e20313720307836663664366536393330333033333331333833303330333033303330333033303330",
"data_string": "OP_RETURN 17 0x6f6d6e6930303331383030303030303030",
"script": "6a314f505f52455455524e20313720307836663664366536393330333033333331333833303330333033303330333033303330",
"script_type": "null-data",
"value": 0
},
{
"addresses": [
"2NBP3G9sf9s8xjq4vPSrGUnSSdz3tBxGxd2"
],
"script": "a914c6eca34b6d6c4b94fdf1505ce57d2f0b5b2b490f87",
"script_type": "pay-to-script-hash",
"value": 101562
},
{
"addresses": [
"2NBP3G9sf9s8xjq4vPSrGUnSSdz3tBxGxd2"
],
"script": "a914c6eca34b6d6c4b94fdf1505ce57d2f0b5b2b490f87",
"script_type": "pay-to-script-hash",
"value": 913707
}
],
"preference": "low",
"received": "2018-06-15T10:46:27.408307016Z",
"relayed_by": "<IP_ADDRESS>",
"size": 248,
"total": 1015269,
"ver": 1,
"vin_sz": 1,
"vout_sz": 3
`}

Yes you are right, I summarized a bit and actually it was wrong to say "it's only the amount", as it obviously also contains the version, function and currency details.
I cannot really confirm your data, what I can tell you is the following steps run-through :

Find the OP_RETURN operation that is currently stored on a Bitcoin address (the hexadecimal hash after OP_RETURN)

Find the details of that input (hash, address, private key)

Check the exact recipient of the Omni funds (as mentioned earlier, "interpret" the recipient as would Omni), this with the following precision :

The receiver is chosen/indicated by the last output address that is not the sender.

3') This means that you would check the transaction in which you copied the OP_RETURN and get the last output address (which is not the sender) from there. Because that is the address which owns the funds on the Omni network.

Now that you have those details you can simply create a new address with omni wallet and reproduce a sendtransaction call which means that you would reference the found out input , include the correct script solution for the current recipient, and add 2 new outputs.

5.1) First new output would be the OP_RETURN copy

5.2) If you plan to use an address with lots of BTC, introduce a change address here

5.3) Add the ending recipient of your funds with a btc spend transaction

I hope this helps :) I listed all the tools needed in this also in the README
✌


Apollo 6.0,the planning module QP solve failed,task name is: PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER

System information

**OS Platform and Distribution :Ubuntu 18.04
**Apollo installed from :source
**Apollo version :6.0

Steps to reproduce the issue:

Please use bullet points and include as much details as possible:
log message:
E0311 16:25:51.034699 188692 piecewise_jerk_problem.cc:105] failed optimization status:	primal infeasible
E0311 16:25:51.034737 188692 piecewise_jerk_speed_nonlinear_optimizer.cc:465] Speed Optimization by Quadratic Programming failed. st boundary is infeasible.
E0311 16:25:51.034785 188692 lane_follow_stage.cc:177] Failed to run tasks[PIECEWISE_JERK_NONLINEAR_SPEED_OPTIMIZER], Error message: Speed Optimization by Quadratic Programming failed. st boundary is infeasible.

W0311 16:25:51.037724 188692 speed_profile_generator.cc:41] init_v = 0, init_a = -0.158695
W0311 16:25:51.037735 188692 speed_profile_generator.cc:47] Already stopped! Nothing to do in GenerateFallbackSpeed()
E0311 16:25:53.667551 188693 piecewise_jerk_speed_nonlinear_optimizer.cc:581] Solver failure case is : INFEASIBLE_PROBLEM_DETECTED

you can check whether your init st point satisfies your constraints

The init condition (init_v=0, init_a=-0.158695) shows the vehicle is already stopped. If you print out reference speed data computed by path_time_heuristic optimizer, it will be clear that there is no easy way for piecewise jerk nonlinear speed optimizer to find a feasible solution. This also applies to piecewise_jerk_speed_optimizer.


Use a faster runner when the 'fast-ci' label is specified

Looking at the runtime it wasn't actually all that much faster when there's a cache hit, so I'm not sure this is worth it @lava.

Closing as this was not as effective as we had hoped.


Duplicates displayed in search health sites drop down list do not aid selection

More information needs to be displayed in the search health sites drop down list to help the user make a selection. eg add city name.

We could add search using "in" indicator
King Hospital in Paris
Solution
If there is "in", add geolocation check like place, and do boundary query from the result


Building on TravisCI/Linux, can't find swift-build

Hi Kyle, at the moment i'm using the following .travis.yml, a variation on the sample from the docs:
os:
  - linux
language: generic
sudo: required
dist: trusty
osx_image: xcode7.2
install:
  - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
env:
  - SWIFT_VERSION=2.2.1-SNAPSHOT-2016-04-23-a
script:
  - swift build

I tried with the SWIFT_VERSION you see above and with 2.2, but the result is always the same, travis can't find the swift-build binary:
Setting environment variables from .travis.yml
$ export SWIFT_VERSION=2.2.1-SNAPSHOT-2016-04-23-a

$ bash -c 'echo $BASH_VERSION'
4.3.11(1)-release
$ eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
Cloning into '/home/travis/.swiftenv'...
remote: Counting objects: 67, done.
remote: Compressing objects: 100% (57/57), done.
remote: Total 67 (delta 4), reused 34 (delta 3), pack-reused 0
Unpacking objects: 100% (67/67), done.
Checking connectivity... done.
Downloading https://swift.org/builds/swift-2.2-branch/ubuntu1404/swift-2.2.1-SNAPSHOT-2016-04-23-a/swift-2.2.1-SNAPSHOT-2016-04-23-a-ubuntu14.04.tar.gz
2.2.1-SNAPSHOT-2016-04-23-a has been installed.

$ swift build
error: unable to invoke subcommand: /home/travis/.swiftenv/versions/2.2.1-SNAPSHOT-2016-04-23-a/usr/bin/swift-build (No such file or directory)

The command "swift build" exited with 2.

I'm a missing something obvious in my travis.yml?
Full log here, everything else seems to be working.

Hi @uraimo, there isn't a swift build command included in Swift 2.2/2.2.1. Se Apple's announcement blog post for 2.2 (https://swift.org/blog/swift-2-2-released/).

The Swift Package Manager is still early in development and is not included in this release.

If you're not doing anything complicated, I've actually written a separate build tool that you might be able to use as a dropin replacement for Swift build that works on Swift 2. https://github.com/kylef/swim.

Oh, thanks, as expected it was something obvious :)


Usage of .as_array() method on slice results in panic during inlining

Aim
I would like to write a very simple program which just returns the modulus of the field being used.
use dep::std::field::modulus_be_bytes;

fn main() -> pub [u8; 32] {
    let bytes = dep::std::field::modulus_be_bytes();
    bytes.as_array()
}

Expected Behavior
I would expect that this program would successfully compile and I would get ACIR which directly commits to the values of each public input.
Bug
Compilation fails with a panic inside the inlining pass.
After Resolving IsUnconstrained:
acir(inline) fn main f0 {
  b0():
    v31 = call f1([u8 2⁴×3, u8 100, u8 78, u8 114, u8 225, u8 49, u8 2⁴×10, u8 41, u8 184, u8 2⁴×5, u8 69, u8 182, u8 129, u8 129, u8 88, u8 93, u8 40, u8 51, u8 232, u8 72, u8 121, u8 185, u8 2⁴×7, u8 145, u8 67, u8 225, u8 245, u8 147, u8 2⁴×15, u8 0, u8 0, u8 1])
    return v31
}
acir(inline) fn as_array f1 {
  b0(v0: u32, v1: [u8]):
    v4 = eq v0, u32 2⁵
    constrain v0 == u32 2⁵
    inc_rc [u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0]
    v8 = allocate
    store [u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0, u8 0] at v8
    jmp b1(u32 0)
  b1(v9: u32):
    v11 = lt v9, u32 2⁵
    jmpif v11 then: b2, else: b3
  b2():
    v12 = load v8
    v14 = lt v9, v0
    constrain v14 == u1 1 '"Index out of bounds"'
    v15 = array_get v1, index v9
    v16 = array_set v12, index v9, value v15
    v17 = add v9, u32 1
    store v16 at v8
    v18 = add v9, u32 1
    jmp b1(v18)
  b3():
    v19 = load v8
    return v19
}

The application panicked (crashed).
Message:  assertion `left == right` failed
  left: 2
 right: 1
Location: compiler/noirc_evaluator/src/ssa/opt/inlining.rs:299

This is a bug. We may have already fixed this in newer versions of Nargo so try searching for similar issues at https://github.com/noir-lang/noir/issues/.
If there isn't an open issue for this bug, consider opening one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml

To Reproduce

Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
I can work around this by directly inlining the contents of as_array into my function as so.
use dep::std::field::modulus_be_bytes;

fn main() -> pub [u8; 32] {
    let bytes = dep::std::field::modulus_be_bytes();

    assert(bytes.len() == 32);

    let mut array = [0; 32];
    for i in 0..32 {
        array[i] = bytes[i];
    }
    array
}

Additional Context
No response
Installation Method
Compiled from source
Nargo Version
No response
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

use dep::std::field::modulus_be_bytes;

global BN254_MODULUS_BE_BYTES: [u8] = [
            48, 100, 78, 114, 225, 49, 160, 41, 184, 80, 69, 182, 129, 129, 88, 93, 40, 51, 232, 72, 121, 185, 112, 145, 67, 225, 245, 147, 240, 0, 0, 1
        ];

fn main() -> pub bool {
    dep::std::field::modulus_be_bytes() == BN254_MODULUS_BE_BYTES
}

This can also be run into when just checking equality between two slices

We used to encounter this a lot when array literals & types were polymorphic over arrays and structs. Not sure why it is happening now.

Fixed by https://github.com/noir-lang/noir/pull/5278


Updated version example?

I have been trying to use the guide described here: https://docs.login.xyz/integrations/nextauth.js
Which uses this repo at it's base however a lot of functions have changed in siwe, wagmi.
Would it be possible to get an updated version?

Hey @crimson-med - can you dive a little deeper into what's going wrong for you? We recently updated to use the latest version of siwe in this example.

Hey @obstropolos thanks for taking the time to reply.
Wagmi version: 1.0.6
Siwe cersion: 2.1.4
So the first issue encountered was that now the chain names are not part of the chain export from wagmi. After looking at their documentation I had to use:
import { mainnet, polygon, optimism, arbitrum } from "@wagmi/core/chains";

Next the createClient is not exported in the most recent version and thus I had to resolve to the createConfig per their documentation:

import { WagmiConfig, createConfig, configureChains } from "wagmi";
import { mainnet, polygon, optimism, arbitrum } from "@wagmi/core/chains";
import { publicProvider } from "wagmi/providers/public";

import { CoinbaseWalletConnector } from "wagmi/connectors/coinbaseWallet";
import { InjectedConnector } from "wagmi/connectors/injected";
import { MetaMaskConnector } from "wagmi/connectors/metaMask";
import { WalletConnectConnector } from "wagmi/connectors/walletConnect";

// Configure chains & providers with the Alchemy provider.
// Two popular providers are Alchemy (alchemy.com) and Infura (infura.io)
const { chains, publicClient, webSocketPublicClient } = configureChains(
  [mainnet, polygon, optimism, arbitrum],
  [publicProvider()]
);

// Set up wagmi config
const config = createConfig({
  autoConnect: true,
  connectors: [
    new MetaMaskConnector({ chains }),
    new CoinbaseWalletConnector({
      chains,
      options: {
        appName: "wagmi",
      },
    }),
    new WalletConnectConnector({
      chains,
      options: {
        projectId: "...",
      },
    }),
    new InjectedConnector({
      chains,
      options: {
        name: "Injected",
        shimDisconnect: true,
      },
    }),
  ],
  publicClient,
  webSocketPublicClient,
});

const MyApp: AppType<{ session: Session | null }> = ({
  Component,
  pageProps: { session, ...pageProps },
}) => {
  return (
    <WagmiConfig config={config}>
      <SessionProvider session={session}>
        <Component {...pageProps} />
      </SessionProvider>
    </WagmiConfig>
  );
};

Finally event with the above edited code I get the following error from siwe

./node_modules/ethers/node_modules/ws/lib/sender.js:5:0
Module not found: Can't resolve 'net'

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

Import trace for requested module:
./node_modules/ethers/node_modules/ws/index.js
./node_modules/ethers/lib.commonjs/providers/ws.js
./node_modules/ethers/lib.commonjs/providers/provider-websocket.js
./node_modules/ethers/lib.commonjs/providers/index.js
./node_modules/ethers/lib.commonjs/ethers.js
./node_modules/ethers/lib.commonjs/index.js
./node_modules/siwe/dist/utils.js
./node_modules/siwe/dist/siwe.js
./src/pages/siwe.tsx

any updates on this?

At the moment, this example is not compatible with the latest version of wagmi - we will get around to updating this soon, but also accept any upstream contributions!

@obstropolos @crimson-med I attempted this with the latest versions of all these libraries and it seemed to work. Although the WebSocket connection throws a bunch of errors, wallet connection and SIWE works.


Revision 2.0

New Revision

Do we need to update any of the documentation (readme etc) to reference the new structure?

Do we need to update any of the documentation (readme etc) to reference the new structure?

@karljax yes we need to update readme slightly. We have two new weblogs regarding this under review now (since they have not been published yet, we do not have links ). hopefully, by the time we ready to merge the code, they are published and we could update the readme by using contents from them and linking to them.


add broken note

Reference Issues or PRs
Fixes https://github.com/nebari-dev/nebari/issues/2801

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[x] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

How to test this PR?

Any other comments?

We just need to decide what the new version of Nebari will be before merging.  2024.10.1 or 2024.11.1.

we reached a consensus for the 2024.11.1


PLINK Functionality 18.6

EBSCO Discovery Service API 18.6: Release Notes
EDS API supports the retrieval of citations in RIS format with PLINK functionality.

Done.


[Bug]: Margin of social media icons in footer section is not appropriate

Describe the bug
Social media icons are not properly margined especially on hover state.
Margin should be increased between them.
To Reproduce
No response
Expected Behavior
No response
Screenshot/ Video

Desktop (please complete the following information)
No response
Additional context
No response

Can i work on this?

It has already pr


Correlation function calculation at small angular separation

Hi, I'm working on a project which involves measuring the dark matter distribution in galaxies using data from the HSC survey. My advisors, Professor Rachel Mandelbaum, and Simon Samuroff suggested that I perform a preliminary fitting on the lensing and clustering correlation functions using CCL and I ran into a problem generating these functions at angular separation scales around 10^-2 degree.
Following this notebook, if I change theta_deg under In[8] to theta_deg = np.logspace(-3, np.log10(5.), 40), I get the following plots for the lensing and clustering correlation functions:

Are there any changes that I could make to improve the accuracy of correlation calculation at angular separation scales around 10^-2 deg? Thank you!

@TiankeZhuang with apologies for the huge delay, here's the solution. At the very top of your script, you need to update the precision parameters of CCL so that the integrals are stable down to such small scales:
ccl.spline_params.ELL_MAX_CORR = 10000000
ccl.spline_params.N_ELL_CORR = 10000

This will give you

To be honest, I don't like these variables not being evident through the correlations API, so we may want to change that in the future. At the very least we need to document this better.

Thanks @damonge .  Tianke graduated and is no longer working on this project, but it's good to know CCL does have knobs to turn for this purpose.  Documenting it better would be beneficial, I think.

Thanks @rmandelb and very sorry we didn't address this sooner!
I've tried to do that in #974, if anyone cares to review.

Thanks!


Feature/issue 107

Completes #107
Implements the whole of the ZDT test suite from "Comparison of multiobjective evolutionary algorithms: Empirical results."
Includes docstrings, builtin phenome checking, and an example notebook.

Also, realized that the paper this problem suite comes from was published in the same month I was born.

Looks good!  Thank you for doing this, @lukepmccombs !


Issue installing older version of native-base

react-native, react and native-base version
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Expected behaviour
native-base installs properly from npm
Actual behaviour
yarn throws the error below
error Couldn't find match for "be7564f4611864af471a82d980ea9f7505fb6bf6" in "_c" for "https://github.com/GeekyAnts/theme".

Any other additional info which would help us debug the issue quicker.
Installing this worked fine about a week ago, and now seems to be broken. Changing the native-base version seems to break a lot of existing styles, so want to avoid that.
Any help is appreciated.

@ppatel890 tried installing using yarn (version 1.3.2). Didn't see any issue. Attaching a Gif.
Gif

Oops, I meant<EMAIL_ADDRESS>My fault. I was able to change the commit ref in my yarn.lock file, and it seems to work fine now.


Feature: Drag and drop positioning to match comps

This changes the drag and positioning to match the behavior of only showing element preview when over canvas. Also added initial CSS variables and basic styles to match the first round of comps.
/cc @sethvincent @kenwheeler

LGTM


How is native LLM on this benchmark?

Hi,
I'm wondering why this benchmark don't have native LLM's result(such as llama2, llama3).
Do you plan to add these results on this work?

Hi, thank you for your question.
We have not tested these open-source models yet but it is on the roadmap.