Ubuntu installation stuck on WSL (Windows 10 Pro Insider Preview)

Environment
Windows build number: 21277
Your Distribution version: Ubuntu 20.04
Whether the issue is on WSL 2 and/or WSL 1: 2

Steps to reproduce

Install the latest build of Windows Insider Preview (Dev Channel)
Set up Windows
Enable Hyper-V, Hypervisor Platform, Containers
In cmd.exe (Admin): wsl --install
Reboot
Ubuntu window opens, says "Installing, this may take a few minutes" for several hours.

WSL logs:
Expected behavior
Ubuntu should install and ask me to configure my user account.

Actual behavior
Hangs on "installing" with no errors.

In cmd.exe (Admin): wsl --install

That command needs a parameter, it would look like wsl.exe --install -d Ubuntu. Before you do that, do:
C:\> wsl --set-default-version 2

If either of those fail or hang, please collect WSL logs and post the backlink to the feedback item here. You don't need to let it run for hours while collecting the logs, just 30 seconds or so will do, then close the window.

In cmd.exe (Admin): wsl --install

That command needs a parameter, it would look like wsl.exe --install -d Ubuntu. Before you do that, do:
C:\> wsl --set-default-version 2

If either of those fail or hang, please collect WSL logs and post the backlink to the feedback item here. You don't need to let it run for hours while collecting the logs, just 30 seconds or so will do, then close the window.

In cmd.exe (Admin): wsl --install

That command needs a parameter, it would look like wsl.exe --install -d Ubuntu. Before you do that, do:
C:\> wsl --set-default-version 2

If either of those fail or hang, please collect WSL logs and post the backlink to the feedback item here. You don't need to let it run for hours while collecting the logs, just 30 seconds or so will do, then close the window.

Hello, I tried to wsl.exe --install -d ubuntu, nothing happen only show --help list

Already version 2

The --install feature is only available on Insiders, as of 20211.

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

weird but its actually worked 😂

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password
Had the same issue and this solved it.

I am running Windows 10 Pro version 21H1.

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

Confirmed this. I guess it because restart needed after installing WSL before installing distro

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

9/23/2022, this is still the best solution

I have been trying to install ubuntu and wsl but its been like this for hours. Please whats wrong?

Wasiu

enable VM in BIOS

Thank you very for your support. Please can you help with the procedures to
follow because I am just seeing different things on Google.
On Thu, Oct 6, 2022, 1:56 PM megoRU @.***> wrote:

Wasiu
enable VM in BIOS
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WSL/issues/6405#issuecomment-1269994264,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAJLK643HXZ2D4OSDWFRDLWB3D6ZANCNFSM4VYCZR5A
.
You are receiving this because you commented.Message ID:
@.***>

Thank you very for your support. Please can you help with the procedures to follow because I am just seeing different things on Google.

you don't know how to log in to bios?

Please I don't know.
On Thu, Oct 6, 2022, 5:03 PM megoRU @.***> wrote:

Thank you very for your support. Please can you help with the procedures
to follow because I am just seeing different things on Google.
you don't know how to log in to bios?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WSL/issues/6405#issuecomment-1270328951,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAJLK6H6A5PX3A7ICBLAQTWB3Z3LANCNFSM4VYCZR5A
.
You are receiving this because you commented.Message ID:
@.***>

https://www.makeuseof.com/tag/enter-bios-computer/#:~:text=Common keys to enter the,else%2C like the boot menu.

Have same trouble.
--Check bios settings -- all VT functions checked
--Reinstall virtual machine env and WSL -- success
--Check system via sfc and dism -- success
--Enable nested virtualization -- done
--Update system -- success
--Tried ctrl+c as supposet earlier - it just closes window with cmd((
--None VM installed
Here is logs taken with recommended tool from MS
WslLogs-2022-10-31_02-44-26.zip
WslLogs-2022-10-31_02-36-29.zip
WslLogs-2022-10-31_02-46-07.zip

Thank you!
On Mon, Oct 31, 2022, 1:44 PM Michael Blokhin @.***>
wrote:

Have same trouble.
--Check bios settings -- all VT functions checked
--Reinstall virtual machine env and WSL -- success
--Check system via sfc and dism -- success
--Enable nested virtualization -- done
--Update system -- success
--Tried ctrl+c as supposet earlier - it just closes window with cmd((
--None VM installed
Here is logs taken with recommended tool from MS
WslLogs-2022-10-31_02-44-26.zip
https://github.com/microsoft/WSL/files/9901105/WslLogs-2022-10-31_02-44-26.zip
WslLogs-2022-10-31_02-36-29.zip
https://github.com/microsoft/WSL/files/9901106/WslLogs-2022-10-31_02-36-29.zip
WslLogs-2022-10-31_02-46-07.zip
https://github.com/microsoft/WSL/files/9901107/WslLogs-2022-10-31_02-46-07.zip
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WSL/issues/6405#issuecomment-1297030642,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAJLK63FPAKBVNYI2PLEZDWF65JRANCNFSM4VYCZR5A
.
You are receiving this because you commented.Message ID:
@.***>

UPD
Have found fix that worked for me here https://github.com/microsoft/WSL/issues/7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround
===>

Open "Window Security"
Open "App & Browser control"
Click "Exploit protection settings" at the bottom
Switch to "Program settings" tab
Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
Click "Edit"
Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)
Reboot

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>
1. Open "Window Security"

2. Open "App & Browser control"

3. Click "Exploit protection settings" at the bottom

4. Switch to "Program settings" tab

5. Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it

6. Click "Edit"

7. Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" **(CFG must be ON for this app!)**

8. Reboot

It works! saved my day!!!!

Awesome, thanks!
On Tue, Dec 6, 2022, 3:20 PM roymegan @.***> wrote:

UPD Have found fix that worked for me here #7505
https://github.com/microsoft/WSL/issues/7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG)
enabled, otherwise it will not work.
Here is reproduce of workaround ===>

Open "Window Security"

Open "App & Browser control"

Click "Exploit protection settings" at the bottom

Switch to "Program settings" tab

Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it

Click "Edit"

Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)

Reboot

It works! saved my day!!!!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WSL/issues/6405#issuecomment-1339460367,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAJLKYQHCNXPT6QTQ2KYCDWL5DSNANCNFSM4VYCZR5A
.
You are receiving this because you commented.Message ID:
@.***>

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

This just makes me quit the install

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

This just makes me quit the install

yup, same for me.
what worked for me is running,
wsl --install Ubuntu --web-download
source: https://github.com/microsoft/WSL/issues/9390#issuecomment-1363478259

Had a similar issue.
Ended up stopping the initial command wsl --install and restarted my computer.
It then proceeded to complete some windows updates, and then afterwards I was able to run the command successfully again.

Awesome, thanks! I have it resolved now.
On Thu, 26 Jan 2023, 7:30 pm Justin Wyker, @.***> wrote:

Had a similar issue.
Ended up stopping the initial command wsl --install and restarted my
computer.
It then proceeded to complete some windows updates, and then afterwards I
was able to run the command successfully again.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WSL/issues/6405#issuecomment-1405427086,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXAJLK6LSHMF365CKCPBUQTWUK7DXANCNFSM4VYCZR5A
.
You are receiving this because you commented.Message ID:
@.***>

Finally! The only solution that worked for me. But it took several hours to find him.

Unfortunately doesn't work for me, always hangs on installing, checked same as @shtormish
Check bios settings -- all VT functions checked
Reinstall virtual machine platform and WSL -- success
Check system via sfc and dism -- success
Enable nested virtualization -- done
Update system -- success
Tried ctrl+c but terminal is frozen

If i set WSL to version 1 it actually works

Or run PowerShell as an admin and use:
Set-ProcessMitigation -Name vmcompute.exe -Enable CFG
no reboot required

ctrl+C exited the installation of ubuntu
this solution is not working

@kaiwizz
what worked for me is running, wsl --install Ubuntu --web-download
source: #9390 (comment)

This is the only thing that worked for me.  (Windows 10, WSL2)

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

This just makes me quit the install

Open PowerShell as an Admin then run
wsl --install Ubuntu --web-download
I had the same issue by trying to run Ubuntu by clicking on the icon...

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>

Open "Window Security"
Open "App & Browser control"
Click "Exploit protection settings" at the bottom
Switch to "Program settings" tab
Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
Click "Edit"
Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)
Reboot

@shtormish you saved my day! It worked for me. Now I am able to install Ubuntu and Debian distros.

This isn't working for me, I have virtualisation enabled in BIOS, I did as @shtormish suggested but progress doesn't go past 3.0%

@kaiwizz Thank you! It works

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

This just makes me quit the install

Open PowerShell as an Admin then run
wsl --install Ubuntu --web-download
I had the same issue by trying to run Ubuntu by clicking on the icon...

Thank you. this worked for me. The --web-download was also useful in updating wsl.

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>

Open "Window Security"
Open "App & Browser control"
Click "Exploit protection settings" at the bottom
Switch to "Program settings" tab
Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
Click "Edit"
Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)
Reboot

You wonderful human being. I hope only the best things in life happen to you.
I've spend 3 days trying to get this thing to work. Thank you.

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>
1. Open "Window Security"

2. Open "App & Browser control"

3. Click "Exploit protection settings" at the bottom

4. Switch to "Program settings" tab

5. Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it

6. Click "Edit"

7. Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" **(CFG must be ON for this app!)**

8. Reboot

Confirming this works form me as well (Win10, 22H2), thanks a lot!
Just to note, "Override system settings" was already checked (as well as "On" and "User strict CFG"), but after unchecking and checking again, clicking Apply, and restarting I was finally able to install via wsl.

The solution for me was:
Windows Security -> App & Browser Control -> Exploit Protection Settings
change Control Flow Guard (CFG) to "On"
for both:

C:\Windows\System32\vmwp.exe
C:\Windows\System32\vmcompute.exe

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

Incredible that this worked.

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>
1. Open "Window Security"

2. Open "App & Browser control"

3. Click "Exploit protection settings" at the bottom

4. Switch to "Program settings" tab

5. Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it

6. Click "Edit"

7. Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" **(CFG must be ON for this app!)**

8. Reboot

It works! saved my day!!!!

Thanks a lot, 3 hours I am searching the solution !!! Thanks bro :p

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>
1. Open "Window Security"

2. Open "App & Browser control"

3. Click "Exploit protection settings" at the bottom

