[BUG] Error in Commissioning Process (ESP32 - Chip Tool CLI)

Reproduction steps
I am working to commission a ESP32 using the lighting app example over Wifi (ESP32 Lighting App). I have compiled the code and put the lighting example into the device (ESP32 or ESP32-S3) and I trigger the chip tool with the next command:
cd
cd connectedhomeip
sudo ./out/ct/chip-tool pairing ble-wifi 445566 <MY_WIFI_SSID> <MY_WIFI_PASSWOD> 20202021 3840

The commissioning process start to work, but the chip tool stuck in the 'FindOperational' state... I saw in the logs that the device achieve connect to Wifi and obtain its IPv6 address... But the Chip-Tool can't connect with the node again... At final Chip-Tool abort the process, but the device stays connected with Wifi without finish the commissioning process. In this point I need reflash the device again. I attached the logs captured in the process in both sides (Device and Chip-Tool). I have replaced my Wifi credentials in the logs by <MY_WIFI_SSID> and <MY_WIFI_PASSWORD>.
ESP32-Chip-Tool-Logs.txt
ESP32-Device-Logs.txt
I have compiled the Chip-Tool in a Linux machine using Ubuntu 22.04.
Steps to compile Chip-Tool
git clone https://github.com/project-chip/connectedhomeip.git
cd connectedhomeip
source scripts/activate.sh
./scripts/examples/gn_build_example.sh examples/chip-tool out/ct

Steps to flash the Lighting App into ESP32
sudo apt install cmake
-----------------------------------
git clone -b v4.4.3 --recursive https://github.com/espressif/esp-idf.git
cd esp-idf
./install.sh
-----------------------------------
cd
cd esp-idf
source export.sh
cd
cd connectedhomeip
source scripts/activate.sh
-----------------------------------
cd
cd connectedhomeip/examples/lighting-app/esp32
idf.py set-target esp32
idf.py build
sudo usermod -a -G dialout $USER
sudo reboot
------------------------------------
cd connectedhomeip/examples/lighting-app/esp32
idf.py -p /dev/ttyUSB0 erase_flash
idf.py -p /dev/ttyUSB0 flash monitor

Bug prevalence
In each commissioning process
GitHub hash of the SDK that was being used
def9802275c65ce678217a55574ba70e1367d1a4
Platform
esp32
Platform Version(s)
No response
Anything else?
No response

From the device log:
I (66058) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: fe80:0000:0000:0000:f208:d1ff:fed0:4514
...
I (66088) chip[DL]: IPv4 address changed on WiFi station interface: <IP_ADDRESS>/<IP_ADDRESS> gateway <IP_ADDRESS>
...
I (68058) chip[DL]: IPv6 addr available. Ready on WIFI_STA_DEF interface: fdaa:bbcc:ddee:0000:f208:d1ff:fed0:4514

as the network comes up.
From the chip-tool log, the first CASE attempt looks like this:
1680077120.897642][12006:12008] CHIP:DIS: UDP:[fe80::f208:d1ff:fed0:4514%enp0s3]:5540: new best score: 3
[1680077120.897671][12006:12008] CHIP:DIS: UDP:<IP_ADDRESS>%enp0s3:5540: score has not improved: 2
...
[1680077120.898745][12006:12008] CHIP:IN: (U) Sending msg 238284817 to IP address 'UDP:[fe80::f208:d1ff:fed0:4514%enp0s3]:5540'
[1680077120.899171][12006:12008] CHIP:SC: Sent Sigma1 msg

and then we never get a response or ack from the device, so that times out.  Presumably because by this point the device is using fdaa:bbcc:ddee:0000:f208:d1ff:fed0:4514, not fe80:0000:0000:0000:f208:d1ff:fed0:4514, for its IP.
So then we try CASE again:
[1680077128.386009][12006:12008] CHIP:DIS: UDP:[fe80::f208:d1ff:fed0:4514%enp0s3]:5540: new best score: 3
1680077128.386193][12006:12008] CHIP:DIS: UDP:[fdaa:bbcc:ddee:0:f208:d1ff:fed0:4514%enp0s3]:5540: new best score: 6
[1680077128.386247][12006:12008] CHIP:DIS: UDP:<IP_ADDRESS>%enp0s3:5540: score has not improved: 2
...
[1680077128.386825][12006:12008] CHIP:IN: (U) Sending msg 238284818 to IP address 'UDP:[fdaa:bbcc:ddee:0:f208:d1ff:fed0:4514]:5540'
[1680077128.386962][12006:12008] CHIP:SC: Sent Sigma1 msg

and the same thing happens: no responses, no acks.  Device side log does not show it receiving those Sigma1 messages, even though now we are using the "new" IP.
So we try a third time:
[1680077170.871333][12006:12008] CHIP:DIS: UDP:[fe80::f208:d1ff:fed0:4514%enp0s3]:5540: new best score: 3
[1680077170.871448][12006:12008] CHIP:DIS: UDP:[fdaa:bbcc:ddee:0:f208:d1ff:fed0:4514%enp0s3]:5540: new best score: 6
[1680077170.871606][12006:12008] CHIP:DIS: UDP:<IP_ADDRESS>%enp0s3:5540: score has not improved: 2
...
[1680077170.872588][12006:12008] CHIP:IN: (U) Sending msg 238284819 to IP address 'UDP:[fdaa:bbcc:ddee:0:f208:d1ff:fed0:4514]:5540'
[1680077170.872835][12006:12008] CHIP:SC: Sent Sigma1 msg

and the same thing happens.
@leandropg Please check whether something in your network configuration is causing IPv6 packets to be dropped?

Thanks @bzbarsky-apple ... In fact is only a basic Wifi router with both Wifi bands: 2.4 GHz and 5 GHz... It has enabled assign IPv6 address too... It's configured to 2.4GHz (802.11g+n) and 5GHz (802.11a+n+ac)... The test must use the 2.4GHz band... I reviewed the router configuration and I don't see any strange configuration 🤔

Is the Linux machine chip-tool is running on connected via 2.4 GHz or 5 GHz?  I assume both bands use the same SSID?

