Embedding of Junit class and Mockito class produced a bad classfile

[ERROR] /home/aman/Desktop/experiments/pdfbox/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/interactive/form/ControlCharacterTest.java:[37,41] cannot access org.junit.jupiter.params.provider.Arguments
[ERROR]   bad class file: /home/aman/Desktop/experiments/pdfbox/classport-files/org/junit/jupiter/junit-jupiter-params/5.10.1/junit-jupiter-params-5.10.1.jar(/org/junit/jupiter/params/provider/Arguments.class)
[ERROR]     bad constant pool index in /home/aman/Desktop/experiments/pdfbox/classport-files/org/junit/jupiter/junit-jupiter-params/5.10.1/junit-jupiter-params-5.10.1.jar(/org/junit/jupiter/params/provider/Arguments.class)
[ERROR]       index 29440 is not within pool size 72.
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.
[ERROR] /home/aman/Desktop/experiments/pdfbox/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/font/TestFontEmbedding.java:[53,19] cannot access org.mockito.Mockito
[ERROR]   bad class file: /home/aman/Desktop/experiments/pdfbox/classport-files/org/mockito/mockito-core/4.11.0/mockito-core-4.11.0.jar(/org/mockito/Mockito.class)
[ERROR]     bad constant pool index in /home/aman/Desktop/experiments/pdfbox/classport-files/org/mockito/mockito-core/4.11.0/mockito-core-4.11.0.jar(/org/mockito/Mockito.class)
[ERROR]       index 29441 is not within pool size 446.
[ERROR]     Please remove or make sure it appears in the correct subdirectory of the classpath.

Hopefully fixed by 225da73 - feel free to reinstall (just mvn clean install) and give it a try. I was able to package both pdfbox and graphhopper without running into any issues.
# in graphhopper/pdfbox base directory
rm -rf classport-files
mvn tld.domain.me:classport-maven-plugin:classport
mvn package -Dmaven.repo.local="$(pwd)/classport-files" -DskipTests


gentoo-java failed through missing USE=-introspection -gtk in Dockerfile.template

Hi,
I ran into an error while building the gentoo-java image.
I added the USE flags -gtk and -introspection to the Dockerfile.template and the build process started. ;)
NAMESPACE=j0inty DATE=20151015 ./build.sh build
Removing intermediate container 05fa442c3715
Step 3 : RUN emerge -v dev-java/icedtea-bin
 ---> Running in 2067b814263f

These are the packages that would be merged, in order:

Calculating dependencies  ... done!

!!! The ebuild selected to satisfy ">=dev-libs/gobject-introspection-1.31.0" has unmet requirements.
- dev-libs/gobject-introspection-1.44.0::gentoo USE="-cairo -doctool -test" ABI_X86="64" PYTHON_TARGETS="-python2_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python_targets_python2_7

  The above constraints are a subset of the following complete expression:
    python_targets_python2_7 test? ( cairo )

(dependency required by "gnome-base/gsettings-desktop-schemas-3.16.1::gentoo[introspection]" [ebuild])
(dependency required by "dev-java/icedtea-bin-<IP_ADDRESS>::gentoo" [ebuild])
(dependency required by "dev-java/icedtea-bin" [argument])
The command '/bin/sh -c emerge -v dev-java/icedtea-bin' returned a non-zero code: 1
failed to build gentoo-java

On Sun, Oct 18, 2015 at 07:06:52PM -0700, Steffen Stollfuß wrote:

The following REQUIRED_USE flag constraints are unsatisfied:
python_targets_python2_7

Everything in my tree after gentoo-python is Python-3-only.  If you
want to keep Python 2, just adjust gentoo-utc to skip that layer:
FROM ${NAMESPACE}/gentoo-portage:${TAG}

(dependency required by "gnome-base/gsettings-desktop-schemas-3.16.1::gentoo[introspection]" [ebuild])
(dependency required by "dev-java/icedtea-bin-<IP_ADDRESS>::gentoo" [ebuild])