4. Switch to "Program settings" tab

5. Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it

6. Click "Edit"

7. Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" **(CFG must be ON for this app!)**

8. Reboot

This actually worked for me. It's wild, how enabling exploit protection can solve an issue insted of creating one. :O

UPD Have found fix that worked for me here #7505
It seems that vmcompute.exe must be strictly Code flow guard (CFG) enabled, otherwise it will not work.
Here is reproduce of workaround ===>

Open "Window Security"
Open "App & Browser control"
Click "Exploit protection settings" at the bottom
Switch to "Program settings" tab
Add/Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it
Click "Edit"
Scroll down to "Code flow guard (CFG)" and uncheck/check "Override system settings" (CFG must be ON for this app!)
Reboot

##This worked. You saved my life

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

weird but its actually worked 😂

Could anyone somehow pin this? or actually author @djrranga of this post could edit his issue description with the workaround? :)

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

I encountered this problem on Win11 24H2 LTSC, using your method it work! thanks!

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

weird but its actually worked 😂

Could anyone somehow pin this? or actually author @djrranga of this post could edit his issue description with the workaround? :)

Done! Surprised this is still open 3 years later ;)

I was just trying to install WSL today and have the same issue with Ubuntu-22.04 or Ubuntu-24.04 distro.  But when I switch to wsl 2
wsl --set-default-version 2
Then run the install again
wsl --install -d Ubuntu-22.04
It start to work.

thanks a lot

I got the same issue, but found a workaround: you just have to use ctrl+c and then it will continue and ask you for a username and password

thank you ahahaha it Work!


Move video recording logic from Scene3D to VideoRecorder

The video recorder plugin  provides a button for recording videos. However, all the logic involved in actually recording is contained within the scene 3D plugin. All the video recorder plugin does is call a service to start and stop recording.
This is not a very good separation of concerns. I believe all the video rendering and synchronizing logic that is currently in Scene3D could be moved to the VideoRecorder, making use of the render event. @iche033 , do you think that should work?
The scene 3D code is already getting quite bloated. We should try to keep logic that is optional, and not directly necessary to render the 3D scene, inside each specific plugin. That should make plugins easier to maintain and users can easily opt-out of them.

I think it's possible. We would need to be able to access the gui camera though. I think we'll just have to make some assumption that the scene on the gui side only has one camera (which should be the case for now) and look for that camera from the video recorder plugin through the render engine singleton.

This has been done on Fortress: https://github.com/ignitionrobotics/ign-gazebo/pull/900


Error when compiling on ARM

Using freshly installed Debian 12 on amd64, I am able to compile MII (the 1.9.7 release) without issue, per the instructions provided. I install the required dependencies, type make, and off we go.
Using freshly installed Debian 12 on arm64, identical setup, I get the following:
src/mii_video.c:27:10: fatal error: emmintrin.h: No such file or directory
   27 | #include <emmintrin.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:150: build-aarch64-linux-gnu/obj/mii_video.o] Error 1

Any thoughts on how to proceed?
Thanks for your work on this fine emulator.

Good catch! Heres a small patch to fix it; I'll push that with the next version:
@@ -23,7 +23,7 @@
 typedef uint32_t u32_v __attribute__((vector_size(32)));
 #define VEC_ALIGN 31
 #define VEC_ECOUNT 8
-#else
+#elif defined(__SSE2__)
 #include <emmintrin.h>
 typedef uint32_t u32_v __attribute__((vector_size(16)));
 #define VEC_ALIGN 15

Just pushed a 'proper' fix for this, hope this help ;-)


Fix feature tests

A change in a previous commit[1] was not picked up by the branch build
for some reason, and only failed once merged into master. This PR should
fix the issue.
[1] https://github.com/alphagov/whitehall/pull/4904

Just an FYI this probably happened because cucumber tests hadn't been running for a while.  Fixed in this https://github.com/alphagov/whitehall/pull/4912, which was merged yesterday.

 (2) Mark up share links as English


Ignite initial code commit

Pull request for ignite initial code commit.

closing to create new pull request to resolve makefile issue


feat: universal www-authenticate support

Resolves https://github.com/bazel-contrib/rules_oci/issues/422
This pr implements a universal WWW-Authenticate that supports the regular authentication process (done by crane auth token).
Difficulty in using a private registry with authentication was a big hurdle in migrating to rules_oci, and I think I solved it.
Need discussed:

crane auth token will only read $HOME/.docker/config.json as config, so attr config will be ignored when registry use Bearer challenge. This needs to be discussed. (Of course, we can simply let the original _WWW_AUTH address continue to execute the old code.)
Similar to the previous, crane auth token cannot use outer config, attr config will be ignored. However, from another point of view, push supports config, which is a very strange thing in itself.

ready now

i am somehow sympathetic  to this idea, let me give it more thought.

post mount failed in ci, but why?

The original method will pollute the MODULE.bazel.lock (platform attribute). Use canonical name to find compatible name.
It looks ready for production.
2 ci fail on post mount.

@thesayyn WDYT

ping @thesayyn

rebased
@thesayyn

This looks like an improvement, thanks! Is there an ETA to get it in?

I see, before 2.0 released, this pr should be open.
If auth need, this pr can be temp used.

Hey, sorry after giving this a thorough thought, i don't think we want to do this for the reasons i will do my best to explain.

This creates a  hard dependency on crane which we can't remove later on because now it will be leaking into the process oci_pull, meaning that any authorization error will make us ask two questions; is it caused by crane or oci_pull's builtin auth.

This is already possible to do without changing oci_pull at all, you can simply use a --credential_helper script which essentially does the same thing.

common  --credential_helper=index.docker.io=%workspace%/credential_helper.sh

This prevents offline builds, as now any http request made by crane isn't tracked by Bazel, making it impossible to have offline builds.

Thank you for the effort though!


0xE1 not return from smart electric meter

@nao-pon
I have a problem with  smart electric meter. In my meter return. it have not 0xE1 power unit property. So it can not get Measured cumulative amounts data. Have you same problem with this? both mitsubishi and hitachi meter have this problem with me.

Hi, can you enable debugging in the custom component and post the log output here? Though if you don't have 0xE1 available you might be stuck. There might be something else we can use though, or you might have to use a template.

ahhhh, okay I see whats happening. if you are not getting 0xE1 then maybe we need to take that into account when calculating 0xE0 value.

I haven't started on this yet, but the fact that the spec doesn't give you the required parameters means you have no choice but to guess the coefficients and apply them. That's exactly what @scottyphillips-work  said.
I approach this problem by looking at past versions of the spec to see if I can accommodate it properly.

I checked the specifications of the early version of Echonet Lite, and as expected, E1 is a required parameter, and the initial value is a multiplication factor of 0.001kWh. Multiplying by 0.001kWh when E1 is not available is questionable.
@leonunix Could you please debug the log and attach the actual data?

@nao-pon
smart electric meter is work in wisun interface. So i have write a convert by your source. But it is more easy. It only recive packet and send to wisun and forward it to homeassist. It is the log file for my convert app.
https://github.com/leonunix/python-echonetlite-broute
echolite.log

Dec 11 07:36:33 b-route python3[642]: echonet_lite.Property(EPC=0xe0, PDC=4, EDT=bytearray(b'\x00\x00\x10\xf3'))
When I convert to b'\x00\x00\x10\xf3 int value I get 4339 as a value is that 4339kwhs? Does that number sound right?

@nao-pon rather then try to second guess how to handle it among different vendors, maybe we just pass the value as it is in the absence of a co-efficient and multiplier and document it in the readme file?

There is a configuration for the IP address in "config/.storage/core.config_entries", could you please attach it?
The data looks like this:
      {
        "entry_id": "9699a67114cfaa243d51d2e47d0dc188",
        "version": 1,
        "domain": "echonetlite",
        "title": "Mitsubishi Electric",
        "data": {
          "instances": [
            {
              "host": "<IP_ADDRESS>",
              "eojgc": 2,
              "eojcc": 136,
              "eojci": 1,
              "ntfmap": [
                128,
                129,
                136,
                224,
                227,
                231,
                232
              ],
              "getmap": [
                128,
                224,
                129,
                225,
                130,
                226,
                211,
                227,
                228,
                229,
                151,
                215,
                231,
                136,
                152,
                232,
                138,
                234,
                235,
                236,
                141,
                157,
                237,
                158,
                159
              ],
              "setmap": [
                129,
                229,
                237
              ],
              "uid": "001204",
              "uidi": "001204-2-136-1",
              "manufacturer": "Mitsubishi Electric"
            },
            {
              "host": "<IP_ADDRESS>",
              "eojgc": 6,
              "eojcc": 1,
              "eojci": 1,
              "ntfmap": [
                128
              ],
              "getmap": [
                128
              ],
              "setmap": [
                128
              ],
              "uid": "001204",
              "uidi": "001204-6-1-1",
              "manufacturer": "Mitsubishi Electric"
            }
          ]
        },
        "options": {
          "other_mode": "as_off"
        },
        "pref_disable_new_entities": false,
        "pref_disable_polling": false,
        "source": "user",
        "unique_id": null,
        "disabled_by": null
      },