Hi @bzbarsky-apple I can't make the test because the router doesn't permit disable the 2.4GHz band... the 2.4GHz and 5GHz can be turn on or turn off together... :( Maybe I need install my own router to make this test... This is the ISP router... Is there routers with problems handling IPv6?
Additionally, I try to ping the IPv6 address of the ESP32 connected in the failed commissioning... I see the IPv6 address in the router... it was assigned by the router... Using the same linux pc with chip-tool... I run the ping command... But the node is unreachable... I can't reach a node that have a IPv6 address 😥
ping -6 fdaa:bbcc:ddee:0000:260a:c4ff:fe5a:1f30
PING fdaa:bbcc:ddee:0000:260a:c4ff:fe5a:1f30(fdaa:bbcc:ddee:0:260a:c4ff:fe5a:1f30) 56 data bytes
From fdaa:bbcc:ddee::1 icmp_seq=1 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=2 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=3 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=4 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=5 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=6 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=7 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=8 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=9 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=10 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee:0:720:9c14:2e33:9722 icmp_seq=11 Destination unreachable: Address unreachable
From fdaa:bbcc:ddee:0:720:9c14:2e33:9722 icmp_seq=12 Destination unreachable: Address unreachable
From fdaa:bbcc:ddee:0:720:9c14:2e33:9722 icmp_seq=13 Destination unreachable: Address unreachable
From fdaa:bbcc:ddee::1 icmp_seq=14 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=15 Destination unreachable: Unknown code 5
From fdaa:bbcc:ddee::1 icmp_seq=16 Destination unreachable: Unknown code 5

Is possible that the router is drop

Is there routers with problems handling IPv6?

Yes, that can also happen...

Hi @bzbarsky-apple ... Finally I repeated the test using a Wifi Hostpot instead my Wifi Router... and chip-tool can commission the device 😑The problem was my Wifi Router... For some reason it doesn't handle the IPv6 packets even when the IPv6 functionality is enabled... Maybe I must looking a tool that verify if the Wifi Router is ready to IPv6 and all the Matter commands... The problem weren't the Matter nodes or Chip-Tool... It was the Wifi Router... @bzbarsky-apple Do you know some tool that verify that a Wifi router is compatible with Matter? Thanks in advance

@leandropg I don't know of a tool, sorry.

Thanks @bzbarsky-apple for your help. Considering that the problem was the router. I close this


Remove 67 lines of code by avoiding the 90s file io API

By the way I think in the test cases we don't worry overwriting test output files - in fact avoiding overriting makes test ambiguous, since gradle testClean && gradle test is expected to write new contents instead of shying away from overwriting.

It looks good and works now. However I still think that the linebreaks are strictly needed if we want to be PEM compliant. See https://tools.ietf.org/html/rfc1421#section-<IP_ADDRESS> which says that the lines containing the encoding must be 64 characters long

Oh, fixed plus findings:

bouncy castle didn't provide a line-wrapping encoder - had to use the one shipped with Java, strange because they should be more compatible with that rfc than Java's built in encoder.
the code at main branch actually wraps at 65th character instead of 64.

It looks good and works now. However I still think that the linebreaks are strictly needed if we want to be PEM compliant. See https://tools.ietf.org/html/rfc1421#section-<IP_ADDRESS> which says that the lines containing the encoding must be 64 characters long

Oh, fixed plus findings:

bouncy castle didn't provide a line-wrapping encoder - had to use the one shipped with Java, strange because they should be more compatible with that rfc than Java's built in encoder.
the code at main branch actually wraps at 65th character instead of 64.


EPIC: Unify and extend HTTP Client Configuration Capabilities

Description
We want to be able to globally (and locally) configure HTTP Client specific settings such as

PROXY Settings
Certificate Settings
Secure / Insecure Flags

as well as inject global handlers such as

Logging Middleware
Middleware for Tracing (down the line)

For this we need to establish a common configuration structure that can be used within OCM globally as well as be injected into accessmethods on demand later on (to locally override).
An example config might look like this:

Relates to https://github.com/open-component-model/ocm/pull/1118 as this would have been great there but we didnt have a big config struct yet.

https://github.com/open-component-model/ocm/pull/1064 is also related as its an initial take but as of writing still lacks the integration into the global config struct

sample .ocmconfig contains a proposal for a new config type: http.config.ocm.software


distro/rhel90: re-include nss-altfiles for edge

The nss-altfiles package is actually needed for OSTree based systems, since in those the user/groups database is located in the /usr/lib directory (in addition to /etc). It was removed because it was not available in RHEL 9 (rhbz#1916260). This has been fixed, so we need to re-include the package.
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] create a file in news/unreleased directory if this change should be mentioned in the release news
[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

@gicmo I'll run the test locally. If everything works, I'll update test in this PR.

@gicmo I just push a commit to make osbuild-composer-worker depend on osbuild-35 instead of osbuild-36. If everything works, you can remove this commit before merge. Thanks.

@gicmo @achilleas-k @ondrejbudai This PR works in my local test env.

@ondrejbudai we got exception+ in bz#2005315

@gicmo can you please rebase?

We should also regenerate the test cases for this, @thozza can you help? It needs some coordination with #1810, I think that we should firstly merge this, and then continue with #1810

I'm regenerating image test cases...

Hmm, I guess we need to remove the second commit. We don't want to lower the osbuild dependency. Everything will be fine though when we will backport this change to the right branch.

I force-pushed to remove the second commit.

@ondrejbudai can you please remove your request for changes, so that we can merge this PR? The exception has been granted, the CI passed. This one should be good to go...


Folder rename

Suggested folder rename to clarify and streamline

Please don't merge yet -- I am updating Cloudbuild


No success, no error message either

Tried to follow the instructions. The graph was not shown as in the instruction, only one node instead. I tried with some wrong project etc. names and those did not cause any error messages to appear.

Hallo @jariolehtonen thanks for raising this issue! Please would you add a link to the doc page that you were following when you encountered this problem?
Many thanks
Sarah

@jariolehtonen I'm closing this issue, as it's not reproducible unless we know which page gave the problem. Please do re-open the issue if you can provide more detail.
/close


Support to-many relations in included resources.

I noticed an issue while using your awesome library.
It's currently not possible to include "to-many" relations that are defined in included resources. For example if you have Post and Comment objects like in your unit tests and you want to include an array of "likes" in the Comment object, these aren't included in the result.
Because this is my first pull request, I welcome all kinds of critique. ;)

Any updates on this one? It looks like this is also the cause for https://github.com/nilportugues/laravel5-jsonapi/issues/39.


updated Z notices

These are the latest Z notices that are running through the parser

You'll forgive me if I trust you on this.


Nvidia End to End Learning Autonomous Driving Model for DIGITS

I am thinking use the autonomous driving model from nvidia paper "End to End Learning for Self-Driving Cars". Is there version of the network for DIGITS?

No


Allow importing a single modification from another project

Currently you can import all modifications from one project into another project, but you can't import a single modification or a subset of modifications.
Example use case: someone draws a complicated route for an add-trips modification and they want to copy it into three different projects, using different timetables in each project.
A workaround might be: you could copy all the modifications into a dummy buffer project, delete all the modifications from the dummy project except the template you want to duplicate, then re-import that dummy project into the target projects.
This is pretty awkward though. We should allow people to copy modifications around pretty freely.

Addressed for now in https://github.com/conveyal/analysis-ui/pull/847


Adding Labram

Hi @agramfort!
I'm adding the Labram model, ICLR spotlight 2024. It says it scales BIOT results with Temple University. The model itself wasn't that clean, so I spent a lot of time cleaning up the code, commenting, and interacting with the author to answer some questions (https://github.com/935963004/LaBraM)
The model has a lot of inspiration from another computer vision model called BITv2, so many decisions come from elsewhere. BiTv2 is a 2022 visual transformer with attention windows.
The model scales well in the article, but I didn't conduct a more exhaustive self-supervised test to test it. I hope to do this when I finish the integration with another model that studies better self-supervised EEG (https://github.com/Navidfoumani/EEG2Rep/issues/1).
Thanks in advance for your review!


Add Price,QuotePrice to Quote

Added Price, QuotePrice objects and associated functions into Quote / QuoteItem.

Testing code.


Failed to get new registration token and no pods, only runners shows up

I'm not getting corresponding pods for azure-runners-* and keep getting failed to create registration token:, not sure why the controller is fetching https://api.github.com/app/installations/95639346/access_tokens" which (95639346) is not my github_app_installation_id, sample error below for your review
ERROR   actions-runner-controller.runner        Failed to get new registration token    {"runner": "example-runnerdeploy-zzwdj-4xgfz", "error": "failed to create registration token: Post "https://api.github.com/orgs/POC-CICD-DSO/actions/runners/registration-token\": could not refresh installation id 95639346's token: received non 2xx response status "404 Not Found" when fetching https://api.github.com/app/installations/95639346/access_tokens"}
DEBUG   events  Warning {"object": {"kind":"Runner","namespace":"default","name":"example-runnerdeploy-lzm59-qlw6b","uid":"000f526c-af02-4a88-81d8-3985900bc5fb","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"62074"}, "reason": "FailedUpdateRegistrationToken", "message": "Updating registration token failed"},
My appid is not on

@dkuffar thanks for raising this issue. This looks like a problem with the action-runner-controller itself. I highly recommend that you open an issue in this repository instead: https://github.com/actions-runner-controller/actions-runner-controller
I do not maintain that project and I cannot support you with this issue with it.

Thank you Bassem, appreciate help
Best Regards,
Duncan Kuffar,
Senior Azure Cloud Engineer | TechTrend, Inc.
8270 Willow Oaks Corporate Dr, Suite 625
Fairfax, VA 22031
Mobile<PHONE_NUMBER>
<EMAIL_ADDRESS>| www.techtrend.ushttp://www.techtrend.us
[linkedin-128]https://www.linkedin.com/company/techtrendinc[tw]https://twitter.com/TechTrendInc[download]https://www.facebook.com/TechTrendInc/[Instagram_Logo-1002x1003]https://www.instagram.com/techtrendinc/[cid:cace3803-4da5-4290-ba00-1cf8be6154ee]
PROPRIETARY AND CONFIDENTIAL
Notice of Confidentiality
This email message and its attachments (if any) are intended solely for the use of the addressees hereof.  In addition, this message and any attachments may contain information that is confidential, privileged and exempt from disclosure under applicable law.  If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission. Delivery of this message to any person other than the intended recipient is not intended to waive any right  or privilege.  If you have received this message in error, please promptly notify the sender by reply email and immediately delete this message from your system.

From: Bassem Dghaidi @.>
Sent: Wednesday, July 27, 2022 3:57 AM
To: Link-/actions-at-scale-ghoh @.>
Cc: Duncan Kuffar @.>; Mention @.>
Subject: Re: [Link-/actions-at-scale-ghoh] Failed to get new registration token and no pods, only runners shows up (Issue #6)
Closed #6https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLink-%2Factions-at-scale-ghoh%2Fissues%2F6&data=05|01|dkuffar%40techtrend.us|b7bd0274e3324abe9a8608da6fa5b042|53e239744f3b46e080b3bad6ba7fc202|0|0|637945054695958124|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=HOdqWavSDhJroY2KrmAu%2BL4ByXw3Q0Kh257ZWjlqM3w%3D&reserved=0 as completed.
—
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FLink-%2Factions-at-scale-ghoh%2Fissues%2F6%23event-7070611818&data=05|01|dkuffar%40techtrend.us|b7bd0274e3324abe9a8608da6fa5b042|53e239744f3b46e080b3bad6ba7fc202|0|0|637945054695958124|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=bIjAFOSfIZSIUwCh7LUvHIgI9HfBs4WnrUAPn9Silco%3D&reserved=0, or unsubscribehttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAWQK5ODASEI4ASDRR446HADVWDTXPANCNFSM54MHREYA&data=05|01|dkuffar%40techtrend.us|b7bd0274e3324abe9a8608da6fa5b042|53e239744f3b46e080b3bad6ba7fc202|0|0|637945054695958124|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2FzpfdVi%2BfRQbKQFeRM4dnoAlpiIn2Y%2FUxyZBEEGrmqw%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Threads buttons - All Threads, Active, Idle, Stopped  - are all differently sized

Expected Behavior
buttons look uniform and similarly sized
Actual Behavior
buttons widths differ based on status text and number of threads for the status.  All Threads 27 is twice wider than Idle 8, and four buttons of varying sizes lined next to each other looks off.
Steps to Reproduce the Problem

Navigate to JVM Instance Threads View

Specifications

Version: macOS High Sierra V 10.13
Platform: Chrome 61

This is wrapped up in @shanberg's refactor to use his Button component.


Could not vacuum volumes

I use the version 1.33 of seaweedfs. My operation has many deletions, but the deleted file's disk space is not empty. According to your wiki, I run the command curl "http://localhost:9333/vol/vacuum to forced vacuum volumes.  My cluster have 14 volumes, each volume that use 30GB on disk approximately has 100,000 files and 50,000 trash files. Sometimes the vacuum operation cause the volume condition to readonly,  and stuck to this condition all the time.
I try to restart the master and volume server, or run weed fix command, but the problem is not resolved.

how have you started your seaweedfs instance? i.e commands?

weed master -port=*** -mdir=***  -ip=***  -defaultReplication=000
weed volume -port=***  -dir=***  -ip=***  -max=100 -mserver=***

@Hansonnnn please create a new issue following the issue template and add some meaningful logs and screenshots.


added gifs for notebooks

Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] 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.

I think we could probably tone this down over time and have maybe just a couple GIFs for the harder-to-understand portions, but should be fine for now.


Add autoEffect

This closes https://trello.com/c/GtfrDoZw/24-hooks-integration and https://trello.com/c/maJA55sL/16-think-about-re-exporting-oberve-autorun-and-unobserve-from-nx-js-oberver-util

Coverage decreased (-0.5%) to 95.904% when pulling 9d2e7c53f7837abdf9a5c557b576a46fbd1d70ff on autoEffect into a95d57867d49077544f363f1e9b4d678421cc91e on master.

This should be opened to the next branch instead of master. Will reopen there.


Bug: Overeager evaluation of entry and exit actions

Description
It seems entry and exit actions are fired repeatedly when the state is entered/exited. I stumbled upon the bug somewhat accidentally and noticed an entry action running 103 times in my project when the machine started up. Changing it to an exit action resolved the issue and was suitable for my use case but in other places, exit actions are also running multiple times. The number of times it runs seems to be strangely predictable in the same machine but different across machines. For example, my issue above seeing the action run 103 times happens consistently with the same number of logs and in another machine, it happens 6 times. Both are reproducible but with differing counts. I put together a small codesandbox that illustrates the issue. You'll notice the serialized action runs 4 times and the inline action runs twice.
Expected result
Actions should only run once unless an explicit event invokes them again.
Actual result
Actions are running multiple times in a single execution chain.
Reproduction
https://codesandbox.io/s/little-cherry-hlnss2?file=/src/App.js
Additional context
No response

You are using React's StrictMode and thus the machine gets "restarted" because it starts in React's effect. You can read more about the changes introduced in StrictMode in React 18 here: https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-strict-mode

@Andarist I forgot about that being the default in codesandbox and it would explain the issue there, but I have a machine that runs its entry action 103 times in my work project. I can't really post sample code from that in any useable way but I can try to repro it in codesandbox without StrictMode turned on.

The simplified machine that generates the above log is as follows. I've omitted a lot of states but those shouldn't affect this behavior as this state is a one-time state:
const machine = createMachine(
  {
    tsTypes: {} as import("./machine.typegen").Typegen0,
    schema: {
      context: {} as Context,
      events: {} as Event,
      services: {} as Services,
    },
    type: "parallel",
    states: {
      ui: {
        initial: "waiting",
        states: {
          waiting: {
            exit: "cache initial input",
            always: "location",
          },
          location: {
            on: {
              next: "day",
            },
          },
        },
      },
    },
  },
  {
    actions: {
      "cache initial input": assign(({ input }) => {
        console.log("in assign", Date.now())
        return { initialInput: input }
      }),
    },
  },
)

Could u prepare this in a runnable form (like a codesandbox)?

The codesandbox I provided in the main post does exhibit the issue with StrictMode removed but it only evaluates the assign twice (which is still a problem, especially for something like telemetry or other fire-and-forget API calls). I've updated my codesandbox to hopefully be a bit more revealing. It now seems to me that the issue is in actions that use the Assigner overload of the action creators. You can see in the logs that the pure action and the assign action are executed three times while the non-action creator is executed once. I hope this enough to see there's a genuine bug and even these minor changes caused the entry count to go from 2 to 3 so you can imagine in larger machines/components that it could grow much larger (and does).

I think I may have identified the source of the issue...it seems to be somewhat proportional to the number of useSelector calls (at least in how I'm using it). I added two repeated useSelector calls that select the same value and the number of executions of the entry action has increased accordingly.

Is it my use of useSelector that's incorrect? I was under the impression that I can select out whatever I want from the machine to reduce re-renders but it also seems to be the cause of this issue.

Sorry for all the comments...but this seems to be confirmed. By removing the calls to useSelector, the action runs once. With each added call to useSelector, an additional action is fired.

it only evaluates the assign twice (which is still a problem, especially for something like telemetry or other fire-and-forget API calls)

Keep in mind that assign actions should be pure.

@davidkpiano yea it occurred to me while typing that that in the case of telemetry and any fire-and-forget actions that hit APIs, they shouldn't be done inside of a pure or assign or any other action creator (and I don't abuse them that way). It still does seem to have performance implications though even if the end result is the same. For example, in my case where I had 103 entry actions being run, changing that to an exit, which in my case solved the issue, had noticeable performance improvements in the UI.

I've definitely tracked this down to be an issue with useSelector though. Am I using them incorrectly? In theory, I could create a single selector that returns a grouping of what all my current selectors return but that doesn't feel like a "best practice" to me. Reading the xstate docs, it seems my usage of useSelector is correct and that this is unintended behavior.

At the moment, entry assign actions for the initial state might get re-executed multiple times like this.
The current state of a not started interpreter is read like this within useSelector:
https://github.com/statelyai/xstate/blob/214baebba2f88317d7081ff13598a7a59422bc72/packages/xstate-react/src/utils.ts#L23
We can't read service.initialState (and cache it in the service) because it might lead to creating spawned actors which can't happen before React's commit phase. I think that we could cache some kind of service._pureInitialState though to remedy this a little bit. Note though that this would still execute those assign actions at least twice - once when computing this _pureInitialState and the second time when actually starting the machine in an effect.
This issue is mostly already fixed in v5 where we have refactored the implementation and we can cache the true initialState more easily.

It seems this link is broken: https://codesandbox.io/s/little-cherry-hlnss2?file=/src/App.js
Closing as the original issue is unrelated to XState and more related to how React strict mode works, with double-effect execution. If the problem can be reproduced and pinpointed to useSelector, we can reopen this issue.


Allow configuration of Functions Emulator Origin

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
In a clean directory, yarn install, yarn test run successfully? (yes/no; required)

Description
Allow AngularFireFunctions to point to the Cloud Functions Emulator. This increases minimum requirement of Firebase to 5.5.7.

Code sample
Point callable Functions to the Cloud Function emulator by adding the  FunctionsEmulatorOriginToken to the providers section of your NgModule.
import { NgModule } from '@angular/core';
import { AngularFireFunctionsModule, FunctionsEmulatorOriginToken } from '@angular/fire/functions';
@NgModule({
  imports: [
    ...
    AngularFireFunctionsModule,
    ...
  ],
  ...
  providers: [
   { provide: FunctionsEmulatorOriginToken, useValue: 'http://localhost:5005' }
  ]
})
export class AppModule {}

@davideast Ready for review. Don't merge, if approved; as I'm targeting this for the 5.2 release.

This would be nice to have! Looks like it needs a rebase tho.

@jamesdaniels currently, if you are using a custom domain with firebase functions (via firebase hosting) I don't believe @angular/fire has any way of specifying the origin for callable functions requests (I believe you are forced to send callable function requests to the cloudfunctions.net domain). If a function is doing something like setting a cookie on the client, the domain used when calling the function matters.
This PR looks like it addresses that need, but, if so, the name of the token FunctionsEmulatorOriginToken is inappropriate. Might I suggest renaming it to simply FunctionsOriginToken.

@thefliik I like that idea, I'm also not loving the *Token pattern. Might align more with Angular here and name it FUNCTIONS_ORIGIN rather than FunctionsOriginToken

i love this


Background and Foreground setting does not seem to exist

Hi,
first of all thanks for your great efforts on this extension - i really like it :- )
I recently tried to change the stylings of the param hints, but it didn't work:

Left: Code example, Right: Settings.json

Any ideas?

You have to put them under workbench.colorCustomizations:
// settings.json

"workbench.colorCustomizations": {
    "parameterHints.hintBackground": "#37415180",
    "parameterHints.hintForeground": "#9CA3AF"
},


chore: added linux Question

Added Linux questions for quizzing question set.
Signed-off-by: Yashasvi Chaurasia<EMAIL_ADDRESS>Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Please do not include Closes #16 in your PR because we want these issues to stay open for multiple contributors 👍


:recycle: refactor(input): use new mask utils

Summary
refactor the bal-input to move the mask logic to the new utils.
Additional Information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Need to wait for the date picker refactoring #877


Add ability to disable certain instrumentations

closes elastic/apm-agent-java#87

Codecov Report

Merging #95 into master will increase coverage by 0.04%.
The diff coverage is 90%.

@@             Coverage Diff              @@
##             master      #95      +/-   ##
============================================
+ Coverage      75.9%   75.94%   +0.04%
- Complexity      842      856      +14
============================================
  Files            92       92
  Lines          3025     3043      +18
  Branches        263      264       +1
============================================
+ Hits           2296     2311      +15
- Misses          591      593       +2
- Partials        138      139       +1

Impacted Files
Coverage Δ
Complexity Δ

.../co/elastic/apm/bci/ElasticApmInstrumentation.java
100% <ø> (ø)
4 <0> (ø)
:arrow_down:

...tic/apm/jdbc/PreparedStatementInstrumentation.java
83.33% <100%> (+0.98%)
7 <1> (+1)
:arrow_up:

.../co/elastic/apm/jdbc/StatementInstrumentation.java
88.23% <100%> (+0.73%)
8 <1> (+1)
:arrow_up:

...g/webmvc/SpringTransactionNameInstrumentation.java
59.37% <100%> (+1.31%)
6 <1> (+1)
:arrow_up:

...co/elastic/apm/plugin/api/SpanInstrumentation.java
68.42% <100%> (+1.75%)
5 <1> (+1)
:arrow_up:

...tic/apm/plugin/api/TransactionInstrumentation.java
62.96% <100%> (+1.42%)
5 <1> (+1)
:arrow_up:

...lastic/apm/servlet/FilterChainInstrumentation.java
28.26% <100%> (+1.59%)
6 <1> (+1)
:arrow_up:

...co/elastic/apm/jdbc/ConnectionInstrumentation.java
94.11% <100%> (+0.36%)
7 <1> (+1)
:arrow_up:

...c/apm/plugin/api/ElasticApmApiInstrumentation.java
53.12% <100%> (+1.51%)
5 <1> (+1)
:arrow_up:

...co/elastic/apm/servlet/ServletInstrumentation.java
33.33% <100%> (+1.75%)
6 <1> (+1)
:arrow_up:

... and 3 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 53611b3...04e07f7. Read the comment docs.


adding a simple application

PR Template 🚀
Enhancement
Made a simple application that we can use from our phone when we don't have our laptop with us.

Hi @Dhruvdangi03, you just need to upload the apk file

Okay I will add just the apk


Add configure flag to skip installing docs

Right now docs are always installed by make install as far as I can tell. It'd be nice to be to skip this, as when you know you don't need them (e.g. CI), installing them takes a bunch of extra time.

make install is exactly synonymous with nmake install_sw install_ssldirs install_docs, so if you use make install_sw install_ssldirs, you should be fine.


[BUG] Grafana do not show data for Availability (API-Server) for the last 30 days

Describe the bug
Grafana do not show data for Availability (API-Server) for the last 30 days
To Reproduce
Steps to reproduce the behavior:

change the retention time to 30 days
wait 30 days to grab all the metrics
open the grafana dashboard and select "General / Kubernetes / API server" dashboard

Expected behavior
all provided metrics must contain valid data.
Support bundle

Environment

Harvester ISO version: v1.1.1
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Baremetal, 3 nodes (64 Core, 256 GB RAM, 960GB SSD)

Additional context
Add any other context about the problem here.

Test from my local v1.3.0 cluster, it seems grafana is showing related data.

in the meantime, we reinstalled our cluster with v 1.3.0 and I can confirm - I see also the expected 100% ... seems to be fixed


Training question

Thanks for your amazing work! I have a question regarding your training:
How many gpus did you use to train parallel? How many hours do it need to early stop?

For your reference, it needs about 1.8 days on 8 x 2080 Ti GPU for 500K iterations (batch size = 32, patch size = 48x48).


Adding custom converters

It is not optimal that custom converters needs to be added to a specific directory, and needs to have a specific class name.
It is no great priority, but at some point we should create an addCustomConverter method that accepts a class

What's the point using this library if you want to extend it without staying within its legitimate boundaries? Converter scripts go into Converters, that#s where they belong, and it's not asked too much to name file & class after the used converter / technique.

And also that's easy by enforcing certain decisions be made - like having a class convert() that's responsible for conversion itself. We can easily achieve this by adding an abstract protected function convert() to the Converter base class.

Wont fix, unless somebody needs it


Modernize unit tests

This PR modernizes the engine's unit tests. It would be great for those interested to contribute opinions/feedback.
Unit tests can now be run in Node.js (npm run test) instead of in Chrome (which was driven using Karma). For the moment, the Karma-run tests are still available (npm run test:karma) but the intention would be to delete them if we decide this is a superior implementation and sufficient coverage has been achieved. At the moment, this PR adds about 547 tests and maybe provides 90% of the coverage of the Karma-based tests.
Benefits:

The unit tests are now incredibly easy to debug in VS Code. Just set a breakpoint and run the npm run test script in VS Code.
All unit tests are now ES6 modules (.mjs files). Each test module maps to a corresponding module in the engine source tree (so test/math/vec3.test.mjs will test src/math/vec3.js for example). Each test module imports the minimal set of source modules in order to execute (so a built engine is no longer required which means faster iteration).
Unlike Karma, there is almost zero configuration for Mocha. It 'just works'.
Since they're running in Node, we can code tests in ESNext. Note that Mocha advises against using arrow functions though.
Performance for running the tests should be far faster when running in Node. Current timings:

Node tests: 2 seconds
Karma tests: 29 seconds

We can unit test private API just as easily as public API now.
Code coverage is enabled (courtesy of C8) via npm run test:coverage. Output looks as follows:

Using C8, I was easily able to verify that I had reached 100% coverage for several modules (e.g. Vec3). It should even be possible to set up a GitHub Action to require tests reach some chosen level of code coverage (or maintain 100% once that milestone is reached).
Other things of note:

It is not currently possible to add a watch mode to the unit tests due to this issue in Mocha.
The tests need a web server running. serve seemed to offer an elegant solution for this, so I have replace http-server with it.
The Karma-based tests used sinon to for spies, stubs and mocks. I personally find it really hard to work with and maintain, so I've avoided using it. Some sinon based tests have not (yet) been migrated.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Would be great to do "visual" tests also, where some complex scenario would be rendered, and compared to previous version.
If there is enough deviation, then it would warn and require attention.

Would be great to do "visual" tests also, where some complex scenario would be rendered, and compared to previous version. If there is enough deviation, then it would warn and require attention.

Do you think about images only or even video comparison for testing if the animation system blends and morphs correctly e.g.? Maybe not entire comparison videos, but more like "snapshots at choosen times" for animations and particle simulations.
Then by nature the particle system has random elements too,  multiple lines like: this.seed = Math.random();. So Math.random() would also require a deterministic overwrite.

Would be great to do "visual" tests also, where some complex scenario would be rendered, and compared to previous version.
If there is enough deviation, then it would warn and require attention.

We have a separate repo (written by @slimbuck) that does visual testing. It's currently private though. Hopefully, we can open source that in the new year. But for now, this PR is just about regular Mocha-based unit testing.

OK, although this PR was never intended to implement all unit tests, I think it's now in a state where it can be merged. So if somebody can review, I'd appreciate it.

Cool, but can we have some tests to test the tests?

Cool, but can we have some tests to test the tests?

You're unit testing my patience, @slimbuck! 😆

Looks like some of the new tests come from the old set (i18n for example). Is the plan that we slowly migrate engine tests from engine/tests to engine/test? Shouldn't we remove the old ones in /tests as we migrate them to /test?

BTW being able to unit test private API is huge win!

For the moment, I've left everything in tests untouched. I can either:

Delete duplicated stuff in tests in this PR.
Delete duplicated stuff in tests in a follow up PR.

What would you prefer?

I'd probably do it here and set-the-precedent, but not too fussed either way.


Issue 50399: Support Lookups on Worklists and Instrument Instructions

Rationale
See issue here.
Related Pull Requests

https://github.com/LabKey/platform/pull/5459

Changes

Support lookups

Manual Test Plan

Add a lookup field to Plate Metadata

Instrument Instructions

Add lookup field to a plate, and populate with data
Export Instrument Instructions
Verify in excel that lookup values resolve and are not displayed as row ids
Verify in excel that column name of lookup field is rendered correctly

Worklists

Set up source and destination PSes
Add lookup field to a plate on either source or destination, and populate with data
Export Worklist
Verify in excel that lookup values resolve
Verify in excel that column name of lookup field is rendered correctly

Manual test checks out, no notes


gh-921 - Remove the toCloseableIterable Collector

Codecov Report

Merging #922 into develop will increase coverage by 0.76%.
The diff coverage is 37.5%.

@@              Coverage Diff              @@
##             develop     #922      +/-   ##
=============================================
+ Coverage      61.85%   62.61%   +0.76%
- Complexity       889      934      +45
=============================================
  Files            472      472
  Lines          13692    13694       +2
  Branches        1553     1554       +1
=============================================
+ Hits            8469     8575     +106
+ Misses          4609     4497     -112
- Partials         614      622       +8

Impacted Files
Coverage Δ
Complexity Δ

...java/uk/gov/gchq/gaffer/jobtracker/JobTracker.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...fer/named/operation/cache/NamedOperationCache.java
78.46% <ø> (ø)
0 <0> (ø)
:arrow_down:

...n/java/uk/gov/gchq/gaffer/cache/impl/JcsCache.java
84.84% <ø> (ø)
12 <0> (ø)
:arrow_down:

...va/uk/gov/gchq/gaffer/cache/impl/HashMapCache.java
81.25% <ø> (ø)
9 <0> (ø)
:arrow_down:

...chq/gaffer/commonutil/stream/GafferCollectors.java
62.96% <ø> (+2.96%)
4 <0> (-1)
:arrow_down:

...uk/gov/gchq/gaffer/cache/AbstractCacheService.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

.../uk/gov/gchq/gaffer/cache/impl/HazelcastCache.java
78.26% <ø> (ø)
9 <0> (ø)
:arrow_down:

.../gchq/gaffer/cache/impl/HazelcastCacheService.java
84.21% <ø> (ø)
6 <0> (ø)
:arrow_down:

.../commonutil/iterable/WrappedCloseableIterable.java
42.85% <0%> (-13.4%)
4 <0> (ø)

...re/operation/handler/output/ToVerticesHandler.java
86.95% <100%> (ø)
0 <0> (ø)
:arrow_down:

... and 2 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 54e5c0e...f156d8e. Read the comment docs.


Mark translation strings

Mark all strings for translation in the module and test the translations (see guide.

Closed via https://github.com/inveniosoftware/invenio-userprofiles/pull/111


Implement ˋTextField.text_align_verticalˋ

Hi,
Apologies if I have missed this in the documentation, but would it be possible to have this (the textAlignVertical property) feature added to the TextField input control?
Please let me know if any more information would be helpful.

Prop: https://api.flutter.dev/flutter/material/TextField/textAlignVertical.html


getting an error: Cannot read properties of undefined (reading 'split')

VS Code Version:
OS Version:
Logs:

Steps to Reproduce:

Upon asking a complicated question i get Cannot read properties of undefined (reading 'split')

vscode version 1.86.0
OS: Windows_NT x64 10.0.19945

@shanun11 I was seeing this same error and was able to clear it by loading the extensions panel, and clicking "Reload Required" on any of the extensions. I think this happened because I update VSC.

Duplicate of https://github.com/microsoft/vscode-copilot-release/issues/838


error when trying to launch

wrote ./cofounder/api/.env

added 363 packages, and audited 364 packages in 5s
63 packages are looking for funding
run npm fund for details
5 vulnerabilities (4 moderate, 1 critical)
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run npm audit for details.

start
nodemon --loader esm-module-alias/loader --no-warnings server.js

sh: nodemon: command not found
Error: Command failed: npm i && npm run start
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at main (file:///Users/banger/.npm/_npx/f748a024b9cdb317/node_modules/@openinterface/cofounder/bin.js:130:5) {
status: 127,
signal: null,
output: [ null, null, null ],
pid: 87732,
stdout: null,
stderr: null
}
banger@BANGERs-MacBook-Air cofounder %

go to \cofounder\api
npm run start

npm error code ENOENT
npm error syscall open
npm error path /Users/banger/cofounder/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file
or directory, open '/Users/banger/cofounder/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
0 verbose cli /opt/homebrew/Cellar/node/22.9.0_1/bin/node
/opt/homebrew/bin/npm
1 info using @.***
2 info using @.***
3 silly config load:file:/opt/homebrew/lib/node_modules/npm/npmrc
4 silly config load:file:/Users/banger/cofounder/.npmrc
5 silly config load:file:/Users/banger/.npmrc
6 silly config load:file:/opt/homebrew/etc/npmrc
7 verbose title npm run start
8 verbose argv "run" "start"
9 verbose logfile logs-max:10
dir:/Users/banger/.npm/_logs/2024-11-01T16_03_49_533Z-
10 verbose logfile
/Users/banger/.npm/_logs/2024-11-01T16_03_49_533Z-debug-0.log
11 silly logfile start cleaning logs, removing 1 files
12 verbose stack Error: Could not read package.json: Error: ENOENT: no such
file or directory, open '/Users/banger/cofounder/package.json'
12 verbose stack     at async open (node:internal/fs/promises:638:25)
12 verbose stack     at async readFile (node:internal/fs/promises:1238:14)
12 verbose stack     at async read
@./package-json/lib/read-package.js:9:18)
12 verbose stack     at async PackageJson.load
@./package-json/lib/index.js:130:31)
12 verbose stack     at async PackageJson.normalize
@.***/package-json/lib/index.js:116:5)
12 verbose stack     at async #run
(/opt/homebrew/lib/node_modules/npm/lib/commands/run-script.js:85:13)
12 verbose stack     at async RunScript.exec
(/opt/homebrew/lib/node_modules/npm/lib/commands/run-script.js:39:7)
12 verbose stack     at async Npm.exec
(/opt/homebrew/lib/node_modules/npm/lib/npm.js:207:9)
12 verbose stack     at async module.exports
(/opt/homebrew/lib/node_modules/npm/lib/cli/entry.js:74:5)
13 error code ENOENT
14 error syscall open
15 error path /Users/banger/cofounder/package.json
16 error errno -2
17 error enoent Could not read package.json: Error: ENOENT: no such file or
directory, open '/Users/banger/cofounder/package.json'
18 error enoent This is related to npm not being able to find a file.
18 error enoent
19 verbose cwd /Users/banger/cofounder
20 verbose os Darwin 22.3.0
21 verbose node v22.9.0
22 verbose npm  v10.8.3
23 verbose exit -2
24 verbose code -2
25 error A complete log of this run can be found in:
/Users/banger/.npm/_logs/2024-11-01T16_03_49_533Z-debug-0.log
пт, 1 нояб. 2024 г. в 16:17, LLMFocus @.***>:

go to \cofounder\api
npm run start
—
Reply to this email directly, view it on GitHub
https://github.com/raidendotai/cofounder/issues/16#issuecomment-2452052129,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZYDPUM4LBVHLWZAGOTXDI3Z6OLRXAVCNFSM6AAAAABRAJVJKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSGA2TEMJSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I don't wanna sound like a dummy but I was in the same boat. Use gpt to debug it. That's how I got mine working

I resolve this by Installing 'nodemon' globally npm install -g nodemon.


texture_binding_array example panics

Bevy version
main
Relevant system information
I am assuming this is metal and/or m1 specific, but I don't know for sure.
AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.1 ", kernel: "22.2.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }

What you did
cargo run --example texture_binding_array
cargo run --example texture_binding_array --release
What went wrong
2023-01-26T17:38:43.013800Z ERROR wgpu_hal::metal::device: Resource limit exceeded: StageInfo { stage: Fragment, counters: ResourceData { buffers: 8, textures: 20, samplers: 18 }, pc_buffer: None, pc_limit: 0, sizes_buffer: Some(7), sizes_count: 3, resources: {ResourceBinding { group: 0, binding: 0 }: BindTarget { buffer: Some(0), texture: None, sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 1 }: BindTarget { buffer: Some(1), texture: None, sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 2 }: BindTarget { buffer: None, texture: Some(0), sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 3 }: BindTarget { buffer: None, texture: None, sampler: Some(Resource(0)), binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 4 }: BindTarget { buffer: None, texture: Some(1), sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 5 }: BindTarget { buffer: None, texture: None, sampler: Some(Resource(1)), binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 6 }: BindTarget { buffer: Some(2), texture: None, sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 7 }: BindTarget { buffer: Some(3), texture: None, sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 8 }: BindTarget { buffer: Some(4), texture: None, sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 9 }: BindTarget { buffer: Some(5), texture: None, sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 10 }: BindTarget { buffer: None, texture: Some(2), sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 0, binding: 11 }: BindTarget { buffer: None, texture: Some(3), sampler: None, binding_array_size: None, mutable: false }, ResourceBinding { group: 1, binding: 0 }: BindTarget { buffer: None, texture: Some(4), sampler: None, binding_array_size: Some(16), mutable: false }, ResourceBinding { group: 1, binding: 1 }: BindTarget { buffer: None, texture: None, sampler: Some(Resource(2)), binding_array_size: Some(16), mutable: false }, ResourceBinding { group: 2, binding: 0 }: BindTarget { buffer: Some(6), texture: None, sampler: None, binding_array_size: None, mutable: false }} }
2023-01-26T17:38:43.013998Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'Compute Task Pool (2)' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_pipeline_layout
    not enough memory left

', /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.14.2/src/backend/direct.rs:2403:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'called `Option::unwrap()` on a `None` value', /Users/me/src/bevy/crates/bevy_tasks/src/task_pool.rs:354:49
thread 'Compute Task Pool (1)' panicked at 'called `Result::unwrap()` on an `Err` value: RecvError', crates/bevy_render/src/pipelined_rendering.rs:144:45
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /Users/me/src/bevy/crates/bevy_tasks/src/task_pool.rs:354:49

The problem is that we're binding too many samplers. The example ends up using 18 where M1 GPUs only support 16. I'm first trying to understand if there is any reason to bind multiple samplers of the same type in a shader stage. If not then we should try to minimise the number of samplers we bind somehow.

Right, it seems like the example itself creates 16 samplers in the sampler binding array, and the view binding contains 2 comparison samplers for the shadow map textures. There only really needs to be 1 comparison sampler, and 1 sampler for the bindless material. @cryscan do you feel like changing the example to use 1 sampler as that is all that it needs?

Agreed. Also I think it'll be helpful to add a note about the constraints in the example too.


How can I use MPS (Apple Silicon) for YOLO-NAS inference?

💡 Your Question
I ran the following code and got: RuntimeError: Currently topk on mps works only for k<=16
from super_gradients.training import models

model = models.get("yolo_nas_s", pretrained_weights="coco")
model.to("mps")
model.predict("/Users/oscarwan/bballDetection/videos/v2Test.mov")

model.to("mps") did not cause any problems, so I think something went wrong in inferencing.
I looked at Thtis post and a few related one about the same error, but found no solution.
Versions
PyTorch version: 2.1.0.dev20230716
Is debug build: False
CUDA used to build PyTorch: None
ROCM used to build PyTorch: N/A
OS: macOS 13.4.1 (x86_64)
GCC version: Could not collect
Clang version: 14.0.3 (clang-14<IP_ADDRESS>.1)
CMake version: Could not collect
Libc version: N/A
Python version: 3.10.12 (main, Jul  5 2023, 15:34:07) [Clang 14.0.6 ] (64-bit runtime)
Python platform: macOS-10.16-x86_64-i386-64bit
Is CUDA available: False
CUDA runtime version: No CUDA
CUDA_MODULE_LOADING set to: N/A
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Apple M1 Pro
Versions of relevant libraries:
[pip3] numpy==1.23.0
[pip3] torch==2.1.0.dev20230716
[pip3] torchaudio==2.1.0.dev20230716
[pip3] torchmetrics==0.8.0
[pip3] torchvision==0.16.0.dev20230716
[conda] blas                      1.0                         mkl
[conda] mkl                       2023.1.0         h59209a4_43558
[conda] mkl-service               2.4.0           py310h6c40b1e_1
[conda] mkl_fft                   1.3.6           py310h3ea8b11_1
[conda] mkl_random                1.2.2           py310h3ea8b11_1
[conda] numpy                     1.23.0                   pypi_0    pypi
[conda] pytorch                   2.1.0.dev20230716        py3.10_0    pytorch-nightly
[conda] torchaudio                2.1.0.dev20230716       py310_cpu    pytorch-nightly
[conda] torchmetrics              0.8.0                    pypi_0    pypi
[conda] torchvision               0.16.0.dev20230716       py310_cpu    pytorch-nightly

As of now it seems your only option is to use cpu device on mac. I don't feel this issue directly related to YOLO-NAS. We use topk in postprocessing step.
It looks like torch.topk support for mps device is limited. You can try filling a bugreport on torch repo.

Do you have any plans to support MPS acceleration on macOS?


Agent.BuildDirectory example

Example of Agent.BuildDirectory should correct as following:
For example: c:\agent_work\1 => For example: c:\agent\ _work\1

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

ID: 9ffebdc8-521c-44b5-cde4-4abdc1bd6f18
Version Independent ID: dc0effda-6d93-62aa-64c5-4e6f283b0826
Content: Predefined variables - Azure Pipelines
Content Source: docs/pipelines/build/variables.md
Product: devops
Technology: devops-cicd
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Sorry it was a mistake.
For example: c:\agent_work\1 => For example: c:\agent\work\1

the issue still continues


Fixed most of the key warnings

Description
Add some key to fix the warnings for home page and other scenarios
Type of change

[√] Bug fix (non-breaking change which fixes an issue)

Duplicate of #330

donno what am I doing

XD

donno what am I doing

I initiated a wrong commit earlier, but don't know how to cancel the previous one🤣

@andrewstech ig closing the PR made close.yml workflow delete the win11bot repo giving this error

maybe the repo should be recreated on being reopened


Install fails with import controls module not found

https://medium.com/@dharini_r/5fdceb7b09c7
importing hal9 gives an error — import controls — module not found stating the path “/home/username/anaconda3/envs/hal9_project/lib/python3.9/site-packages/hal9.py”

User reported using Ubuntu.


Add support for named branches in func repository add command

Currently, the func repository add command will only work for github repositories that are on the main branch and there is no way to specify an alternate. It would be nice to have func repository add --branch <branch-name> <name> <url>.
/kind enhancement
/kind good-first-issue

I will try it.
/assign

Hi @daisy-ycguo, are you working on that?

Hi @daisy-ycguo, are you working on that?

Yes, just got some time and pick up this work.

/remove-lifecycle stale

/assign @matejvasek


[BUG] Scenarios/AKS-OpenAI-CogServe-Redis-Embeddings : OpenAIName

Describe the bug
The bicep deployment fails with error, because parameters.json file has invalid value
"OpenAIName" : {
        "value": "<name for your OpenAI service>"
      },

Need to add instructions in README for user to set there own unique value in this parameter.  NOTE: Globally unique value required*
#73

fixed with #71


[stable/grafana] Fix typo minAvailble to minAvailable

What this PR does / why we need it:
This PR fixes a typo in values.yaml and templates/poddisruptionbudget.yaml where minAvailble was used instead of minAvailable which is in the k8s spec.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @maorfr

/ok-to-test
/lgtm


Unable to issue tokens from a contract code

I have installed
eosio: 1.7.3
eosio.cdt: 1.6.1
I have implemented a sample 'market' contract and deployed it along with the well known version of 'eosio.token' contract. Required 'eosio.code' permission is added to the 'market' account in order to make an external calls to the token contract. One of the 'market' methods provides logic handling a simple user purchase and at the end a call to token contract is made in order to issue a calculated amount of tokens to the user.
Here is the call I am doing within the 'market' contract:
issue_tokens(recipient, asset(tokensToMint, symbol(symbol_code("ABC"), 4)), "memo");

and the implementation of my private function issue_tokens():
void market::issue_tokens(name to, asset quantity, string memo)
{
    token::issue_action issue("eosio.token"_n, {get_self(), "active"_n});
    issue.send(to, quantity, memo);
}

Before trying to register a purchase, I am creating the token and after the transaction is done, I am checking the content and the registered currencies (using getCurrencyStats):
"{"ABC":{"supply":"0.0000 ABC","max_supply":"1000000000.0000 ABC","issuer":"l412b413ed2e"}}"

Its obvious that the ABC token has been registered successfully and that is why I am wondering why the next step when I am trying to make a purchase and to issue the tokens is failing, getting the following error:
assertion failure with message: token with symbol does not exist, create token before issue
Any ideas and is that the right approach to call issue_tokens ?

This isn't related to eosjs. Support questions like this are better on Stack Exchange.


Streams don't start on Galaxy Tab S10+

Hi, I have easynews+ installed on my phone/nvidia shield and tablet.
However it does not start streams on my tablet only.
When I play it in Vlc an error code that starts with "The location http://<IP_ADDRESS>:11470/proxy/D=...... Shows up.
Please help.

Paste the full error.

The location http://<IP_ADDRESS>:11470/proxy/d= N https%3A%2F%2Fmembers.easynews.com& h=User-Agent%3AStremio&h=Authorization %3ABasic+am9zYW5pdHkxMTpJYW1qb3Nhb jExIQ%3D%3D/dl/auto/443/d01ee87ecd7fc8_ f68a79c168407160e7096d7f23c.mkv/the .idea.of.you.2024.multi.hdr.2160p.web.h265 -higgsboson.mkv cannot be played
Happens with every scraped video

Found the issue, not sure how it's related but I it's because I blocked stremio's notifications causing my streaming server to be offline.


New version: Logseq.Logseq version 0.10.6

This pull request is automatically generated by 🥟 Dumplings in #3310
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Add pvoSID example to sbfspot README

Because I've been struggling with not being able to upload anything to pvoutput.org - while I even copy and pasted the System ID from the website to the configuration to not mix up any numbers - I looked into the source code and found better instructions in the file sbfspot/rootfs/usr/bin/sbfspot/SBFspotUpload.default.cfg. This is why I copy and pasted them into the README, so that other people don't need to struggle to understand what the numbers before the : in the example mean.

Hi,
I updated the readme with a clearer example of the SBFspot options.
This file is trying to commit to the test version of the addon, so will be closed.


Column.width default value is inconsistent (auto on JS vs stretch on the rest)

Version of SDK
1.2
Issue
If a Column doesn't have width specified, it defaults to different things on each platform... See the rendering of the following card...
{
  "type": "AdaptiveCard",
  "$schema": "https://raw.githubusercontent.com/microsoft/AdaptiveCards/8b0c89c286d4721f9c8a9d48587a49f126702131/schemas/adaptive-card-new.json",
  "version": "1.0",
  "body": [
      {
          "type": "Container",
          "style": "emphasis",
          "items": [
              {
                  "type": "ColumnSet",
                  "columns": [
                      {
                          "type": "Column",
                          "width": "stretch",
                          "items": [
                              {
                                  "type": "TextBlock",
                                  "text": "**EXPENSE APPROVAL**",
                                  "size": "large",
                                  "weight": "bolder"
                              }
                          ]
                      },
                      {
                          "type": "Column",
                          "items": [
                              {
                                  "type": "Image",
                                  "url": "https://filedepot.blob.core.windows.net/build/pending.png",
                                  "height": "30px",
                                  "altText": "Pending"
                              }
                          ]
                      }
                  ]
              }
          ]
      }
  ]
}

JS
UWP, WPF, Android

WPF and UWP works correctly if you set "width": "auto" to the second column, so it's a problem with the default value
Untested

iOS

@almedina-ms assigning to you for follow up.

@shalinijoshi19 I don't think we know what the default value should be yet. We first need to pick a default (which there's no great answer to, but probably go with JS' default since most people probably test in the web designer)
We can discuss it with everyone at the beginning of the 1.3 planning meeting?

@andrewleader / @almedina-ms can you guys drive arriving at a good default here? Thanks!

Fixing this issue is not currently on our roadmap. Feel free to continue the conversation on this issue. If you feel strongly about this issue, please let us know and we can reevaluate.


Custom regex conventions do not consider the entire string, resulting in confusing behavior

Example:
{
	"datapack.lint.nameOfScoreHolders": ["warning", "/(?:0|-?[1-9][0-9]*)/"]
}

This will allow:

0 (intended)
1 (intended)
01 (not intended)

01 is allowed because both of the substrings "0" and "1" pass the test. I would have expected it to validate against the entire string as a whole, though.
Defining the convention as /^(?:0|-?[1-9][0-9]*)$/ fixes the issue.
In case, ts does not support checking if the entire string matches as a whole, maybe it would make sense to not allow a regex component like that as a string, but instead always require the object definition, with a new regex field. That way the enclosing forward slashes could be dropped and added by the extension, as well as the ^ and $.

This is the behavior intended, personally, but ... I don't know which one is actually better:man_shrugging:

I don't see any benifit in the current behavior.
If one would actually take advantage of this, the regular expression would be extremely confusing and hard to understand, similarily bad as things like self-modifying code.


"In Regression Tasks The Property Value Was Standardized"

From The Pre - Print  page 4 of evaluation what does this sentence mean?  What standardization did the results go through?

Following the MoleculeNet benchmark, we standardized predicted properties in the regression tasks. We subtracted the mean value from the dependent variable (log solubility in ESOL and hydration free energy in FreeSolv) and divided them by the standard deviation. We report results (RMSE) for the standardized property values, but one can easily recover the RMSE of non-standard variables by multiplying the RMSE by the standard deviation from the data. However, we observe that different random splits cause the results to differ drastically (especially for the smallest dataset - FreeSolv), so, unfortunately, the results are incomparable between different splits used in the literature.


Shotgun should have higher recoil omg

We just need to be careful with the "sodie popper". IMO that and shotgun should not = infinite ammo


performance benchmark does not seem to match published benchmark

Hello,
I am benchmarking with following
package misc_test

import (
	"github.com/ericlagergren/decimal"
	shopdecimal "github.com/shopspring/decimal"
	"testing"
)

func BenchmarkDecimalByShopspring(b *testing.B) {

	for n := 0; n < b.N; n++ {
		_, _ = shopdecimal.NewFromString("1294.300303030580521596")
	}

}

func BenchmarkDecimalByEriclagergren(b *testing.B) {
	for n := 0; n < b.N; n++ {
		big := new(decimal.Big)
		big.SetString("1294.300303030580521596")
	}
}

Test result:
BenchmarkDecimalByShopspring-12       	 2251071	       535 ns/op
BenchmarkDecimalByEriclagergren-12    	 1771297	       673 ns/op
PASS

I don't know where those benchmarks are from. There are only two posted benchmarks (https://github.com/ericlagergren/decimal/blob/2c3e3e1ef942ac4ca58d18a6bc27a0c784d621e8/benchmarks/doc.go): pi and mandelbrot.
At any rate:

I'm not sure what benchmarking SetString demonstrates, it's a rather inexpensive operation cf division, etc.
My benchmarks need to be updated to Go 1.13, newer library versions, etc.

Unless there's anything else, I'm going to close this as there's nothing here to fix.


Update Project.toml

@GabrielKS yeah, the interaction between PG and PSI is kinda broken right now. I'll try to fix it if I have time.


Sorting and paginating request parameters not described in docs

Hello,
I search the docs while implementing ActiveController for information about 'per-page' parameter send with request and couldn't find anything. Same with 'sort'. I had to look in the code to see how it works. Sort is quite tricky with this minus sign for order.
You should improve docs here

yii2/docs/guide/output-sorting.md
yii2/docs/guide/output-pagination.md

both of your questions are well described at:

http://www.yiiframework.com/doc-2.0/guide-output-pagination.html
http://www.yiiframework.com/doc-2.0/guide-output-sorting.html


Fix UnicodeCharsTest

Fixes #1158
One of the chars used in the test is not compatible with the
collation used when setting the property to true for MySQL or
MariaDB.

@DavideD thanks for sorting this one out.


IsValid returns false for valid value (4.0.0)

I've run into problem where seemingly valid index created with FromPoint-method is deemed invalid by the IsValid.
var point = new Point(24.57011413572222, 60.191627502416665) { SRID = 4326 };
var h3Index = H3Index.FromPoint(point, 15);
var index = h3Index.IsValid; // => false

The problem exists only on version 4.0.0, same point is returned as "valid" index by the previous version <IP_ADDRESS>.
The validation seems to fail at last line where leading zeros are checked.

I've run into problem where seemingly valid index created with FromPoint-method is deemed invalid by the IsValid.
var point = new Point(24.57011413572222, 60.191627502416665) { SRID = 4326 };
var h3Index = H3Index.FromPoint(point, 15);
var index = h3Index.IsValid; // => false

The problem exists only on version 4.0.0, same point is returned as "valid" index by the previous version <IP_ADDRESS>.
The validation seems to fail at last line where leading zeros are checked.

First off apologies for the late reply, notifications in GH were not working for some reason.
Are you using anything prior to dotnet 5?  There's a bug in the LeadingNonZero method in the "polyfilled" versions I had in place for this release; it should be fixed in the next one once I finally get a few minutes to spend a bit of time catching up on this project.  If you want you can try checking out the dev/km/rel-4.1.0 branch and let me know if you can still reproduce the issue.
I'll add this as a test case anyway just in case.

Nope; still a bug in the latest stuff.  Will take a look.

@pocketken Hello. Were you able to fix the bug? I was upgrading our projects to NET8 and was going to upgrade this library too.
Thanks

Hi @jrgcubano, unfortunately not yet.  I just haven't had any free time recently, so I only got as far as some basic debugging.  I'm not quite sure when I will be able to look at it, as it seems like as soon as one work project ends 3 more start.  I am happy to accept PRs, though!


iOS Archive-> Could not find an option named "track-widget-creation".

Could not find an option named "track-widget-creation".
Run 'flutter -h' (or 'flutter  -h') for available flutter commands and options.
Failed to build /Users/will/AndroidStudioProjects/mywtoken.

TRACK_WIDGET_CREATION=true #invalid in release mode(This line would be not include in release mode)。You can modify track_widget_creation_flag directly in your shell script.

I use Timer.periodic to check MediaQueryData values, it's ugly but worked.
Maybe add a welcome page is useful.
void main(){
  Timer queryTimer;

  queryTimer = new Timer.periodic(new Duration(seconds: 1), (timer) {
    var queryData = MediaQueryData.fromWindow(window);
    if (queryData.size.width != 0) {
      queryTimer.cancel();
      runApp(
        // ...
      );
    } else {
      print("wait for MediaQueryData.fromWindow");
    }
  });
}

@LJame
Try what I said above to see if it works.
If it doesn't work, please reopen this issue to track it.

Hi, what is the solution for Windows User? :( I am unable to build the release apk because of not having MAC.

iOS build Archiving but display white screen.
How to resolve this issue.


Question about using Deuterium over Tritium?

My project uses a spherical IEC reactor with a Deuterium fuel. Is there a way to replace the existing code so as to instantiate this?

Current the example has a 14MeV source
https://github.com/fusion-energy/inertial_fusion_openmc_dagmc_paramak_example/blob/6d710616634f2430820a60363f54a26e21a80657/2_run_openmc_dagmc_simulation.py#L67
You can replace with with a 2.5MeV source
my_source.energy = openmc.stats.Discrete([2.5e6], [1])
Or you can do something better with the openmc.stats.muir distribution
my_source.energy = openmc.stats.muir(e0=2500000.0, m_rat=4.0, kt=20000.0)

I can offer more complex mixed sources if that helps

When you mention the source, are you referring to the electric potential generated, modelled as a point source, or discrete ions? Is this how you recommend implementing Deuterium over Tritium?

Essentially, my team has a spherical IEC device, and we use a deuterium fuel. I am curious if there are ways to modify the existing code to reflect our specific reactor shape, fuel source, and operating values (i.e. voltage, pressure, temp)? We need to develop a simulation model and submit results to our national board in order to gain experimental approval.

And we are specifically looking to model the Bremsstrahlung radiation/ X-Ray Emission?

When you mention the source, are you referring to the electric potential generated, modelled as a point source, or discrete ions? Is this how you recommend implementing Deuterium over Tritium?

openmc can offer photon or neutrons for the source term. The code is a monte carlo particle transport code and doesn't know about electric potential. To change the code to model neutrons from DD instead of neutrons from DT then you can simple change the neutron energy from 14MeV to 2.5MeV

Essentially, my team has a spherical IEC device, and we use a deuterium fuel. I am curious if there are ways to modify the existing code to reflect our specific reactor shape, fuel source, and operating values (i.e. voltage, pressure, temp)? We need to develop a simulation model and submit results to our national board in order to gain experimental approval.

Yes OpenMC and DAGMC can support different geometry types. Perhaps have a look at the documentation
https://docs.openmc.org/en/stable/usersguide/geometry.html

And we are specifically looking to model the Bremsstrahlung radiation/ X-Ray Emission?

Yes openmc can simulate photons. change the my_source.particle=='photon' as it defaults to neutron


l_OBJC_ warnings.

Forgive me, as I'm using Xcode 15 Beta 2 (15A5161b) so this may be nothing to worry about, or may save you a headache when Xcode is out of Beta and you have many people searching for the same issue.
To re-produce the error, add the Pusher package to a blank project, import PusherSwift on any class and you'll see 9 warnings.
Google has no good leads.
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$__TtP11PusherSwift14PusherDelegate_
Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$__TtP11PusherSwift26AuthRequestBuilderProtocol_
Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$__TtP11PusherSwift10Authorizer_
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$__TtP11PusherSwift26AuthRequestBuilderProtocol_
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$__TtP11PusherSwift10Authorizer_
Could not associate debug note to atom l_OBJC_LABEL_PROTOCOL_$_NSCopying
Could not associate debug note to atom l_OBJC_PROTOCOL_REFERENCE_$_NSCopying

I can't reproduce this on the Xcode Release Candidate. Could you try again on this version?

I've been using the newly released XCode 15 without issue, so its likely gone away. I will close this ticket.


Why does extract-text-webpack-plugin adds extra dependency?

I'm talking about this line. Not a major issue probably, but as a result, fileDependencies contains duplicates. webpack adds it itself before running normal modules.
How to reproduce:
package.json:
{
  "dependencies": {
    "css-loader": "^0.28.7",
    "extract-text-webpack-plugin": "^3.0.0",
    "webpack": "^3.6.0"
  }
}

wepback.config.js:
const ExtractTextPlugin = require("extract-text-webpack-plugin");

module.exports = {
    entry: './entry.js',
    output: {
        filename: 'bundle.js',
    },
    module: {
        rules: [{
            test: /\.css$/,
            loader: ExtractTextPlugin.extract('css-loader'),
        }],
    },
    plugins: [
        new ExtractTextPlugin('bundle.css'),
        {apply: function(compiler) {
            compiler.plugin('compilation', function(compilation) {
                compilation.plugin('seal', function() {
                    var m = this.modules.filter(function(m) {
                        return /\/style\.css$/.test(m.resource);
                    })[0];
                    console.log('compilation: ' + compilation.name);
                    console.log('fileDependencies:');
                    console.log(m.fileDependencies);
                });
            });
        }},
    ],
};

entry.js:
require('./style.css');

style.css:
body {
    margin: 0;
}

$ ./node_modules/.bin/webpack
compilation: undefined
fileDependencies:
[ '/srv/http/s1/2/style.css', '/srv/http/s1/2/style.css' ]
compilation: extract-text-webpack-plugin /srv/http/s1/2/node_modules/extract-text-webpack-plugin/dist /srv/http/s1/2/node_modules/css-loader/index.js!/srv/http/s1/2/style.css
fileDependencies:
[ '/srv/http/s1/2/style.css' ]
Hash: e10d340fe2b3fadee7ca
Version: webpack 3.6.0
Time: 292ms
     Asset      Size  Chunks             Chunk Names
 bundle.js   2.62 kB       0  [emitted]  main
bundle.css  24 bytes       0  [emitted]  main
   [0] ./entry.js 24 bytes {0} [built]
   [1] ./style.css 41 bytes {0} [built]
    + 1 hidden module
Child extract-text-webpack-plugin node_modules/extract-text-webpack-plugin/dist node_modules/css-loader/index.js!style.css:
       [0] ./node_modules/css-loader!./style.css 189 bytes {0} [built]
        + 1 hidden module

Archive with the files.

@x-yuri thank for issue, PR welcome

Could you try with additional require() please (e.g require('./style2.css'), require('style3.css') ...)
Does this only happen for the first  style import or foreach ?

@michael-ciniawsky no, it is pitch loader they don't add dependecy, we should do this manually, all works as expected. Thanks for issue!

@evilebottnawi Can you elaborate please? Pitch loaders don't add dependencies themselves, but if they don't return anything, the dependency is added by loader-runner. So the only case where this might be useful is this[NS] === false. (By the way, the debugger doesn't stop there for my testing app.) But then the line should be moved into this branch. Am I missing something?


[vscode.dev/profile] Indicate that some extensions won't be installed because they don't work in the web

I think that it is odd that these two extensions aren't grayed out:

Neither of them work in the web so I would expect that they would be unchecked/grayed out with a tooltip/detail that says "can't be installed in the web".
Additionally, if none of them can be installed, the "Install Extensions" button shouldn't be there.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


WIP (FACT-1180) Override Leatherman's logging namespace

When libraries were moved to the Leatherman project, they gained their
own Leatherman-based logging namespaces. We'd rather use Facter's
namespace for all the output.
LTH-29 adds the ability to override logging namespaces used in
Leatherman. Use that to specify Facter's namespace for all logging
messages that used the Leatherman namespace; others, like execution
messages that use special prefixes for stdout/stderr from other
processes, will continue to use those prefixes.

Waiting on https://github.com/puppetlabs/leatherman/pull/81 to be merged so I can update the submodule.


Filter data in nested json

Filter by working fine if- there is a single item 0n corresponding users
filterBy: ['users.strict']: 'john'
But filterBy not working in following json if users have multiple items
$scope.data = [
{ id: 1, users: [{ first_name: 'Rob', last_name: 'John',  mobile: 4444 },{ first_name: 'Robin', last_name: 'Johny',  mobile: 44447 },{ first_name: 'Robot', last_name: 'Johno',  mobile: 44044 }] },
{ id: 2, users: [{ first_name: 'Johni', last_name: 'Wayno',  mobile: 3333 },{ first_name: 'John', last_name: 'Wayne',  mobile: 3333 }] },
{ id: 3, users: [{ first_name: 'Rob1', last_name: 'Johansson1',  mobile: 2222 },{ first_name: 'Rob2', last_name: 'Johansson2',  mobile: 29222 } },
{ id: 4, users: { first_name: 'Mike', last_name: 'Terry',  mobile: 1111 } }
];

@ashoumalik can you please provide some live example, e.g: jsbin, fiddle, etc..  ?
Thx

thx for reply
jsfiddle example
http://jsfiddle.net/8upyjetw/

Please check my example

Because it's not 'customer.name' but 'customer[x].name'. You can already see it in your html, it doesn't recognize what is 'customer.name'
You will probably need to insert another ng-repeat inside your first, like this:

        <input type='text' name='name' ng-model='search.customer.name'>
        <input type='text' name='name' ng-model='search.customer.id'>

{{customer.id}} - {{ customer.name }}

thanks
i solved it another way
http://plnkr.co/edit/WosMmUBrEQxwl8q2vnzU?p=preview

hi,
is there a way to group by nested array too?
scope data looks like:
[
{id: 1, name: 'max', things: [ {type: 'house}, {type: 'car'}]},
{id: 2, name: 'sam', things: [ {type: 'mobilephone'}, {type: 'car'}]},
{id: 3, name: 'james', things: [ {type: 'mobilephone'}, {type: 'computer'}]}
]
how can i group the data by type?
thanks.


Adapt to be able to deal with batched tick sending

This is a companion PR to https://github.com/evancz/elm-effects/pull/24.
Note that nothing changes in terms of API for users of start-app. But since elm-effects will need to have a major version bump, the relevant version constraint in elm-package.json here will have to be changed. The package start-app itself only needs a patch release.

Thanks!
This definitely won't work with the current version of elm-effects so we need to move the lower bound up as well.


Add cilium

Cilium offers some fantastic observability functionality I would like to
take advantage of, along side DNS based filtering in network policies

Note: I had 5min to do this, so I did. It's the most bare minimum, and really some thought needs to be given to allowing access to the many options Cilium gives you. The ability to enable wireguard, or disable kube proxy from the get go would be of interest. Something is always better than nothing though.

@PurpleBooth Awesome! We can propose a sample HelmChartConfig to allow them to do more configurations. This project started with Cilium at the very beginning, so in the git history, we have a few working configs for Cilium.
Anyways, as you said, something is always better than nothing! I will play around with this PR ASAP. I just want to test it and see if we can improve anything (based on previous work).

I got a bit of time upcoming so shout if you want some changes

So I changed the approach a bit, I used the cilium binary, rather than helm crd because I couldn't figure out how to get it to have the right tolerations on the pods it launches, so they were never being scheduled.
The way it's installed basically means it's doing a helm install.

Oh man, I know how to fix this non-scheduling issue via helm, just need to pass the right values. Have them all in the git history. Just haven't had time to focus on that. Will try ASAP.
I prefer like it was before, as the same format we use for everything else, and easier to reconfigure via helm chart config. Also probably easier to update! At least the flow is the same as other addons that we offer.
Will find some time, hopefully tomorrow.

I have a copy of the old way here if it's useful https://github.com/PurpleBooth/terraform-hcloud-kube-hetzner/tree/add-cilium

Perfect, definitely 🙏

@PurpleBooth Thank you so much for your contributions to this project. We would like to invite you to be a member of our team on Github. It will allow you to create branches (which will make it easier for us to work together on a PR), approve stuff and manage issues if you wish so. Whatever you see fit! ✨
It would also allow you to better influence the direction of this project. We are six people, but most of us do not do much. The current most active members are Phaer and me. I am usually the one to do the releases and was the one who originated the project. It would be an honor to have you be one of us! We all have day jobs, so don't worry; nothing is expected of you; some of our members do not show up for weeks or months! 😁

Lets chat, I tried to login to that room, however I get a "You are not invited to this room.", I am "@BillieCodes:matrix.org " on matrix

Hey @PurpleBooth, I just invited you!


Popup message stuck on hover event

When using the popup functionality on a button connected with a click event the popup sometimes creates a div but it won't remove it when hovering out of the button so when hovering again, another div will show on top of the current one.

@jlukic  @alihalabyah  Is this bug fixed? I encountered this one too and didn't find it in PR.

Make a jsFiddle to reproduce your problem.
It will help maintainers to find and fix the bug.

@etshy  http://jsfiddle.net/k7h5y3gL/
Is it because my 'menuItem' too heavy for this Popup component? Or am I using it in the wrong way.

I don't contribute (yet) to this project, I only try to help a bit.
So maybe you have to tag a member or jlukic ?
btw, on your jsFiddle I can't see anything but a "x" on the result frame.

As @etshy has said your JSFiddle doesn't contain an example. Try saving it and relinking.

@hammy2899  hard to repo....
All I could tell you is that
<Popup
...
onClose={this.onclose}
trigger={}
/>
I specially add a callback function this.onclose for props:   onClose?: (event: React.MouseEvent, data: PopupProps) => void
The experiment result is:
If I hover my mouse on the Popup element, then it pop up 'words' as expected.
After that if I click the Button to trigger something, and slowly(or in normal speed) move my mouse out of the Popup element, the hovering 'words' will disappear as expected.
However,
If I hover my mouse on the Popup element, then it pop up 'words' as expected.
After that if I move my mouse out of the Popup element fast enough, the hovering 'words' will not disappear but keep showing as my mouse is still hovoring on it.

You are talking about Component, maybe you would like to ask on the React repo for Semantic-ui : https://github.com/Semantic-Org/Semantic-UI-React ?
This repo is for jQuery usage.

sorry~my bad...


Adjusted async comment call on report post call

Adjusted async comment call to actually post the custom reason for reporting.
Potentially fixed issue #3874

Reduced waiting time to 15 seconds according to comments.

!!/approve


python3Packages.aioaseko: init at 0.0.1

Motivation for this change
Module to interact with the Aseko Pool Live API
https://github.com/milanmeu/aioaseko
This is a Home Assistant dependency.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 157953 run on x86_64-linux 1

2 packages built:

python310Packages.aioaseko
python39Packages.aioaseko

Result of nixpkgs-review pr 157953 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.aseko_pool_live
python310Packages.aioaseko
python39Packages.aioaseko

Result of nixpkgs-review pr 157953 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.aseko_pool_live
python310Packages.aioaseko
python39Packages.aioaseko


Numeric search input

It would be nice to have a template to change the search input, or at least an option to make the search input numeric type.

it will solved in Ionic Selectable v5(currently in alpha): with searchInputmode property
@ionic-selectable/core for Vanilla JS
@ionic-selectable/angular for Angular


Temp disable shared_object_transaction test

The test seems to be always stuck

isn't this what #1601 is meant to address?

isn't this what #1601 is meant to address?

I am not sure. Maybe? It can always turn this back if it's fixed there.

isn't this what #1601 is meant to address?

I am not sure. Maybe? It can always turn this back if it's fixed there.

No #1601  is fixing something else. But this is very strange because the test works fine on my local machine (so it is hard to debug on the CI)

I can repro on my Mac. I will try to take a look


Added in cslreferences environment

Hi @rensa you may want to pull this update https://github.com/ismayc/thesisdown/pull/79 to this repo. ;)

Thanks @asiripanich! I'm a bit under the pump with a lot of my packages at the moment, but I'll see what I can do over Easter :)


Add domain and ip range blocking to HostDB's filtering system

Adds domain and IP address filtering capabilities to SetFilterMode in the HostDB.  Currently has some bugs that need to be ironed out.

Again everything works as expected.  Maybe the problem is the siatest test itself.

Again everything works as expected. Maybe the problem is the siatest test itself.

That's not too surprising; the siatest package has some very brittle tests. Unfortunately, I was also having issues figuring it out, so I added a new separate test for the net address filter and removed the subtests from TestFilterMode.  @chris124567 take a look and make sure it looks alright.

Again everything works as expected. Maybe the problem is the siatest test itself.

That's not too surprising; the siatest package has some very brittle tests. Unfortunately, I was also having issues figuring it out, so I added a new separate test for the net address filter and removed the subtests from TestFilterMode.  @chris124567 take a look and make sure it looks alright.

I added a new test to siatest/renter/hostdb that creates a filter then announces a new host that should be filtered by the existing rule. It looks like we need to update the filtered list in HostDB.insert and HostDB.modify so that new and updated hosts are filtered immediately.

But don't modify and insert already check if a host is filtered?
    _, ok := hdb.filteredHosts[host.PublicKey.String()]
    isWhitelist := hdb.filterMode == modules.HostDBActiveWhitelist

I think this fixes it.  At least TestFilterMode, TestNetAddressFilter, TestNetAddressFilterContracts all pass on my machine.

This makes the behavior in modify match that in insert and SetFilterMode (only insert into filteredTree if whitelist==ok).


LaTeX document

I faced a problem while trying to implement a figure in the latex document. My figure got deplaced automaticly to another page, due to its dimensions I guess, and I cannot move it properly... If you have any idea ^^

Done!


It is recommended to add a detailed list of nodes for the workflow（建议加上工作流的节点节点明细列表）

There are too many tasks in the workflow. If there is no detail list of tasks, I don't know which nodes to set properties (such as whether to alarm, retry times, retry intervals, remarks), so I can only manually look at them one by one, which is troublesome and not intuitive enough.

good idea


FP on org.owasp:csrfguard-jsp-tags and csrfguard-extension-session #3301

Fixes Issue #3301
Description of Change
Add suppressions for org.owasp:csrfguard-jsp-tags / csrfguard-extension-session
Have test cases been added to cover the new functionality?
no

Checks are failing with 503 trying to get the NIST database...


Sampling setting is ignored

Hello!
Describe what happened
I'm trying to set traces in my Android application and even though I can see the traces through the Datadog Web UI, it seems that I'm subjected to sampling smaller than 100%.
I tried explicitely declaring ANALYTICS_SAMPLE_RATE to 1.0 but it didn't help. It seems like I'm receiving one sample every ~10 minutes.
GlobalTracer.get().buildSpan("awesome.span")
            .withTag("chunkId", chunkId)
            .withTag(DDTags.SPAN_TYPE, "client.android")
            .withTag(DDTags.ANALYTICS_SAMPLE_RATE, 1.0)
            .start()

Steps to reproduce the issue:
I hope the information is sufficient. Otherwise I can clarify something for you.
Describe what you expected:
Expecting all my spans to be seen in the "Traces" section and not sampled.
Additional context

Android OS version: 12
Device Model: Pixel 4a
Datadog SDK version: 1.8.1
Versions of any other relevant dependencies (OkHttp, …):  -
Proguard configuration:  -
Gradle Plugins:  -

Thanks for the answer and your time @xgouchet, there's only one (default) retention filter active and that's for 100%.
We also have a backend trace that I'm trying [unsuccessfully till now] to map to, which, however, has a correct sampling of 100%, in contrast to our Android trace.

I'm going to close this as it was my bad, it's kinda complicated with the spans and the scopes but as it seems I managed to get all the samples from my Android client.

Glad you sorted it out, feel free to open a new issue if you have any other question or roadblocks when integrating the SDK.


cmd/go: go install cmd in module mode prints unexpected fault address 0xbfe69aec8a

What version of Go are you using (go version)?

$ go version
1.15.6
1.16beta1

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=off
set GOARCH=amd64
set GOBIN=
set GOCACHE=%USERPROFILE%\AppData\Local\go-build
set GOENV=%USERPROFILE%\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=%USERPROFILE%\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=%USERPROFILE%\go;
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\alexr\AppData\Local\Temp\go-build874774134=/tmp/go-build -gno-record-gcc-switches

What did you do?
In module mode
go install goarrg.com/cmd/goarrg
What did you expect to see?
Program compiled as it does in gopath mode or in modules mode when current directory is command being built.
What did you see instead?
1.15.6 Output
unexpected fault address 0xbfe69aec8a
fatal error: fault
[signal 0xc0000005 code=0x1 addr=0xbfe69aec8a pc=0x6f99c0]
goroutine 1 [running]:
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0
fatal: morestack on g0

1.16beta1 Output
Exception 0xc0000096 0x0 0x0 0x8820c2
PC=0x8820c2
text/template.init()
c:/go/src/text/template/exec.go:21 +0x2
rax     0x8820ad
rbx     0x0
rcx     0x0
rdi     0x1085778
rsi     0x10
rbp     0xc0000d38e8
rsp     0xc0000d37a0
r8      0x0
r9      0x0
r10     0x2
r11     0xc0000b6c30
r12     0xd
r13     0x3
r14     0x34
r15     0x2030000
rip     0x8820c2
rflags  0x10292
cs      0x33
fs      0x53
gs      0x2b

issue was due to drive corruption


Fixes #952 Crash in interpreter - Blank of record type with multiple fields

NOTE: Pretty Printing seems to still fail for the eval of below expression.
With({L26:Table({x:1, y:2})}, ForAll([99], LookUp(L26, ThisRecord.y = 3)))

✅ No public API change.

✅ No public API change.

✅ No public API change.


[CASSANDRA-17] Add ability to customize offer filter refuse_seconds.

Set the default to 5s so that the default behavior continues as-is.
Fixes https://dcosjira.atlassian.net/browse/CASSANDRA-17.

retest this please

@verma7 Looks good! Can you also add two unit tests for:

Exercising default case, when MESOS_REFUSE_SECONDS is not set
Exercising case, when MESOS_REFUSE_SECONDS is set

@mesosphere-ci retest this please

Discussed with @mohitsoni that testing this would require changes to dcos-commons QueuedSchedulerDriver API and will be done in a later PR.
Please merge the PR when all the CI tests pass.

@mesosphere-ci retest this please.

@mesosphere-ci retest this please

ok to test

Abandoning this as a copy #245 was merged successfully.