It looks like there is interest in putting this GUI-only dependency
behind a use flag 1.  Until then (if you don't need the GUI), I'd
probably just sed the ebuild to remove that dependency.


Playlist playback stopped after a few hours with a broken pipe (os error 32) error / non recoverable websocket/TLS error (using Dealer)

Description
Playlist playback stopped after a few hours with a broken pipe (os error 32) error
Let me know if more diagnostics can help.
Version
72b6ad939790fffa9b1e4fe364fb2444d14ac34a (post #1356 Dealer merge)
How to reproduce
Steps to reproduce the behavior in librespot e.g.

Launch librespot with librespot -c ~/.cache/librespot --cache-size-limit 64G -n "Pi Zero" -b 320  --device hw:CARD=Set,DEV=0 --device-type avr --backend alsa
Start playlist - this time was using the web client but not sure it has any impact
Wait a few hours
Playback stops. Notice non recoverable websocket/TLS error in togs

Log

[2024-12-14T17:26:28Z INFO  librespot_playback::player] Loading  with Spotify URI spotify:track:2hT7SV5QUhbO0p8T1dkHS6
[2024-12-14T17:26:29Z INFO  librespot_playback::player]  (202000 ms) loaded
[2024-12-14T17:29:50Z INFO  librespot_playback::player] Loading <Porsche 944> with Spotify URI spotify:track:6JSkc4vPxHuTqgSuJ2vMu9
[2024-12-14T17:29:51Z INFO  librespot_playback::player] <Porsche 944> (235795 ms) loaded
[2024-12-14T17:33:29Z ERROR librespot_core::session] Connection to server closed.
[2024-12-14T17:33:46Z INFO  librespot_playback::player] Loading  with Spotify URI spotify:track:46TKHBSVXIOYjfi3pp6X7F
[2024-12-14T17:33:46Z ERROR librespot_core::session] Broken pipe (os error 32)
[2024-12-14T17:33:46Z WARN  librespot_core::dealer] Websocket connection failed: IO error: peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof
[2024-12-14T17:33:46Z WARN  librespot] Spirc shut down unexpectedly
[2024-12-14T17:33:47Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:4070"
[2024-12-14T17:33:47Z INFO  librespot_core::session] Authenticated as '****' !
[2024-12-14T17:33:47Z INFO  librespot_core::session] Country: "FR"
[2024-12-14T17:33:47Z INFO  librespot_core::spclient] Resolved "gew1-spclient.spotify.com:443" as spclient access point
[2024-12-14T17:33:47Z INFO  librespot_connect::spirc] active device is <> with session
[2024-12-14T17:33:48Z ERROR librespot_core::audio_key] Audio key response timeout
[2024-12-14T17:33:48Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Operation aborted { audio key response timeout }
[2024-12-14T17:33:52Z ERROR librespot_audio::fetch::receive] Streamer error requesting range 6356992 +65536: Error { kind: Unknown, error: hyper_util::client::legacy::Error(SendRequest, hyper::Error(IncompleteMessage)) }
[2024-12-14T17:34:00Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: Deadline expired before operation could complete { wait timeout exceeded }
unavailable
[2024-12-14T17:34:06Z WARN  librespot_core::dealer] No subscriber for msg.uri: hm://collection/collection/antoinecellerier
[2024-12-14T17:34:06Z WARN  librespot_core::dealer] failure during data parsing for hm://collection/collection/antoinecellerier/json: Invalid state { base64 decoding failed: Invalid symbol 123, offset 0. }
end_of_track

Host (what you are running librespot on):

OS: Linux pizero 6.6.51+rpt-rpi-v8 # 1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux
Platform: Raspberry Pi Zero 2 W Rev 1.0

Is it 100% reproducible for you?

If I understand the problem correct, the problem isn't directly the pipe error and more the random stopping of the playback? Could you try #1420 and report back?.

Is it 100% reproducible for you?

It's only happened once so far over the past 2 days. Will post here if I get another repro.

If I understand the problem correct, the problem isn't directly the pipe error and more the random stopping of the playback? Could you try #1420 and report back?.

Will do.

Looks like the disconnect happened again after a few hours of playback running #1420. It seems to be keeping track of the session id now but fails to resume playback when reconnecting with a client and hitting play.

[2024-12-15T22:52:23Z INFO  librespot_playback::player] Loading  with Spotify URI spotify:track:4MFKi6VzidmH1V6TX86ihS
[2024-12-15T22:52:23Z INFO  librespot_playback::player]  (98000 ms) loaded
[2024-12-15T22:54:01Z INFO  librespot_playback::player] Loading  with Spotify URI spotify:track:0pKFBjiyiDsp8iUSaBKZD0
[2024-12-15T22:54:02Z INFO  librespot_playback::player]  (133837 ms) loaded
[2024-12-15T22:56:19Z INFO  librespot_playback::player] Loading  with Spotify URI spotify:track:65YmXHisEoFpxft1Bl40Bg
[2024-12-15T22:56:25Z ERROR librespot_core::session] Connection to server closed.
[2024-12-15T22:56:26Z ERROR librespot_core::audio_key] Audio key response timeout
[2024-12-15T22:56:26Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Operation aborted { audio key response timeout }
[2024-12-15T22:56:36Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: end of stream
[2024-12-15T22:56:36Z INFO  librespot_playback::player] Loading  with Spotify URI spotify:track:7jdcPz3QNqvpHn6eODQ04d
[2024-12-15T22:56:36Z WARN  librespot_core::dealer] Websocket connection failed: IO error: peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof
[2024-12-15T22:56:36Z WARN  librespot] Spirc shut down unexpectedly
[2024-12-15T22:56:37Z ERROR librespot_core::session] Broken pipe (os error 32)
unavailable
[2024-12-15T22:56:38Z ERROR librespot_core::audio_key] Audio key response timeout
[2024-12-15T22:56:38Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Operation aborted { audio key response timeout }
[2024-12-15T22:56:42Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:4070"
[2024-12-15T22:56:42Z INFO  librespot_core::session] Authenticated as '' !
[2024-12-15T22:56:42Z INFO  librespot_core::session] Country: "FR"
end_of_track
[2024-12-15T22:56:48Z INFO  librespot_core::spclient] Resolved "gew1-spclient.spotify.com:443" as spclient access point
[2024-12-15T22:56:48Z INFO  librespot_connect::spirc] active device is <> with session <19caa7e645905076bc1db8d5f870ba68>
[2024-12-15T22:56:49Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: end of stream
[2024-12-16T02:19:43Z ERROR librespot_core::session] Connection to server closed.
[2024-12-16T08:36:49Z WARN  librespot_core::dealer] Websocket connection failed: IO error: peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof
[2024-12-16T08:36:49Z WARN  librespot] Spirc shut down unexpectedly
[2024-12-16T08:36:49Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-16T08:36:49Z INFO  librespot_core::session] Connecting to AP "ap-gew1.spotify.com:4070"
[2024-12-16T08:36:50Z INFO  librespot_core::session] Authenticated as '' !
[2024-12-16T08:36:50Z INFO  librespot_core::session] Country: "FR"
[2024-12-16T08:36:50Z INFO  librespot_core::spclient] Resolved "gew1-spclient.spotify.com:443" as spclient access point
[2024-12-16T08:36:50Z INFO  librespot_connect::spirc] active device is <> with session <19caa7e645905076bc1db8d5f870ba68>
[2024-12-16T08:39:10Z ERROR librespot_playback::player] Error handling command: Operation aborted { Symphonia Decoder Error: seek error: requested seek timestamp is out-of-range for stream }
[2024-12-16T08:39:10Z ERROR librespot_playback::player] PlayerState::is_playing in invalid state

Hmm, if it fails to resume playback then there might be a different underlying problem that seems to be dealer independent. Error wise it seems points to network issues. Do you perhaps have a very specific network setup?

Oh that is an "expected" warning... That warning is printed when we close the dealer... So it did what we told it to do, but for some reason it communicates to us that its connection failed. I tried to fix it at the beginning but never found a solution or the actual cause.
The error later for the WIFI_BROADCAST_CHANGED enum is also expected and happens because our current model is probably not up-to-date (might change soon). That could be probably set down to warning.
What is more concerning from my perspective are these error messages:
2024-12-16T16:49:30Z ERROR librespot_core::audio_key] Audio key response timeout
[2024-12-16T16:49:30Z WARN librespot_playback::player] Unable to load key, continuing without decryption: Operation aborted { audio key response timeout }
[2024-12-16T16:49:32Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: end of stream

Anyhow, I see the problem with these error because they easily distract from the actual problem.

Playback did resume correctly when I reconnected a client whereas in the two previously shared examples playback wouldn't restart.

So it doesn't automatically continue playing? That's a bummer.

Correct. It stops playing which was already happening previously mostly with os error 107 errors. Since updating to dealer those have most disappeared except once when trying to recover from one of the symptoms I was describing earlier it seems. I don't know if this is really correlated.
Looking at the past month or so of logs matching "os error" maybe it's completely unrelated. Feel free to close if this is not actionable ... or suggest things I could be doing to diagnose better.

[2024-11-11T16:32:27Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-16T14:08:54Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-16T14:38:00Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-16T21:22:55Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-18T04:29:24Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-18T06:59:30Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-19T19:04:33Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-20T08:33:34Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-20T22:54:39Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-21T10:37:40Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-21T15:05:09Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-21T15:10:11Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-21T17:08:17Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-23T00:23:19Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-23T00:52:19Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-23T00:53:20Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-23T06:02:25Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-24T10:29:27Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-25T07:55:35Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-26T07:04:43Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-11-30T16:28:47Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-02T05:54:55Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-02T06:01:57Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-05T00:56:04Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-05T05:11:06Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-05T11:30:08Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-06T00:34:09Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-06T03:14:11Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-07T10:23:15Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-07T17:59:17Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-07T18:13:18Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-08T04:49:21Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-08T14:56:23Z ERROR librespot_core::session] Broken pipe (os error 32)
[2024-12-11T11:30:24Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-11T12:47:27Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-12T19:12:58Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-14T06:02:10Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)

Update to 72b6ad939790fffa9b1e4fe364fb2444d14ac34a here

[2024-12-14T17:33:46Z ERROR librespot_core::session] Broken pipe (os error 32)
[2024-12-15T22:56:37Z ERROR librespot_core::session] Broken pipe (os error 32)
[2024-12-16T08:36:49Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
[2024-12-16T16:49:29Z ERROR librespot_core::session] Broken pipe (os error 32)

Interesting, will keep it open for now as these errors are printed as actual errors in the log, and so long as they appear as errors we should probably investigate them. If they appear to be unavoidable then they should be downgraded to a warning I would say.
But I'm also open to other approaches.


sequence cumsum and fillna, cumsum and normalize

Hello,
take an exemple with titanic dataset.
sequence cumsum and fillna function :
titanic_copy = titanic.copy()

titanic_copy.eval("col_1", "1")
titanic_copy.cumsum(column = "col_1", name = "col_id" )
titanic_copy.drop(columns = ["col_1"])

titanic_copy2 = titanic_copy.copy()
titanic_copy2["age"].fillna(val = None, method = "mean", expr = "", by = ["pclass", "sex"], order_by = [])

df_titanic_copy = titanic_copy.to_pandas()

when we search col_id = 61 we have :

I don't understand what append. We are the same problem with sequence cumsum and normalize
Regards,
Alexandre

Hi Alexandre,
Vertica can not guarantee the order of the data. You should explicitly indicate that you want to sort by something when computing the cumsum. Example:
from verticapy import *
titanic = vDataFrame("titanic")
titanic_copy = titanic.copy()

titanic_copy.eval("col_1", "1")
titanic_copy.cumsum(column = "col_1", name = "col_id", order_by = "name")
titanic_copy.drop(columns = ["col_1"])

titanic_copy2 = titanic_copy.copy()
titanic_copy2["age"].fillna(val = None, method = "mean", expr = "", by = ["pclass", "sex"], order_by = [])
df_titanic_copy = titanic_copy.to_pandas()

A parameter "order_by" is most of the time available to allow you to sort your data when using such functions.


Time on alert is not on 24 hour format

Describe the bug
Time on the alert is incorrect
Expected behavior
Message says:
When event started:   2020-05-02 03:08:29 UTC
Last event:           2020-05-02 03:09:24 UTC
When it should be (It says 03:08:29 when in fact its 15:08:29):
When event started:   2020-05-02 15:08:29 UTC
Last event:           2020-05-02 15:09:24 UTC
Are you using the binary or the source code?
Binary
Your information
The prefix XXXX has been withdrawn. It is no longer visible from 10 peers
DETAILS:
Monitored prefix:     XXXX
Prefix Description:   XXXX
Prefix origin:        XXXX
Event type:           withdrawal-detection
When event started:   2020-05-02 03:08:29 UTC
Last event:           2020-05-02 03:09:24 UTC
Detected by peers:    10

Thanks for reporting.
I'm able to reproduce it. It happens with reportEmail, the email template truncates AM/PM.
As suggested by you, I will convert the dates to 24 hours format.


Fonts reorganization and several additions

I sorted all the fonts alphabetically to reflect the order they appear on wanikani script dialog, I also added more names to most of the font families to be more consistent with the the ones in the font files.
Finally I added several new fonts that I have been using with jitai to add more variety, all with their respective download url so anyone can download and use them.
There are a few webfonts from google, so for people who can't use local fonts there should be at least a decent amount with a bit of variety.
(Some are partially broken on Firefox, but I added them anyway, with the "bug" label enabled)

Oho great work! There is definitely some very interesting fonts in your PR :)
Thanks for making Jitai better!


[BUG] Memory Leak when reinitializing Picamera2 with new camera_num, results in OSError: [Errno 12] Cannot allocate memory

Describe the bug
Every time I initialize Picamera2 with a new camera_num, more memory seems taken by the Picamera2 object. Eventually the system runs out of memory and I get a OSError: [Errno 12] Cannot allocate memory error.
To Reproduce
from picamera2 import Picamera2, Preview
import time

while True:
    for i in range(1):
        picam2 = Picamera2(camera_num=i)
        picam2.start_preview(Preview.NULL)
        picam2.start()
        picam2.capture_file("device/runtime/picture.jpg")
        picam2.close()
    time.sleep(0.1)

Expected behaviour
Expected that this script could run forever without an error.
Console Output, Screenshots
Traceback (most recent call last):
  File "/home/myles/dev/zeebo/device/picam2_memoryleak.py", line 8, in <module>
    picam2.start()
  File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 1149, in start
    self.configure(config)
  File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 1104, in configure
    self.configure_(camera_config)
  File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 1087, in configure_
    self.allocator.allocate(libcamera_config)
  File "/usr/lib/python3/dist-packages/picamera2/allocators/dmaallocator.py", line 43, in allocate
    fd = self.dmaHeap.alloc(f"picamera2-{i}", stream_config.frame_size)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/picamera2/dma_heap.py", line 98, in alloc
    ret = fcntl.ioctl(self.__dmaHeapHandle.get(), DMA_HEAP_IOCTL_ALLOC, alloc)

Hardware :
RPi 4. Gen3 wide angle and Gen2 camera connected to an Arducam Camera Board V2.2
Additional context

Thanks for reporting this. Running the latest versions of the software, we think it's actually leaking a file descriptor rather than memory and are working on a fix.

Should be fixed by: https://github.com/raspberrypi/picamera2/pull/960

RPi4, Arducam 64MP
Still facing the exact same issue like above.

RPi4, Arducam 64MP Still facing the exact same issue like above.

Hi, can you confirm what version of Picamera2 you are running. Please confirm your OS version (cat /etc/os-release), kernel version (uname -a) and the amount of CMA you have (grep Cma /proc/meminfo). Also, how much RAM does your Pi have? Finally, please attach the smallest and simplest script that you can that will reproduce the problem you are having. Thanks.

Hi, thx for the fast response.

git head is c4d6aab91013c6a5567297b8643c87692fb1f1bc of the next branch

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Linux fotobox 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

CmaTotal:         524288 kB
CmaFree:          474212 kB

RPI4B-4GB

import sys
sys.path.append('/home/pi/fotobox/picamera2')
from picamera2 import Picamera2, Preview
from libcamera import Transform
import time
for i in range(10):
picam2 = Picamera2()
preview_config = picam2.create_preview_configuration(main={"size": (3840, 2160)})
picam2.configure(preview_config)
picam2.set_controls({"AfMode": 2 ,"AfTrigger": 0})

picam2.start_preview(Preview.QTGL, x=0, y=0, width=1920, height=1080, transform=Transform(hflip=1))

picam2.start()
picam2.capture_file("test.jpg")
time.sleep(2)
picam2.stop_preview()
picam2.close()
time.sleep(2)

After two runs, error of above occurs

Thanks for the clarification. Yes, I can reproduce that. Is this a new failure, or has it always been like this, do you know? Thanks.

The first time i used picamera2 was by the end of december 23

The problem is related to closing down the QTGL preview window (the non-GL Qt version, as well as the DRM version, are all fine). EGL (or someone) appears to hold onto to references to image buffers for reasons I don't understand. TBH I'm not sure if it's always done this, or if it's a new "feature", I'm slightly suspecting the latter. I'll have to find someone who know about the 3D graphics stack and how it uses Linux dmabufs.
In the meantime the only workaround I have is to avoid closing that preview window. If you can start the camera only once per process then you can configure, re-configure, start, stop the camera as often as you like.

Great, I'll merge that onto next then, and it'll appear in the next release (for those who don't want to install pre-release versions from the next branch).


Consoles lock up and stop responding  (recent regression)

I'm using git bash with the latest (canary5) on windows and have been finding that something has been happening in the last few canary versions where all tabs/panes that are open freeze up and don't respond to input at all. Sometimes they will 'wake up' after waiting for a while but most times they are completely dead until I kill hyper and restart. More detail to follow

Confirmed still happening with all plugins disabled.
config - https://gist.github.com/parktheredcar/5b004d681074574323c6c34f3ad7699b
Something seems to be building up when hyper is minimized to the task bar. When it is restored, it will hang - can't even change tabs or click the preferences hamburger - until whatever is catching up finishes. It seems to be proportional to the amount of time hyper is minimized. If it's minimized overnight, it will take a long time to get unclogged. If it's minimized for 30 minutes, it will get stuck for 10-30 seconds.
Not sure if related but I have webpack-dev-server and nodemon running in two different panes.

I am having the same issues. I did the same and removed all plugins and same behavior.

I haven't had a chance to debug this but it seems like a big buffer is building up when the program is minimized which then 'fast-forwards' through all of the built up repaint frames at once when you restore the window, causing the ui thread to become unresponsive.
This can be tested using telnet towel.blinkenlights.nl and minizing it for a while.

Another detail that might matter - the live preview in windows' task bar does not update when the program is minimized. This might be an electron thing because discord doesn't update either when it's minimized, but they are somehow avoiding the frame buffer buildup.

I don't know if is the same issue but on Hyper 3 Canary 8 on Windows 10 if I cat or tail a really large file over SSH the tab freeze with no possible input and stay that way until I close the tab. Other tabs works fine. No particular resource usage. If I cat the same large file in local with bash.exe (WSL) it goes for a while until exit with this (weird) error message:
$ cat dbitrace.log
[output]
cat: write error: Input/output error

If I use putty.exe, for example, it works fine.


"bug" defaults constructors

Hi Scott!
Little "bug": I got a dynamic application which stores Plottables, but I cant serialize them without a default ctor.
Coult it be implemented everywhere?
Apparently the problem is raised on PlottablePolygon.
Little "request": possibility to control the margins between y axis an container.
My special congrats to this project,
chart have amazing (❤❤) performance and still be pretty.

Hi @paviano,
It seems to me that it is not worth solving the problem using objects that were not originally intended for this.
I see a fairly simple solution to the described problem.
Create DTO objects for the required Plottables and a couple of methods for converting back and forth.
[Serializable]
public class SerializablePolygon
{
  public double[] XS {get;set;}
  public double[] YS{get;set;}
  ...
}

...

public static SerializablePolygon ConvertTo(this Polygon source)
{
...
}

public static Polygon ConvertTo(this SerializablePolygon source)
{
 ...
}

Yes, this will require writing a certain amount of code, but it will be very simple, and you will have complete control over these objects. (for example you can throw out the properties of an object that you are not interested in).
Introducing default constructors for Plottable is not a good idea, existing parameterized constructors ensure the integrity of objects. Yes, this is just an additional layer of protection, but since it is, let it remain.

Little "request": possibility to control the margins between y axis an container.

Written rather briefly, I think it would be a good idea to go into more detail and create a separate Issue.

Written rather briefly, I think it would be a good idea to go into more detail and create a separate Issue.

What I mean is just have the ability to re-set the margin/padding between the chart (axis) and the container of the chart.
At this moment there's a big space between the container left border and the y axis. It's not a problem, but having the possibility to set these parameters would be good. I'll open a feature request.
Thank you for your time


Text tool improvements - Change the text tool floating window

Change the way the Text tool floating window looks and behaves to make the experience more seamless:
As Ketcher user I want to add text to the selected place on the canvas so that I can provide additional details about the structure on the canvas
As Ketcher User I want to create and edit text on the canvas just near it's place on the canvas so that I better understand where it will be placed
AC 1: GIVEN Ketcher User WHEN selected the Text tool on the Tool panel THEN Ketcher displays it as selected and allows to click on the canvas to placed the text
AC 2: GIVEN Ketcher User WHEN Text Tool is selected on the Tool panel and User clicks on the canvas THEN Ketcher opens the Text window placing it in the way that clicking place is on the top left corner of the Text window
AC 3: GIVEN Ketcher User WHEN Text window is opened THEN I can edit the text and Text window grows vertically till it reaches maximum size as 1/4 of the Ketcher vertical size AND the scrolls appears if the text has more row
AC 4: GIVEN Ketcher User WHEN Text Tool is selected on the Tool panel and User clicks on the canvas in the bottom of the canvas so that Text window will not be fully placed inside Ketcher frame THEN Ketcher opens the Text window placing it in the way that clicking place is on the bottom left corner of the Text window
AC 5: GIVEN Ketcher User WHEN Text Tool is selected on the Tool panel and User clicks on the canvas in the bottom of the canvas so that Text window will not be fully placed inside Ketcher frame THEN Ketcher opens the Text window placing it in the way that clicking place is on the bottom left corner of the Text window
AC 6: GIVEN Ketcher User WHEN Text Tool is selected on the Tool panel and User clicks on the canvas in the right part of the canvas so that Text window will not be fully placed inside Ketcher frame THEN Ketcher opens the Text window placing it in the way that clicking place is on the top right corner of the Text window
Use the designs below:

The new design below has been approved by the design team.
Text input field - transparent

t

The issue moved to release 2.6.0


rework proxy stripping logic

[test]

@coreydaley ptal

@bparees I think it would be worth including an example or two in the test that include port numbers, otherwise it lgtm

TCs added.
[merge]


Emissive materials not working anymore

It seems the emissive component is not used anymore. In fact the uniform MaterialEmission is declared in the shader but not used. I have some test data, just in case you need it.
@Kuranes @cedricpinson could you take a look?

https://github.com/cedricpinson/osgjs/blob/develop/sources/osgShader/Compiler.js#L696
materialUniforms.emission => materialUniforms.materialemission

Thanks for taking a look @Kuranes
There is a Uniform declared (MaterialEmission) that is not used in the shader code at all. You can see it with webGL inspector or other extensions. I guess it should be removed then.
Also, are you able to change the apparience of any model using the emissive component in the materials example? I'm not.
I'm preparing also some screenshots of what I saw time ago with my own models and what I see now.

It was broken indeed, Pushed the fix and the sample material works now when I change materials.
Hopefully it fixes the bug on your side ?

It fixes the materials example, now it works as expected.
Thank you!!

@Kuranes I think I've seen a different issue with the material emissive component. If a model does not have normals attached the emissive material should work, as it does not depend on lighting/normals.
Now it does not work.

The model in the sample material have normals.
Maybe a specific configuration, could you provide a repro case I could check ?

What i've done to test is to use the example quad-texture, after commenting
the assignment of normals in createTexturedQuad in Shape.js. It's enough to
reproduce it. Sorry for not sending the model but I'm out the office now
and writting from my phone.
Thanks.
El miércoles, 18 de febrero de 2015, Tuan Kuranes<EMAIL_ADDRESS>escribió:

The model in the sample material have normals.
Maybe a specific configuration, could you provide a repro case I could
check ?
—
Reply to this email directly or view it on GitHub
https://github.com/cedricpinson/osgjs/issues/255#issuecomment-74890934.

--
Jordi Torres

Made an update on the PR, bugfix thanks to @stephomi ( the "no-light" case was broken ).
Tell me if that fixes it for you ?

Ummm, it's amost fixed, I think the emission color should be merged with the texture color if there are no lights.

Isn't already the case ?
In no light case it ends "diffuse+emission" ?

In "no normals" case it should be emission + texture. Isn't it?
You can try the example quad-texture. Comment previously the assignment of normals in createTexturedQuadGeometry() in Shape.js. The emissive material woks, but it is not merged with texture color. In my opinion it should. Thoughts?

Cannot reproduce ?
Commented that line and still does the emission+texture ?

Yep that's the line to comment
That's what I see. I expected to see the texture merged with the material.

I get that

Make sure you pull update the fix/branch, yesterday I amended the Branch several times ?

Hehehe, I was about to say to you the same. To make sure that you commited all the changes.
Are that all the changes?
https://github.com/cedricpinson/osgjs/pull/256/files
I am sure I have it.

git fetch origin && git reset --hard origin/bugfix/emissionRename && grunt build
And it worked here.
With "lighter" color, you do get texture merged ?
Perhaps what you mean is that you're expecting "diffuse*emission" rather than "diffuse+emission"

No, I guess you have not disabled the normals, after git reset.

if you put  "viewer.setLightingMode( osgViewer.View.LightingMode.NO_LIGHT );" (but re-enable normals in the quadgeom) in the quad texture sample, my guess is that we'll get the same results.
the "no normal" is not handled in osgjs, so shader generated try to use a non existent attribute normal, where there is none. And accessing non initialized data in shader goes into "non determinist" results.
So we get different results because of different  opengl/angle/driver thing, that's why
It's a different issue, then, and that need to be addressed in another issue.
(disable lighting when no normals, or log warning when no normals with lighting or something)

Ok, I tested in other computer/Os and I even cannot see the emission color. So agree it's a non determinist result.
In OSG/OpenGL (fixed pipeline) you can have geometries without normals (think in lines for example), it's quite common. In fact, it used to work in osgjs.
I'm opening a different issue to talk about that.
Thanks for the help so far.


Compose mail buffer in mu4e is not in org-msg-mode

What did you expect to happen?
When composing an email from mu4e, I expect the compose buffer to be in OrgMsg mode like this:

What actually happened?
Instead, when I compose an email from mu4e, my compose buffer looks like this:

Additional details:
To workaround the issue, after the compose buffer opens without OrgMsg mode, I can do the following:

Kill the buffer.
Disable org-msg-mode.
Enable org-msg-mode.
Compose a new email and it will open in OrgMsg mode.

While testing other things, I also noticed that if I press C-x m (compose-mail) immediately after emacs starts up, that the compose buffer is not in the OrgMsg mode either. But, if I start emacs and wait for about 15 seconds, then press C-x m, the buffer opens in OrgMsg mode.
Steps to reproduce:

Start emacs.
Press SPC o m to open mu4e.
Press C to compose a new message.

System information:

SYSTEM  type       darwin
        config     x86_64-apple-darwin19.5.0
        shell      /bin/zsh
        uname      Darwin 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
        path       (~/.emacs.d/bin/ ~/bin ~/go/bin ~/.emacs.d/bin ~/.dotfiles/bin /usr/local/bin ~/.cache/zsh4humans/bin ~/.cache/zsh4humans/junegunn/fzf/bin /usr/bin /bin /usr/sbin /sbin /Library/TeX/texbin /usr/local/go/bin<EMAIL_ADDRESS>EMACS   dir        ~/.emacs.d/
        version    27.1
        build      Aug 27, 2020
        buildopts  --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp<EMAIL_ADDRESS><EMAIL_ADDRESS>--with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-ns --disable-ns-self-contained
        features   RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP
        traits     (server-running envvar-file)
DOOM    dir        ~/.doom.d/
        version    2.0.9
        build      HEAD -> develop 29b12de8 2020-10-06 02:08:17 -0400
        elc-files  0
        modules    (:completion (company +childframe) ivy :ui doom doom-dashboard doom-quit hl-todo (ligatures +pragmata-pro) modeline nav-flash ophints (popup +defaults) treemacs vc-gutter vi-tilde-fringe window-select workspaces zen :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors snippets :emacs dired electric (ibuffer +icons) undo vc :term vterm :checkers syntax :tools (eval +overlay) lookup lsp magit :lang data emacs-lisp (go +lsp) markdown (org +dragndrop +pretty) (python +lsp) sh yaml :email mu4e :app calendar (rss +org) :config (default +bindings +smartparens))
        packages   ((org-super-agenda) (ox-twbs))
        unpin      (doom-themes)
        elpa       (n/a)

As of dbe09f9 this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!

Confirmed. Thanks for fixing.

I hate to re-open a discussion on a closed issue, but it seems as though this fix has now made it so that mu4e always opens in org-msg-mode for myself, and I don't use org-mode at all.
Is there something I can do to have it open in mu4e compose mode by default?

Looks like that feature is coming in #3971

I also came here wondering who broke my mail setup. Is org-msg supposed to be the default? I don't ever want to send html emails so can we have some setting that says, "no really, I only want text"?

I guess the question is whether or not the original author intended org-msg mode to be enabled by default. If it was supposed to be, then the fix is appropriate. If it was not supposed to be, then how was one supposed to enable this before?
Since I'm the only one that seemed the expect org-msg to be enabled by default, and many others are depending on the old behavior, it's probably best to undo this "fix". I'll just add the hook to mu4e-compose-pre in my private config.

As pointed out by others here, org-msg strays so far from sane email behavior that it should not be forced as default on everyone, please.

@hlissner looks like we need to undo this change as it broke existing behavior for several folks.

I just realized that this may not be obvious for some, but in case you run into the aforementioned issue with org-msg-mode you can disable the hook with:
(remove-hook! 'mu4e-compose-pre-hook #'org-msg-mode)

until/if it is changed in master.

Please move this discussion to #3971, as it isn't related to OP's original issue.


Joint row deserialization into structs

I have this common use case where I join two tables and I want to deserialize a row into separate structs. However, each row cannot be easily deserialized into separate structs via from_row.
#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Default)]
pub struct User {
  pub id: i32,
  pub date: DateTime<Utc>,
  pub group_id: i32,
}

#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Default)]
pub struct Group {
  pub id: i32,
  pub name: String,
}

The query is like
let rows = db_conn
    .query(
      "SELECT users.*, groups.*
        FROM users
        JOIN groups ON users.group_id = groups.id
        WHERE users.user_id = ?1 LIMIT ?2
    ",
      params![user_id.clone(), 10],
    )
    .await?;

while let Some(row) = rows.next().await? {
	// there's no such thing:
	let (users, group) = from_row<(User, Group)>(&row)?;
}

I have to do things like the following to be able to convert a Row into separate structs:

#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Default)]
pub struct UserWithGroup {
  pub user: User,
  pub group: Group,
}

// Implement from_row for UserWithGroup to deserialize from a database row
impl UserWithGroup {
  pub fn from_row<'de>(row: &'de Row) -> Result<UserWithGroup, DeError> {
    return Ok(Self {
      user: User {
        id: row.get(0).expect("id"),
        date: DateTime::deserialize(
          row.get_value(1).expect("date").into_deserializer(),
        )?,
        group_id: row.get(2).expect("group_id"),
      },
      group: Group {
        id: row.get(3).expect("group_id"),
        name: row.get(4).expect("name"),
      },
    });
  }
}

To be able to do something like
while let Some(row) = rows.next().await? {
	let users_with_group = UsersWithGroup::from_row(&row)?;
}

Is there a way to support from_row for the JOIN use cases maybe via tuples so that this manual work is not needed anymore?

We do face the same issues. Currently, our work around for this is to use #[serde(alias = 'some_unique_name')] for each of the fields of the struct. So considering your use case, it will look something like:
#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Default)]
pub struct User {
  #[serde(alias='user_table_id')]
  pub id: i32,
  #[serde(alias='user_table_date')]
  pub date: DateTime<Utc>,
  #[serde(alias='user_table_group_id')]
  pub group_id: i32,
}

#[derive(Debug, Clone, Eq, PartialEq, Hash, Serialize, Deserialize, Default)]
pub struct Group {
  #[serde(alias='group_table_id')]
  pub id: i32,
  #[serde(alias='group_table_name')]
  pub name: String,
}

And then modify your query to include those names, like so:
let rows = db_conn
   .query(
     "SELECT users.id as user_table_id,
           users.date as user_table_date,
           users.group_id as user_table_group_id,
           groups.id as group_table_id,
           groups.name as group_table_name
         FROM users
         JOIN groups ON users.group_id = groups.id
         WHERE users.user_id = ?1 LIMIT ?2
   ",
     params![user_id.clone(), 10],
   )
   .await?;

while let Some(row) = rows.next().await? {
   // there's no such thing:
   let user = from_row<User>(&row)?;
   let group = from_row<Group>(&row)?;
}

Although this seems like a lot of work, but since the query is mostly generated programmatically, this is a fair bit easier to work with. But I totally agree with you that if there was some solution to this directly from libsql, it would be a huge help.

i think it's ironic that this lib is written in rust but doesn't have builtin mechanism for struct building


 Those in commit 75587f1 were edited using photopea's healing tool to remove the padlock and progress bar (as I haven't unlocked them yet!), but I think they do the job, something to check though!

I think the name change would need to be included in the camouflageNameChanges.js so progress is carried over.

@carlssonemil were all the images from https://github.com/carlssonemil/orion/issues/34#issuecomment-1328159678 added to the app so far? Wouldn't want any duplicated effort if we already have the images 😄

Looks like I'm safe on the images front, the additions I have made were not in those zip files! Though I did notice this: https://github.com/carlssonemil/orion/issues/34#issuecomment-1328343280
@carlssonemil Need any help with that? :)

Nice one @MaxJW! We will have to wait for the bossman to approve 😄 in the meantime I'll take a quick look and nit-pick as per usual (sorry in advance!).
Is the jungle-digital.png the correct one for the assault rifle and are we sure it's not being mixed up with the camo of the same name for the RPG? (I can double check this later but you might already know the answer to this)
@carlssonemil I was reading up around slug casing, is the apostrophe a valid character? Would we need to normalise this?

Nice! 🚀

@carlssonemil were all the images from #34 (comment) added to the app so far? Wouldn't want any duplicated effort if we already have the images 😄

Yes, I've added all the images in the .zip files, took a while to crop them all! 😄

@carlssonemil I was reading up around slug casing, is the apostrophe a valid character? Would we need to normalise this?

Good question. It seems to work in the preview build though so it should be fine. Let's just leave it as is for now and change it later if we encounter any issues 😄

Looks like I'm safe on the images front, the additions I have made were not in those zip files! Though I did notice this: #34 (comment)
@cpjet64 Need any help with that? 😄 (wrote the wrong username there, sorry!)

YES! PLEASE! there are 42,261 image files and the filenames are all hashed so you have to look at every pic individually. I believe the original dimensions are 256x256 and they are all png.

42,261 image files

👀

YES! PLEASE! there are 42,261 image files and the filenames are all hashed so you have to look at every pic individually. I believe the original dimensions are 256x256 and they are all png.

No worries! Where should I look? How do I look? 😆 If you could give me some guidance I'd love to help out!

Remember though that is all game images in total xD. For anyone who wants to help sort through them I can upload the complete collection of images and then share the link on a individual basis via email or dm.

Probably move this chat to discord @carlssonemil @cpjet64 @MaxJW

Sounds good to me! Feel free to send a message to me there, or get a group setup of some kind! SirVoxel#7719


Add durations to events and sum

I use Google Calendar for both forward planning and backward tracking and to rearrange planned events on the fly while maintaining total time in various categories. I'd love to hear if this is useful to others and would appreciate any collaboration or feedback.
I ran Grunt and came up with one error on line 196 of browser_action.css, which seems to be related to a warning about 'sticky'. I'm not familiar with Grunt but this seems to be a minor issue unrelated to my work but I thought I'd mention it since as new contributor I'm unfamiliar with the project.
Cheers
Eric

Hey, do you have any before/after screenshots of what this looks like?
A good practice is to first file an Issue with a proposal of what you are looking to add, get feedback from maintainers and other collaborators, and then send a PR afterwards.

Apologies, @manastungare. I have only participated in smaller projects so I don't know the etiquette very well. I did read the contributing guidelines here. Also I thought I had removed package-lock.json and package.json so I'm not sure where the conflict is coming from.
More to the point, I'm a self-taught programmer and have mostly worked in Python so I'm eager to gather input from the community and learn more about JavaScript as well as HTML/CSS. I will open an issue and close this pull request.
Thanks, Manas!
Eric

Hey Eric, please feel free to leave open, no worries!
I want to see a screenshot before I go digging into the code, though. You can either choose to file an issue, or skip it for this particular PR.
I would still love to see this PR get merged — thanks for your contributions!

Thanks, Manas. I will leave open for now, then. This is still a work in progress and I'm not sure precisely how to accomplish my goal so I've filed a new issue 554. Hopefully I'll find some interest from others to help out.
I'm haven't looked at the code in a few days, but I plan to get back into it this afternoon / evening so I'll send you more once I've gotten a handle on my approach.
Cheers
Eric

I'm trying to decide where to place the UI for calculating durations in the plugin. I just put it in the main title for now. I think the quick-add section is pretty close to what I'd like to implement but I'm not sure if this would be a second button or maybe use the options to toggle between quick-add and calc-duration? I'd appreciate any suggestions.
Thanks
Eric

I read through the Issue you posted, and this PR, and I’m still not very clear what this feature is supposed to be.

Who is the intended audience for this feature?
How often will they want to use this?
Is this Calendar extension the best place for it? (is this a use case that is very close to quickly browsing one or more calendars?)

Even with the strings you have included, I can’t seem to figure what this does, or why it would be part of an extension.
If it’s for analysis, perhaps a custom AppsScript would be the best way to use this?

The use case is to be able to see how much time you are spending on a group or category of tasks when planning events in support of a project to determine the total time for billing or tracking categories of activity like work / exercise / leisure, etc. in support of a balanced lifestyle.
It is possible to simple calculate this at a static moment but it would be more useful, to me at least,  if I could do it interactively. Often I make a plan and, not surprisingly, things change and I have to update the plan but then I need to know if I've maintained the balance I was aiming for and / or kept the required time to complete all the tasks required for a larger project.
Google Calendar is great because I can move the events around like tiles but sometimes I have to split them up and then I start to loose track of the original plan.

Apps Script looks like an interesting option. I wasn't aware of it. I'll look into it.


Auto Translate Wanted

I have many video to be handled, they are japanese(I can't understand), but I hope the srt is English, so can you please add a function auto translate the language, as I know WhisperDesktop has this function.Thanks~

This should work if you select the Detect Language option before transcribing

Latest development version has ability to translate using ChatGPT or some other AI model. Please see notes on how to use this on latest development version here https://chidiwilliams.github.io/buzz/docs/usage/translations
Feedback would be welcome.


[Question] About bench

README.md:

|                          |                performance             |
| ------------------------ |:--------------------------------------:|
| swc (es3)                | 610 ops/sec ±1.76% (82 runs sampled)   |
| swc (es2015)             | 682 ops/sec ±0.63% (88 runs sampled)   |
| swc (es2016)             | 1,659 ops/sec ±4.32% (79 runs sampled) |
| swc (es2017)             | 1,384 ops/sec ±7.24% (82 runs sampled) |
| swc (es2018)             | 1,765 ops/sec ±11.78% (82 runs sampled)|
| swc-optimize (es3)       | 535 ops/sec ±1.01% (83 runs sampled)   |
| babel                    | 42.12 ops/sec ±6.27% (55 runs sampled) |

Can u write more details ? like  xx MB/s for tokenize/parser/transform.

@kdy1
BTW: the latest rust version can't build this project.

I used bench-runner so there's no information like MB/s. You can run benchmark by cloning https://github.com/swc-project/node-swc and running neon build --release && bench-runner -g transform


We have to implement in Linux chip-tool as well

We have to implement in Linux chip-tool as well
Originally posted by @tcarmelveilleux in https://github.com/project-chip/connectedhomeip/pull/22338#discussion_r960712012

@tcarmelveilleux Is your comment addressed here?  It looks like #22338 has chip-tool bits...


Tweaks to the file format spec for the compact index

Reorder components to allow incremental writes, with CRC calculations
Add the LTP bit array
Put sizes at the end to simplify reading

One thing possibly worth adding: What is the padding/alignment of the components? Byte-aligned?

Done. I've tweaked it so that if we really want to we have the option to mmap the whole file and access all but the clash map directly with natural alignment.


remove trailing comma in environment.json

there should be no comma after the session secret inside the brackets.

Thanks!


Make path to git executable configurable

Git is not necessarily in the PATH when Brackets is started. For example, I use Brackets for Windows and the Cygwin version of Git, and to not have my Windows tools interfer with the Git commands, I have the Cygwin bin directory (which contains git.exe) only in the PATH when running one of the Cygwin shells.
I suggest that you add a configuration parameter to brackets-git, which allows to specify the directory, where git can be found.

That's already configurable in File -> Git Settings... -> Git configuration tab

Thank you! I didn't notice the "Git Settings" menu under "File".


Fix AdvancedOptions

[<CLIMutable>] got removed somehow, causing PresentationFramework exception when opening to Advanced Options page.

Closing for now as this is related to code lens.

Reopening for branch 15.8, as this is a small fix for code lens.


OpenMetadata ingestions are being reaped unexpectedly

What is the rule that causes this to happen: https://openmetadata-openmetadata.apps.odh-cl2.apps.os-climate.org/table/OSC-Trino.osc_datacommons_dev.mdt_sandbox.rmi_operations_emissions_by_fuel/versions/4.5
I lose data every day at 10am, which makes it difficult to be ready to do a demo on a moment's notice.  Why does this happen?
@caldeirav
@redmikhail

We have two ingestion bots, one of which is named "hukhan" and the other is named "ingestion-bot". All of those delete/restore actions are being carried out by the hukhan bot. I don't see a way to simply disable it without deleting it, so for now I have revoked its privileges. This prevented the deletion yesterday evening, but the bot does seem to be doing some legitimate work, so I still need to try to find what task it's executing at 7pm each day and specifically stop that.

@MightyNerdEric you can not disable or remove privileges from this bot - airflow is using this to communicate back to the openmetadata . So all DAG/ingestion pipelines are now dead

I have re-added privileges to the hukhan pod

The fact that delete is performed under "hukhan" service account probably indicates that action has been originated from Airflow . It is either some automated process or one of the DAGs . So far I haven't found anything that would be part of Airflow system that would do cleanup

Based on timing (10pm EST) potential culprit is metadata_carbon_emissions ingestion pipeline running at 3am UTC . Suspicion is that object selector in pipeline may needs to be adjusted to target specific schema instead running across all schemas , we are looking for owners of pipeline to address it (details https://os-climate.slack.com/archives/C034SCQU919/p1677015236662339) . Separate topic for discussion is that we need to shift to have specific permission for each pipeline

I added a schema filter rule so it should behave itself now.


Added Clever Baby to the app showcase

cordova rocks, thanks for featuring us

Merged. Thanks for the PR! Please feel free to close it and delete the branch.


Add 'talonvoice` topic to this GitHub

So that it shows up here https://github.com/topics/talonvoice

Done


fix(apps/prod/tekton/configs): fix builder images for tikv and tiflash building

The new builder images is WIP, now we use the old ones.

/approve


word option

Question. -- if we are using the words option, then we have just one long sequence (i.e., an entire book etc).
What does the last line of the following code do?
What about returning it as a RaggedTensor with just one entry?
 # get word count and set max_vocab_size
        if self.data_type == 'words':
            word_count = len(set(text))
            max_vocab = min(max_vocab, word_count) + 1
            word_index_list = list(zip(['UNK'] + list(unique_everseen(text)), range(1, word_count + 2)))
            sequences = [[x[1] - 1 for x in word_index_list if word in x[0]][0] for word in text]

This part of a manual way of deriving a list of lists that provides the word position for each word in a sentence. It was created in order to match the output from the built-in TF method that can only be applied to a list of lists.
Can you tell me a bit more about why you would want a RaggedTensor with a single entry returned here?  We do return a TF object using the code in lines 174-176. Maybe I am not understanding correctly?

It seems that returning a Dataset object is suboptimal UNLESS we can figure out how to manipulate it without getting the warning about non-optimization.
Also returning just a Python list would be possible here, since we are just transforming in the last line of this function and could do the transformation somewhere else, also, if we wanted to.

I see. OK, so it sounds like we are certain that the tf.Dataset object is responsible for that warning? If that's the case, perhaps the best immediate solution is to just return a list, like you mentioned, and convert it somewhere else. That would be an easy change to make.

I will make this change in a branch called train3 (from the keras branch), and if things work I will make a PR, OK?

OK, that sounds great!

done with the latest PR


GitHub Actions and nettrine extensions atlantic18

Improvements in Nettrine example

added GitHub Actions in Nettrine example
added examples of nettrine/extensions-atlantic18
switched back from SQLite to MariaDB in migrations

ping @f3l1x

👍


Error out if labeldrop/labelkeep are used with source_labels

This is non-nonsensical, so catch it when we parse the relabelling config.

Same for target labels, regex, modulus, separator, right?

We require the regex, nothing else should be non-default.

I agree as this is a bit confusing ref
Usually, you have label names under source_labels and compare their values in regex.
With labeldrop, you put label names into regex.

Right, don't know how "regex" made it into my list :)
But yeah, the many conditionally used fields in relabeling are getting a bit confusing.


Appearance Settings for PowerToys Run

Description of the new feature / enhancement
I would like to request to add an option to customize and personalize the PowerToys Run feature, like changing borderRadius of the Search Bar, transparency, blur, Mica, etc...

Scenario when this would be used?
It would look pretty minimal and visually appealing in my opinion, because the more control the users have on the personalization the better they can unleash their creativity, and customize the software as much as they want.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/4794


Publish to rubygems

The rubygems version of rantly is from 2011. Update it after the gem tests pass.
Original issue: https://github.com/hayeah/rantly/issues/33

0.3.2 was published to rubygems. Check out the changelog for details.


GitHubCI: Build init

Initial commit for GitHubCI to build the project
See it in action: https://github.com/Kreyren/rust-lisp/actions/runs/295136199
Inspired by https://github.com/sagiegurari/cargo-make/blob/master/.github/workflows/ci.yml
Signed-off-by: Jacob Hrbek<EMAIL_ADDRESS>

Relevant: https://github.com/Kreyren/rust-lisp/commit/1be41e39c1a346775b8048eba8f00190665ac900#commitcomment-43066992

Also DroneCI https://drone.io/ might be a better option as it's currently used on gitea instances and allows for tests on freebsd, redox, etc.. while allowing local debugging through drone command.

Hey, I don't know what quicklisp is, or what you're trying to do, but this project is insanely old (predates rust-1.0 by a lot) and it basically doesn't work. If you're looking for a lisp, you probably want to look elsewhere. Feel free to fork and do what you'd like with this but I don't think I can in good conscience take any PRs to this repo, since I haven't looked at it in years and I'll never re-invest in it.


anyway to build abseil as a whole

I use opencensus-cpp in my project, but it depends abseil, therefore I use bazel to build abseil then copy many .so libs into the project's structure and then I have to use many -lXXX, I am wondering whether there is a way to build each parts of abseil into a whole one like libabseil.so and then I can link it directly with option -labseil...Another part that confuse me is CMake support...I read the doc but could not figure it out how to build it...Can't it be something like cmake -f ... I am just curious ...Thanks for the work anyway ...

I don't think we are going to provide a way to build Abseil as a whole, we'd rather you pick the parts you care about. However, you can probably create your own rule to build everything you are about into one .so, see https://github.com/bazelbuild/bazel/issues/1920#issue-182071880.
@JonathanDCohen, please see the question on CMake.

I'm confused.  opencensus-cpp builds with Bazel and has Abseil in their WORKSPACE file, so you should just be able to build that with Bazel and Bazel should take care of the dependency.

Hey there.  Is this issue still causing you trouble?

I'm going to close this due to lack of answer.  As a note for future readers, Bazel provides absl/... and cmake provides an all target.  I'm not sure if these create a single library or not, but it's worth a look.


A way to include config in static build?

I realise that this is odd but I'm currently just experimenting to see if it's possible.
I'm looking at trying to build a static bundle which would all be fine except one of the dependencies I'm pulling in (aurelia) does on the fly imports through it's own loader (which wraps either the non-static SystemJS or Require loader given your context).
I have created my own implementation of their loader which utilizes the $__System object available within a static build. However, in order to properly load the dynamic dependencies I would need to normalize the module names, which would require access to the original config (specifically the map) used to build the static bundle.
Is there a way to accomplish this without pulling in the actual config.js file i.e. a setting within the builder itself which would include the object passed into System.config in the output?
Thanks

This is actually included when the buildConfig: true build option is set. It's still a somewhat experimental feature though.

Ah, ok. I thought that might be the case but I can't for the life of me see it in the output.
I'm using the following code to build
var builder = new Builder('./', './config.js');
  builder.buildStatic('app/app.js', 'outty.js', {
    buildConfig: true,
    encodeNames: false
  });

Is there possibly somewhere I'm going wrong here?
I was expecting to see the object passed into System.config within the auto-generated config.js appear somewhere in the output file (in this case outty.js).

The config is only included for bundle builds not static builds as they are already linked.

Yeah, that makes sense. As I said before I was just trying to work around the dynamic loading inherent in aurelia (therefore all dependencies can't be traced at build time). While I can stop the names from being encoded within a static build I would need access to the config map in order to normalise say a reference to aurelia-framework to<EMAIL_ADDRESS>I take it there's no appetite to facilitate inclusion of the buildConfig within static builds? Although, if you were going that far it'd make sense to utilise it within the $__System loader that's bundled with a static build. I'd be happy to chip in but I would also completely understand if it was deemed to be unwanted, extra bloat.

Yes it's not something we can support unfortunately, you'd have to add that through some kind of custom build step if you really need it, by exporting System to a global internally. I'd strongly suggest using a normal bundle though. Static bundles aren't really designed for dynamic linking cases. https://github.com/systemjs/builder/issues/417 may be somewhat related here.

Yeah, I figured that. I started going down the route of defining a fake System global in order to grab the config but it's just too hacky. Also, it certainly looks like this is the same point raised in  #417. Thanks for your time.


Bug: pixi.js v7.2.3 events not working

Current Behavior
pixi.js v7.2.3 events not working
Expected Behavior
events must work.
Steps to Reproduce
https://stackblitz.com/edit/vitejs-vite-srtkkk?file=src/main.tsx
Environment

@pixi/react version: ^7.0.3
pixi.js version: ^7.2.3
React version: ^18.2.0
ReactDOM version: ^18.2.0
Browser & Version: Chrome 111
OS & Version: macOS 13.2.1
Running Example: https://pixiplayground.com/](https://stackblitz.com/edit/vitejs-vite-srtkkk?file=package.json)

Possible Solution
import { EventSystem } from "@pixi/events";

const App = () => {
  return (
    <Stage
      ...
      onMount={(app) => {
        app.renderer.addSystem(EventSystem, "events2");
      }}
    >
       ...
    </Stage>
  );
};

Additional Information
No response

I've faced the same problem can't use getLocalPosition() function event

I'm also getting deprecated message for interactive property. I have tested it only on pixi.js 7.2.4.

This is a potentially game-breaking issue, can a maintainer chime in?

If you're not importing pixi.js to auto-register all the plugins, you'll need to import each system. In this case, add
import '@pixi/events';

to your root file.

I was easily able to duplicate this issue and I don't see any way to fix it. I tried `import '@pixi/events', but that obviously does nothing since pixi is already being imported. Here is a code sandbox that shows a minimal reproduction using all the latest pixi and react dependencies: https://codesandbox.io/s/compassionate-microservice-thp345?file=/src/index.tsx
I just wired up a click handler on a div element and a click handler on an @pixi-react Sprite. Only the div click works.

Thanks @lunarraid. For some reason I thought that I didn't need to do that with regular pixi but I guess I must have missed how that worked.


SELinux support  enablement for ROOTFS

Added  selinux as arg to tar utility which will preserve the selinux  labels if they are present  else it will NOP .

@rsiddoji can you propose this same change first against the master branch? Once merged there we can backport to kirkstone and scarthgap.
Please also add your 'Signed-off-by' tag as described at https://docs.yoctoproject.org/dev/contributor-guide/submit-changes.html#implement-and-commit-changes.

Closing in favor of https://github.com/uptane/meta-updater/pull/113


Add EG4ll BMS to Dev

Working on getting this added to Dev.
Checklist

[ ] Add your battery class and battery class import in alphabetical order in the etc/dbus-serialbattery/dbus-serialbattery.py
[ ] Add your BMS to the BMS feature comparison page by editing docs/docs/general/features.md
[ ] Add your BMS to the Supported BMS page by editing docs/docs/general/supported-bms.md
[ ] Do not import wildcards *
[ ] If available populate self.max_battery_charge_current and self.max_battery_discharge_current with values read from the BMS
[ ] If available populate self.unique_identifier with a unique value to distinguish the BMS in a multiple battery setup
[ ] If your BMS don't run with the default settings add installation notes to the How to install, update, disable, enable and uninstall docs/docs/general/install.md
[ ] If your BMS needs custom settings that the user should be able to change, add it below the ; --------- BMS specific settings --------- section in the etc/dbus-serialbattery/config.default.ini
[ ] Make sure the GitHub Actions run fine in your repository. In order to make the GitHub Actions run please select in your repository settings under Actions -> General -> Actions permissions the option Allow all actions and reusable workflows. Check also in your repository settings under Actions -> General -> Workflow permissions if Read and write permissions are selected. After this changes you have to make a new commit, if you don't see any Actions run. This will check your code for Flake8 and Black Lint errors. Here is a short instruction on how to set up Flake8 and Black Lint checks in VS Code. This will save you a lot of time.

I added a checklist that helps you to get ready for merge. Also compare your BMS class with https://github.com/Louisvdw/dbus-serialbattery/blob/dev/etc/dbus-serialbattery/bms/battery_template.py, since your class seems to be from a older template.

sorry, I'm sure you can tell this isn't an area I excel in.  I'll continue to fix the errors in the coming days.

@Justice12t any updates?


Add new LoadingSection component

Create component Loading Section which contains:

spinner
primary text
secondary text

:tada: This PR is included in version 4.42.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Force taxonomy id slots to be CURIEs

Fixes #823

@turbomam's responsibility: show how to apply the changes in this PR's mixs/yaml via yq. That still may not be the best solution.

In other words:
for any slot whose value should indicate some organism, the value should be in the form of a CURIE, and the prefix should come from an agreed-upon namespace.

The EBI OLS shows that about 70 ontologies import NCBITaxon:9606 as the CURIE for Homo sapiens , where the expansion of NCBITaxon is http://purl.obolibrary.org/obo/NCBITaxon_

The mixs.yaml in this PR asserts the right expansion for that prefix, but we shouldn't hand-edit mixs.yaml because it is regenerated on each build
So add to nmdc.yaml

relevant slots, both from mixs.yaml (so will require on-the-fly updating)

host_taxid
samp_taxon_id


refactor: inline token bundle size assessor in balanceTx

Refactor balanceTransaction not to depend on the txLayer but use Compatibility.tokenBundleSizeAssessor directly.
This is to simplify further work on UTxOAssumptions: this makes it easier to rewrite it as a sum-type in the other PR.
Issue Number
ADP-2967

bors merge


consider move initialization to lua

I like the plugin very much. Thanks alot for creating!
Reasons to do:

A pure lua profile would decrease startup time.
The lua startup profiler would be more correct or simpler to get correct with this change. Otherwise one gets more wrong results.
Try to be consistent as to use functionality of lua, if possible.
Having a function to initialize makes separating things for user-specific settings while getting updates much easier (user may implement a different function to customize plugin).

Another related reason (bad practice/historical reasons): nvim-treesitter/module-template#1
Relevant content for change:
https://github.com/nanotee/nvim-lua-guide#using-meta-accessors-1
missing fixes: https://github.com/nanotee/nvim-lua-guide/#managing-vim-internal-variables
and the echo stuff
if vim.g.loaded_galaxyline == nil

  --let s:save_cpo = &cpo --is there any way to make this plugin local?
  --set cpo&vim --is there any way to make this plugin local?

  if vim.fn.has('nvim') == 0 then
    --echohl Error
    --echom "Sorry this plugin only works with versions of neovim that support lua"
    --echohl clear
    --finish
  end

vim.g.loaded_galaxyline = 1
require('galaxyline').galaxyline_augroup()

--let &cpo = s:save_cpo --is there any way to make this plugin local?
--unlet s:save_cpo --is there any way to make this plugin local?
end

hmm this will need user to call it by themself.

@glepnir Can you elaborate how this would be a problem?


Stop multiplying UV index in hourly forecast by 100

Fixes #155
Also ensures rounding is to 2 decimal places, as the API seems to return data with that precision.
Have tested by tweaking HACS clone in local HA, and confirmed that the number looks more sensible and similar to other forecasts.

Took a look at this and it looks good to merge, I'll get @alexander0042 to double check to make sure everything is in order and it can get merged.

This is so great! Yes, you're 100% correct, it was a copy and paste error that got missed when I reviewed it. Thank you so much for not just identifying it, but also submitting a PR to fix it. Can't say enough how much I appreciate it, since PRs like this let me focus my work on improving the underlying API


Trivy scan is failing in observability modules

Description:
Need to fix trivy scan directories in both

[ ] module-ballerina-observe
[ ] module-ballerinai-observe

@LakshanKarunathilake Is this issue still valid? If not can we close this?


Adds ttl support to redis

It is crucial in my use case for Redis keys to have TTL, so I add it.
I'm not sure if it is the right way or not. but please merge it if it is.
Thanks

This change is

It would be good to see how to use this feature in README.md


take clue from pg-promise for promise support

this could be done similiar in pool.run:
db.task(function (t) {
// this = t = task protocol context;
// this.ctx = task config + state context;
return t.one("select * from users where id=$1", 123)
.then(function (user) {
return t.any("select * from events where login=$1", user.name);
});
})
.then(function (events) {
// success;
})
.catch(function (error) {
console.log("ERROR:", error.message || error);
});

#### Error Stack/Info (if any)

not sure I follow, sorry.
can you explain a bit more?

pool.run( (connection)=>connection.query("select * from dual" ))
.then((res)=>connection.query("select * from another",[res]))
)
.then( (res) => console.log("endresult is",res ) )
.catch( (err) =>console.error("error",err) )
;
also for transactions, there could be an array of promise returning functions,which
are resolved sequentially or in  parallel
in pg-promise are also other functions which might be useful in simple-oracledb

ok got you. I'll think about it.
For now I'm keeping it open and I'll consider it.

Took me forever and I kept going back and think about this one.
Anyhow, I implemented it currently for the pool.run so now the function can return a promise as shown below and I think it is what you were looking for.
I might start also look at connection.run and connection.transaction as well.
Please tell me what you think about it
//extended promise support (action is returning a promise instead of using the callback)
pool.run(function (connection) {
  //run some query and the output will be available in the 'run' promise 'then'
  return connection.query('SELECT department_id, department_name FROM departments WHERE manager_id < :id', [110]); //no need for a callback, instead return a promise
}).then(function onActionDone(result) {
  //do something with the result
});

closing this one.
I will try to see if connection.run and connection.transaction can also be modified.
if you have more suggestions please open in a new issue.

Trank YouTube very much
Tested run and parallel with promises
Von meinem Samsung Galaxy Smartphone gesendet.
-------- Ursprüngliche Nachricht --------
Von: Sagie Gur-Ari<EMAIL_ADDRESS>Datum: 17.01.17 23:40 (GMT+01:00)
An: sagiegurari/simple-oracledb<EMAIL_ADDRESS>Cc: Volkmar Bühringer<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [sagiegurari/simple-oracledb] take clue from pg-promise for promise support (#14)
closing this one.
I will try to see if connection.run and connection.transaction can also be modified.
if you have more suggestions please open in a new issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sagiegurari/simple-oracledb/issues/14#issuecomment-273323591, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKI8bCIKaZTEsSwyY4LxgyPiwLLzPQ33ks5rTUMWgaJpZM4JvzZB.
Prounix Gesellschaft für Softwareentwicklung mbH - Geschäftsführer: Andreas Decker - Handelsregister: Amtsgericht Bonn HRB 5855 - Sitz der Gesellschaft: Bonn

also updated oracledb.run, connection.run and connection.transaction.
all action/s provided can return a promise instead of using a callback.


Upgrade to be compatible with Prometheus.Client 3.0

We will update the library soon, sorry for the delay.

Released 3.0.0

@arieradle the compatible version was released. So we close the issue.

Thank you for the prompt response


Replace __x86_64  as _WIN64

Because  __x86_64 is a macro used under linux,  i replace it  with  _WIN64 that can be  used under windows

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

ℹ Googlers: Go here for more info.

I signed it!

Great, thanks!


Templates are great, but how do you access them?

I can do File -> Save as template, but, how can I start a new js bin using that template? It'd be great if...

I can name the template as I create it, like "Angular hello world"
I can do File -> New -> From Template or From scratch
I can edit my templates, or at least have a page where I see a list of all my templates

JS Bin info

http://jsbin.com/edit
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2236.0 Safari/537.36
ianhd

I would like to have the option to pick which template I want to use. Sometimes I want to make a bin for a Polymer example (which requires a lot of boilerplate), and sometimes I just want basic CSS.

This issue has been automatically marked as stale because it has not had recent activity. More importantly, jsbin has been undergoing a massive refactor by Remy, and a large number of issues have been resolved, but with the growing 600+ open issues, the Stalebot (me), has been brought in to try to manage the issues.
Keep an eye on jsbin.com blog posts and the @js_bin twitter account for updates on the new version of jsbin ❤
It will be closed next week if no further activity occurs. Thank you for your contributions.


Compare Blob, File and Disk

Hi,
I am trying to compare the capability between Blob, File and Managed Disk to decide which one to use for our data storage. Based on the tables in this documentation, I have summarized following for Azure Disk.
Durability options: 99.999%
Accessibility: SMB 2.1 and SMB 3.0 (standard file system APIs)
Connectivity: Only through attached VM
Endpoints: NA
Directories: True directory objects
Capacity: 32 TiB disk
Throughput: Up to 900 MiB/s per Disk
Object Size: NA
Would you please kindly confirm if this is correct? Especially for the protocol supported and object size limit?
As Ultra SSD is released (https://azure.microsoft.com/en-ca/blog/announcing-ultra-ssd-the-next-generation-of-azure-disks-technology-preview/) looks like the Disk Capacity now is 64TiB instead of 32TiB, IOPS is 160,000 and Throughput is 2,000, would you please confirm and update document if necessary?

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

ID: 2bf8f358-861a-b3e5-86c3-ad871a12b03e
Version Independent ID: d13eea11-e440-ce33-2f2f-e6f6b98e3af2
Content: Deciding when to use Azure Blobs, Azure Files, or Azure Disks
Content Source: articles/storage/common/storage-decide-blobs-files-disks.md
Service: storage
Sub-service: common
GitHub Login: @tamram
Microsoft Alias: tamram

@CharmanderJieniJieni , Accessibility , SMB is specific to Azure Files, not disks. the rest are correct, I'll send this issue to the author to link to the announcement.

#reassign: @roygara

@CharmanderJieniJieni Thanks for reaching out, I'll try to clarify: We've removed these tables from the article altogether. The reason we did this is it doesn't make sense to compare them by specification when really what differentiates each offering is the intended use case or scenario.
If you're looking for disk information, I'd suggest starting here:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disks-types
Please let me know if you've any other questions, otherwise I'll close this out in two days.

#please-close


Error on import Cannot update client 'account' in realm HTTP 400 Bad Request

Current Behavior
Running Keycloak and try to import my config from a previous exported config json. Error is:
2022-10-21 19:44:36.288 ERROR 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : Cannot update client 'account' in realm 'SSO Andrea-1': HTTP 400 Bad Request

Expected Behavior
My config json was imported successfully.
Steps To Reproduce
1. start Keycloak
2. start keycloak-config-cli with the parameters:

      - KEYCLOAK_URL=http://keycloak:8080
      - KEYCLOAK_USER=user
      - KEYCLOAK_PASSWORD=bitnami
      - KEYCLOAK_AVAILABILITYCHECK_ENABLED=true
      - KEYCLOAK_AVAILABILITYCHECK_TIMEOUT=120s
      - IMPORT_FILES_LOCATIONS=/keycloak/*.json

Environment

Keycloak Version: 18.0.2
keycloak-config-cli Version: 5.3.1
Java Version: <IP_ADDRESS>

Anything else?
Full log:
2022-10-21 19:41:09.551  INFO 1 --- [           main] d.a.k.config.KeycloakConfigApplication   : Starting KeycloakConfigApplication v5.3.1 using Java <IP_ADDRESS> on 40ba78a7050d with PID 1 (/opt/bitnami/keycloak-config-cli/keycloak-config-cli-18.0.2.jar started by ? in /opt/bitnami/keycloak-config-cli)
2022-10-21 19:41:09.563  INFO 1 --- [           main] d.a.k.config.KeycloakConfigApplication   : No active profile set, falling back to 1 default profile: "default"
2022-10-21 19:41:11.906  INFO 1 --- [           main] d.a.k.config.KeycloakConfigApplication   : Started KeycloakConfigApplication in 4.004 seconds (JVM running for 5.831)
2022-10-21 19:41:18.292  INFO 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : Importing file 'file:/keycloak/realm-export.json'
2022-10-21 19:41:18.305  INFO 1 --- [           main] d.a.k.config.provider.KeycloakProvider   : Wait 120 seconds until http://keycloak:8080 is available ...
2022-10-21 19:43:18.361 ERROR 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : Could not connect to keycloak in 120 seconds: RESTEASY004655: Unable to invoke request: org.apache.http.conn.HttpHostConnectException: Connect to keycloak:8080 [keycloak/<IP_ADDRESS>] failed: Connection refused (Connection refused)
2022-10-21 19:43:18.362  INFO 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : keycloak-config-cli running in 02:01.790.
2022-10-21 19:44:17.771  INFO 1 --- [           main] d.a.k.config.KeycloakConfigApplication   : Starting KeycloakConfigApplication v5.3.1 using Java <IP_ADDRESS> on 40ba78a7050d with PID 1 (/opt/bitnami/keycloak-config-cli/keycloak-config-cli-18.0.2.jar started by ? in /opt/bitnami/keycloak-config-cli)
2022-10-21 19:44:17.782  INFO 1 --- [           main] d.a.k.config.KeycloakConfigApplication   : No active profile set, falling back to 1 default profile: "default"
2022-10-21 19:44:19.727  INFO 1 --- [           main] d.a.k.config.KeycloakConfigApplication   : Started KeycloakConfigApplication in 3.954 seconds (JVM running for 5.811)
2022-10-21 19:44:23.226  INFO 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : Importing file 'file:/keycloak/realm-export.json'
2022-10-21 19:44:23.239  INFO 1 --- [           main] d.a.k.config.provider.KeycloakProvider   : Wait 120 seconds until http://keycloak:8080 is available ...
2022-10-21 19:44:36.288 ERROR 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : Cannot update client 'account' in realm 'SSO Andrea-1': HTTP 400 Bad Request
2022-10-21 19:44:36.288  INFO 1 --- [           main] d.a.k.config.KeycloakConfigRunner        : keycloak-config-cli running in 00:14.039.

Config json: https://gist.github.com/devent/289d1a97d0e37d5dfa90295ac2079f5f

Try running with --logging.level.root=debug, that will show you the full response from keycloak. In my case there was an invalid email for a user.
Careful. this also logs the authorization header which contains credentials.

Hello @devent
I recommend upgrading to Keycloak Version: 19.0.1, as kcc version 5.3.1 is primarily designed for compatibility with this version. This should help mitigate any potential issues you may encounter. In the meantime, I will investigate the root cause while using version 18.0.2.