@nao-pon
this is my file
@scottyphillips
yes. but unit is 0.1 so  433.9kw is right
`      {
"entry_id": "e73950d0617398fac01abec7988b5af6",
"version": 1,
"domain": "echonetlite",
"title": "smart_meter",
"data": {
"instances": [
{
"host": "<IP_ADDRESS>",
"eojgc": 2,
"eojcc": 136,
"eojci": 1,
"ntfmap": [
128,
129,
136
],
"getmap": [
128,
224,
129,
225,
130,
226,
211,
227,
228,
229,
151,
215,
231,
136,
152,
232,
138,
234,
235,
236,
141,
157,
237,
158,
159
],
"setmap": [
129,
229,
237
],
"uid": "000016001c6400034e67df0000000000",
"uidi": "000016001c6400034e67df0000000000-2-136-1",
"manufacturer": "Toshiba"
}
]
},

Since getmap has E1(225), data is obtained by polling. Could you please attach the debug log polling data?
The polling data looks like this:
2023-12-11 16:38:19.697 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Raw data is b'\x10\x81\x00\x03\x02\x88\x01\x05\xff\x01r\x07\x80\x010\xe0\x04\x00\x0b\xc7\x94\xe3\x04\x00\x00\x00,\xe7\x04\x00\x00\x06\xe8\xe8\x04\x00\x82\x00<\xd3\x04\x00\x00\x00\x01\xe1\x01\x01'
2023-12-11 16:38:19.697 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Processed data is {'EHD1': 16, 'EHD2': 129, 'TID': 3, 'SEOJGC': 2, 'SEOJCC': 136, 'SEOJCI': 1, 'DEOJGC': 5, 'DEOJCC': 255, 'DEOJCI': 1, 'ESV': 114, 'OPC': [{'EPC': 128, 'PDC': 1, 'EDT': b'0'}, {'EPC': 224, 'PDC': 4, 'EDT': b'\x00\x0b\xc7\x94'}, {'EPC': 227, 'PDC': 4, 'EDT': b'\x00\x00\x00,'}, {'EPC': 231, 'PDC': 4, 'EDT': b'\x00\x00\x06\xe8'}, {'EPC': 232, 'PDC': 4, 'EDT': b'\x00\x82\x00<'}, {'EPC': 211, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}, {'EPC': 225, 'PDC': 1, 'EDT': b'\x01'}]}
2023-12-11 16:38:19.698 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - tid_data is {}
2023-12-11 16:38:19.698 DEBUG (MainThread) [custom_components.echonetlite]
ECHONETlite polling update data:
 - Operation status (0x80): On
 - Operation status (0x80): On
 - Measured cumulative amount of electric energy (normal direction) (0xe0): 771988
 - Measured cumulative amounts of electric energy (reverse direction) (0xe3): 44
 - Measured instantaneous electric energy (0xe7): 1768
 - Measured instantaneous currents (0xe8): {'r_phase_amperes': 13.0, 't_phase_amperes': 6.0}
 - Coefficient (0xd3): 1
 - Unit for cumulative amounts of electric energy (normal and reverse directions) (0xe1): 0.1

Very very odd if 0xE1 is available but the sensor is not working. If E1 was returning 'None' for example you might expect to see a TypeError.

hey @leonunix have you managed to obtain the debug logs yet?

023-12-18 08:45:58.629 DEBUG (MainThread) [custom_components.echonetlite] Starting ECHONETLite LowVoltageSmartElectricEnergyMeter instance at <IP_ADDRESS>
2023-12-18 08:45:58.629 DEBUG (MainThread) [custom_components.echonetlite] UID for ECHONETLite instance at <IP_ADDRESS>  is 000016001c6400034e67df0000000000.
2023-12-18 08:46:32.418 DEBUG (MainThread) [custom_components.echonetlite] Polling ECHONET Instance host <IP_ADDRESS> timed out. Retry 1 of 3
2023-12-18 08:46:37.183 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Raw data is b'\x10\x81\x00#\x02\x88\x01\x05\xff\x01R\x06\x80\x010\xe0\x04\x00\x00\x12<\xe3\x04\x00\x00 \xdd\xe7\x04\x00\x00\x00\x01\xe8\x04\x00\n\xff\xec\xd3\x04\x00\x00\x00\x01'
2023-12-18 08:46:37.183 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Processed data is {'EHD1': 16, 'EHD2': 129, 'TID': 35, 'SEOJGC': 2, 'SEOJCC': 136, 'SEOJCI': 1, 'DEOJGC': 5, 'DEOJCC': 255, 'DEOJCI': 1, 'ESV': 82, 'OPC': [{'EPC': 128, 'PDC': 1, 'EDT': b'0'}, {'EPC': 224, 'PDC': 4, 'EDT': b'\x00\x00\x12<'}, {'EPC': 227, 'PDC': 4, 'EDT': b'\x00\x00 \xdd'}, {'EPC': 231, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}, {'EPC': 232, 'PDC': 4, 'EDT': b'\x00\n\xff\xec'}, {'EPC': 211, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}]}
2023-12-18 08:46:37.183 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - tid_data is {}
2023-12-18 08:46:37.249 DEBUG (MainThread) [custom_components.echonetlite] Polling ECHONET Instance host at <IP_ADDRESS> succeeded. Retry 2 of 3
2023-12-18 08:46:37.250 DEBUG (MainThread) [custom_components.echonetlite] Plaform entry data - {'instances': [{'host': '<IP_ADDRESS>', 'eojgc': 2, 'eojcc': 136, 'eojci': 1, 'ntfmap': [128, 129, 136], 'getmap': [128, 224, 129, 225, 130, 226, 211, 227, 228, 229, 151, 215, 231, 136, 152, 232, 138, 234, 235, 236, 141, 157, 237, 158, 159], 'setmap': [129, 229, 237], 'uid': '000016001c6400034e67df0000000000', 'uidi': '000016001c6400034e67df0000000000-2-136-1', 'manufacturer': 'Toshiba'}]}
2023-12-18 08:46:37.252 DEBUG (MainThread) [custom_components.echonetlite.sensor] Configuring ECHONETLite sensor {'instance': {'host': '<IP_ADDRESS>', 'eojgc': 2, 'eojcc': 136, 'eojci': 1, 'ntfmap': [128, 129, 136], 'getmap': [128, 224, 129, 225, 130, 226, 211, 227, 228, 229, 151, 215, 231, 136, 152, 232, 138, 234, 235, 236, 141, 157, 237, 158, 159], 'setmap': [129, 229, 237], 'uid': '000016001c6400034e67df0000000000', 'uidi': '000016001c6400034e67df0000000000-2-136-1', 'manufacturer': 'Toshiba'}, 'echonetlite': <custom_components.echonetlite.ECHONETConnector object at 0x7f063b51a3d0>}
2023-12-18 08:47:07.453 DEBUG (MainThread) [custom_components.echonetlite] Polling ECHONET Instance host <IP_ADDRESS> timed out. Retry 1 of 3
2023-12-18 08:47:12.710 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Raw data is b'\x10\x81\x005\x02\x88\x01\x05\xff\x01R\x06\x80\x010\xe0\x04\x00\x00\x12<\xe3\x04\x00\x00 \xdd\xe7\x04\x00\x00\x00\x00\xe8\x04\x00\n\xff\xec\xd3\x04\x00\x00\x00\x01'
2023-12-18 08:47:12.710 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Processed data is {'EHD1': 16, 'EHD2': 129, 'TID': 53, 'SEOJGC': 2, 'SEOJCC': 136, 'SEOJCI': 1, 'DEOJGC': 5, 'DEOJCC': 255, 'DEOJCI': 1, 'ESV': 82, 'OPC': [{'EPC': 128, 'PDC': 1, 'EDT': b'0'}, {'EPC': 224, 'PDC': 4, 'EDT': b'\x00\x00\x12<'}, {'EPC': 227, 'PDC': 4, 'EDT': b'\x00\x00 \xdd'}, {'EPC': 231, 'PDC': 4, 'EDT': b'\x00\x00\x00\x00'}, {'EPC': 232, 'PDC': 4, 'EDT': b'\x00\n\xff\xec'}, {'EPC': 211, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}]}
2023-12-18 08:47:12.710 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - tid_data is {}
2023-12-18 08:47:12.796 DEBUG (MainThread) [custom_components.echonetlite] Polling ECHONET Instance host at <IP_ADDRESS> succeeded. Retry 2 of 3
2023-12-18 08:48:13.035 DEBUG (MainThread) [custom_components.echonetlite] Polling ECHONET Instance host <IP_ADDRESS> timed out. Retry 1 of 3
2023-12-18 08:48:18.108 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Raw data is b'\x10\x81\x00W\x02\x88\x01\x05\xff\x01R\x06\x80\x010\xe0\x04\x00\x00\x12<\xe3\x04\x00\x00 \xdd\xe7\x04\xff\xff\xff\xff\xe8\x04\x00\n\xff\xec\xd3\x04\x00\x00\x00\x01'
2023-12-18 08:48:18.109 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Processed data is {'EHD1': 16, 'EHD2': 129, 'TID': 87, 'SEOJGC': 2, 'SEOJCC': 136, 'SEOJCI': 1, 'DEOJGC': 5, 'DEOJCC': 255, 'DEOJCI': 1, 'ESV': 82, 'OPC': [{'EPC': 128, 'PDC': 1, 'EDT': b'0'}, {'EPC': 224, 'PDC': 4, 'EDT': b'\x00\x00\x12<'}, {'EPC': 227, 'PDC': 4, 'EDT': b'\x00\x00 \xdd'}, {'EPC': 231, 'PDC': 4, 'EDT': b'\xff\xff\xff\xff'}, {'EPC': 232, 'PDC': 4, 'EDT': b'\x00\n\xff\xec'}, {'EPC': 211, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}]}
2023-12-18 08:48:18.109 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - tid_data is {}
2023-12-18 08:48:18.183 DEBUG (MainThread) [custom_components.echonetlite] Polling ECHONET Instance host at <IP_ADDRESS> succeeded. Retry 2 of 3

this is part of logs

Looks like a broken implementation of 0xE1, or your Toshiba perhaps has a silly limit to the number of EPC requests it can handle?
Two options here:
Option 1 - Will definitely work.
Change the code in sensor.py as I suggested originally to accommodate your use case:
     ]:  # Measured cumulative amounts normal or revers
                if self._eojgc == 0x02 and self._eojcc == 0x88:
                    if self._connector._update_data.get(0xE1):
                        coef = self._connector._update_data.get(0xD3) or 1
                        return (
                            self._state_value
                            * coef
                            * self._connector.update_data[0xE1]
                        )  # value in kWh
                    else:
                        return self.state_value * 0.1

Option 2 - might not work - tune down the number of requests per packet:
In init.py of the custom component there is a setting:
PARALLEL_UPDATES = 0
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1)
MAX_UPDATE_BATCH_SIZE = 10

Change to :
MAX_UPDATE_BATCH_SIZE = 5

@scottyphillips-work
you are right. I think SmartElectricEnergyMeter is work on wisun  interface. So it has some limit on it . I change MAX_UPDATE_BATCH_SIZE to 5. It works.
2023-12-18 10:02:57.698 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Processed data is {'EHD1': 16, 'EHD2': 129, 'TID': 174, 'SEOJGC': 2, 'SEOJCC': 136, 'SEOJCI': 1, 'DEOJGC': 5, 'DEOJCC': 255, 'DEOJCI': 1, 'ESV': 114, 'OPC': [{'EPC': 211, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}, {'EPC': 225, 'PDC': 1, 'EDT': b'\x01'}]}
2023-12-18 10:02:57.698 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - tid_data is {}
2023-12-18 10:02:57.755 DEBUG (MainThread) [custom_components.echonetlite]
ECHONETlite polling update data:
 - Operation status (0x80): None
 - Operation status (0x80): None
 - Measured cumulative amount of electric energy (normal direction) (0xe0): None
 - Measured cumulative amounts of electric energy (reverse direction) (0xe3): None
 - Measured instantaneous electric energy (0xe7): None
 - Measured instantaneous currents (0xe8): None
 - Coefficient (0xd3): 1
 - Unit for cumulative amounts of electric energy (normal and reverse directions) (0xe1): 0.1

I’m sure there is some way we can made this batch size sliding to accommodate this issue in the future, by perhaps comparing the expected number of EPCs with the number actually received and adjusting on the fly.
Scott
Sent from my iPhone
On 18 Dec 2023, at 12:04 pm, leonunix @.***> wrote:

@scottyphillips-workhttps://github.com/scottyphillips-work
you are right. I think SmartElectricEnergyMeter is work on wisun interface. So it has some limit on it . I change MAX_UPDATE_BATCH_SIZE to 5. It works.
2023-12-18 10:02:57.698 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - Processed data is {'EHD1': 16, 'EHD2': 129, 'TID': 174, 'SEOJGC': 2, 'SEOJCC': 136, 'SEOJCI': 1, 'DEOJGC': 5, 'DEOJCC': 255, 'DEOJCI': 1, 'ESV': 114, 'OPC': [{'EPC': 211, 'PDC': 4, 'EDT': b'\x00\x00\x00\x01'}, {'EPC': 225, 'PDC': 1, 'EDT': b'\x01'}]}
2023-12-18 10:02:57.698 DEBUG (MainThread) [custom_components.echonetlite] ECHONETLite Message Received from <IP_ADDRESS> - tid_data is {}
2023-12-18 10:02:57.755 DEBUG (MainThread) [custom_components.echonetlite]
ECHONETlite polling update data:

Operation status (0x80): None
Operation status (0x80): None
Measured cumulative amount of electric energy (normal direction) (0xe0): None
Measured cumulative amounts of electric energy (reverse direction) (0xe3): None
Measured instantaneous electric energy (0xe7): None
Measured instantaneous currents (0xe8): None
Coefficient (0xd3): 1
Unit for cumulative amounts of electric energy (normal and reverse directions) (0xe1): 0.1

—
Reply to this email directly, view it on GitHubhttps://github.com/scottyphillips/echonetlite_homeassistant/issues/150#issuecomment-1859372739, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHQNDBRDYMIOLU6S2B7OCLYJ6I73AVCNFSM6AAAAABACH2S5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGM3TENZTHE.
You are receiving this because you were mentioned.Message ID: @.***>

I started working on this. I'm considering adding an option for max number of batches and further auto-adjusting that value.

If you are willing to try it out, you can try out the modified features in my echonetlite edge branch.

https://github.com/nao-pon/echonetlite_homeassistant


feat(storage): suppport disk object store

What's changed and what's your intention?
In this PR, we implement a disk object store for future spill to disk support. The local file system is used to maintain the path hierarchy and store the object data.
Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)
part of #2384

Do we have plan to support multiple object store backends for Hummock? If we want to spill to disk, I guess we are running two backends. I'm also thinking whether disk should be an object store. Maybe we only need to have disk interface for spill-to-disk, without making it a kind of object store>

Do we have plan to support multiple object store backends for Hummock? If we want to spill to disk, I guess we are running two backends. I'm also thinking whether disk should be an object store.

Yes, in my development plan, we will have two object store, one for local and one for remote. The sstable table store will hold the two object store and do the routing according to the highest bit of the sstable id. A more progressed PR is #2384, and since it's too large, I split in into several smaller PR like this one.

Maybe we only need to have disk interface for spill-to-disk, without making it a kind of object store?

Since the spilled files will be in SST format, making it an object store can share some logic when we read SST and make the code neater. In future PR I will introduce a stream-like uploader for object store so that we don't have to buffer the whole SST in memory when we are using disk object store.

we will have two object store
Looks good!

Just added an opened file cache. Used spawn_blocking as a work-around to call file.read_exact_at.
Also extracted the common logic of deduplicating concurrent request on cache entry in cache.lookup_with_request_dedup. Block cache and meta cache, which uses the cache.lookup_for_request, are refactored accordingly.


Adding a text method with separator to allow splitting of results

I came across the use case of needing to split the result of the text() method but didn't want to extend element and thought this may be a useful addition

Thanks for this, jsoup currently returns text separated by a space, while all browsers return the innerText separated by a new line which I find really useful while I parse simple text and don't want to be bothered about the internal node structure.
Ability to specify a custom delimiter is an added bonus as I now can easily distinguish multi line paragraphs.

Hi, thanks for this, looks interesting.
The example in the javadoc you included doesn't work. It returns Hello there now! Can you check that? Here's some extra test cases that I think would be good to include:
        doc = Jsoup.parse("
Hello  there now!
");
        assertEquals("Hello,,there,,now!", doc.textWithSeparator(",,"));
        assertEquals("Hellotherenow!", doc.textWithSeparator(null));
        assertEquals("Hello\nthere\nnow!", doc.textWithSeparator("\n"));
        assertEquals("Hello$there$now!", doc.textWithSeparator("$"));

Also, I think the method name textSeperatedBy(sep) might be a bit more active / clearer.

Please reopen this if you want to progress it. Thanks!


webapp: MS document link for restoring web App with Azure CLI

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Customer has raised concern with below MS document link for restoring web App with Azure CLI .
https://docs.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest#az_webapp_config_backup_restore
customer gets confuse with required parameter --webapp-name and optional parameter [--target-name]
To Reproduce
We tried to reproduce scenario restoring web App using above CLI script. Below are our findings:
•	Az command does not work as per description in document the below parameter mentioned as optional however script always fails with below error if it we don’t mentions parameter --overwrite
--overwrite
Overwrite the source web app, if --target-name is not specified.
Parameter 'RestoreRequest.overwrite' can not be None.
•	When using below parameter error related to Resource Group or "... WebApp name required" or "...command not found errors "
--target-name
The name to use for the restored web app. If unspecified, will default to the name that was used when the backup was created.
Restore is successful using below Azure CLI:
utkarsha@Azure:~$ az webapp config backup restore --backup-name "Mrutest_202102150747" --container-url "https://testakhilesh.blob.core.windows.net/testbackupcontainer?sp=rwdl&st=2021-02-15T07:47:14Z&se=2294-11-30T07:47:14Z&sv=2020-02-10&sr=c&sig=KvrT0ceKuiIimzFPfNcyTtkgnS7JsNTUN%2FhbHy6l1RI%3D" --resource-group "mrutest123" --webapp-name "mrutest" --target-name "qaaphp" --overwrite
utkarsha@Azure:~$
Expected behavior
Requesting you to look into above findings as customer wants update in backup config document : https://docs.microsoft.com/en-us/cli/azure/webapp/config/backup?view=azure-cli-latest#az_webapp_config_backup_restore
Environment summary
Using Azure CLI from Azure Portal
Additional context
Please update this MS Documentation and make it more convenient for user to understand.

web App

@ThejaChoudary can you check if we repro this behavior - we haven't changed this command on CLI for a while but maybe the API has been changed that might cause this behavior change. If so we can get the API folks involved. Thanks!

@panchagnula Able to repro the issue Sisira.

@panchagnula Able to repro the issue Sisira.

Going to start an internal thread with the feature owners to help resolve this.

The issue is with & char in the container-url. The CLI parsing breaks as & is- a reserved character.
Wrapping the container-url around two sets of quotes is the current working mitigation. Ex : '""'.
Thanks & Regards,
Ashok K.


Fixing the zip link the right way.

credit @blacelle

LGTM would prefer something like:
try (final ZipInputStream zis = getResourceAsStream(); BufferedReader buf = new BufferedReader(new InputStreamReader(zis));) {

@blacelle  I am sure it would. Let us see if it is happy now.
Note that this is really unimportant stuff. This is not part of our library, it is just benchmarking stuff.

Merging.


KAFKA-2702: ConfigDef toHtmlTable() sorts in a way that is a bit conf…

…using

Since this changes the behavior of passing "" in the default field to now mean a default of "" and not NO_DEFAULT_VALUE. We should probably review those to be sure the intent.
For example in ConsumerConfig, I think group.id should be NO_DEFAULT_VALUE: ConsumerConfig.java#L173

LGTM


drivers: sensor: ams_as5600: Fix calculation of fractional part

This is backport of #67590 to v3.4.  drivers/sensor/ams_as5600/ams_as5600.c is introduced before v3.3. #67590 is the first change to the file.

#67590

I didn't know we only use one issue for all backports.  closeing this in favor of #70142.


Cannot use cooperative_groups in RawKernels

Description
I cannot use cooperative_groups with RawKernels. Here is a reproduction script
add_kernel = cp.RawKernel(r'''
#include <cooperative_groups.h>

extern "C" __global__
void my_add(const float* x1, const float* x2, float* y) {
    int tid = blockDim.x * blockIdx.x + threadIdx.x;
    y[tid] = x1[tid] + x2[tid];
}

''', 'my_add')

x1 = cp.arange(25, dtype=cp.float32).reshape(5, 5)
x2 = cp.arange(25, dtype=cp.float32).reshape(5, 5)
y = cp.zeros((5, 5), dtype=cp.float32)
add_kernel((5,), (5,), (x1, x2, y))  # grid, block and arguments

Yields
CompileException: /tmp/tmpvcxs1_g6/b541e5949235b825327e7e07cd2c7ffb0bdedd87.cubin.cu(2): catastrophic error: cannot open source file "cooperative_groups.h"

1 catastrophic error detected in the compilation of "/tmp/tmpvcxs1_g6/b541e5949235b825327e7e07cd2c7ffb0bdedd87.cubin.cu".
Compilation terminated.

The weird thing is that other includes work fine like cuda_fp16.h, includes, compiles and executes correctly.
Installation details
I'm running cupy on a fresh install from conda (less than a week), version is 11.6.0. GPU is GTX 2070 running cuda 12.2.
OS                           : Linux-5.19.0-76051900-generic-x86_64-with-glibc2.35
Python Version               : 3.10.9
CuPy Version                 : 11.6.0
CuPy Platform                : NVIDIA CUDA
NumPy Version                : 1.23.5
SciPy Version                : 1.10.1
Cython Build Version         : 0.29.33
Cython Runtime Version       : None
CUDA Root                    : /home/guillaumeleclerc/miniconda3/envs/ffcv_new
nvcc PATH                    : None
CUDA Build Version           : 11020
CUDA Driver Version          : 12020
CUDA Runtime Version         : 11080
cuBLAS Version               : (available)
cuFFT Version                : 10900
cuRAND Version               : 10300
cuSOLVER Version             : (11, 4, 1)
cuSPARSE Version             : (available)
NVRTC Version                : (11, 8)
Thrust Version               : 101000
CUB Build Version            : 101000
Jitify Build Version         : f670b37
cuDNN Build Version          : 8401
cuDNN Version                : 8902
NCCL Build Version           : 21403
NCCL Runtime Version         : 21801
cuTENSOR Version             : None
cuSPARSELt Build Version     : None
Device 0 Name                : NVIDIA GeForce RTX 2070 with Max-Q Design
Device 0 Compute Capability  : 75
Device 0 PCI Bus ID          : 0000:01:00.0

Thanks for the help!

#include <cooperative_groups.h> should work, could you share the reproducer code and error messages you get?

Yes please fill in the information that the issue template asks for. We can't help you without enough information.

I apologize, I assumed it wasn't supported out of the box and didn't think it was as a bug and therefore didn't do a proper bug report. I will update the original post now

Thanks. This helps. The compiler error says the header is not found, which is expected if you install via pip/conda and have no local CUDA Toolkit installed. Lots of CUDA headers are not redistributable, so CuPy only bundles the minimal ones that allow the core functionalities and are permitted by the CUDA EULA.
If you installed CuPy from conda-forge, and are using CUDA 12, as a workaround I'd suggest you to also install the cuda-cudart-dev package, and pass the header location
cp.RawKernel(..., options=(f"-I{os.environ['CONDA_PREFIX']}/targets/linux-x86_64/include",))

to RawKernel option. The CUDA packages on conda-forge are officially supported by NVIDIA.
However, given what you said

I'm running cupy on a fresh install from conda (less than a week), version is 11.6.0. GPU is GTX 2070 running cuda 12.2.
...
CuPy Version                 : 11.6.0
...
CUDA Build Version           : 11020
CUDA Driver Version          : 12020
CUDA Runtime Version         : 11080
...

I am not sure how you installed CuPy? This version seems quite outdated, and you're certainly not using the CUDA 12 build. Maybe you should update your conda, create a new conda environment, and install cupy there?

Thank you so much! It worked.


Add clarification about how prev/next exercise commands work.

Just merged this PR. Something that I forgot: when updating README.md, a corresponding, updated copy of README.pdf should be generated (I use Markdown pro for this).


Curl is incorrect when using relative spec-url

When using relative spec-url the curl is missing the server part:
<rapi-doc id="rapidoc" show-header="false" theme="dark" layout="row" spec-url="/swagger/spec-1.0.yml"></rapi-doc>

curl -X GET "/ds/assets?"

can you confirm if servers or host is specified in the spec ?

There is no servers or host in the spec file.

Is your, 'TRY' API call working ?
However, If it is missing in the spec, and you dont have any control on the spec, you can define the server in the <rapi-doc> element using server attribute
Let me know, if this is not the solution you like to settle for and have any alternate suggestion

The Try API calls are working.
The same spec file with swagger-ui gives : curl -X GET "http://<server>:<port>/ds/assets" -H  "accept: */*"

Can you help find out the url generated by swagger-ui is relative to where you are hosting the .html or the API spec
Say you your html is at http://example.com/api-doc.html and your spec is at  http://example.com/spec/petstore.json .
<rapi-docs> The Try API uses the .html's location

The spec is hosted on the same server as the html. It is specified by a relative url:
<rapi-doc id="rapidoc" show-header="false" theme="dark" layout="row" spec-url="/swagger/diff-server-1.0.yml"/>

released 4.2.2, which should take care of this issue. Feel free to re-open in case it isnt working the way you expect it to be


Is API docs page not latest?

I have found no TerraDrawOpenLayersAdaptor API docs but there is source code indeed src/adapters/openlayers.adapter.ts

Hey @onsummer thanks for raising this! Yes the docs had not been updated - appreciate you reminding me. I've updated and they are now live on terra-draw.io.


Integrate gradle play publisher for automatic alpha releases

Description (required)
Fixes #1056

Codecov Report

Merging #2116 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #2116   +/-   ##
======================================
  Coverage    5.49%   5.49%
======================================
  Files         231     231
  Lines       11546   11546
  Branches     1075    1075
======================================
  Hits          635     635
  Misses      10859   10859
  Partials       52      52

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 1b01c65...75304da. Read the comment docs.

Merging this PR to test the integration.


Timeout when creating - Dedicated Cluster

@Mongey , Could you please increase the timeout value to 30 mins, since dedicated cluster creation takes more time compare to basic cluster. terraform throws an error after 5 mins.

Closed by #66


duplicate existing builds and add --prefer-lowest to the new builds

duplicate existing builds and add --prefer-lowest to the new builds so that our composer ranges are verified through unit tests.

looks like this is addressed in !348 as well.


Expose IHttpResponse::SuppressHeaders

In some advanced scenarios, user may want to write raw http response. IIS API SuppressHeaders allows users to remove all http headers. https://msdn.microsoft.com/en-us/library/ms689172(v=vs.90).aspx

We have no plans to do this.


Graph constructions metrics do not support batch size >1

Because particle_id is not unique accross badges, the segment fractions might currently be incorrect for higher batch sizes

Hi, is this issue still open? I would like to get assigned


add aichat with streaming operation

@allenjzhang

Can you add a readme.md here

Under aichat? It's currently under aichat/spec but happy to move it.


Revert checked-mode patch.

LGTM!

(This was reverted because it caused the analyzer benchmark to take twice as long.)


Added Task Manager App

A basic Task Manager App, You can add the tasks, edit/update a task, mark the task as completed and delete the task if not wanted to be list

Please follow Readme.md file.


Publically expose immutable attributes on MetricWrapperBase

things like MetricWrapperBase._labelnames are immutable, but are passed in as parameters when instantiating MetricWrapperBase objects. These would be useful if they were exposed?
@property
def labelnames(self) -> Tuple[str, ...]:
    return self._labelnames

Hello, do you have a concrete use case where you would like to use the the labelnames specified on a metric? If it is helpful I can see exposing it, but I don't know of a required use case today.

(Admittedly this is from legacy code that I have not written myself) But the use case we have is that we keep track of these label names externally and compare them against the inputs just to make sure what the function is receiving is correct before being passed on, its just not very clean this way.


media placeholder

https://github.com/widgetti/ipypopout/assets/1765949/61091b71-309c-472f-8814-184ea2012b82
https://github.com/widgetti/ipypopout/assets/1765949/921cc371-5c2d-487a-a495-8532484cccfe


how to set timeout connection.connect() with CallbackConnection  ？

How to set the timeout for connection.connect (new Callback  () {}}); when using CallbackConnection without setting reconnect?
version 1.12

MQTT mqtt = getMqtt();
futureConnection = mqtt.futureConnection();
futureConnection.connect().await(CONNECT_TIMEOUT, TimeUnit.SECONDS);


2.4 cleanup, mostly cosmetic

Most of these are cosmetic:

Fixed Issue #35
Added original hashes to remove warnings for overrides
Avoid showing price of 0.00 when price is not available (instead show blank)
Handle saving blank values (save as nil) -- previously it would save as 0.00 (which would show the item as FREE!)
Fixed the icon for prices tab

Just updated 2-4-stable so this need rebase.

@aegixx Thank you, this has been cherry-picked into 2-4-stable branch except from e10f828 that was already fixed with 3364a138943fbc651b1be74e4d5c13bb5b112ad5


New README

@damienbod @FabianGosebrink
I pushed a new branch: https://github.com/damienbod/AngularWebpackVisualStudio/tree/Docs_refactoring
Changes:

Move explanations to docs folder
New README

Please, see the new README and make also your changes.
Greetings,
Roberto

On the first view: I love it. Great work. Will do a "go-deep" round soon and push changes directly.
BR & Thanks

merged, thanks @robisim74


cmd: Fix deployment notes

Description
Fixes the previously broken deployment note commands.
With the new deployment api and the introduction of the "deployment resource" concept, the api calls to /api/v1/deployments/{deployment_id}/notes no longer work in the same manner.
Until this api endpoint is updated to work using the deployment resource concept, the only deployment IDs it interacts with are the elasticsearch deployments related to the ES IDs (I tested this thoroughly using cURL directly as well as ecctl). So this means we cannot write notes on kibana, apm or appsearch for the time being. I left ~// TODO:~ comments above all related code[1]. In the UI all notes show up on the deployment's main page as well as the ES page.
The UI is using a different method, other than calls to this api endpoint, to leave comments on the deployments. This means that comments made through the UI will not show up on deployment note list.

$ go run main.go --config ce-aws deployment note list 85f25bd3c58548d284173a8099f4fbdb
TIME                       COMMENT ID                         USER    MESSAGE
2019-12-30T22:48:12.872Z   145f41577b874e46af187e54a7b24848   admin   ecctl - message

I changed the --message flag to --comment.  There is a global --message flag which prevented the flag's information from showing up in the --help output and the command docs.
I also refactored the files a bit by separating them into more files, adding multierror for validation etc.
[1] EDIT: I left normal comments above the code, as the linter doesn't like comments that start with // TODO: 😐
Related Issues
Closes: https://github.com/elastic/ecctl/issues/99
Motivation and Context

How Has This Been Tested?
Manually:
$ go run main.go --config ce-aws deployment note create 85f25bd3c58548d284173a8099f4fbdb --comment "ecctl - message"
$ go run main.go --config ce-aws deployment note list 85f25bd3c58548d284173a8099f4fbdb
TIME                       COMMENT ID                         USER    MESSAGE
2019-12-30T22:48:12.872Z   145f41577b874e46af187e54a7b24848   admin   ecctl - message
$ go run main.go --config ce-aws deployment note show 85f25bd3c58548d284173a8099f4fbdb --id 145f41577b874e46af187e54a7b24848
{
  "id": "145f41577b874e46af187e54a7b24848",
  "message": "ecctl - message",
  "timestamp": "2019-12-30T22:48:12.872Z",
  "user_id": "admin"
}
$ go run main.go --config ce-aws deployment note update 85f25bd3c58548d284173a8099f4fbdb --id 145f41577b874e46af187e54a7b24848 --comment "ecctl - message updated"

Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Refactoring (improves code quality but has no user-facing effect)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation

Readiness Checklist

[x] My code follows the code style of this project
[x] My change requires a change to the documentation
[x] I have updated the documentation accordingly
[x] I have added tests to cover my changes
[x] All new and existing tests passed

@ppapapetrou76 @marclop thanks for reviewing! I've made the required changes :)


Unable to perform Motion Planning in Gazebo with FR3 MoveIt Integration

Hi!!
I am working on a project involving the Franka Emika FR3 robot and attempting to integrate motion planning using ROS 2 Humble, MoveIt, and Gazebo. While motion planning works perfectly with MoveIt and RViz alone, I encounter issues when trying to perform motion planning with the robot in Gazebo.
Below are the details of my setup and the steps I have taken:

Robot Model : Franka Emika R3 (fr3)
OS: Ubuntu 22.04
ROS2 Distro: Humble
Gazebo Version: Ignition Gazebo Fortress (v6.16.0)
OMPL Version:1.6.0
franka_description version :0.3.0
libfranka version :  0.13.3-1

What Works

I am able to launch the fr3_moveit_config package for motion planning in RViz without any issues. Motion planning and trajectory visualization work perfectly with the following command:
ros2 launch franka_fr3_moveit_config moveit.launch.py robot_ip:=dont-care use_fake_hardware:=true

The Issue

When I attempt to integrate motion planning with Gazebo by launching the robot visualization, I encounter issues. Specifically, I run the following command:
ros2 launch franka_gazebo_bringup visualize_franka_robot.launch.py

At this point, motion planning fails in RViz when trying to execute trajectories by adding Planning Scene and Motion Planning. Errors are displayed related to the planning or execution process, and I notice that OMPL isn’t even loaded.
Assistance
I would like guidance on how to correctly configure franka_bringup and integrate it with Gazebo to enable motion planning and trajectory execution with MoveIt.
Thank you in advance! I am still trying to configure how all these tools work since I am a beginner.

*** Also,when i run
ros2 launch franka_gazebo_bringup visualize_franka_robot.launch.py
i get :

Should I separately launch the move_group node? If I launch it separately using franka_fr3_moveit.launch.py, a second RViz instance opens, and everything crashes.
thank u :)


Figure out dependency best practices

What problem are you facing?

This SDK is a library. It has some dependencies (e.g. gRPC, Click, etc) but I assume we don't want to pin them to specific versions - instead the app would do that. Right now I have everything "pinned" to major versions only. We're also declaring that we only work with Python 3.11, since it's what the https://github.com/GoogleContainerTools/distroless container we'll use to run Python functions uses.
How could this Function help solve your problem?

My Python packaging experience is almost a decade out-of-date so I'm not sure what the best practice is here. I could use a review from folks with more recent Python library packaging experience.

Related - https://github.com/crossplane/function-sdk-python/issues/7


[HUDI-1393]Add compaction action in archive command

What is the purpose of the pull request
show archived commits command can not recognize compaction action, add it.
Brief change log
(for example:)

Add compaction action in archive command

Verify this pull request
This pull request is a trivial rework / code cleanup without any test coverage.
Committer checklist

[X] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2246 (a311bc1) into master (430d4b4) will decrease coverage by 43.14%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #2246       +/-   ##
=============================================
- Coverage     53.54%   10.39%   -43.15%
+ Complexity     2770       48     -2722
=============================================
  Files           348       50      -298
  Lines         16109     1779    -14330
  Branches       1643      211     -1432
=============================================
- Hits           8626      185     -8441
+ Misses         6785     1581     -5204
+ Partials        698       13      -685

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudihadoopmr
?
?

hudispark
?
?

huditimelineservice
?
?

hudiutilities
10.39% <ø> (-59.70%)
0.00 <ø> (ø)

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

OK, @wangxianghu Can you give the first cycle review?


feat: add examples in the global namespace

Simplified the "hello world" example to use a single file, without a
CMake file, in the global namespace. Added a separate example using
namespaces, but avoid google to show that this can be any namespace.
Fixes #47

PTAL


Cannot find type 'Kmm_viewmodel_coreKMMViewModel' in scope

Environment:
I defined the viewModel in shared module and exported the module to xcframework and imported to other ios app project.
It is work without calling any function in viewModel.
Then I added packages of KMMViewModel and also the KMM Native Coroutines.
However when I follow the readme that create the file KMMViewModel.swift
import KMMViewModelCore
import shared

extension Kmm_viewmodel_coreKMMViewModel: KMMViewModel { }

It cause  Cannot find type 'Kmm_viewmodel_coreKMMViewModel' in scope.
How to solve this?

The name or the KMM_viewmodel_coreKMMViewModel class is generated by the Kotlin compiler, depending on your setup it might be a little different.
However it should always end with KMMViewModel.
Could you try and see what Xcode autocomple suggests if you type KMMViewModel?

The name or the KMM_viewmodel_coreKMMViewModel class is generated by the Kotlin compiler, depending on your setup it might be a little different. However it should always end with KMMViewModel. Could you try and see what Xcode autocomple suggests if you type KMMViewModel?

After I tried reimport the share framework, it works!
However I have a question to ask,

class RegistrationViewModel: KMMViewModel() {
    private val scope = CoroutineScope(Dispatchers.Default + Job())

    sealed class Input {
        data class Fetch(val id: String): Input()
    }

    private val repo = TestRepository()
    private val _input = MutableSharedFlow<Input>()
    private val _characterDetail = _input.filterIsInstance<Input.Fetch>()
        .map { repo.getCharacter(it.id) }
        .map { it?.name }

    @NativeCoroutinesState
    val characterDetail = _characterDetail.stateIn(viewModelScope.coroutineScope, SharingStarted.WhileSubscribed(), null)

    fun getRacer(): StateFlow<List<Racer>> {
        return flow {
            emit(Racer.getRacerList())
        }.stateIn(scope, SharingStarted.Lazily, emptyList())
    }

    fun getCharacterDetail() {
        viewModelScope.coroutineScope.launch {
            _input.emit(Input.Fetch("1"))
        }
    }

}

My SwiftUI view
import SwiftUI
import shared
import KMMViewModelSwiftUI

struct ContentView: View {
    @StateViewModel var viewModel = RegistrationViewModel()
    var body: some View {
        var detail = viewModel.characterDetail

        var greeting = Racer.Companion().getRacerList()
        VStack {
            Image(systemName: "globe")
                .imageScale(.large)
                .foregroundColor(.accentColor)

            Text(greeting.first?.name ?? "lulu")
            Text(detail ?? "detail")
            Button(action: { viewModel.getCharacterDetail() }) {
                Text("GET!")
            }
        }
        .padding()
    }
}

This is my viewModel, and I am trying to get the characterDetail in SwiftUI view, but the characterDetail cannot be update after click the button, the characterDetail can be observed the value in android.
If I want to call in ios app, what updates or do I need to change the SharedFlow to Stateflow?

Alright, good to hear!
Regarding your question, in order for the changes to propagate to Swift you'll need to use the KMMViewModel overloads of the stateIn function:
import com.rickclephas.kmm.viewmodel.stateIn

It accepts the viewModelScope as the first parameter.

OK, get it 👍🏻 Thank you very much


[BUG] package:flutter/src/painting/image_stream.dart - ImageStreamCompleter.reportError

Describe the bug

[Crashlytics]
bug is: package:flutter/src/painting/image_stream.dart - ImageStreamCompleter.reportError
keys from Crashlytics:

flutter_error_exception:
HttpException: Connection closed before full header was received, uri = https://i3.ytimg.com/vi_webp/KdJgiZnYNeg/sddefault.webp

flutter_error_reason:
 thrown HttpException: Connection closed before full header was received, uri = https://i3.ytimg.com/vi_webp/KdJgiZnYNeg/sddefault.webp. Error thrown resolving an image codec.

Logs:

Instance of 'DiagnosticsProperty<ImageProvider<Object>>'
Instance of 'DiagnosticsProperty<NetworkImage>'

To Reproduce
Steps to reproduce the behavior:

navigate between pages that contain Video

Technical Details:

Device: iPhone 12 Pro Max
OS:  iosiOS 16.6.1
package version: youtube_player_flutter: ^8.1.2

anyone here?
I got the same error

But i think it is not bug from package youtube_player_flutter
as i see there are something wrong from ImageStreamCompleter. It's come from Flutter framework

Solved it by changing the https://pub.dev/packages/youtube_player_flutter to https://pub.dev/packages/youtube_player_iframe
The issue does not occur in this new package:

https://pub.dev/packages/youtube_player_iframe


06/25/2018 22:05 : Create Pull Request for branch prTesting_2018062522 -> master

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

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


When looking up recipe or usage

i had a problem with looking up the patterns or usage.  It would work fine in single player but when i would goto the server it would crash the client not server.
I tried droping nei addon but same thing would happen.
---- Minecraft Crash Report ----
// My bad.
Time: 12/12/14 10:24 PM
Description: Updating screen events
java.lang.IllegalAccessError: tried to access field net.minecraft.client.gui.inventory.GuiContainer.field_147007_t from class codechicken.nei.NEIController
at codechicken.nei.NEIController.isSpreading(NEIController.java:52)
at codechicken.nei.NEIController.lastKeyTyped(NEIController.java:199)
at codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:320)
at codechicken.nei.recipe.GuiRecipe.func_73869_a(GuiRecipe.java:80)
at net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)
at codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)
at codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:508)
at codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:496)
at net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1629)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at codechicken.nei.NEIController.isSpreading(NEIController.java:52)
at codechicken.nei.NEIController.lastKeyTyped(NEIController.java:199)
at codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:320)
at codechicken.nei.recipe.GuiRecipe.func_73869_a(GuiRecipe.java:80)
at net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)
at codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)
at codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:508)
at codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:496)
at net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
-- Affected screen --
Details:
Screen name: codechicken.nei.recipe.GuiCraftingRecipe
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [GCEntityClientPlayerMP['madshammy'/4502, l='MpServer', x=1760.07, y=76.42, z=163.51]]
Chunk stats: MultiplayerChunkCache: 420, 420
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (48,64,256), Chunk: (at 0,4,0 in 3,16; contains blocks 48,0,256 to 63,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 251368 game time, 491114 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false.
TConstruct Environment: Environment healthy.
AE2 Integration: IC2:ON, RotaryCraft:OFF, RC:ON, BC:ON, MJ6:ON, MJ5:ON, RF:ON, RFItem:ON, MFR:ON, DSU:ON, FZ:ON, FMP:ON, RB:OFF, CLApi:OFF, Waila:ON, InvTweaks:ON, NEI:ON, CraftGuide:OFF, Mekanism:OFF, ImmibisMicroblocks:ON, BetterStorage:ON
Launched Version: 1.7.10-Forge<IP_ADDRESS>0
LWJGL: 2.9.1
OpenGL: NVIDIA GeForce GTX 780M OpenGL Engine GL version 2.1 NVIDIA-10.0.43 310.41.05f01, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [shammyrepack version 3.zip]
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)

and the second would be
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 12/12/14 10:19 PM
Description: Updating screen events
java.lang.RuntimeException: java.lang.IllegalAccessException: Class codechicken.nei.recipe.TemplateRecipeHandler can not access a member of class net.bdew.neiaddons.extrabees.IsolatorRecipeHandler with modifiers ""
at codechicken.nei.recipe.TemplateRecipeHandler.newInstance(TemplateRecipeHandler.java:459)
at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:464)
at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
at codechicken.nei.recipe.RecipeItemInputHandler.lastKeyTyped(RecipeItemInputHandler.java:23)
at codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:320)
at net.minecraft.client.gui.inventory.GuiContainer.func_73869_a(GuiContainer.java)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73869_a(GuiContainerCreative.java:301)
at net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)
at codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)
at codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:508)
at codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:496)
at net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1629)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:962)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:887)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Caused by: java.lang.IllegalAccessException: Class codechicken.nei.recipe.TemplateRecipeHandler can not access a member of class net.bdew.neiaddons.extrabees.IsolatorRecipeHandler with modifiers ""
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:109)
at java.lang.Class.newInstance(Class.java:373)
at codechicken.nei.recipe.TemplateRecipeHandler.newInstance(TemplateRecipeHandler.java:457)
... 22 more
A detailed walkthrough of the error, its code path and all known details is as follows:
-- Head --
Stacktrace:
at codechicken.nei.recipe.TemplateRecipeHandler.newInstance(TemplateRecipeHandler.java:459)
at codechicken.nei.recipe.TemplateRecipeHandler.getRecipeHandler(TemplateRecipeHandler.java:464)
at codechicken.nei.recipe.GuiCraftingRecipe.openRecipeGui(GuiCraftingRecipe.java:20)
at codechicken.nei.recipe.RecipeItemInputHandler.lastKeyTyped(RecipeItemInputHandler.java:23)
at codechicken.nei.guihook.GuiContainerManager.lastKeyTyped(GuiContainerManager.java:320)
at net.minecraft.client.gui.inventory.GuiContainer.func_73869_a(GuiContainer.java)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73869_a(GuiContainerCreative.java:301)
at net.minecraft.client.gui.inventory.GuiContainer.public_func_73869_a(GuiContainer.java)
at codechicken.nei.guihook.GuiContainerManager.callKeyTyped(GuiContainerManager.java)
at codechicken.nei.guihook.GuiContainerManager.keyTyped(GuiContainerManager.java:508)
at codechicken.nei.guihook.GuiContainerManager.handleKeyboardInput(GuiContainerManager.java:496)
at net.minecraft.client.gui.inventory.GuiContainer.func_146282_l(GuiContainer.java)
at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:276)
-- Affected screen --
Details:
Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [GCEntityClientPlayerMP['madshammy'/2769, l='MpServer', x=1760.07, y=75.52, z=163.51]]
Chunk stats: MultiplayerChunkCache: 441, 441
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (48,64,256), Chunk: (at 0,4,0 in 3,16; contains blocks 48,0,256 to 63,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 245181 game time, 484927 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false.
TConstruct Environment: Environment healthy.
AE2 Integration: IC2:ON, RotaryCraft:OFF, RC:ON, BC:ON, MJ6:ON, MJ5:ON, RF:ON, RFItem:ON, MFR:ON, DSU:ON, FZ:ON, FMP:ON, RB:OFF, CLApi:OFF, Waila:ON, InvTweaks:ON, NEI:ON, CraftGuide:OFF, Mekanism:OFF, ImmibisMicroblocks:ON, BetterStorage:ON
Launched Version: 1.7.10-Forge<IP_ADDRESS>0
LWJGL: 2.9.1
OpenGL: NVIDIA GeForce GTX 780M OpenGL Engine GL version 2.1 NVIDIA-10.0.43 310.41.05f01, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because ARB_framebuffer_object is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [shammyrepack version 3.zip]
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)

ya it happens for me to really annoying when trying to find a recipe and the game crashes every time. But oh well that's what the internet is for I guess,

Its Only server side for me.

bad NEI plugin, not sure which one


[Do not merge] Add reading time metric to interface

What
https://trello.com/c/fNfu8Vl7/1122-3-add-reading-time-to-interface-front-end
This shouldn't be merged because we don't have the reading time metric yet, so it is faked here, but this PR:

Adds reading time to the view
Tests for it
Adjusts CSS to make layout accommodate the new column

Why
Helps users understand word count in a less abstract way
Screenshots
Before

After

 (2) Calculate reading time metric (backend)

Waiting for comments in #content-performance-manager/pull/1129 to be addressed

@chao-xian there have also been some changes to the organisation of the request stubs - let me know if you want me to talk you through it!


undef & esnext: export default doesn't "define" a thing

Given the following example:
class Pass {
}

export default class Fail {
}

Pass.prop = true;
// test.js: line 9, col 1, 'Fail' is not defined.
Fail.prop = true;

Note that if you define the class Pass you can then set properties on it, but export default class Fail doesn't also define Fail in the list of identifiers defined.

I'm having trouble reproducing this. Can you share which version of JSHint you are using? Also, could you in-line the necessary directives (to rule out problems from loading/parsing/merging RC files)?

So something strange happening - I had done a npm install jshint -g to update my version, and it worked, but the terminal I was testing it still said:
$ jshint -v
jshint v2.5.11

opened a new one, and the problem is gone, sorry for the noise...

No worries!


feat(CategoryTheory): IsIso.comp_isIso with explicit arguments

Often when one wants to prove that a composition is an isomorphism, one proves that each component is. The instance IsIso.comp_isIso can be annoying to because of its instance arguments, this PR adds a lemma IsIso.comp_isIso' which is exactly the same as the instance, but with explicit arguments.
This avoids having to guess the correct number of underscores in @IsIso.comp_isIso or doing apply ( config := { allowSynthFailures := true } ) IsIso.comp_isIso

Thanks!
bors merge


Generated swagger for assembly

Is it possible to generate a Swagger file for an external assembly?
The problem: I have a .net core web api project, and with Swashbuckle I can dynamically create the swagger description. I'd like to generate that swagger file within my build pipeline (using cake build / VSTS) so that I can automate the documentation process and additionally create client code.
I'd like to have a reusable component, so I should be able to read external assemblies containing the REST API.

Ran into the same problem. Unfortunately I don't know of a way to do this, as swashbuckle uses ApiExplorer to get the descriptions, and that uses HttpConfiguration, which is setup at runtime. If there is a way around this I would love to hear it though :)

We are also looking for something similar. NSwag has this functionality. But i am not able to generate a successful swagger.json there. https://github.com/NSwag/NSwag/wiki/CommandLine

I was able to achieve my goal using cakebuild:

create an asp.net "integration test", requesting the swagger content and storing as a file
using Cake.AutoRest package I've generated the clients
built the project containing the clients
packed and pushed to NuGet

That's a complete pipeline that works quite well for me.
Anyway, the unit test generating the swagger file looks ugly... I think that this is a must-have feature for devops and CI pipelines.

Agreed that this is a massively important feature and so I'll definitely be adding this as a first class feature in the Core-specific project:
https://github.com/domaindrivendev/Swashbuckle.AspNetCore
For continued WebAPI users, I'll refer you the #783 which describes a fairly clean workaround.


DS-2021: Upgrade DSpace JSPUI to the last bootstrap version

Just added bootstrap 3.1.1 to jspui
and started  fixing some layout issues (particularly in submission)

Closing this PR as "invalid". It includes a large number of unrelated commits.
Please open a new PR to continue this work.


Could we request support for a smallish (~4-5B param) modern vision LLM? LLava-1.6 or Nanollava?

🚀 The feature, motivation and pitch
Having good basic pytorch support for inferencing LLMs is key to continued success of pytorch. Vision LLM models tend to have uneven support on mainstream inferencing engines like Llama.cpp due to the need to reimplement CLIP/SIGLIP etc. Pytorch could natively support performant vision LLMs with quantization on ARM devices, which would make a big difference in usability.
Alternatives
No response
Additional context
No response
RFC (Optional)
No response

We are currently working on llava support. Getting close! @Gasoonjia @larryliu0820


Alert component：设置按钮文字的属性为ButtonText not button-text

写清楚你遇到什么问题再重开 当前 issue。

文档中设置按钮文字内容的属性名写错了，现在文档给的是button-text ，应该是ButtonText
2017-12-06 16:33 GMT+08:00 Airyland<EMAIL_ADDRESS>
Closed #2278 https://github.com/airyland/vux/issues/2278.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/airyland/vux/issues/2278#event-1374304712, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXvG5FiY0Kvq86kfolCJzJVzp-f8MRUlks5s9lFagaJpZM4Q3ihj
.


onvif doesn't have the add stream button only test

Hi,
I have tested the go2rtc on version 1.9.4 with reolink RLC-511WA i only get the test button. It is tested successfully but I dont see the add button.

There is no add button for ONVIF source. You should manually add right source to the config page.


back_populates in tables One-To-Many (SQLAlchemy)

Is your feature request related to a problem? Please describe.
The packages is beautiful and makes greate work with make a SQL to a model.
I repair unfortunately that Omymodels do not make back_populates in SQLAlchemy ORM when a create a model have a One To Many. Reference (https://docs.sqlalchemy.org/en/14/orm/basic_relationships.html)
Describe the solution you'd like
I do not understand now how to package works (yet), but I belive that it is necessary  check that table have a relationship (ForeignKey) and put in refereced table a line like:
children = relationship("Child")
I belive that necessary create a parameter to use or not this option to put back_populates.

@leandroimail, hi! thanks for opening the issues, I had a problems with free time last month. I will try to work on it next week


Implement Time-Varying Control States

For when our measurements between the outputs of a process are far apart and we know how the system was controlled in between
Relevant after #3 is merged

Addressed in 6451f41, can now assume current behaves in linear fashion between inputs on ECM.


Package upgrade: permission_handler 7.1.0 --> 8.1.2

Summary
Package upgrade: permission_handler 7.1.0 --> 8.1.2
Changelog
[General] [Change] - Upgrade permission_handler from 7.1.0 to 8.1.2 (changelog)
Test Plan
Regression test the following areas:
./lib/ui/scanner/native_scanner_view.dart
./lib/core/providers/scanner.dart

Deferred


change test_setChainParams to baseFeePerGas

Signed-off-by: garyschulte<EMAIL_ADDRESS>

PR description
change test_setChainParams baseFee back to baseFeePerGas now that retesteth is using that param name
Fixed Issue(s)

Changelog

[ ] I thought about the changelog and included a changelog update if required.

I'm not sure but If it is a rollback. Why we do not find the same modification present in this PR ? https://github.com/hyperledger/besu/pull/2339/files

I'm not sure but If it is a rollback. Why we do not find the same modification present in this PR ? https://github.com/hyperledger/besu/pull/2339/files

The test_ namespace spec is owned by Ori and Dimitry, and until recently (Friday) the genesis config was using baseFee instead of baseFeePerGas.


revert most in #1818

I cherry-pick the https://github.com/docschina/webpack.js.org/commit/5e38cf728cae667225f59aab4099c4e337b68119 into this PR to preserve the translation work.


Lagoon API sometimes returns an error regarding the DB connection pool

Describe the bug
Lagoon API sometimes returns an error regarding the DB connection pool (I think?).
To Reproduce
Steps to reproduce the behavior:

Run the Lagoon test suite. For example via CI in Lagoon Charts.
Occasionally see error in the data-watcher-pusher logs. I'd guess maybe about 1/30 runs has the problem.

Here's an example failure:
 ******* Found changes in gql files in /api-data/, clearing and re-populating
--2022-03-15 03:16:48--  http://lagoon-core-api/graphql
Resolving lagoon-core-api (lagoon-core-api)... <IP_ADDRESS>
Connecting to lagoon-core-api (lagoon-core-api)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2022-03-15 03:31:49--  (try: 2)  http://lagoon-core-api/graphql
Connecting to lagoon-core-api (lagoon-core-api)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2022-03-15 03:46:51--  (try: 3)  http://lagoon-core-api/graphql
Connecting to lagoon-core-api (lagoon-core-api)|<IP_ADDRESS>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1607 (1.6K) [application/json]
Saving to: 'STDOUT'
{"errors":[{"message":"retrieve connection from pool timeout after 10001ms","locations":[{"line":5,"column":3}],"path":["RemoveAllNotificationsFromAllProjects"]},{"message":"retrieve connection from pool timeout after 10001ms","locations":[{"line":6,"column":3}],"path":["RemoveAllSshKeysFromAllUsers"]},{"message":"retrieve connection from pool timeout after 10000ms","locations":[{"line":9,"column":3}],"path":["DeleteAllEnvironments"]},{"message":"retrieve connection from pool timeout after 10000ms","locations":[{"line":10,"column":3}],"path":["DeleteAllNotificationSlacks"]},{"message":"retrieve connection from pool timeout after 10001ms","locations":[{"line":11,"column":3}],"path":["DeleteAllNotificationRocketChats"]},{"message":"retrieve connection from pool timeout after 10000ms","locations":[{"line":12,"column":3}],"path":["DeleteAllOpenshifts"]},{"message":"retrieve connection from pool timeout after 10000ms","locations":[{"line":13,"column":3}],"path":["DeleteAllProjects"]},{"message":"retrieve connection from pool timeout after 10000ms","locations":[{"line":14,"column":3}],"path":["DeleteAllSshKeys"]},{"message":"retrieve connection from pool timeout after 10001ms","locations":[{"line":16,"column":3}],"path":["DeleteAllBackups"]}],"data":{"RemoveAllNotificationsFromAllProjects":null,"RemoveAllSshKeysFromAllUsers":null,"DeleteAllEnvironments":null,"DeleteAllNotificationSlacks":null,"DeleteAllNotificationRocketChats":null,"DeleteAllOpenshifts":null,"DeleteAllProjects":null,"DeleteAllSshKeys":null,"DeleteAllUsers":"success","DeleteAllBackups":null,"DeleteAllGroups":"success"}}

     0K .                                                     100% 59.4M=0s

2022-03-15 03:48:22 (59.4 MB/s) - written to stdout [1607/1607]

Expected behavior
The API should not return this kind of error except maybe under very heavy load.
Screenshots
n/a
Additional context
I believe this has also occasionally been seen in prod.

I don't think this is as prevalent since the mariadb updates


fix(User Management): re-gen service and update tests after API changes

PR summary
This PR contains a re-gen of the User Management  service plus updates to the integration tests after recent API changes.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

:tada: This PR is included in version 0.15.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Devicelab mac9 is not sshable

The bot has been dead for more than 10 days, and is not sshable.
https://chromium-swarm.appspot.com/bot?id=flutter-devicelab-mac-9
/cc @yusuf-goog could you help check the dns info for this bot as well?

A manual reboot brings the bot back.


Implement request parsing

I'd suggest reviewing the individual commits rather than the full diff that Github wants you to look at.  There are tests for a few simple requests showing that this works at least some times.

So far I only looked at half the first commit and I feel like something will be wrong. Could you add a test for xproto's ChangeSaveSet (or alternatively just tell me that it will work). This request has two fields: mode: u8 and window: Window. On the wire, this ends up as:
typedef struct xcb_change_save_set_request_t {
    uint8_t      major_opcode;
    uint8_t      mode;
    uint16_t     length;
    xcb_window_t window;
} xcb_change_save_set_request_t;

I feel like your code might mis-handle this, because with your abstraction, the mode ends up as part of the header.
Am I wrong?
(Also, clippy is complaining about one thing)

Ok, I think the biggest remaining piece is around request length and validation. I'm not familiar with the edge cases in X here. The X spec says
The length field defines the total length of the request, including the header. The length field in a request must equal the minimum length required to contain the request. If the specified length is smaller or larger than the required length, an error is generated

Obviously if you provide fewer bytes than necessary parsing will fair when we run out of bytes. If you provide more bytes than necessary what happens? e.g. if I send a GetInputFocus (which has no body) with length == 26 and I send 100 bytes of padding with it will the X server accept that? Per the language of the spec it shouldn't, but I haven't actually tested it. Do you know the answer?

e.g. if I send a GetInputFocus (which has no body) with length == 26 and I send 100 bytes of padding with it will the X server accept that? Per the language of the spec it shouldn't, but I haven't actually tested it. Do you know the answer?

TL;DR: It's complicated and we cannot know in general how individual requests behave.
GetInputFocus is one of the requests where the Xorg server uses REQUEST_SIZE_MATCH to check that sizeof(some struct) matches the size of the request.
https://gitlab.freedesktop.org/xorg/xserver/-/blob/4195e8035645007be313ade79032b8d561ceec6c/dix/events.c#L4847
The macro checks that the request size matches exactly the expected value and if not, it will return a BadLength error:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/4195e8035645007be313ade79032b8d561ceec6c/include/dix.h#L69-71
The calling code will however still consume the full 26*4 bytes that you claim your request has. I do not have a code place to point at in here, but its this function:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/4195e8035645007be313ade79032b8d561ceec6c/os/io.c#L227
This functions gets the request length out of the buffer of data that was already read.
The caller of this one then follows some function pointer to actually handle the request:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/dix/dispatch.c#L465-500
As an example of a request that allows trailing data (as already mentioned above): ProcNoOperation uses REQUEST_AT_LEAST_SIZE, so allows extra data:
https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/dix/dispatch.c#L3405-3412

Ok, that's rather unfortunate that X is not consistent here.

Ok I think this is ready for another pass.
The main issue you brought up that I haven't changed at all is RequestHeader. The intended usage of this code is (pseudo code)
while (have_some_bytes) {
    let header = parse_request_header(bytes);
    if length_indicated_by_header < number_of_bytes_we_have {
        wait_for_more_bytes;
    }
    let request = match (major_opcode_from_header, minor_opcode_from_header) {
      ... => invoke the relevant parsers
    };
    do_something(request);
}

The opcodes and the request length all have to be extracted before calling a given FooRequest::try_parse_request. The major and minor opcodes are needed to choose the correct FooRequest, and the request length is needed to make sure that we have received enough bytes from the socket or whatever before calling into try_parse_request. Because "not enough data" is indistinguishable from other parsing problems with the current error reporting setup, we have to preclude that before attempting to parse to know that any errors we receive are "real". Given that somebody outside has to look at these fields anyways, I think the current design where they're parsed externally into the RequestHeader struct and the try_parse_request function received a copy of the struct plus the remaining input bytes makes sense.
I do plan to generate a Request enum that contains all the different request variants (matching those for Error and Event) and a function on that that takes the input and an ExtInfoProvider and parses out the header, selects the appropriate request variant, and invokes its try_parse_request function. But not in this PR.

Excellent, thanks!


Fast Travel Points

Basically a spooky themed waystones-like fast travel system for within the dimension. Players activate fast travel points to use and the spawn location of players is the initial unlocked point.

A basic implementation for initial testing could be to have players stand on a fast travel block and type the numerical index of the unlocked fast travel point to which you want to travel

By type I mean type in chat

I would like to link back to this comment and discuss the possibility of having waypoints inside a map system.
Instead of the player defining points to travel to, what if certain teleport landmarks already existed; interacting with them would add them to your map. When you click on it, skeletons come out of the ground and pull you down, which then plops you at the waypoint (or maybe a witch on a broom picks you up?). :)

That’s basically what I said. The points already exist, you just have to find them.
But the map idea is interesting :)

Or did I misunderstand the comment