🔨 Replace ugettext_lazy with gettext_lazy

Description
Please include a summary of the proposed changes.
Fixes #(issue)
Checklist

[ ] Tests covering the new functionality have been added
[ ] Code builds clean without any errors or warnings
[ ] Documentation has been updated
[ ] Changes have been added to the CHANGELOG.md
[ ] You added yourself to the CONTRIBUTORS.md

Description
Replaces ugettext_lazy which has been removed in django4.0 with gettext_lazy
Fixes #(43)
Checklist

[ ]  Tests covering the new functionality have been added
[ ]  Code builds clean without any errors or warnings
[ ]  Documentation has been updated
[ ]  Changes have been added to the CHANGELOG.md
[ ]  You added yourself to the CONTRIBUTORS.md


How can i spawn custom npc as attacker with username of gifter?

I started reading / studying about C# to edit your sourcecode but im very noob, im not a programmer. Can you give me a hint / help please? Thanks in advance. Your plugin is great! thanks!

I could change the CreateRandomPet to a CreatePed, and now the attacker is Shrek(? so now i have to create new webhooks with different characters. a bit more difficult


Possibility to catch errors on client level

I am looking for implementing a solution to enable refresh token workflow using graphlq-request. I can't see the possible way to catch the errors on the client, see what kind of error it is(looking for expired-token for example) and then execute mutation to get the new token and retry the first query that errored.
Did somebody implemented smth like this or maybe there is a native solution provided for the library which I don't see?
Thanks a lot !

i've been searching for a solution to the same problem, unfortunately i didn't found anything out either.

i've been searching for a solution to the same problem, unfortunately i didn't found anything out either.

https://github.com/prisma-labs/graphql-request#error-handling

https://github.com/prisma-labs/graphql-request#error-handling

Been a while. This use-case will be considered for #853. Thanks for initially raising it @d-ivashchuk. Hope things are well! (Brief time as a Prisma colleague :))

I am closing this as I have a satisfactory solution I believe designed here, I just need to implement it now.
https://github.com/jasonkuhrt/graphql-request/issues/878#issuecomment-2141090794


History Graph Card Configuration - Hours to show issue

I have two identical cards after each other. The only difference is one should show 50 hours and the other should show 3 hours.  When setting them up everything is fine, but after a refresh they both show the same (3 hour) graph.
Have also reset the database without success.

Please use the issue template provided. Right now, a lot of required/needed information is missing. Could you please adjust? Thanks! 👍

@frenck Is this better? thanks

Moved this issue #5090


Fix typo

a -> an

@changeworld : Thanks for your contribution! The author, @SnehaGunda, has been notified to review your proposed change.

Verified editorial correction.


CockroachCloud: IAM edit profile language

If a user is removed from all the organizations they are a part of, and then try to "login" this isn't possible today. We want to let these users without org create an org before they can take any other action such as create a cluster. We're using the same UX patterns as "Create account" (page 2 when a user creates an org) but the copy of that page needs to be updated to reflect this scenario.

FYI @celiala and @laurenbarker

Suggested text:
"It's great to meet you, " > "Welcome back, "
"Now let's set up your organization" > "Your CockroachCloud account is not associated with any existing Organizations. Let's set up a new Organization for you."
"Set up an organization to manage your clusters under a shared billing account and collaborate with team members" > No change required.

@Amruta-Ranade we won't have the user's name yet since they aren't logged in and they are only entering their name and password. Should it just say "Welcome back."?
There is a gif of the flow on https://github.com/cockroachlabs/managed-service/pull/2143 if a visual reference is helpful.

Oh, in that case, we can just say "Welcome back!"

Yup! I'll make those changes. Thanks!


Use DXGI 1.2 to call Present1(), not 1.3

Present1 is a method on IDXGISwapChain1 (1.2) not SwapChain2 (1.3); on Windows 8.0, m_pReal2 is null, leading to a crash if an app tries to call Present1 while hooked by renderdoc.

Thanks for the fix!


failed to start container "cinder-csi-plugin"

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
Very frequently the cinder-csi-plugin container in the daemenset of csi-cinder-nodeplugin failed to start with following error.   Sometimes the container can start normally.
Normal   Created    9m5s (x5 over 10m)    kubelet, celia-control-02  Created container cinder-csi-plugin
Warning  Failed     8m50s (x5 over 10m)   kubelet, celia-control-02  Error: failed to start container "cinder-csi-plugin": Error response from daemon: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely"
Warning  BackOff    40s (x33 over 9m31s)  kubelet, celia-control-02  Back-off restarting failed container
If I remove the mountpoint /var/lib/kubelet from cinder-csi-nodeplugin.yaml. Every time the pods can start successfully.  MountFlags=shared is set in docker.service.

name: kubelet-dir
mountPath: /var/lib/kubelet
mountPropagation: "Bidirectional"

What you expected to happen:
Every time the cinder-csi-plugin container can start successfully.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager version: v1.16.0
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

@celiawa Are you facing this issue with master branch as well?

yes, the master branch as well.  I just tried with the other images, also has this issue as long as I mount with /var/lib/kubelet, the container failed to start with this error. So seems not the cinder csi issue.
And could you pls help to confirm whether can we mount with /var/lib/kubelet/pods instead /var/lib/kubelet, as I can start the csi container with mountpoint /var/lib/kubelet/pods.

@celiawa /var/lib/kubelet is required to support block volume , its introduced in https://github.com/kubernetes/cloud-provider-openstack/pull/563 , so /var/lib/kubelet/pods is removed in https://github.com/kubernetes/cloud-provider-openstack/pull/773 .
Are you using the exact same manifest https://github.com/kubernetes/cloud-provider-openstack/blob/master/manifests/cinder-csi-plugin/cinder-csi-nodeplugin.yaml ? with previleged:true etc? Could you share the container logs with verbose enabled?

Thanks. The issue is not reproducible now after we enlarge the flavor of our node.  The ticket can be closed.

Ok, Thanks. Closing the same. Please reopen if the issue is seen again
/close


fixed unicode bug

noticed a bug that happens when using non-ascii characters in the alternatives due to redis storing everything as plain strings. cheers!

Thanks! I believe this now fixed in v0.4.0.


Add release notes for version 2.0.0-rc1

Signed-off-by: Ashish Agrawal<EMAIL_ADDRESS>Issue #, if available:
N/A
Description of changes:

Add release notes for version 2.0.0-rc1

CheckList:
[X] Commits are signed per the DCO using --signoff
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #426 (159aff5) into main (5a2ac0e) will decrease coverage by 0.06%.
The diff coverage is n/a.

:exclamation: Current head 159aff5 differs from pull request most recent head 4c9553b. Consider uploading reports for the commit 4c9553b to get more accurate results

@@             Coverage Diff              @@
##               main     #426      +/-   ##
============================================
- Coverage     77.00%   76.94%   -0.07%
  Complexity      177      177
============================================
  Files           165      165
  Lines          8207     8207
  Branches       1208     1208
============================================
- Hits           6320     6315       -5
- Misses         1293     1296       +3
- Partials        594      596       +2

Impacted Files
Coverage Δ

...nationmigration/DestinationMigrationCoordinator.kt
61.70% <0.00%> (-6.39%)
:arrow_down:

...ing/model/destination/DestinationContextFactory.kt
75.00% <0.00%> (-3.58%)
:arrow_down:

...ain/kotlin/org/opensearch/alerting/AlertService.kt
78.40% <0.00%> (-0.47%)
:arrow_down:

...destinationmigration/DestinationConversionUtils.kt
70.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Improve galaxy_net plot_reconstruction

Small improvements, instead of the independent color range in the resulting reconstruction, now it has:

constant color range across all residual images so that they are easier to be compared visually
constant color range for each pair of image and recon_mean
plotted samples are the ones with the largest average residual instead of being randomly selected

plotted at 499 epoches

[ ] fix FIXME's
[ ] plot best examples
[ ] update plot_reconstruction comment

@ZachariahPang thanks for posting some of the autoencoder reconstructions - it's definitely useful to see in which examples we are doing the 'worst' (at least using the average residual definition). From these examples, it's clear that we have trouble capturing "long-sharp" wings - in this case it's really clear to see:

It's good to be sure now that we fail at doing this at the autoencoder level (and not only in the sleep phase).
I'm surprised to see these two  among the 'worst' examples:

since the galaxies are small and not very elliptical. By eye it seems the second one is a bit sharper than the reconstruction and maybe the first one is just too bright? Our network is not very deep so we might have trouble capturing these features perfectly.

Overall, if these are the worst examples I think the reconstructions are pretty good ( ideally the residuals should look like gaussian noise and if these are the worst outliers [-5, 5] makes sense). I'm leaning towards moving on to sleep phase, but it might still be good to check some of the more interpretable metrics we talked about first (we can talk more in the meeting today)
@ZachariahPang I had a couple of follow-up questions on this useful exploration:
(1) Do you think the short-comings in the residual are just because our network is not very deep?
(2) Are there any simple changes (e.g. hyper-parameter changes) that you can think of to make the network training easier/faster?
(3) Could you confirm whether residuals kept getting better up until 500 epochs or are these plots essentially the same to the 300 epoch ones? It would be good to have a sense for how many epochs/galaxies are necessary to have accurate reconstructions before moving on to the sleep phase.

@ZachariahPang thanks for posting some of the autoencoder reconstructions - it's definitely useful to see in which examples we are doing the 'worst' (at least using the average residual definition). From these examples, it's clear that we have trouble capturing "long-sharp" wings - in this case it's really clear to see that:

It's good to be sure now that we fail at doing this at the autoencoder level (and not only in the sleep phase).
I'm surprised to see these two among the 'worst' examples:

since the galaxies are small and not very elliptical. By eye it seems the second one is a bit sharper than the reconstruction and maybe the first one is just too bright? Our network is not very deep so we might have trouble capturing these features perfectly.

The last two cases look really weird. I didn't show it here. But generally, the AE did a pretty good job (less than 0.2 residuals) on those small rounded-shaped galaxies. I should probably also plot the best ones just to see if the other side of the spectrum.
On that matter, do you think it would a good idea to log all those examples to a .pt file and use another script such as plotly to explore them fully, or maybe plotting the worst and the best ones directly in Tensorboard is enough?

(1) Do you think the short-comings in the residual are just because our network is not very deep?

I feel like I don't have enough intuition here but given that our galaxynet only has two conv layers, I think we can benefit from a deeper model.

(2) Are there any simple changes (e.g. hyper-parameter changes) that you can think of to make the network training easier/faster?

I'll try to research a bit on the activation function since I remember I read somewhere that those play a more important role in AE and sometimes Relu might not even work very well.

(3) Could you confirm whether residuals kept getting better up until 500 epochs or are these plots essentially the same to the 300 epoch ones? It would be good to have a sense for how many epochs/galaxies are necessary to have accurate reconstructions before moving on to the sleep phase.

The loss is plateaued pretty quickly but I'll check some early epoch examples as well to see if those make any difference visually. I guess it's probably not the case? Since our galaxy model for now only sees the loss so it should not have an idea of what is more visually pleasing?

@ZachariahPang Is this ready to merge?


Add a product to the Shopcart

As a customer
I need to add a product to the Shopcart
So that I can make a collection of products that I want to purchase
Details & Assumptions:

...

Acceptance Criteria:
Given [a product]
When [a customer add it to the shopcart]
Then [the customer's shopcart shows the product or the quantity of the product increase(if the product already existed)]

POST /shopcarts/<customer_id>/products


Renames EvalContext to InterpretCx

This PR renames EvalContext to InterpretCx due to the change.

The change have merged now.

we'll need to wait for tomorrow's nightly

@kenta7777 	could you (a) rebase on top of current master, and (b) adjust rust-version to the latest nightly (2019-03-29)? Then CI should be green and we can land this PR.

Not sure why
83b7f2e  is now pat of this, seems like something went wrong rebasing... but whatever, merging.
Thanks!

Thanks!


Restyle navigation sizing

Is your feature request related to a problem? Please describe.
Headings in navigation can appear to be truncated prematurely, especially on larger screens
Describe the solution you'd like
Either:

Make width of the navigation component adjust based on screen size and use CSS to determine when to truncate & add the ellipsis text-overflow - CSS: Cascading Style Sheets | MDN
-- or --
Make the navigation component resizable (allowing the user to drag to make it narrower or wider) and use CSS to determine when to truncate & add the ellipsis

I think solution two relates to expandable and collapsible sidebars. the following linked issue gives the sidebars boundaries that can be dragged.
https://github.com/accordproject/template-studio-v2/issues/80

can I work on this?

can I work on this?

Sure, go ahead! I'll assign it to you.

okay, on it

can I work on this?

Sure, go ahead! I'll assign it to you.

I've created a pull request for this feature, please review. https://github.com/accordproject/cicero-ui/pull/313


Page properties returns inv. mem. address despite conditional on 57

I'm getting nil pointer references with the following property even wrapped in a with
{{ with .WordCount }}
{{ . }}
{{ end }}

👉 error calling WordCount: runtime error: invalid memory address or nil pointer dereference

WordCount
Summary
Content
Maybe more 🤷♂

Issue also happens with internal template: executing "_internal/_default/rss.xml" at <.Summary>: error calling Summary: runtime error: invalid memory address or nil pointer dereference
I think all it takes is a page with no content.

I assume the nilpointer is happening inside those methods, so with won't help. Hmm. I would think we would have a million tests for this.

Quick question before I spend time on this: Anything special about this site of yours?

Possibly related: https://discourse.gohugo.io/t/nil-pointer-evaluating-resource-resource-resize-in-version-0-57-0/20208

I'm sorry I have no time to run test just yet on smaller repos. But yes, always some special stuff in there. I'll try and setup a repo for you, if no noise in the discourse, it must means it's not necessarily a broad issue.

I was getting the same error because I had
outputs: "Reveal"

instead of
outputs: ["Reveal"]

Yes, I'm suspecting this happens when there for some reason happens to be no output formats defined for a page (I assume "outputs: "Reveal" => []")


Recursive path ordering

This closes #32. I checked and this ordering produces the right RewritingSystem for a system representing the fundamental group of closed orientable surface of genus 3 as reported in Hermiller, S. M.: Rewriting systems for Coxeter groups.
As a side note: LenLex does not produce a finite system within the limit of maxrules for this example, whereas WreathOrder does and it is the same system as for RecursivePathOrder.

Codecov Report

Merging #34 into master will decrease coverage by 1.51%.
The diff coverage is 88.70%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
- Coverage   90.53%   89.01%   -1.52%
==========================================
  Files          10        9       -1
  Lines         560      437     -123
==========================================
- Hits          507      389     -118
+ Misses         53       48       -5

Flag
Coverage Δ

#unittests
89.01% <88.70%> (-1.52%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/orderings.jl
83.87% <83.33%> (+2.05%)
:arrow_up:

src/automata.jl
82.85% <90.47%> (-0.25%)
:arrow_down:

src/rewriting.jl
93.33% <91.66%> (+6.66%)
:arrow_up:

src/abstract_words.jl
92.10% <100.00%> (-1.23%)
:arrow_down:

src/alphabets.jl
72.72% <100.00%> (-3.47%)
:arrow_down:

src/bufferwords.jl
95.00% <100.00%> (-3.96%)
:arrow_down:

src/words.jl
96.29% <0.00%> (-3.71%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #34 into master will increase coverage by 1.89%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##           master      #34      +/-   ##
==========================================
+ Coverage   90.53%   92.42%   +1.89%
==========================================
  Files          10       10
  Lines         560      581      +21
==========================================
+ Hits          507      537      +30
+ Misses         53       44       -9

Flag
Coverage Δ

#unittests
92.42% <94.11%> (+1.89%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/rewriting.jl
90.56% <83.33%> (+3.89%)
:arrow_up:

src/orderings.jl
90.47% <91.17%> (+8.65%)
:arrow_up:

src/abstract_words.jl
93.33% <100.00%> (ø)

src/alphabets.jl
76.56% <100.00%> (+0.37%)
:arrow_up:

src/automata.jl
88.81% <100.00%> (+5.71%)
:arrow_up:

src/bufferwords.jl
98.90% <100.00%> (-0.06%)
:arrow_down:

Continue to review full report at Codecov.

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


walk the build graph in parallel

This makes Coordinator walk the build graph in parallel.
After some discussion on Zulip, I did this with async Rust instead of spawning threads directly. I think this could still use some improvement, but it works well for now. We can tune it with tokio-console or something soon!

@roc-lang/rbt-reviewers I'm requesting review of this since it seems like a configuration failure in CI. The tests all work locally, and the lints all pass in CI. 👍

You should be able to use roc gen-stub-lib some-example-app.roc on nightly now to work around the build issues here.

amazing, thank you!

@bhansconnect any idea what could be going on here? Looks like we're generating libapp.so correctly, but then cargo test complains it can't be found. Is it looking somewhere other than in the current directory, do you think? https://github.com/roc-lang/rbt/actions/runs/3374554604/jobs/5600303279

ok, monkeyed around with LD_LIBRARY_PATH. Now it's saying this:
/home/runner/work/rbt/rbt/target/release/deps/host-e02e8b3c7e864cef: error while loading shared libraries: ./libapp.so: ELF file's phentsize not the expected size


Let RegisterInterchainAccount always register unordered channels

With the current implementation in the interchaintxs module, all new interchain accounts are opened as Ordered channels.
We now have the required ibc-go to support unordered ICAs.
After forking of neutron's modules is done, we will have the control to change the default ordering of channels.

changes are completed in this commit . However, we need to do full testing and ensure that functionality is intact


Arduino: lack of -DUSB_MANUFACTURER makes manufacturer “Unknown"

PlatformIO Version (platformio --version): PlatformIO, version 2.9.0.dev0
Description of problem
The USB core for Arduino expects a USB manufacturer string as a preprocessor define, -DUSB_MANUFACTURER. See https://github.com/arduino/Arduino/blob/master/hardware/arduino/avr/cores/arduino/USBCore.cpp#L62 and https://github.com/adafruit/Adafruit_Arduino_Boards/blob/master/hardware/adafruit/avr/boards.txt#L26 for an example of where other packages define it.
Steps to Reproduce
I’m using a MediaTek LinkIt Smart 7688 DUO, but this should happen for anybody using their own VIDs.

Using pio, flash board with USB vendor ID other than Arduino LLC or SparkFun
(In IORegistryExplorer on OS X) “USB Vendor Name” now shows as “Unknown”
Upload a sketch using Arduino IDE
(In IORegistryExplorer on OS X) “USB Vendor Name” now shows as “MediaTek Labs"

Additional info.
I solved this by appending to https://github.com/platformio/platformio/blob/develop/platformio/builder/scripts/frameworks/arduino.py#L126:
    if "usb_manufacturer" in BOARD_BUILDOPTS:
        ARDUINO_USBDEFINES.append('USB_MANUFACTURER=\\"%s\\"' % (env.subst(
            "${BOARD_OPTIONS['build']['usb_manufacturer']}").replace('"', "")))

This allows boards to specify a manufacturer if they care about it.

@valeros please add usb_manufacturer for all AVR-based boards

Please retest with the latest http://docs.platformio.org/en/latest/installation.html#development-version

This works for me.

@nopdotcom thanks a lot for the report! Would be grateful for a star 🌟 https://github.com/platformio/platformio/stargazers


Nuxt Layers and FormKit theme

Reproduction
https://github.com/Archetipo95/test-formkit-theme
Describe the bug
I'm trying to use Nuxt Layers feature (https://nuxt.com/docs/getting-started/layers) with FormKit, but it seams that the theme is not working.
I made a repo for reproduction (https://github.com/Archetipo95/test-formkit-theme), I started from official Nuxt Layer starter (https://github.com/nuxt/starter/tree/layer).
I tried without layer configuration and the theme is working as expected.
To start the repo use pnpm i and pnpm dev
If you want to try with normal configuration without the nuxt layer:
1- change tsconfig.json to "extends": "./.nuxt/tsconfig.json"
2- use the command pnpm nuxt dev
This is the conversation I had on the support forum with @fenilli https://discord.com/channels/793529058377072650/1220439418943311912
Environment
MacOs

Part of the issue is that dependencies of the layers are not automatically installed in the extended nuxt installation.
https://github.com/nuxt/nuxt/issues/13367#issuecomment-1840286026
https://github.com/unjs/c12/issues/51
Another part of the issue is that content files in tailwind.config.js are relative to the root directory of the extended nuxt installation not the layer. Hence the join in layer nuxt.config.js for CSS file.
https://codesandbox.io/p/devbox/bold-cdn-ddcyqc

Thanks for the info about the issues. I'm not getting your proposed solution, did you just duplicate your code from the base layer?

Also this could be linked to our issue: https://github.com/nuxt-modules/tailwindcss/issues/826

Duplicated formkit.config.ts formkit.theme.ts
Installed and registered @formkit/nuxt module in playground.

The way the nuxt module works is by looking into resolved path of the nuxt.options.rootDir + options.configFile || 'formkit.config' I would guess using nuxt layers this would make nuxt.options.rootDir as the extension path, not the layer path, by adding a configFile with currentDir it probably resolves correctly.


Highlighting nested fields doesn't work / is unreliable

Description
Typesense correctly identifies matches in nested fields and adds them to the "highlight" array in results, however that same highlight is then marked as "matchLevel: none" in the _highlightResult of the adapted results.
Steps to reproduce

Schema with nested fields, in this case the field is  of relevance is

{
          name: "assets.subtypeStationary",
          type: "string[]" as FieldType,
          optional: true,
          facet: true,
        },

Frontend search using vue-instantsearch 4.8.2 and typesense-instantsearch-adapter 2.5.0

Search query "Business Card"

Typesense API response in network, showing a specific "asset":

Same "asset" shown in algolia results:

However, in the same exact set of results, it does work in some cases:

Expected Behavior
Highlighted nested fields from the typesense response are transformed into highlights for use in instantsearch
Actual Behavior
Some highlights are transformed correctly, but others which have match level "full" in the typesense response have match level "none" in the transformed instantsearch results
Metadata
Typesense Version: 0.24
OS: macOS 12.0.1

My naive question, not having dug too much in this package is how does the adapter match specific highlighted nested fields given they don't include an id or index field in the top level highlight result from the server?
Sorry if this isn't clear

@philefstat For a given hit in the results, the highlight is a sibling key to document and only contains the highlights for that document.
Could you share your typesense-instantsearch-adapter configuration and also the full JSON results returned by Typesense? I can then try to trace this locally to see what's going on.

@jasonbosco thanks for your quick response.
here's a subset of the schema:
{
    schema: {
      name: "identities",
      fields: [
        { name: "id", type: "string" as FieldType },
        { name: "name", type: "string" as FieldType },
        {
          name: "assets",
          type: "object[]" as FieldType,
          optional: true,
        },
        {
          name: "assets.subtypeStationary",
          type: "string[]" as FieldType,
          optional: true,
          facet: true,
        },
        { name: ".*", type: "auto" as FieldType },
      ],
      enable_nested_fields: true
    }

Here's an example document:
{
  "articles": [
    {
      "content": "..."
    }
  ],
  "assets": [
    {
      "imageId": "image-2eb75a6fd1a41610f712f5663d92295b001da8e2-900x597-jpg",
      "subtypeLogo": [
        "Combined Mark"
      ],
      "type": [
        "Logo"
      ]
    },
    {
      "imageId": "image-cc2f95eba073c75248d886746c2a0836441001db-900x578-jpg",
      "subtypeApplication": [
        "Stationary"
      ],
      "subtypeStationary": [
        "Business Card"
      ],
      "type": [
        "Brand application"
      ]
    },
    {
      "imageId": "image-df885b54cfdd3b706555f354d867920db74f5d24-900x578-jpg",
      "subtypeApplication": [
        "Stationary"
      ],
      "type": [
        "Brand application"
      ]
    },
    {
      "imageId": "image-3031c66005df7696ed887c8251c52940789512af-900x578-jpg",
      "subtypeApplication": [
        "Packaging"
      ],
      "type": [
        "Brand application"
      ]
    },
    {
      "imageId": "image-86a806627b84814130fc4715fe202be5f30c2ddd-900x578-jpg",
      "subtypeApplication": [
        "Packaging"
      ],
      "type": [
        "Brand application"
      ]
    },
    {
      "imageId": "image-33a6a106b0e631caaf28200f8e9ec94f025027c6-900x578-jpg",
      "subtypeApplication": [
        "Packaging"
      ],
      "type": [
        "Brand application"
      ]
    },
    {
      "imageId": "image-d46a04644c7a283f2ef50f144269a1c6247d513c-900x578-jpg",
      "subtypeApplication": [
        "Packaging"
      ],
      "type": [
        "Brand application"
      ]
    },
    {
      "imageId": "image-590f621b6c7087abbe1411da799ccb01eaa434d3-900x578-jpg",
      "subtypeApplication": [
        "Signage"
      ],
      "type": [
        "Brand application"
      ]
    }
  ],
  "client": {
    "name": "Foo"
  },
  "id": "9937",
  "name": "Bar",
  "year": 2011
}

Note that I use string[] instead of string for all the "subtype" fields because it throws an error if they are just "string" since they are in a nested object[]
The search configuration I am using is while debugging:
{
  "query_by": "name,assets.subtypeStationary",
   "highlight_full_fields": "assets.subtypeStationary"
}

and the example query I use is "Business card"
The resulting "highlight" under "hit" for the document in results looks like this:
{
  "highlight": {
    "assets": [
        {
          "subtypeStationary": [
            {
              "matched_tokens": [
                "Business",
                "Card"
              ],
              "snippet": "Business Card",
              "value": "Business Card"
            }
          ]
        }
      ]
    }
}

I think the issue is that in the returned highlight for the document there is only one returned item in "assets" and no index to match it with the specific "asset". Digging into the code a bit, I think this is related to _adaptHighlightInArrayValue in searchResponseAdapter, but it also may be that the server needs to return an indice to identify which of the nested objects the highlight relates to.
Hope this information is helpful.

@philefstat Thank you for sharing that. It turns out that this is actually due to a bug in how we handle nested field highlights in v0.24 - in an array of objects, we skip over any objects that don't have any highlights. We have a potential fix for this in 0.24.1.rc3. You should find a DEB and Docker image for it. Could you upgrade to it and let me know if the issue still persists?

@jasonbosco apologies for the delay. I've tested it and it works now, thanks very much for the quick fix!!!

Awesome, thank you for helping catch this issue!


Update ammonite-repl-api to 2.3.8-32-64308dc3

Updates com.lihaoyi:ammonite-repl-api from 2.3.8-4-88785969 to 2.3.8-32-64308dc3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "ammonite-repl-api" } ]

labels: library-update, semver-pre-release

Superseded by https://github.com/almond-sh/almond/pull/961.


Exception: Tried to stop User in an unexpected state: stopping. This should never happen.

Prerequisites

[X] I am using the latest version of Locust
[X] I am reporting a bug, not asking a question

Description
At the end of test lots of exceptions generated like this.
Traceback (most recent call last):   File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run   File "/root/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.10/site-packages/locust/user/users.py", line 208, in stop
Maybe it's important, that LOCUST_STOP_TIMEOUT set to 600
Why we try to stop user twice?
Command line
--master --enable-rebalancing --skip-log-setup --class-picker
Locustfile contents
-

Python version
3.10
Locust version
2.28
Operating system
COS

interesting. can you share your locustfile, or does it happen with any locustfile?

I will try to figure out, how to do that

@zifter did you ever figure this out? I am seeing similar issues with the latest version of locustswarm.

@KellyP5 hi!
Actually, I don't know exactly why I got that exception and how to reproduce.
I figured out, that some of my test scenarios had retry logic, and it leads to retrying the logic of some task in case of StopUser exception.
I removed retrying logic, added the catching StopUser exception in the right places, prolonged locust shutdown timeout and then I didn't face the issue anymore.


M3-2366 fix https display for NB config panels

Fix https display for NB config panels

fixing this ^
Type of Change

Bug fix ('fix')

Coverage remained the same at 34.996% when pulling b88171171fdf3e73649a7aa770b5fa88927954da on alioso:M3-2366 into 535f2636823db74dcde458981e40ed3c5f6a55a3 on linode:develop.


"Accessor[9] memory: Value[0] is out of bounds 30613. (Parameter 'memory')" during glTF export in HL:A

Describe the bug
When I try to Decompile & export I get the error below on several assets for Half-Life: Alyx:
[00:05:37.104] Export for "building_ornate_01.vmdl_c" started to "gltf"
[00:05:54.081] Warning: Unsupported Texture Type g_tMetalness
[00:05:54.149] Warning: Unsupported Texture Type g_tTintMask
[00:05:54.316] System.AggregateException: One or more errors occurred. (Accessor[9] memory: Value[0] is out of bounds 30613. (Parameter 'memory'))
 ---> SharpGLTF.Validation.DataException: Accessor[9] memory: Value[0] is out of bounds 30613. (Parameter 'memory')
   at SharpGLTF.IO.ReadContext._ReadFromDictionary(String fileName)
   at SharpGLTF.Schema2.ModelRoot.DeepClone()
   at SharpGLTF.IO.WriteContext._PreprocessSchema2(ModelRoot model, Boolean imagesAsBufferViews, Boolean mergeBuffers)
   at SharpGLTF.IO.WriteContext.WriteTextSchema2(String baseName, ModelRoot model)
   at SharpGLTF.Schema2.ModelRoot.SaveGLTF(String filePath, WriteSettings settings)
   at SharpGLTF.Schema2.ModelRoot.Save(String filePath, WriteSettings settings)
   at GUI.Types.Exporter.GltfModelExporter.ExportToFile(String resourceName, String fileName, Model model)
   at GUI.Types.Exporter.ExportFile.<>c__DisplayClass0_0.<Export>b__0(Object _, EventArgs __)
   at GUI.Forms.GenericProgressForm.<OnShown>b__6_0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---

Reference file in a Valve game(Half-Life: Alyx)
Files that did not work when tried:
models/creatures/strider/combine_strider.vmdl_c
models/architecture/backdrop/building_ornate_01.vmdl_c
models/architecture/backdrop/building_ornate_02.vmdl_c
models/creatures/combine_helicopter/combine_helicopter.vmdl_c
models/creatures/combine_dropship/dropship.vmdl_c

Expected behavior
Other models in models/architecture/backdrop exported correctly and were successfully loaded into houdini(including textures) for example:
models/architecture/backdrop/backdrop_building_c17_low01a.vmdl_c
models/architecture/backdrop/backdrop_building_c17_low01b.vmdl_c
models/architecture/backdrop/backdrop_building_c17_low02a.vmdl_c

Version info
[03:25:27.278] VRF v<IP_ADDRESS>5 on Windows 10 on AMD 2990wx CPU( not sure if that matters)
Latest build and this build appeared to be the same at the time of testing.
Additional context

models/props_combine/citadel/citadel_static.vmdl_c
The Citadel model also gives the same error.

Should be fixed on master now.

Still getting an error when I try to export combine_strider.
One  or more errors occurred. (Accessor[27] memory: Value[24458] is out of bounds 49716. (Parameter 'memory'))
I open the gui app, point to the paks, right click on combine_strider.vmdl_c, and choose decompile and export.
Using unstable build from appVeyor downloaded today.

Can confirm.
 System.AggregateException: One or more errors occurred. (Accessor[27] memory: Value[24458] is out of bounds 49716. (Parameter 'memory'))
 ---> SharpGLTF.Validation.DataException: Accessor[27] memory: Value[24458] is out of bounds 49716. (Parameter 'memory')
   at SharpGLTF.IO.ReadContext._ReadFromDictionary(String fileName)
   at SharpGLTF.Schema2.ModelRoot.DeepClone()
   at SharpGLTF.IO.WriteContext._PreprocessSchema2(ModelRoot model, Boolean imagesAsBufferViews, Boolean mergeBuffers)
   at SharpGLTF.IO.WriteContext.WriteTextSchema2(String baseName, ModelRoot model)
   at SharpGLTF.Schema2.ModelRoot.SaveGLTF(String filePath, WriteSettings settings)
   at SharpGLTF.Schema2.ModelRoot.Save(String filePath, WriteSettings settings)

Happens in Dota 2 as well:

game/dota/pak01_dir/models/heroes/antimage_female/debut/lm_am_debut_temple_interior.vmdl_c

[14:29:49.759] System.AggregateException: One or more errors occurred. (Accessor[69] memory: Value[4959] is out of bounds 35190. (Parameter 'memory'))
 ---> SharpGLTF.Validation.DataException: Accessor[69] memory: Value[4959] is out of bounds 35190. (Parameter 'memory')
   at SharpGLTF.IO.ReadContext._ReadFromDictionary(String fileName)
   at SharpGLTF.Schema2.ModelRoot.DeepClone()
   at SharpGLTF.IO.WriteContext._PreprocessSchema2(ModelRoot model, Boolean imagesAsBufferViews, Boolean mergeBuffers)
   at SharpGLTF.IO.WriteContext.WriteTextSchema2(String baseName, ModelRoot model)

Try latest unstable build, it should work now. (minus the dropship model)

You guys did it!!!


Load the model on CPU instead of GPU

I cant load the model on CPU instead of GPU while trained on GPU. Can somebody tell me

@ahmedbahaaeldin  - could you provide more detail? I've loaded a GPU-trained model on CPU without errors. Still, it then works so slow, that it can make you consider using a GPU.

Sorry it will be too much trouble to support CPU training.  Once the mode ls trained it can definitely be hosted on a CPU based machine for inference.


Bundle speedscope

Currently, singed assumes you have a working node install, and can run npx to be able to install and run speedscope.
Is there any way to bundle speedscope to reduce friction even more?
When you run npx speedscope <path>, it is essentially creating a static HTML file, and then singed is using open on it to get a browser for it.

Looked at this a bit with @nateberkopec yesterday. The speedscope command itself is written in javascript, so needs a node runtime. But, looking at it more closely, it is mostly creating some temporary html and javascript files that eventually load the bundled dist/release/index.html.
Knowing that, we could port it to another language... for example, bash:
#!/bin/bash

set -x

helpString="Usage: speedscope [filepath]

If invoked with no arguments, will open a local copy of speedscope in your default browser.
Once open, you can browse for a profile to import.

If - is used as the filepath, will read from stdin instead.

cat /path/to/profile | speedscope -
"

function getProfileBuffer() {
    if [ "$1" == "-" ]; then
        cat -
    else
        cat $1
    fi
}

urlToOpen="file://$(realpath "$(dirname $0)/../dist/release/index.html")"

filePrefix="speedscope-$(date +%s)-$$"
tempdir=$(mktemp -d)

jsPath="$tempdir/$filePrefix.js"
echo "Creating temp file $jsPath"
jsSource="speedscope.loadFileFromBase64(\"$1\", \"$(getProfileBuffer $1 | base64 -w 0)\")"
echo "$jsSource" > "$jsPath"
urlToOpen="$urlToOpen#localProfilePath=$jsPath"

htmlPath="$tempdir/$filePrefix.html"
echo "Creating temp file $htmlPath"
cat <<EOF > "$htmlPath"
<script>window.location="${urlToOpen}"</script>
EOF

function openBrowser() {
  if command -v xdg-open > /dev/null; then
    xdg-open $1
  elif command -v open > /dev/null; then
    open $1
  else
    echo "Could not open $1 in a browser. Please open it manually."
  fi
}

urlToOpen="file://${htmlPath}"
echo "Opening $urlToOpen in your default browser"
openBrowser $urlToOpen

This still requires the static files for speedscope to be installed somehwere
One way to do this would be to make part of releasing singed:

download the latest speedscope (or a preconfigured version?)
include that in the gem
write a ruby version of the speedscope command to do the same thing the node version does, using bundled speedscope.


virus in prebuilt installers?

windows warns me of a "wacatac" virus in the 5.4 version of the download today 12/3. not sure if it's legit but figured I'd report it.

Did a bunch of scans the computer from which the packages have been uploaded is clean

@tychotic also there's no prebuilt installers, the archives only contains precompiled binaries for Windows by the Unreal Build Tool; if you get an .exe at any point that's not coming from here :D

Ah, I was referring to the zip file, and I don't see anything too specific
in the output from Windows Defender. Including here for completeness: Quite
possible it's a false alarm, I don't really have any further diagnostics
but below is the particular object Windows is barking on.
[image: image.png]
On Tue, Dec 3, 2024 at 5:29 PM Tim @.***> wrote:

@tychotic https://github.com/tychotic also there's no prebuilt
installers, the archives only contains the source code along with pruned
precompiled binaries for Windows by the Unreal Build Tool; if you get an
.exe at any point that's not coming from here :D
—
Reply to this email directly, view it on GitHub
https://github.com/Nebukam/PCGExtendedToolkit/issues/84#issuecomment-2515965084,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHSCL3AR6P7Y57YKDWVHHL2DZLGRAVCNFSM6AAAAABS67YT52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVHE3DKMBYGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The image hasn't been embedded 😅
I'm pretty sure it's a false positive, a quick look around google turns up a bunch of unreal threads where some SDK or another and plugins get flagged by windows defender with that specific threat over the years.
If you're worried I'd recommend building from source directly by cloning the repo -- I'll be closing this one as false positive for now.
Worst case scenario something infected the .zip during download or on your end; I'd recommend a full system scan just to be sure.

Ah, thank you, and sorry for the false positive Not surprising!
I'm actually just setting up a new machine over here. Seems like I run into
something like this with unreal projects every time I do a new machine?
Anyway, question for you: is there a 5.4 version of the examples
project anywhere? There's some great debug code in there but I'm stuck on
5.4 for another few weeks.
Thanks
Matt
On Tue, Dec 3, 2024 at 5:48 PM Tim @.***> wrote:

The image hasn't been embedded 😅
I'm pretty sure it's a false positive, a quick look around google turns up
a bunch of unreal threads where some SDK or another and plugins get flagged
by windows defender with that specific threat over the years.
If you're worried I'd recommend building from source directly by cloning
the repo -- I'll be closing this one as false positive for now.
Worst case scenario something infected the .zip during download or on your
end; I'd recommend a full system scan just to be sure.
—
Reply to this email directly, view it on GitHub
https://github.com/Nebukam/PCGExtendedToolkit/issues/84#issuecomment-2515983965,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHSCL3QTVLW6OZGRP5DQGL2DZNO7AVCNFSM6AAAAABS67YT52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVHE4DGOJWGU
.
You are receiving this because you were mentioned.Message ID:
@.***>


⚠ Bofrost.fr has degraded performance

In 21fd534, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1494 ms

Resolved: Bofrost.fr performance has improved in 838819f after 8 minutes.


Add latency to nexd peers ping outputs

Example Output:
[05:19:56] (='o'=) [nexctl]$ sudo ./nexctl nexd peers ping
HOSTNAME                     WIREGUARD ADDRESS     LATENCY     CONNECTION STATUS
ip-10-180-9-76               <IP_ADDRESS>            41.73ms     ✓ Reachable
ub201                        <IP_ADDRESS>            5.29ms      ✓ Reachable
ub202                        <IP_ADDRESS>            4.98ms      ✓ Reachable

Also changed the return to explicitly return the second ICMP probe since the first can sometimes have a higher latency in general on pings.
Pretty sure this won't break US probing but I didn't test, ty!


The logical order of conditionally revealed content as it appears within a set of radios or checkboxes can be confusing

The conditionally revealed content appears immediately after the control that reveals it. This means that it’s 'mixed up' within the logical order of the set of checkboxes or radios.

This can cause confusion for screen reader users, as illustrated by this research finding from the checkboxes backlog issue:

[We've just taken] our agent facing service to usability testing with someone who uses JAWS. Our biggest issue that we kept encountering was the use of conditional reveal, we think that with familiarity this issue would go away but it's definitely something we want to just work straight away without explanation.
User was presented with radio buttons as seen below:

The user selected yes and then tabbed as they thought they had completed the section.
It read out the label for the conditionally revealed input (although this was inconsistent, we want to get a JAWS device over the coming weeks and try and replicate the different behaviours, as sometimes the label was getting skipped)
The user then used the cursor down option in JAWS to see what else was on the page, and the next thing was "no"; this caused a lot of confusion because they thought it had jumped into the next radio button group, so this caused a lot of tabbing back and forth to try and find out where that "no" was coming from, at this point we then explained where that conditional content was in relation to the page.
We have multiple other questions like this with similar content being revealed and this was a consistent theme, unsure which radio group they were in after entering the conditionally revealed content. This was also an issue when we had a legend explaining the question which was then being read out before the "no", because then it was as if tab had put them backwards in the form.
To summarise, user pressed tab after selecting radio button, which put them into the conditionally revealed content, they thought that was the next question so when they looked at the next part of the page and it was the remaining radio options they were completely unsure of where they were.
Originally posted by @alexnewmannn in https://github.com/alphagov/govuk-design-system-backlog/issue_comments/533134507

In research carried out by the Design System team in December 2020, participant 1 (a severely sight impaired user using VoiceOver on macOS) became disorientated when navigating through a page that included a conditional reveal that revealed another fieldset containing multiple inputs.
We included a conditional reveal with multiple revealed fields as we know that conditional reveals are being used to reveal increasingly complex additional content and, already aware of this as a potential issue, wanted to see how it performed.

The form was made up of a fieldset containing 2 radio buttons with the legend 'Do you know the details of your healthcare professional?'. When 'Yes' was selected, a nested fieldset with the legend 'What's the address of your healthcare professional?' with 6 text inputs for name, building and street, town, county and postcode was revealed immediately after the 'Yes' radio button.
The user selected 'yes' and filled in the details for their healthcare professional. However, after they filled 'London' in the 'Town/city' input they were taken directly to the 'No' radio button. (Current hypothesis: they ended up pressing Command-VO with 'n' still being pressed as the last letter in 'London' which is the shortcut for 'Next auto web spot', which in our testing matches the observed behaviour and takes the user straight to the 'No' radio button, skipping the county and postcode fields)
They were then disorientated by the placement of the 'No' radio button as they expected it to be with the 'Yes' radio button before the address fields.
Despite this, the participant was able to complete the task and move on to the next page.
Transcript
Some VoiceOver output is omitted when the user is navigating through multiple form fields
VoiceOver: Town or city, Town or city L o n d o n What's the address of your no no no end of what's the address of your healthcare professional group no give the address details of your
Participant 1: Why have I got a no there? It's reading me 'no'.
VoiceOver: No no.
Participant 1: Sighs [Navigates backwards]
VoiceOver: What's the address of your healthcare professional? Postcode
VoiceOver: What's the address of your healthcare professional? Give the address details of the healthcare professional involved in the treatment of your condition. For example, your surgeon, physiotherapist or GP.
Participant 1: It jumped to that, I did London then it missed out the postcode, it did a jump to that next question, I don't know why.
[Navigates backwards]
VoiceOver: County
Participant 1: "Oh it missed out county as well. I'm going to leave county clear. It might want Greater London but…"
VoiceOver: "Postcode"
[Enters postcode]
[Navigates forwards]
VoiceOver:  "No. Give the address details of the healthcare professional involved in the treatment of your condition. For example, your surgeon, physiotherapist or GP. No. Do you know the details of your healthcare professional? Group. Give the address details of the healthcare professional involved in the treatment of your condition. For example, your surgeon, physiotherapist or GP."
Participant 1: I don't like how this… this is just a mess. It’s reading no’s all over the place. That should finish after that. That no was above, unless the no was for the question below
User researcher: So you put the address in and then...
Participant 1: I put the address in, but I'm sure it asked me above for the 'no's so why have I got 'no's [navigates backwards through the page to 'Yes'] oh it didn't, why isn't the no up there? would be my question, and why is it whizzling me from London to the 'no' without me looking at the others, [navigating forwards through the form] so there's a bit of coding that needs correcting there. I'm obviously losing the focus for some reason."
VoiceOver: "Submit"
Participant 1: OK, I'm going to Submit that.

There's a few odd things going on here that may have compounded the issue:

the user somehow navigating directly from the town/city to the 'No' radio button
repetition of some of the announcements – however, we don't know what keyboard shortcuts the user was using when, so it's likely that many of the repeated announcements were triggered by the user as they explored the form
the aria description for the parent 'Do you know the details of your healthcare professional?' fieldset being read when focusing the fields within the nested 'What's the address of your healthcare professional?' fieldset

In research carried out by the Design System team in December 2020, participant 1 (a severely sight impaired user using VoiceOver on macOS) became disorientated when navigating through a page that included a conditional reveal that revealed another fieldset containing multiple inputs.
We included a conditional reveal with multiple revealed fields as we know that conditional reveals are being used to reveal increasingly complex additional content and, already aware of this as a potential issue, wanted to see how it performed.

The form was made up of a fieldset containing 2 radio buttons with the legend 'Do you know the details of your healthcare professional?'. When 'Yes' was selected, a nested fieldset with the legend 'What's the address of your healthcare professional?' with 6 text inputs for name, building and street, town, county and postcode was revealed immediately after the 'Yes' radio button.
The user selected 'yes' and filled in the details for their healthcare professional. However, after they filled 'London' in the 'Town/city' input they were taken directly to the 'No' radio button. (Current hypothesis: they ended up pressing Command-VO with 'n' still being pressed as the last letter in 'London' which is the shortcut for 'Next auto web spot', which in our testing matches the observed behaviour and takes the user straight to the 'No' radio button, skipping the county and postcode fields)
They were then disorientated by the placement of the 'No' radio button as they expected it to be with the 'Yes' radio button before the address fields.
Despite this, the participant was able to complete the task and move on to the next page.
Transcript
Some VoiceOver output is omitted when the user is navigating through multiple form fields
VoiceOver: Town or city, Town or city L o n d o n What's the address of your no no no end of what's the address of your healthcare professional group no give the address details of your
Participant 1: Why have I got a no there? It's reading me 'no'.
VoiceOver: No no.
Participant 1: Sighs [Navigates backwards]
VoiceOver: What's the address of your healthcare professional? Postcode
VoiceOver: What's the address of your healthcare professional? Give the address details of the healthcare professional involved in the treatment of your condition. For example, your surgeon, physiotherapist or GP.
Participant 1: It jumped to that, I did London then it missed out the postcode, it did a jump to that next question, I don't know why.
[Navigates backwards]
VoiceOver: County
Participant 1: "Oh it missed out county as well. I'm going to leave county clear. It might want Greater London but…"
VoiceOver: "Postcode"
[Enters postcode]
[Navigates forwards]
VoiceOver:  "No. Give the address details of the healthcare professional involved in the treatment of your condition. For example, your surgeon, physiotherapist or GP. No. Do you know the details of your healthcare professional? Group. Give the address details of the healthcare professional involved in the treatment of your condition. For example, your surgeon, physiotherapist or GP."
Participant 1: I don't like how this… this is just a mess. It’s reading no’s all over the place. That should finish after that. That no was above, unless the no was for the question below
User researcher: So you put the address in and then...
Participant 1: I put the address in, but I'm sure it asked me above for the 'no's so why have I got 'no's [navigates backwards through the page to 'Yes'] oh it didn't, why isn't the no up there? would be my question, and why is it whizzling me from London to the 'no' without me looking at the others, [navigating forwards through the form] so there's a bit of coding that needs correcting there. I'm obviously losing the focus for some reason."
VoiceOver: "Submit"
Participant 1: OK, I'm going to Submit that.

There's a few odd things going on here that may have compounded the issue:

the user somehow navigating directly from the town/city to the 'No' radio button
repetition of some of the announcements – however, we don't know what keyboard shortcuts the user was using when, so it's likely that many of the repeated announcements were triggered by the user as they explored the form
the aria description for the parent 'Do you know the details of your healthcare professional?' fieldset being read when focusing the fields within the nested 'What's the address of your healthcare professional?' fieldset

As discussed in https://github.com/alphagov/govuk-design-system/issues/1508#issuecomment-789576194, we identified some examples of conditional reveals where the revealed content is below the radios. However with these examples users could miss that some content has been revealed below on mobile resolutions or if the page is zoomed in at a high resolution. It's possible that these issues could be negated by the fact that users have to pass by the revealed content before they reach the submit button. On the other hand we should consider how 4.1.2 and 4.1.3 impact the interaction.
@terrysimpson99 additionally raised some useful points in https://github.com/alphagov/govuk-design-system/issues/1508#issuecomment-789596243 and https://github.com/alphagov/govuk-design-system/issues/1508#issuecomment-789915929.

In March 2021, we spoke to a Lead Auditor at the Digital Accessibility Centre who works alongside screen reader testers and users with disabilities. They audit a lot of government services, especially HMRC services.
As such, they're pretty familiar with the current approach to conditional reveals.
They said that they'd found conditional reveals can be difficult for people with vision impairment to navigate, but they hadn't noticed issues with any other user groups that they test with.
The main issue they talked about was information overload. Long conditional reveals would be flagged as they increase the length of the page, which can make it disorientating for users. They suggested that the revealed content should be moved to a separate page instead.
Conditionally revealing a single input field (for example) is normally OK. However, there’s always a chance that people navigating “out of context” (e.g: tabbing; or by links, headings, lists etc) can miss the information in a conditional reveal.
Revealing text content

When presented with this example of conditional reveals that revealed warning text, they said that they would flag it as an issue, although it wasn't something they'd seen in audits.
They said that users who navigate out of context are likely to miss text in a conditional reveal. As such, warning text should be in the main page content, for consistency purposes and so it’s not missed.
Revealing multiple fields

When presented with the example from our user research prototype, where a radio button reveals multiple additional fields, they said:

The main issue is that the conditionally revealed content is so long. We would definitely flag this as it is information overload - this content should be on a separate screen.
From an accessibility perspective, I can’t remember if we’ve tested examples as long as this, I imagine users with vision impairments would struggle. If a user is navigating through each element, they will have to navigate through each radio button under the conditional reveal, which may be confusing

Alternative approaches
Finally, when presented with an alternative version where the conditionally revealed inputs appear after the entire radio group, they said:

Yes, this (content below radios) definitely looks like a better way of doing it, I can see why this might be better and easier to use. This looks like a better option. A user navigating through each element would still go through all the radio buttons, but it’s clearer what all the options are and there’s nothing in the middle almost getting in the way or changing the context.


Add failed task metric to help with cell health monitoring

Added an additional metric to the rep to increment a counter on each failed Task
This will help monitoring the status of cells and which may have issues with staging failures.
We will be submitting a documentation change in diego-release/docs/metrics.md to correspond to this change as well
Thanks!
Signed-off-by: Vadim Raskin<EMAIL_ADDRESS>

Updated our change to add a start and success metrics as well to be able to have cell based metrics on percent successful tasks (staging)

Thanks, @andrew-edgar. These metrics seem fine to add. I was considering whether they would be better to add in the BBS controller logic with a cell-id tag, since that's a more authoritative and central location for these metrics, but I can see the value and simplicity in having them come from each cell individually. I'm also wary of having the metric emissions interleaved with the BBS/executor interactions in the task processor, as there are now 3 different collaborators to ensure are ordered correctly, but I will let the pair evaluating the PR comment.
Best,
Eric

@andrew-edgar Any updates on this?

So would you prefer that I close this and submit a new PR on the BBS to implement the changes there?

@andrew-edgar That would be best. Thanks.


ci: testing regressions against main

WIP: DO NOT MERGE
Testing regressions in CI/CD pipeline
Signed-off-by: Ernesto Ojeda<EMAIL_ADDRESS>

closing, not relevant anymore


Update wording on dictionary default ordering

Fixes #1184

Oops, fell through the cracks... I will follow up soon.
On Fri, Nov 27, 2020 at 20:36, Jeremy Richards<EMAIL_ADDRESS>wrote:

@jeremysprofile commented on this pull request.
In docs/templates.rst
https://github.com/pallets/jinja/pull/1236#discussion_r531856630:

+be the order you expect. If order matters, you can sort data.items() or use
+the dictsort filter. (In Python versions prior to 3.7, dict objects are
+unsorted, so you might want to either pass a sorted list of tuple s
+-- or a collections.OrderedDict -- to the template, or use the dictsort
+filter.)

You may be right that the wording could be improved, but I think in either
case this is still better than the existing documentation, which is still
displaying misleading information 5 months later. I guess this is just a
polite reminder that this exists and could use some love.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pallets/jinja/pull/1236#discussion_r531856630, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AP34PQZPKNH7XGUTQ64TQA3SSB46NANCNFSM4N5F72SA
.

I've updated the wording and also added some basic samples.

I've updated the wording to be cleaner based on the comments above, and I also added some sample code.


pex_pytest migration

LGTM. We also need to update some internal tests to work.
Please merge it after the travis ci is passed.


Update Plugins Oct 17.

Plugin Updates:
Advanced Custom Fields PRO | 6.3.8
PublishPress Revisions     | 3.5.15
TaxoPress Pro              | 3.26.0
Yoast SEO                  | 23.6

Thanks @rpeterman-gp !
Updates deployed to live.


Return directly a new AccountsServer object

Remove the interface

@pradel Has some merge conflicts to fix.

@TimMikeladze Updated

Thanks!


dashboard: retest missing backports

Poll missing backport commits and, once a missing backport is found to
be present in the fuzzed trees, don't display it on the web dashboard
and send an email with the suggestion to close the bug.
Closes https://github.com/google/syzkaller/issues/4425.

PTAL

Rebased + made the behavior configurable (it will simplify deployment).


Uncaught (in promise) TypeError: Deno.writeAllSync is not a function

With the update to Deno 2.0, Deno.writeAllSync is deprecated, and the spinner is throwing an errror

@willem-haring I have addressed this in my fork of this library https://github.com/GunnerGuyven/kia
Comments and usage welcome.


kararotConnectors() is not compatible with react-native

Description
The Kakarot library is currently incompatible with React Native applications due to its dependency on browser-specific mipd librairy, which is not available in the React Native environment.
Current Behavior
The library's kakarotConnectors() function uses mipd to discover providers, which internally depends on window.addEventListener(). This implementation fails in React Native as the window object differs from browser environments.
Expected Behavior
The library should provide a platform-agnostic implementation for provider discovery that works in both web and React Native environments, or offer an alternative implementation for React Native.
Additional Context
Our current implementation attempts to use kakarotConnectors() in combination with useInjectedConnectors() and StarknetConfig
Implementation reference: https://github.com/AFK-AlignedFamKernel/afk_monorepo/blob/main/apps/mobile/src/app/StarknetProvider.tsx
Related Issues/PRs
Related PR: https://github.com/AFK-AlignedFamKernel/afk_monorepo/pull/321

Unfortunately the kakarot connector will go away since there won't be a mainnet launch.


ARM64: FEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP

Implements the missing parts of the software write watch system. Activates and deactivates the tracking based on the GC state. Code is based on the same function in the runime
Generates an compiler error if FEATURE_USE_SOFTWARE_WRITE_WATCH_FOR_GC_HEAP is enabled for anything else than ARM64 UNIX as all other assembler helpers are not updated to support it.

Thank you!


How to treat words that belong to multiple cognate sets

As I have understood, the column cognacy requires exactly one integer that indicates to which cognate set a word belongs. How should words be treated that belong to multiple ones?
To give an example from data that I've just been working on: Hungarian <bűbáj> is a loanword from West Old Turkic, it's an intransparent compound from <bű> and <báj> for both of which there is a separate entry in the table. The way I'm currently treating this is that I'm simply omitting it, but that can hardly be the preferred alternative.
So I was wondering how to treat these kind of entries ideally. Maybe adding multiple integers to column "Cognacy"?

This is more a lexibank than a general CLDF issue, since Cognacy is defined for lexibank datasets, see https://github.com/lexibank/pylexibank/blob/8ae170cecb67f450b7a8cbaa56ded94281944b0f/src/pylexibank/models.py#L85 - but not in the CLDF ontology.
Anyway, even in lexibank, this column is only there to preserve any dataset-specific way to indicate cognacy. The "CLDF way" to assign forms to cognate sets (and which is also supported by pylexibank) is by adding rows to a CognateTable. This table reverses the link, i.e. the cognate links to the form. So adding multiple cognates linking to the same form is fully supported.

Thank you for the answer! Just need to double check if I've understood it correctly, so I've transferred this to lexibank and closing this issue here now. Thanks again a lot for the help!


Auto play

Hi i want this slider in autoplay

hi. I want it to be applied, but I suffer lack of hours.
until than you can do it using setInterval and next function.
please refer issue : https://github.com/PAIO-CO-KR/carousel-3d/issues/5

See http://cimes.ru/blog/1/17/auto-play-paio-jquery-carousel-3d-ili-kak-sdelat-avto-vraschenie-karuseli/

it show error Uncaught TypeError: "[data-carousel-3d]".Carousel3d is not a function


check: Skip detailed edge modeling if costly

What are the reasons/motivation for this change?
On real world designs like the Black Parrot, check can get stuck on some cells because of the edge data explosion. See e.g. this shift cell
attribute \src "../black-parrot/external/HardFloat/source/HardFloat_primitives.v:103.10-103.17"
  cell $shr $auto$slang_frontend.cc:657:operator()$20570
    parameter \Y_WIDTH 4097
    parameter \B_WIDTH 12
    parameter \B_SIGNED 0
    parameter \A_WIDTH 4097
    parameter \A_SIGNED 1
    connect \Y $auto$slang_frontend.cc:665:operator()$20571
    connect \B $auto$slang_frontend.cc:604:operator()$20569
    connect \A 4097'[encoded data, 4097 characters]
  end

Explain how this is achieved.
For those cells for which the edge data is available and can exhibit a quadratic explosion, we check for the product of the input and output port widths, and if the product is over a threshold, we fall back to coarse connectivity modeling (we assume all output port bits are connected to all input port bits, like we do for cells for which the edge data is unavailable today).
At the same time, we introduce a new option to force the detailed modeling:
    -force-detailed-loop-check
        for the detection of combinatorial loops, use a detailed connectivity
        model for all internal cells for which it is available. This disables
        falling back to a simpler overapproximating model for those cells for
        which the detailed model is expected costly.

If applicable, please suggest to reviewers how they can test the change.
See this session on this somewhat synthetic example:
module top(input wire [15:0] i, output wire [31:0] y);
	assign y = {16'hbf39, ~y[31:15]} >> i;
endmodule

yosys> read_verilog loop.v
...
yosys> check

2. Executing CHECK pass (checking for obvious problems).
Checking module top...
Warning: found logic loop in module top:
    cell $shr$loop.v:2$2 ($shr) source: loop.v:2.13-2.39
      (cell's internal connectivity overapproximated; loop may be a false positive)
    cell $not$loop.v:2$1 ($not) source: loop.v:2.24-2.33
      A[0] --> Y[0]
Warning: found logic loop in module top:
    cell $shr$loop.v:2$2 ($shr) source: loop.v:2.13-2.39
      (cell's internal connectivity overapproximated; loop may be a false positive)
    cell $not$loop.v:2$1 ($not) source: loop.v:2.24-2.33
      A[1] --> Y[1]

...

Warning: found logic loop in module top:
    cell $shr$loop.v:2$2 ($shr) source: loop.v:2.13-2.39
      (cell's internal connectivity overapproximated; loop may be a false positive)
    cell $not$loop.v:2$1 ($not) source: loop.v:2.24-2.33
      A[16] --> Y[16]
Found and reported 17 problems.
Consider re-running with '-force-detailed-loop-check' to rule out false positives.

yosys> check -force-detailed-loop-check

3. Executing CHECK pass (checking for obvious problems).
Checking module top...
Found and reported 0 problems.

I would like an option that will automagically fall back to detailed loop checking when it was found a course loop. I expect that a loop is probably isolated to a relatively tiny subset of the netlist so detailed checking should be cheap.

I expect that a loop is mostly isolated to a relatively tiny subset of the netlist so detailed checking should be cheap.

Where the new behavior matters the most is in cases where a single cell can explode to a prohibitive number of edges (like in the Black Parrot). In such cases it's a bit misleading to suggest -force-detailed-loop-check as it will get stuck, so we may want to adjust the wording or remove the suggestion.

As it stands designs which yosys now reports as fine will be wrongly flagged as having logic loops with this PR as it is.

We could adjust the threshold to make sure the change doesn't affect realistic designs which were checkable before. So that the only designs affected are those on which check was stuck or close-to-stuck before.

Sorry for this drive by comment 😅. If this is infeasible or just a lot of work ignore me.

Not at all. It's not infeasible though I am a bit worried about the code complexity for a little gain.


Module includes happening in unexpected manner

Bug Report
Repo to reproduce bug: https://github.com/tkshnwesper/potential_crystal_bug
Run crystal spec
Context

There are 3 modules, A, A::B and A::C.
b.cr - A::B has a method def foo(x : Int32)
c.cr - A::C has a method def foo(x : String)
The spec file for A::B (b_spec.cr) only imports b.cr
The spec file for A::C (c_spec.cr) only imports c.cr
b_spec.cr - includes A::B
c_spec.cr - includes A::C

When you run the test, you will get an error like
In spec/c_spec.cr:8:11

 8 | Z.new.foo("Hello")
           ^--
Error: no overload matches 'A::B::Z#foo' with type String

Overloads are:
 - A::B::Z#foo(x : Int32)

I'm not sure if it's a bug, or I am missing something. If we import only c.cr then it should use the methods defined in A::C, no? Instead it looks at A::B and pretends A::C does not exist.
Crystal version:
Crystal 1.3.2 (2022-01-18)

LLVM: 13.0.0
Default target: x86_64-apple-macosx

What does it mean "when you run the test"? Can you show us the command?

What does it mean "when you run the test"? Can you show us the command?

Using crystal spec

This will probably be the answer: when you include something at the top level, it's included on every file, not just that file.

Even though I include only A::C, does A::B get automatically included too because they are both part of A?

The spec runner creates a fictitious source file that requires every spec file, so the two includes effectively have the same scope, and the last one has precedence.

The spec runner creates a fictitious source file that requires every spec file, so the two includes effectively have the same scope, and the last one has precedence.

That explains the phenomenon well, thank you. I'll check the source code to see if there's an easy fix

I suppose it would be nice to have local includes per file which behave like private types in the top-level scope.
Maybe that should've been the behaviour for include on the top-level in the first place.

I think I get what you mean @straight-shoota , basically
include A::B
Z.new.foo(1)

include A::C
Z.new.foo("Hi")

should work in a single file, right?

No. It should work as in your original example. When you include A::B from b.cr, it won't be included in other files such as c.cr and vice versa.

I think I suggested private include in the past, there might be an issue for it.

I think I suggested private include in the past, there might be an issue for it.

Could it be this: https://github.com/crystal-lang/crystal/issues/4442

Wouldn't this also allow significan compiler performance boost (easier change detection)?


Cannot move right with d

The 'D' Key does not allow movement towards the right

Update: but arrow keys work just fine

Update: this may have been a glitch

Hmm this still seems to be a problem, but it works occasionally?
@deathcap any ideas?

Might not necessarily be a problem with this module; I'd check the physics and keybindings

okay. @deathcap Please take a look at my other comments as well, theres quite a few on the Documentation page too

This is really odd... it just worked for me again. Definitely seems circumstantial


Microsoft API Prototype

Time tracking: https://its-pro.ucsd.edu/browse/SVCOPS-407
Prototype an API implementation that:

Queries the logged in user's meeting activities on Microsoft Teams
Returns the time spent in each of the Teams meetings

Not actively working on this -- demonstrated poc and verified permissions issues exist for my user.


Update images

updates a couple of images to their latest version. Only the k8s deployment uses versioning.

Related to https://github.com/microservices-demo/front-end/issues/32


Have errors in utils.js && ReactGridLayout.js

Describe the bug
We are facing below issue when the webpack is compiling the RGL.
ERROR in ./node_modules/react-grid-layout/build/utils.js 199:74
Module parse failed: Unexpected token (199:74)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|  */
| function childrenEqual(a /*: ReactChildren*/, b /*: ReactChildren*/) /*: boolean*/{
>   return (0, _fastEquals.deepEqual)(_react.default.Children.map(a, c => c?.key), _react.default.Children.map(b, c => c?.key)) && (0, _fastEquals.deepEqual)(_react.default.Children.map(a, c => c?.props["data-grid"]), _react.default.Children.map(b, c => c?.props["data-grid"]));
| }

Babel Config
{
        test: /\.jsx?$/,
        loader: 'babel-loader?cacheDirectory=true',
        include: [path.resolve(__dirname, 'client'), path.resolve(__dirname, 'galaxyApps')],
        query: {
          presets: [
            ['@babel/preset-react'],
            [
              '@babel/preset-env',
              {
                targets: 'last 2 years',
                modules: "commonjs"
              },
            ]
          ],
          plugins: [
            ['@babel/plugin-transform-runtime', { 'useESModules': true }],
            'lodash',
            "@babel/plugin-syntax-dynamic-import",
            "@babel/plugin-proposal-class-properties",
            "@babel/plugin-proposal-nullish-coalescing-operator",
            "@babel/plugin-proposal-optional-chaining",
            isDevelopment && require.resolve('react-refresh/babel')
          ].filter(Boolean)
        }
      },

Node : 16
NPM:6
where forcing the RGL library version to 1.4.2 is fixing the issue, since there are multiple clients using different versions
of react-grid-layout, we can't request the clients to do force resolutions.
request to share the solution to this issue.
Your Example Website or App
https://codesandbox.io/p/sandbox/staging-bush-3lvt7?file=%2Fsrc%2FShowcaseLayout.js
Steps to Reproduce the Bug or Issue

install react-grid-layout
install webpack 4(webpack ^4.41.5) and babel.
use the below babel config(@babel/core - ^7.21.3)

module.exports = {
    "presets": [
      ["@babel/preset-env", {
        "targets": 'last 2 years',
        "modules": "commonjs",
    }],
    '@babel/preset-typescript',
    '@babel/preset-react'
  ],
  plugins: [['@babel/plugin-transform-runtime'],
    "@babel/plugin-proposal-class-properties",
    'lodash',
    "@babel/plugin-syntax-dynamic-import",
    "@babel/plugin-proposal-export-default-from",
    "@babel/plugin-proposal-nullish-coalescing-operator",
    "@babel/plugin-proposal-optional-chaining",
  ]
}

and an entry in webpack and run build.

Expected behavior
No Error in webpack build.
react-grid-layout library version
1.4.4, 1.3.4
Operating System Version
macOS,
Browser
Chrome
Additional context
No response
Screenshots or Videos

using 1.4.3

is this observed when the module is commonJS ?

We're hitting this too. The problem is the optional chaining operator (i.e., ?'s) usage in the JS output. Line 360 in ReactGridLayout.js, for example looks like this in 1.4.3:
      !((_e$nativeEvent$target = e.nativeEvent.target) !== null && _e$nativeEvent$target !== void 0 && _e$nativeEvent$target.classList.contains(layoutClassName))) {

and this in 1.4.4:
      !e.nativeEvent.target?.classList.contains(layoutClassName)) {

The former looks like babel output handling an optional in vanilla JS whereas the latter is leaving the optional chaining in. If you're targeting pre-ES2020 (or using an older browser) it will barf on this.
Perhaps this was from the node version switch from 16 -> 18? That looks like the biggest change in the diff: https://github.com/react-grid-layout/react-grid-layout/compare/1.4.3...1.4.4.
Maybe this shouldn't be a patch release?

Same error. How to fix this?

Same error as well with 1.4.4. It works fine with 1.4.3.

Not working with 1.4.0


PYI034 false positive if Self is a quoted annotation

List of keywords searched:

PYI034

Code example:
import typing as t

if t.TYPE_CHECKING:
    from typing_extensions import Self

class Foo:
    def __init__(self, x: int) -> None:
        self.x = x

    def __iadd__(self, other: "Self") -> "Self":
        """Adds two Foo objects together."""
        self.x += other.x
        return self

Command: ruff check file.py --isolated --select=PYI034
Ruff Version: 0.5.7
I'd be happy to try and fix this as I have some Rust experience. Please let me know if I can be of help.

I'd be happy to try and fix this as I have some Rust experience. Please let me know if I can be of help.

Please feel free! We have logic elsewhere for handling quoted annotations, so I'd definitely go and check how other rules do this kind of thing first

I think this might be more of a fundamental issue.
If I extend the example:
import typing as t

if t.TYPE_CHECKING:
    from typing import Any

    from typing_extensions import Self

class Foo:
    def __init__(self, x: int) -> None:
        self.x = x

    def __iadd__(self, other: "Self") -> "Self":
        self.x += other.x
        return self

    def __eq__(self, value: "Any") -> bool:
        return True

PYI031 should pick up the Any in the __eq__ but it doesn't. Appreciate the example is a little contrived.
I've been combing through the code on how to resolve it but I'm struggling. Any suggestions?

Hmm, yeah, this was a bit more complicated than I realised. Unfortunately in order to figure out how to fix it, I've basically had to go ahead and implement the fix locally, so I might just go ahead and file a PR myself if that's okay :/ Sorry -- I thought this was a good contributor issue but I think I was mistaken.

I've filed #12951

Thanks @AlexWaygood!


Add support for increase the expiration time

This PR add a couple of methods to interact with the expiration date of the token based on the Carbon\Carbon api. E.G,
<?php

use RyanChandler\Bearer\Facades\Bearer;

$token = Bearer::generate(domains: ['https://google.com'], expiresAt: now()->subMinutes(2));

$token->expired; // true

$token->addDays(2);

$token->expired; // false

$token->save();

Methods added:
<?php

$token->addMinutes(int $minutes);

$token->addHours(int $hours);

$token->addDays(int $days);

$token->addWeeks(int $weeks);

$token->addMonths(int $months);

I hope it is useful.

Sure, I'll add them, I tried to follow the style of the code you already had.

@ryangjchandler It seems that github actions had problems in my last change, i just uploaded a commit to rerun the tests.


Settings Sync: consider if "on" notification needs link to log

Wasn't sure why we show this link when turning Settings Sync on. Do we need it for some reason? Seems somewhat low-level/technical. If so, maybe it should be after the string e.g. Settings Sync is turned on. Show log.

Yah, it was added in the beginning for users to discover what is happening. But, I agree that it does not has to be user facing.


Update ja-JP.json

JP support add

Thank you very much, next version will add the Japanese option and the corresponding game data.


Allow orga-files/folders to be accessible in meetings

Desired behaviour:

If a file/folder is public then this file/folder needs to be displayed in every meeting
Files/folders need a new flag to show that they are public.

After discussions with @bastianjoel we've come to the conclusion that the mediafiles meeting or organization specific data should be migrated to their own connective collections, since otherwise the requirement on setting access groups per meeting will not be solvable in a satisfactory manner


Add react and react-dom 17 to peer-dependencies

Can we add react and react-dom v17.0.0 to the list of peer-dependencies? We're running into this error with this package:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^16.0.0" from<EMAIL_ADDRESS>

Added react 17 to peer dependencies and dropped react-dom dependency in version 2.0.0.
Thank you!


What for guid?

How to set the guid field in a profile?
For example, I want to create a profile for MSYS2, which basically starts c:\msys64\usr\bin\bash.exe (or it in a msys2.cmd file). Then, how to set guid? It seems it is in the form "{00000000-0000-0000-0000-000000000000}". Is there a way to retrive/generate it or just the user have to choose it?
I tried
"guid" : "{00000000-0000-0000-0000-000000000000}",     for MSYS2
'"guid" : "{00000000-0000-0000-0000-000000000001}",'     for MSYS2/MINGW32 and so on
Is that the right way?
Thanks.

Use new-guid (from powershell), uuidgen (from Linux or MSYS with libuuid installed), guidgen (comes with a Visual Studio), or just make up a 128-bit hexadecimal number. It doesn’t matter!

@DHowett-MSFT, just anothe question: are these guid(s) written to the registry?
Thanks...

No. Why would they be?

After update of system (or something in it) terminal lost guid for wsl.
this kinda sucks...
how to find guid of wsl?

@mrPsycho What? I'm really not sure what you're asking about. Are you trying to figure out the GUID of a WSL profile? Something else? Could you share your profiles.json?

i found that this guid is internal stuff for terminal.
so i can use any guid, even like author posted. But it is not obvious, and would be cool do define it in documentation... but idk how to name it correctly.

What's the reason for using a guid? Isn't it easier to just have a one byte value to identify each profile since it's all stored on the local machine anyways? So instead of guid: {574e775e-4f2a-5b96-ac1e-a2962a402336}, you could have id: 1. What's the reason for not doing that? Thanks.

As of 1.1 you can use the name anywhere you would have otherwise used guid, so you should probably just do that.


Example on using state parameter to preserve query string

What problem are you trying to solve?
When a page receives a set of query parameters like https://example.org/plot.html?file=a.csv I would like to know the appropriate way to persevere the query string file=a.csv after a login redirect. I believe this is typically handled via the state parameter in the OAuth flow, though I could be mistaken.
We are using this model to have a single page that view and interact with data from Globus Collections that require access tokens. This way, way can have a single viewer page and load different files based on the query parameters. Examples of doing this for public data are in our Cheap and FAIR template repo (see the view.md and chart.md pages).
Describe the solution you'd like
It would great to have an example like the basic login page that shows how to use the state parameter or other means to do this.
Describe alternatives you've considered
As a workaround, I will try collecting the parameters prior to creating the login manager and calling manager.handleCodeRedirect() or login().

@rpwagner – AuthorizationManager.login() and AuthorizationManager.handleCodeRedirect() will accept an optional options parameter. To pass query parameters through the OAuth handshake you can specify additionalParams.
manager.login({ additionalParams: { state: '...'  }});

But, taking a look a the internals here, I think you will encounter an Invalid State error when you call handleCodeRedirect – I can get that fixed.
However,  the state should be used to prevent cross-site request forgery (see https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.1). If you don't provide a value, the SDK is creating a cryptographically strong random value that meets the OAuth spec requirements.

Thanks @jbottigliero. Session storage was what I also considered.
Is this roughly what you're describing?
      UI.SIGN_IN.addEventListener('click', () => {
          /**
           * This will redirect the user to the Globus Auth login page.
           */
          let queryString = window.location.search;
          sessionStorage.setItem("queryString", queryString);
          manager.login();
          queryString = sessionStorage.getItem("queryString");
          window.location.search = queryString;
      });

Is this roughly what you're describing?

Rather than reading the value after .login() you would read that when the user is authorized (after the OAuth handshake).
Extending that basic example, I think you could do something like...
UI.SIGN_IN.addEventListener("click", () => {
  /**
   * This will redirect the user to the Globus Auth login page.
   */
  let queryString = window.location.search;
  // You'll set the value before you prompt for login.
  sessionStorage.setItem("queryString", queryString);
  // Since this will initiate the OAuth redirect, you can't really do any processing afterward.
  manager.login();
});

// ...

if (manager.authenticated) {
  const queryString = sessionStorage.getItem("queryString");
  if (queryString) {
     sessionStorage.removeItem("queryString");
     // do something;
  }


Where is popupClosed output on directive?

Readme mentions the following:

popupClosed, triggered when the component is closed (contains a boolean true)

But as I can see, there is no popupClosed @Output on directive. (v0.14.2)

Ha, did it disappear, or I missed to implement it?
Anyway I will add this feature soon. Thanks for reporting this @humpedli


Problem in Seisbench data format

Dear @smousavi05,
I tried to create the dataset using Seisbench framework from KNMI client. I followed this tutorial to create it:
https://colab.research.google.com/github/seisbench/seisbench/blob/main/examples/03b_creating_a_dataset.ipynb
I'm trying to train a new model using trainer function in this way:
trainer(input_hdf5='test_dataset_knmi_seisbench/waveforms.hdf5',          input_csv='test_dataset_knmi_seisbench/metadata.csv',          output_name='test_trainer_knmi',          cnn_blocks=2,          lstm_blocks=1,          padding='same',          activation='relu',          drop_rate=0.2,          label_type='gaussian',         add_event_r=0.6,          add_gap_r=0.2,          shift_event_r=0.9,          add_noise_r=0.5,          mode='generator',          train_valid_test_split=[0.60, 0.20, 0.20],          batch_size=20,          epochs=4,          patience=2,          gpuid=None,          gpu_limit=None)
but it gets me this error:
_File "/home/andrea/anaconda3/envs/eqt/lib/python3.7/site-packages/h5py/_hl/attrs.py", line 56, in getitem
attr = h5a.open(self._id, self._e(name))
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py.objects.with_phil.wrapper
File "h5py/h5a.pyx", line 80, in h5py.h5a.open
KeyError: "Can't open attribute (can't locate attribute: 'trace_category')"
Therefore in our hdf5 file the required attributes are missing but they are present in metadata (csv file). How can I resolve this dataset issue? Maybe I need to find another way to generate the dataset?
Thank you in advance

@Andry92 I'm not involved in Seisbench development and as far as I know, they have their own version of EqT. How about QuakeLabeler @maihao14 have you tried it? I recommend getting in touch with Hao Mai<EMAIL_ADDRESS>the developer of QuaakeLabeler. He also has another easy-to-use framework (BluckyEQTransformer) for retraining the models.

Dear @smousavi05
I apologize if I'm responding late. Finally, I adapted the data generated from seisbench framework to start the training with your EQtransformer. So, seisbench library wasn't ready to generate data for EQtransformer. I had already tried with QuakeLabeler but it doesn't work.
I close this issue because now the problem is solved.
Thank you


Unit tests and documentation improvements

Codecov Report

Merging #499 into master will increase coverage by 0.75%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master    #499      +/-   ##
===========================================
+ Coverage     30.34%   31.1%   +0.75%
  Complexity      856     856
===========================================
  Files            80      80
  Lines          2916    2916
===========================================
+ Hits            885     907      +22
+ Misses         2031    2009      -22

Impacted Files
Coverage Δ
Complexity Δ

src/Database/Type/EncodedFileType.php
100% <ø> (+100%)
8 <0> (ø)
:arrow_down:

src/Feature/Factory.php
66.66% <0%> (+2.77%)
13% <0%> (ø)
:arrow_down:

src/Log/Engine/LevelAwareDatabaseLog.php
83.33% <0%> (+83.33%)
3% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


feature: ability to load content from URL

If a URL parameter for content is pre-set on load, the editor contains that content.
Implementation: it is simple to do this with Javascript. It is robust to do this with a server-side script.
To populate the parameter, there could be event-based Javascript constantly updating the current URL with every keystroke. Then the user selects the URL line and does a copy. Or, alternatively, the event handler could be saving the URL to the clipboard with every keystroke.
To populate the parameter there could be a button that converts the current content to the URL parameter and saves it to the clipboard.

https://github.com/alcor/itty-bitty


First pass at function to make pretty Fig 3 (and figure for supplement)

Not finished yet but I do need your feedback. (1) I'm not sure I calculated the error bars quite the same way as you, but they looks similar. (2) General confusion about the raw metrics (full-year) and where the seasons come into play. Let me know if you want to chat this afternoon or later this week and screenshare to make sure I'm computing everything correctly.

I just did a quick check on the quantiles used and it looks like you did the same method as I used (5th and 95th quantiles computed over all gages in the region). For the full-year metrics, seasons are only used for plotting purposes. I think that figure would be a supplement instead of a main figure


500 Server error when trying to access admin panel

Laravel version
10.10
PHP version
8.1
Voyager version
1.7
Database
8.0
Description
I'm using s3 in my voyager Storage Config. I get a 500 server error when trying to access /admin this is the message in my log:
Found 1 error while validating the input provided for the GetObject operation:
[Key] expected string length to be >= 1, but found string length of 0 {"view":{"view":"/var/www/linkpro-new/vendor/tcg/voyager/resources/views/media/manager.blade.php"
just to test, I went into that file and commented out  lines 8-10 and I was able to get past the error and bring up the admin panel. This is what I commented out:
<template v-if="fileIs(file, 'image')">
url('/') }}'+file)">
                         </template>
Steps to reproduce
Set 's3' as the Storage Config in voyager config file. Go to /admin and login.
Expected behavior
Be able to use 's3' as my storage config and pull up the admin panel without any errors. This has worked up until now.
Screenshots
No response
Additional context
I just upgraded to 1.7 but this was happening before I even upgraded.

ed7bdb0ae8295b47d8f70f261bc5c7d62ed7cbd6
This appears to have been looked at/updated in the past for 1.6.
It's trying to get an icon url from S3 by dynamically mashing together php configs with vue's loop variables.
S3 is complaining that the filename key given is empty. Unless you have/had a pre 1.6 template that's still cached?
What OS is this on?
What do you have in your S3 config? (Without exposing credentials of course)
Do you have either of the following set?
'root' => "/"  (Maybe try with or without this)
'directory_separator' => '/'  (Might be needed on Windows?)
Seems there is similar issues
https://github.com/laravel/framework/issues/42136
->
https://github.com/laravel/framework/issues/41964
https://github.com/thephpleague/flysystem-aws-s3-v3/issues/293
You're also contradicting a bit "This has worked up until now." and " but this was happening before I even upgraded."
If emptynick had it "working" I have no reason to doubt it was for him, so I gotta lean towards  a configuration difference possibly?


Dinning Philosophers Problem

Is your feature request related to a problem? Please describe.
A operating system problem in which philosopher spend time alternating thinking & eating  to solve deadlock issue
Describe the solution you'd like
i would like to propose a detailed solution regarding dining-philosophers problem
Describe alternatives you've considered
i can also explain algo in presentation form
Additional context
Details solution in form of png will be provided

@Kumar-laxmi assign me with this

@Kumar-laxmi assign me with this

Please mention the language you would like to work on

Assigned!
@Abhinavkar : C


docs example stackblitz projects are missing components

Environment
docs
Reproduction
https://nuxt.com/docs/examples/advanced/use-cookie
Describe the bug
Components like NuxtExampleLayout and others like NButton can't be resolved leaving a pretty much unstyled page
Additional context
No response
Logs
ue warn]: Failed to resolve component: NuxtExampleLayout
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Failed to resolve component: NTip
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Failed to resolve component: NButton
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Failed to resolve component: NTextInput
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.
[Vue warn]: Component <Anonymous> is missing template or render function.
[Vue warn]: Failed to resolve component: NuxtExampleLayout
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Failed to resolve component: NTip
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Failed to resolve component: NButton
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Failed to resolve component: NTextInput
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
[Vue warn]: Non-function value encountered for default slot. Prefer function slots for better performance.
[Vue warn]: Component <Anonymous> is missing template or render functio

@danielroe I think this should be transfered to nuxt/examples
the problem is nuxt/examples used to use the old @nuxt/ui which is now @nuxt/devtools-ui, should we update the package and some components(e.g. NuxtExampleLayout has been removed) to @nuxt/devtools-ui or just update them to @nuxt/ui components? I think @nuxt/ui would be a better option?