00:00:22.638 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '2' at 0.000000, 0.000000
00:00:22.638 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x56094925f780 committing with 1 instructions
00:00:22.638 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x56094925f780
00:00:22.638 [DEBUG] [sway/desktop/layer_shell.c:358] Layer surface destroyed (swaynag)
00:00:22.638 [DEBUG] [sway/desktop/layer_shell.c:195] Usable area changed, rearranging output
00:00:22.638 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 1920x1080@0,0
00:00:22.638 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '1' at 3840.000000, 0.000000
00:00:22.638 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x560948c69bb0 committing with 1 instructions
00:00:22.638 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x560948c69bb0
00:00:22.638 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:6:Video_Bus'
00:00:22.638 [DEBUG] [sway/input/seat.c:950] removing device 0:6:Video_Bus from seat seat0
00:00:22.638 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:6:Video_Bus from group 0x560948797710
00:00:22.638 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:6:Video_Bus'
00:00:22.638 [DEBUG] [sway/input/seat.c:950] removing device 0:6:Video_Bus from seat seat0
00:00:22.638 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:6:Video_Bus from group 0x560948797710
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:1:Power_Button'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 0:1:Power_Button from seat seat0
00:00:22.639 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:1:Power_Button from group 0x560948797710
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:5:Lid_Switch'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 0:5:Lid_Switch from seat seat0
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:3:Sleep_Button'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 0:3:Sleep_Button from seat seat0
00:00:22.639 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:3:Sleep_Button from group 0x560948797710
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:0:DP-3'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 0:0:DP-3 from seat seat0
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:0:DP-3'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 0:0:DP-3 from seat seat0
00:00:22.639 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:0:DP-3 from group 0x560948797710
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '3141:26403:Integrated_Webcam_HD:_Integrate'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 3141:26403:Integrated_Webcam_HD:_Integrate from seat seat0
00:00:22.639 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 3141:26403:Integrated_Webcam_HD:_Integrate from group 0x560948797710
00:00:22.639 [DEBUG] [sway/input/input-manager.c:202] removing device: '1008:15690:HP_HP_Link-5_transceiver'
00:00:22.639 [DEBUG] [sway/input/seat.c:950] removing device 1008:15690:HP_HP_Link-5_transceiver from seat seat0
00:00:22.639 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 1008:15690:HP_HP_Link-5_transceiver from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1008:15690:HP_HP_Link-5_transceiver_Mouse'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1008:15690:HP_HP_Link-5_transceiver_Mouse from seat seat0
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1008:15690:HP_HP_Link-5_transceiver_Consumer_Control'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1008:15690:HP_HP_Link-5_transceiver_Consumer_Control from seat seat0
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1008:15690:HP_HP_Link-5_transceiver_Consumer_Control'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1008:15690:HP_HP_Link-5_transceiver_Consumer_Control from seat seat0
00:00:22.640 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 1008:15690:HP_HP_Link-5_transceiver_Consumer_Control from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1008:15690:HP_HP_Link-5_transceiver_System_Control'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1008:15690:HP_HP_Link-5_transceiver_System_Control from seat seat0
00:00:22.640 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 1008:15690:HP_HP_Link-5_transceiver_System_Control from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1386:18698:Wacom_HID_490A_Pen'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1386:18698:Wacom_HID_490A_Pen from seat seat0
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1386:18698:Wacom_HID_490A_Finger'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1386:18698:Wacom_HID_490A_Finger from seat seat0
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1739:31251:SYNA2393:00_06CB:7A13_Mouse'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1739:31251:SYNA2393:00_06CB:7A13_Mouse from seat seat0
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1739:31251:SYNA2393:00_06CB:7A13_Touchpad'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1739:31251:SYNA2393:00_06CB:7A13_Touchpad from seat seat0
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:0:Intel_HID_events'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 0:0:Intel_HID_events from seat seat0
00:00:22.640 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:0:Intel_HID_events from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:0:Intel_HID_5_button_array'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 0:0:Intel_HID_5_button_array from seat seat0
00:00:22.640 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:0:Intel_HID_5_button_array from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '0:0:Dell_WMI_hotkeys'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 0:0:Dell_WMI_hotkeys from seat seat0
00:00:22.640 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 0:0:Dell_WMI_hotkeys from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '1:1:AT_Translated_Set_2_keyboard'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 1:1:AT_Translated_Set_2_keyboard from seat seat0
00:00:22.640 [DEBUG] [sway/input/keyboard.c:825] Removing keyboard 1:1:AT_Translated_Set_2_keyboard from group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/keyboard.c:831] Destroying empty keyboard group 0x560948797710
00:00:22.640 [DEBUG] [sway/input/input-manager.c:202] removing device: '2:1:PS/2_Synaptics_TouchPad'
00:00:22.640 [DEBUG] [sway/input/seat.c:950] removing device 2:1:PS/2_Synaptics_TouchPad from seat seat0
00:00:23.055 [DEBUG] [sway/tree/output.c:264] Disabling output 'eDP-1'
00:00:23.055 [DEBUG] [sway/tree/workspace.c:143] Destroying workspace '1'
00:00:23.055 [DEBUG] [sway/ipc-server.c:306] Sending workspace::empty event
00:00:23.056 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 93 queue: { "change": "empty", "old": null, "current": { "id": 4, "type": "workspace", "orientation": "horizontal", "percent": null, "urgent": false, "marks": [ ], "focused": true, "layout": "splith", "border": "none", "current_border_width": 0, "rect": { "x": 3840, "y": 0, "width": 1920, "height": 1080 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "name": "1", "window": null, "nodes": [ ], "floating_nodes": [ ], "focus": [ ], "fullscreen_mode": 1, "sticky": false, "num": 1, "output": null, "representation": "H[]" } }
00:00:23.057 [DEBUG] [sway/ipc-server.c:306] Sending workspace::focus event
00:00:23.057 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 93 queue: { "change": "focus", "old": { "id": 4, "type": "workspace", "orientation": "horizontal", "percent": null, "urgent": false, "marks": [ ], "focused": false, "layout": "splith", "border": "none", "current_border_width": 0, "rect": { "x": 3840, "y": 0, "width": 1920, "height": 1080 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "name": "1", "window": null, "nodes": [ ], "floating_nodes": [ ], "focus": [ ], "fullscreen_mode": 1, "sticky": false, "num": 1, "output": null, "representation": "H[]" }, "current": { "id": 6, "type": "workspace", "orientation": "horizontal", "percent": null, "urgent": false, "marks": [ ], "focused": false, "layout": "splith", "border": "none", "current_border_width": 0, "rect": { "x": 0, "y": 0, "width": 3840, "height": 2160 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "name": "2", "window": null, "nodes": [ ], "floating_nodes": [ ], "focus": [ ], "fullscreen_mode": 1, "sticky": false, "num": 2, "output": "DP-3", "representation": null } }
00:00:23.057 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 3840x2160@0,0
00:00:23.057 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '2' at 0.000000, 0.000000
00:00:23.057 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5609488c1930 committing with 4 instructions
00:00:23.057 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5609488c1930
00:00:23.057 [DEBUG] [sway/tree/output.c:288] Destroying output 'eDP-1'
00:00:23.057 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x5609488c1930 committing with 1 instructions
00:00:23.057 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x5609488c1930
00:00:23.057 [DEBUG] [sway/tree/arrange.c:263] Usable area for ws: 3840x2160@0,0
00:00:23.057 [DEBUG] [sway/tree/arrange.c:293] Arranging workspace '2' at 0.000000, 0.000000
00:00:23.057 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x560948b6d760 committing with 1 instructions
00:00:23.057 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x560948b6d760
00:00:23.057 [DEBUG] [wlr] [backend/drm/drm.c:1026] connector eDP-1: De-allocating CRTC 0
00:00:23.342 [DEBUG] [sway/tree/output.c:264] Disabling output 'DP-3'
00:00:23.342 [DEBUG] [sway/tree/workspace.c:143] Destroying workspace '2'
00:00:23.342 [DEBUG] [sway/ipc-server.c:306] Sending workspace::empty event
00:00:23.342 [DEBUG] [sway/ipc-server.c:958] Added IPC reply of type 0x80000000 to client 93 queue: { "change": "empty", "old": null, "current": { "id": 6, "type": "workspace", "orientation": "horizontal", "percent": null, "urgent": false, "marks": [ ], "focused": true, "layout": "splith", "border": "none", "current_border_width": 0, "rect": { "x": 0, "y": 0, "width": 3840, "height": 2160 }, "deco_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "window_rect": { "x": 0, "y": 0, "width": 0, "height": 0 }, "geometry": { "x": 0, "y": 0, "width": 0, "height": 0 }, "name": "2", "window": null, "nodes": [ ], "floating_nodes": [ ], "focus": [ ], "fullscreen_mode": 1, "sticky": false, "num": 2, "output": null, "representation": null } }
00:00:23.342 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x560948c26360 committing with 2 instructions
00:00:23.342 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x560948c26360
00:00:23.342 [DEBUG] [sway/tree/output.c:288] Destroying output 'DP-3'
00:00:23.342 [DEBUG] [sway/desktop/transaction.c:398] Transaction 0x560948c26360 committing with 1 instructions
00:00:23.342 [DEBUG] [sway/desktop/transaction.c:294] Applying transaction 0x560948c26360
00:00:23.342 [DEBUG] [wlr] [backend/drm/drm.c:1026] connector DP-3: De-allocating CRTC 1
00:00:23.359 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:128] Destroying wlr_drm_lease_device_v1 for /dev/dri/card0
00:00:24.573 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:674] Destroying wlr_drm_lease_v1_manager
00:00:24.573 [INFO] [sway/ipc-server.c:565] IPC Client 99 disconnected
00:00:24.573 [INFO] [sway/ipc-server.c:565] IPC Client 93 disconnected
00:00:24.574 [INFO] [sway/ipc-server.c:565] IPC Client 91 disconnected
00:00:01.936 [ERROR] [common/ipc-client.c:87] Unable to receive IPC response

It's working again, probably something going wrong somewhere with a dependency or nvidia. Sorry about that.


ios safari event bubbling

I have a problem in mobile safari, the the click event on the modal buttons keeps the event bubbling, often triggering the modal to open again (because original trigger is in the background).
I've tried to insert stopImmediatePropagation in the throttleHandler (addclicklistener) to no success.
My temporary fix is to disable new modals untill onHideEvent is triggered, which isn't ideal.
Do you have any suggestions on what I could do/What I've missed or if this is just another safari bug?

Sorry, I'm not really sure what you mean. The close modal button should only close the modal and nothing else. I've actually stopped maintaining this library, so it might be best if you used another. I recommend this one: https://github.com/Nycto/PicoModal


About breaking change in CLI tetra version from --client to --server

What happened?
This commit introduces a change in the tetra CLI that makes it incompatible with cilium (v1, stable) that works with the cilium version --client pattern.
This issue might be of use to future cilium v2 release.
*There wasn't a PR so I opened this issue.
from: https://github.com/cilium/tetragon/commit/4de6d5458e9a370d1113924276d6c96810465d37
to: https://github.com/cilium/tetragon/commit/ea1fdd60f52370fb5dfd0b189d64ae4061945ab0
Tetragon Version
0.11.0
Kernel Version
NA
Kubernetes Version
No response
Bugtool
No response
Relevant log output
No response
Anything else?
No response

Indeed, I changed the behavior so that tetragon version is by default tetragon version --client. The old behavior is now tetragon version --server. I wasn't aware that this was related to cilium CLI, what's the incompatibility issue exactly?

@mtardy
Cilium has too the cilium version --client command.
Current behavior (after https://github.com/cilium/tetragon/commit/ea1fdd60f52370fb5dfd0b189d64ae4061945ab0):
# implicit (odd one and the cause of this issue)
cilium version          # server
tetra version           # client
# explicit
cilium version --client # client
tetra version --server  # server

The fact that we ended up with a different behavior that the cilium CLI is unfortunate, but I'm not sure that it is a bug.
@lucasfcnunes is there a practical reason that for tetra to be consistent with the cilium cli? Feel free to submit a PR that addresses this.

@kkourt I agree it's not a real bug. Guess I should've opened it as a blank issue.

No worries, I just wanted to explain why I removed the label.

I opened this to try to reverse it on tetra v0 or change it in future cilium releases (v1 -> v2). This broke one of my CI/CD scripts so I thought of bringing it up to debate. The practical reason is having to guess how it all works. I personally only check for client version and I think the current behavior of tetra v0.11.0 is better and intuitive.

Thanks! FWIW, I don't have a strong opinion on the matter. For some context, my motivation for having both the client and the server version (in the old version) was to spot incompatibilities between client/server versions.
We have no guarantees for the stability of the tetra CLI, but we should maybe be more careful about introducing breaking changes in the future if we can avoid it.


how to set countdown time with different color from time to time

i am trying to change the color of text by 1s interval, with 1s being 1 different color, how to deal with get time line, i tried gnwgs to edit with countdown widget but nnos only works first 3 minutes

@hoangnam714
SwiftUI widgets don't support fast refreshing. Please see Keeping a widget up to date.

A widget’s budget applies to a 24-hour period. WidgetKit tunes the 24-hour window to the user’s daily usage pattern, which means the daily budget doesn’t necessarily reset at exactly midnight. For a widget the user frequently views, a daily budget typically includes from 40 to 70 refreshes. This rate roughly translates to widget reloads every 15 to 60 minutes, but it’s common for these intervals to vary due to the many factors involved.


docker multistage build

This PR make a multistage build, to only keep the compiled nginx in the final image.

[@kleisauke]  Keep in mind that just copying the library dependencies and executables via a multi-stage build won't work with DNF (CentOS/RHEL/Fedora default package manager), so I'm a bit reluctant for such an approach.

Using ldd and tar, I managed to get it working fine.
I also took the liberty to update the docker/README.md file to document the availability of the image on the github registry.
Closes #204

I think this is expected for most of the docker builds (since a dependency update will likely need a recompilation)

I'm not sure if I understand this. Since the majority of dependencies are ABI compatible you could just do this on a running container:
docker exec imagesweserv dnf update -y

This does not require recompilation of the entire Docker image nor of this project.

Do you have an example of a API endpoint which needs such a library? (so that I can watch it fail and try some fixes)

Try loading BMP or JPEG 2000 images (or any other libMagick image file types we "unofficially" support).  After testing this, I noticed that this works without any problems since you are extending the builder image with this line:
FROM builder as runner

I think you meant do this instead:

Details
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 1111111..2222222 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -46,10 +46,6 @@ RUN dnf install -y epel-release \
         pcre-devel \
         zlib-devel

-# Create nginx user and group
-RUN groupadd nginx \
-    && useradd -r -g nginx -s /sbin/nologin -c "Nginx web server" nginx
-
 # Copy the contents of this repository to the container
 COPY . /var/www/imagesweserv

@@ -84,11 +80,21 @@ RUN cmake3 .. \
 RUN ldd /usr/sbin/nginx | cut -d" " -f3 | xargs tar --dereference --absolute-names -cf libs.tar

 ######################
-FROM builder as runner
+FROM centos:8 as runner
+
+# Create nginx user and group
+RUN groupadd nginx \
+    && useradd -r -g nginx -s /sbin/nologin -c "Nginx web server" nginx
+
+# libjpeg-turbo is installed in a non-standard prefix
+ENV LD_LIBRARY_PATH=/opt/libjpeg-turbo/lib64

 # Copy nginx to the appropriate location
 COPY --from=builder /usr/sbin/nginx /usr/sbin/nginx

+# Copy the whole /etc/nginx directory
+COPY --from=builder /etc/nginx/ /etc/nginx/
+
 # Copy nginx configuration to the appropriate location
 COPY --from=builder /var/www/imagesweserv/ngx_conf/*.conf /etc/nginx/

i.e. start from a clean centos:8 base image instead of the recently built builder image.
Anyways, I think it's just easier to clean-up the "base" image instead of using a multi-stage image for the reasons given above. This also ensures that the Docker image is future-proof (libvips is considering using loadable modules for some dependencies in the near future) and easier to maintain.

Anyways, I think it's just easier to clean-up the "base" image

You are probably right.


Commit #6552bd3 breaks installation

This change causes the installation of the backend to fail.

Fixed with https://github.com/waikato-ufdl/ufdl-backend/commit/16e06eac197f3fdac2050360c71c734c1bfd3b4d


Fix typo about test/integration

Fix one typo about test/integration.

Will merge after commit message fix (cc @chainhelen).

Sorry for the message. Has done.
(I will modifity again if those changes are not right. Thx.)


Error downloading Twitch VODs?

I’ve been using Livestreamer to download Twitch VODs without issue, but recently some VODs have been returning this error:
[cli][info] Opening stream: source (hls)
Traceback (most recent call last):
  File "/usr/local/bin/livestreamer", line 8, in <module>
    load_entry_point('livestreamer==1.12.0', 'console_scripts', 'livestreamer')()
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer_cli/main.py", line 886, in main
    handle_url()
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer_cli/main.py", line 491, in handle_url
    handle_stream(plugin, streams, stream_name)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer_cli/main.py", line 378, in handle_stream
    success = output_stream(stream)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer_cli/main.py", line 245, in output_stream
    stream_fd, prebuffer = open_stream(stream)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer_cli/main.py", line 222, in open_stream
    stream_fd = stream.open()
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/hls.py", line 254, in open
    reader.open()
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/segmented.py", line 185, in open
    self.worker = self.__worker__(self)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/hls.py", line 121, in __init__
    self.reload_playlist()
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/hls.py", line 134, in reload_playlist
    playlist = hls_playlist.load(res.text, res.url)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/hls_playlist.py", line 275, in load
    return parser(base_uri).parse(data)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/hls_playlist.py", line 241, in parse
    self.parse_line(lineno, line)
  File "/Library/Python/2.7/site-packages/livestreamer-1.12.0-py2.7.egg/livestreamer/stream/hls_playlist.py", line 162, in parse_line
    segment = Segment(self.uri(line), extinf[0],
TypeError: 'NoneType' object has no attribute '__getitem__'

The command I’m using is:
livestreamer --twitch-oauth-token [token] [URL] best -o vod.mp4
Any help would be greatly appreciated!

Maybe using streamlink https://github.com/streamlink/streamlink/releases instead livestreamer solve your problem.

For me the VOD's return "No streams found on this URL ...." even though I've successfully authenticated. Will try out the streamlink suggestion.


add note that clickable needs to be run in main folder

It may be just a small thing but might help.

Thank you! I've modified the note a little to make it shorter. Feel free to reopen the issue if my changes worsened the note.


Pex Permissions not working correctly but the file seems okay

Hello Evryone :)
we are running a forgesponge Server on MC version 1.10.2 forge Version <IP_ADDRESS>2 and sponge API 5.0.0 BETA-1785.
Today we created groups with PEX, the Owner group works as it should I got all permissions, but evry other group dont got anny permissions... and it dosnt matter if I add the permission in the config file/consol/ingame :( Me and my friend have no clue what we are doing wrong :/
If you need more Information just tell me!
Here the permissions.json
{
  "subjects": {
    "default": {
      "Gast": [
        {
          "parents": [
            "group:default"
          ]
        }
      ]
    },
    "group": {
      "Owner": [
        {
          "permissions-default": 1
        }
      ],
      "Admin": [
        {
          "permissions": {
            "simpletags.cmd.*": 1,
            "permissions-default": 1,
            "modifyworld": 1,
            "totaleconemy.command.*": 1
          }
        }
      ],
      "Spieler": [
        {
          "permissions": {
            "totaleconemy.command.pay": 1,
            "totaleconemy.command.viewbalance": 1,
            "totaleconemy.command.balancetop": 1,
            "totaleconemy.command.jobset": 1,
            "totaleconemy.command.job": 1,
            "totaleconemy.command.jobtoggle": 1,
            "totaleconemy.command.jobinfo": 1,
            "modifyworld": 1,
            "totaleconemy.command.balance": 1
          }
        }
      ],
      "Gast": [
        {
          "modifyworld": -1,
          "permissions-default": -1
        }
      ]
    },
    "user": {
      "7b5e781a-8fda-3e7e-985a-462a49653328": [
        {
          "parents": [
            "group:Spieler"
          ],
          "options": {
            "name": "LiLa007"
          }
        }
      ],
      "08beeca8-28ac-393a-a593-08553d53cbb1": [
        {
          "parents": [
            "group:Owner"
          ],
          "options": {
            "name": "oOBlackCrystalOo"
          }
        }
      ]
    },
    "system": {}
  },
  "schema-version": 4
}

and the permissionsex.conf
# The list of backends able to be selected
backends {
    default {
        prefix=pex
        type=sql
        url="jdbc:h2:permissions"
    }
    default-file {
        # Place file entries in alphabetical order
        alphabetize-entries=false
        file="permissions.json"
        type=file
    }
}
# Whether to log permissions checks being performed
debug=false
default-backend=default-file
# Tags that apply to this server (which match with permissions blocks restricted by server-tag contexts
server-tags=[]
version=0

Thnks for talking time !
Aaron

Read the changes in 2.0 document, specifically (https://github.com/PEXPlugins/PermissionsEx/blob/master/doc/Changes-In-2.0.md#node-format-changes)[this section] to learn about changes in 2.0 that will make things work differently.


[openh264] (fixed upstream) openh264.pc references -lstdc++ on Windows, breaking gstreamer

Describe the bug
When building openh264 natively on Windows, the generated pkg-config file has a reference to -lstdc++, which isn't used on native Windows targets.
This appears to be fixed upstream already: if I add HEAD_REF master to portfile.cmake and build with --head, the pkg-config file is correct.  The fix was probably this PR merged in 2022.
Environment

OS: Windows
Compiler: Visual Studio 2022

To Reproduce
Steps to reproduce the behavior:

./vcpkg install openh264:x64-windows-static
Look at packages/openh264_x64-windows-static/lib/pkgconfig/openh264.pc and note that it includes:

Libs.private: -lstdc++

Run ./vcpkg install gstreamer[openh264]:x64-windows-static and it will fail with:

LINK : fatal error LNK1181: cannot open input file 'stdc++.lib'

If you build for x64-windows instead of x64-windows-static, the pkg-config file is still incorrect, but it doesn't break gstreamer since Libs.private isn't used for dynamic linking.

PR https://github.com/cisco/openh264/pull/3247 for c++ porting.

No stale.

Blocked by #32590.


Underline starting in last line not rendered when scrolled up

If an underline is started in the last line while scrolled up in the terminal, the underline is not rendered correctly.
This applies both for underlines printed using the escape sequence and for underlines created for URL highlighting.
Quick investigation shows this might be caused by the update_lines method or some other step in the rendering process. It seems like the cells have the underline flag set correctly, or at least some flags have an underline flag set, I haven't checked if they're the correct cells yet.

Seems like strikethrough is also affected. However selecting any cell (even empty) on line with underline + strikethrough shows both underline and strikethrough correctly.

Since strikeout and underline are handled pretty much exactly the same way, this does make sense.
Good catch on the selection though. I'd expect this to be relatively easy to resolve once the cause is found, however I was caught up with finishing up my PR for moving Alacritty to rfind_url.

@chrisduerr I guess, I've found a starting point and it seems like something is super weird here. The code, which is seems to be responsible for it is here. This "if" condition is always false and the cell.column, cell.line values are super odd. Also I've never seen cell.line == size_info.lines().
diff --git a/alacritty_terminal/src/renderer/rects.rs b/alacritty_terminal/src/renderer/rects.rs
index b4f8a01..95f4028 100644
--- a/alacritty_terminal/src/renderer/rects.rs
+++ b/alacritty_terminal/src/renderer/rects.rs
@@ -17,6 +17,7 @@ use crate::index::Point;
 use crate::term::cell::Flags;
 use crate::term::color::Rgb;
 use crate::term::{RenderableCell, SizeInfo};
+use std::process;

 #[derive(Debug, Copy, Clone)]
 pub struct Rect<T> {
@@ -66,6 +67,10 @@ impl<'a> Rects<'a> {
     /// Update the stored lines with the next cell info.
     pub fn update_lines(&mut self, size_info: &SizeInfo, cell: &RenderableCell) {
         for line in self.active_lines.iter_mut() {
+            if size_info.lines() == cell.line {
+                process::exit(127);
+            }
+
             match line.range {
                 // Check for end if line is present
                 Some((ref mut start, ref mut end)) => {
@@ -75,8 +80,11 @@ impl<'a> Rects<'a> {
                         && cell.fg == start.fg
                         && cell.column == end.col + 1
                     {
+                        println!("SizeInfo(cols: {:?}, lines: {:?})", size_info.cols(), size_info.lines());
+                        println!("RenderableCell(cols: {:?}, lines: {:?})", cell.column, cell.line);
                         if size_info.cols() == cell.column && size_info.lines() == cell.line {
-                            // Add the last rect if we've reached the end of the terminal
+                            // add the last rect if we've reached the end of the terminal
+                            process::exit(127);
                             self.inner.push(create_rect(
                                 &start,
                                 cell.into(),

You're probably have more ideas on what's going on here, since I'm not very familiar with rendering code atm. I'll continue watching into this to learn about rendering, but waiting for your feedback on this one.

The issue was caused by this rework 6716c81c08c10477d2370d7e1ca56e31348a7fa3. The cell.lines seems correct on the commit before rework I've mentioned(they're counted from zero, but values looks fine, since they can reach size_info.lines()).

I'll take a look at the code later, but cell.line == size_info.lines() looks like an off-by-one error to me. I'd assume cell.line is zero based. However I don't understand why it would have worked previously. Same with the columns.

I'll take a look at the code later, but cell.line == size_info.lines() looks like an off-by-one error to me.

For me, they it's off by 7(random number) in case I create underline on the last line.

Just an update to the issue.
The issue is presented only with the last underline in the last line

This is also presented when underlining on a prompt regardless of the position, but your cursor should be to the left to underlined text. Just move a cursor across the url to get the broken behavior.


FunctionDefinition.has_named_attribute(quote {test}) returns false for test functions

Aim
I want to be able to filter out test functions when iterating through a module.
Expected Behavior
FunctionDefinition.has_named_attribute(quote {test}) returns true for #[test] functions, or an extra .is_test() helper is added.
Bug
FunctionDefinition.has_named_attribute(quote {test}) for a test function returns false.
To Reproduce

Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Nargo Version
No response
NoirJS Version
No response
Proving Backend Tooling & Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response

So, the idea of has_named_attribute is that it only checks against custom attributes. I wonder whether we should add an is_test() as you suggested... or maybe we can have has_named_attribute also check the built-in attributes (I think I'll do this).
I also wonder if has_named_attribute should take a str<N> instead of Quoted, what do you think?

I'd be fine if the string just matched against the name but we should 100% avoid it matching against arguments as well. It works for a single word but we don't want to worry about spacing being different in the annotation or anything like that.

What if we lexed both the argument and the attribute and check that the tokens match? That way spacing being different wouldn't be an issue.
I'm still not sure about it, though. I'm just wondering what's the best way to check if something is annotated with #[aztec(public)] if we don't want to change that to #[aztec_public].


Fix app layout issues

Fixes

Fixes #1060
Fixes #1214
Fixes #845
Description

Switches Openverse's frontend to use a truly-sticky header, an actual fixed sidebar, and removes code to hide overflow in parent containers.
Also fixes the mobile header issues by adding w-full to the search input, which overrides the automatic size="20" applied to unsized inputs!
Testing Instructions

Visit the site and observe the filter sidebar, mobile filter popup, and mobile header. If you're on MacOS please try with different scrollbar settings:

You can search 'scrollbar' in system preferences to find those controls.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@WordPress/openverse-frontend please review this when you can. The one thing I haven't fixed here, that I would love someone to look into, is fixing the header scroll detection code which is used to change the header layout on mobile.

Something here has broken the body scroll lock for the filters modal on mobile (but not the search type switcher :thinking:)

Great review @sarayourfriend, thank you! I think I can fix this stuff 😄

We can probably fix # 4 in Sara's review if we update the xs breakpoint in SCREEN_SIZES to 360[px], because the header wraps when it's between 340 and 360 px.

@WordPress/openverse-frontend I think this is ready for re-review! I've merged in @krysal's additions. I've reduced and made consistent the size, line height, and font size of the two banners on mobile. I am not seeing any unnecessary horizontal or vertical scrollbars, if you are please let me know in which browser.

Side note: I'm not sure in userland if folks will ever see the two banners active at once. Any search.creativecommons.org url will always redirect to the english site at https://wordpress.org/openverse.

Side note: I'm not sure in userland if folks will ever see the two banners active at once. Any search.creativecommons.org url will always redirect to the english site at https://wordpress.org/openverse.

Good to know! That had not occurred to me at all.

4. The header changes height when scrolling on the single results page:
https://user-images.githubusercontent.com/24264157/164990269-51aa59c0-2931-4c3d-b234-ce1b3b532f40.mp4

The heights of scrolled/ non-scrolled headers are different because they have different paddings in the mockups ( I have forgot to add that detail when talking about the CSS variable for header height!).
The resting header has 16px paddings: https://www.figma.com/file/GIIQ4sDbaToCfFQyKMvzr8/Openverse-Design-Library?node-id=352%3A443
And the scrolled header has only 12px paddings: https://www.figma.com/file/GIIQ4sDbaToCfFQyKMvzr8/Openverse-Design-Library?node-id=352%3A544
Would this mean we need to set the CSS variables in JS?

Would this mean we need to set the CSS variables in JS?

Yes, I think that's right. If it could be done fully in CSS somehow that would be excellent because back-forward navigation does preserve scroll position, but it doesn't seem that there's a way to detect scroll position in CSS.

Would this mean we need to set the CSS variables in JS?

Yes, I think that's right. If it could be done fully in CSS somehow that would be excellent because back-forward navigation does preserve scroll position, but it doesn't seem that there's a way to detect scroll position in CSS.

We could have a class or a data attribute added by JS to an outer element when the header is scrolled, and have CSS use that...

We could, but that still more or less just relies on JS as much as the other solution :sweat_smile:
Let's fix it in the basic sense first and then we can see if the back/forwards is actually an issue.

@obulat is this ready for review, or are their still issues? I'm happy to work on it, in my testing everything appears to be working correctly so I'm not sure what's needed yet.

The gap at the bottom of the filter sidebar is fixed, but the header changes sizes on scroll for seemingly no reason on desktop :thinking: It looks like the only thing that changes is the border on the search type switcher?

Mobile search results scrolling and header also has some pretty strange interactions... :thinking:

I'm seeing this branch quite broken on mobile, and am investigating today.

I believe modal interactions are the only thing left to fix here, I'm investigating today.
I have made the header the same height, regardless of scrolling. It's a much better experience with less erratic movement and only a 10px or so difference. The only consequence of this is that the sticky header is a bit taller (cc @panchovm).

@sarayourfriend I think named layers are a good idea. We could create an eslint rule that disallows z-{1-10} classes. If someone is using a z-[] JIT class I think that's enough of a code smell that reviewers would catch it, but we could also write a lint rule for those if needed.
Please go ahead and create an issue. I'd like to do that work but don't want to add even more to this already critical, deployment blocking PR. The z indices are currently pretty 'healthy', we're using z-10,z-20,z-30,z-40 and z-50 all quite reasonably. No hacks or anything yet. It would still be nice to get the named values in soon in case this changes!

I discovered that body scroll locking was not working for the mobile filter menu, but we didn't notice in production because the body isn't actually scrollable in the production site, rather the direct children of the main element were. Because this PR makes the body truly scrollable, it revealed the existing bug.

Looking through the failing snapshots in the test-results artifact:

Several scrolled snapshots expectedly fail because everything is pushed down by the amount of extra padding when scrolled.
RTL media reuse snapshots seem to not capture all of the height, I'll investigate it. I'll also 'dismiss' the RTL translation banner for them.

I'll try fixing these problems, update the snapshots, and try running the tests again :)

I'm confused why those xs screenshots of the attribution tabs changed width 🤔

I think that it was caused by the main being wider than the screen width, and it was overflowing horizontally. At least, when I set main to use class="w-screen", all of the component started fitting into the xs screen, and it seems nothing else broke.

The changes in the latest PRs:

the SearchBar search button was set not to shrink. This stops the search button from being too narrow on small screens.
main width is set to 100vh (Tailwind w-screen class). This stops the app from being too wide for the xs screens. This fixes the media reuse visual regression tests, and also makes sure that everything fits into the screen on xs breakpoint.
Mobile header vertical padding is set to the smaller py-3 value to match the mockups.

I think this PR is ready to be merged 🚀

@obulat

main width is set to 100vh (Tailwind w-screen class). This stops the app from being too wide for the xs screens. This fixes the media reuse visual regression tests, and also makes sure that everything fits into the screen on xs breakpoint.

w-screen does not account for the width of a visible scrollbar, so it adds horizontal scrolling when scrollbars are set to visible, like on Windows.
Trying w-full instead, I believe the tests still pass.

As far as I know there are no mobile browsers which display vertical scrollbars. There's likely a child misbehaving that's causing the expansion on small sizes that I'll also investigate if time permits.

Note that that's just a stopgap. I regularly use Openverse under the md breakpoint on my laptop (with visible scrollbars).

@sarayourfriend a full, non stop-gap fix for this is applied, and the Playwright tests are passing

Ah you're right @krysal #1212 isn't related to this PR. Thanks for the review!


Cron Task to fetch mails

I made a file to be called for fetch the mails from the accounts listed on config.mail.php, every x minutes or hours

The cron file is there, but i need to clean up it.

[ ] Add documentation how to add as cron task
[ ] Put the cron task itself.


Possible Code Error?

Hey guys,
I use Python for durable functions, and I'm testing a way to avoid duplicate instances in my process.
For this purpose I looked at this documentation:
https://docs.microsoft.com/pt-br/azure/azure-functions/durable/durable-functions-singletons?tabs=python
Specifically this part of the code:
async def main(req: func.HttpRequest, starter: str) -> func.HttpResponse:
    client = df.DurableOrchestrationClient(starter)
    instance_id = req.route_params['instanceId']
    function_name = req.route_params['functionName']

    existing_instance = await client.get_status(instance_id)

    if existing_instance is None or existing_instance.runtime_status in [df.OrchestrationRuntimeStatus.Completed, df.OrchestrationRuntimeStatus.Failed, df.OrchestrationRuntimeStatus.Terminated]:
        event_data = req.get_body()
        instance_id = await client.start_new(function_name, instance_id, event_data)
        logging.info(f"Started orchestration with ID = '{instance_id}'.")
        return client.create_check_status_response(req, instance_id)
    else:
        return {
            'status': 409,
            'body': f"An instance with ID '${existing_instance.instance_id}' already exists"
        }

In my test it only worked when I changed the line:
if existing_instance is None

for
if existing_instance.runtime_status is None

Anybody knows which is the appropriate form?
Thanks!
[Enter feedback here]

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

ID: a5d6badc-f611-71ad-b167-aabfb95dc13f
Version Independent ID: db5c72cb-648c-5009-7261-1ba55703c08e
Content: Singletons for Durable Functions - Azure
Content Source: articles/azure-functions/durable/durable-functions-singletons.md
Service: azure-functions
GitHub Login: @cgillum
Microsoft Alias: azfuncdf

@davidmrdavid can you comment on this one?

Thanks for the ping @cgillum.
Thanks for reaching out @PandasBots. It seems you're right, the return type of get_status is never None, so the right way to check this is to inspect the runtime_status field.
@PandasBots, would you be interested in contributing the edit now that you've identified the fix? We're always happy to accept third party contributions :)
If not, I can author it myself in a little while. Just let me know!

Hi @davidmrdavid thanks for your reply.
Actually I'm new here, so I would not know how to help with this edit.
yes you can do it, no problem!
Thanks!

@PandasBots the docs here should have been updated already. Could you please verify and close this issue? Thanks!
@mike-urnun-msft: could you close this issue if this doesn't get any activity in a few days? Thanks!

We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Added MAP_FIXED_NOREPLACE and MAP_SHARED_VALIDATE consts.

This addresses #1339 and #1315. I believe the location of the constants is correct as-is, as both flags are linux-specific additions. Let me know if I missed anything.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+

:pushpin: Commit e8cbf2b3dd32ecd4cfb28b3a69fda8399aa64b9c has been approved by gnzlbg

Unsure why the travis build was canceled, and I don't think I can do anything about it short of a force-push.

@ibabushkin I canceled it manually because it was going to fail anyways (CI was temporarily broken due to unrelated issues).
So don't do anything, bors will take care of that (it will run the tests and if everything passes, it will merge this, and if not, it will comment here with what failed).

Alright, makes sense!
On 2019-05-16, gnzlbg wrote:

@ibabushkin I canceled it manually because it was going to fail anyways (CI was temporarily broken due to unrelated issues).
So don't do anything, bors will take care of that (it will run the tests and if everything passes, it will merge this, and if not, it will comment here with what failed).

:hourglass: Testing commit e8cbf2b3dd32ecd4cfb28b3a69fda8399aa64b9c with merge af384a40477746e5b5073a51194f71b7c8748807...

:broken_heart: Test failed - checks-travis

Okay, apparently musl, android and some other platforms do not expose these flags. I'll move the code and fix it.

Can you check the musl and android headers for these? Maybe we just have to update the versions that we use of those headers (there is a PR for android open).

On 2019-05-16, gnzlbg wrote:

Can you check the musl and android headers for these? Maybe we just have to update the versions that we use of those headers (there is a PR for android open).
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/rust-lang/libc/pull/1340#issuecomment-493084418

Sure thing, will do!

Current musl does not expose MAP_FIXED_NOREPLACE for some time now, bumping the version to 1.1.22 should work I think, will test.
The android build failed for some unrelated reason it seems: https://travis-ci.com/rust-lang/libc/jobs/200704897
Same for emscripten: https://travis-ci.com/rust-lang/libc/jobs/200704899 https://travis-ci.com/rust-lang/libc/jobs/200704900
I haven't yet isolated the issues there.

Ok, so don't worry about Android and Emscripten for now. The build jobs for these targets are allowed to fail, so as you've noticed, they might fail for unrelated reasons.

Alright, I updated musl for most docker containers (sorry for the delay). mips and mipsel use OpenWRT toolchains though, and I haven't yet found musl versions current enough there. Is there a reason for that or does it make sense to try and use an upstream musl there as well? I suppose the issue could be difficulty obtaining a working toolchain, but I don't see that documented anywhere so far.

mips and mipsel use OpenWRT toolchains though, and I haven't yet found musl versions current enough there.

It is possible to update this, but this would probably require doing the update in a synchronized fashion with rust-lang/rust since OpenWRT is used there to create the Rust toolchains for these targets. That is, it would be better to do that in a follow PR, were one branches libc, creates a PR to rust-lang/rust that updates this and uses the branch, makes sure bors: try passes there, and once everything is green in rust-lang/rust, we merge the libc parts here, do a quick release, update the PR upstream to use the released version, and merge that.

That is, I think it would be better to not expose these for musl targets here, merge this, and then work on the musl parts later.

Alright, I have reverted the mips-related commits. Not the updated musl toolchains for other arches though, I believe that is fine (since I also removed musl support for the two flags for now).

@bors: r+

:pushpin: Commit 63e3932d549d28e4aa9a29b3c6fa3094112726e6 has been approved by gnzlbg

:hourglass: Testing commit 63e3932d549d28e4aa9a29b3c6fa3094112726e6 with merge bf85aa6dfc5b782eb372b987fbbe2bc50e27c61b...

:sunny: Test successful - checks-cirrus, checks-travis, status-appveyor
Approved by: gnzlbg
Pushing bf85aa6dfc5b782eb372b987fbbe2bc50e27c61b to master...

Alright, I'll proceed to add musl support separately :)

@ibabushkin i had to check the musl support for those targets today, and the musl versions used there are very old, so I think it would be ok to just not provide these constants for musl mips targets.


Discuss IDisposable and objects with global scope or long lifetimes

Revised guidance on objects that implement IDisposable
General
The "Using an object that implements IDisposable" section of the IDisposable interface and the Using objects that implement IDisposable topics discuss IDisposable only in the context of objects whose lifetimes are confined to a single method. However, some disposable objects are either global or have lifetimes that are longer than a single method. The documentation provides no guidance about these. These two sections should be expanded to cover such disposable objects.
/cc @markmnl @terrajobst

On the subject of "objects that have lifetimes that are longer than a single method", there are those:

Who are scoped to a single class.
Who's scope leaks beyond the class where it was created.

The first case can be mitigated using the Dispose Pattern
The second one is a case of transfering of ownership. While the disposal of the instance should be taken care by the code on the receiving end, there's still need in the member where the IDisposable is instantiated for guaranteeing no leaks in case an exception is thrown between the instance's creation and transfering it to its new "owner".

Fixed in #18266


bug or not? /2. shell no longer loads after adding a remove function in static.nss

Hi @moudey
I have two questions please :+1:
I removed from the context menu the NVIDIA control panel with the remove function (vis.remove) in the static.nss file
item(type='desktop' find='Panneau de configuration NVIDIA' vis=vis.remove)
The entry is deleted and no longer appears in the context menu.
I created a page (nvidia.nss) to create a menu with the control panel and the nvidia geforce experience

Except that the line to launch nvcplui.exe doesn't launch anything (but it works if I create a shortcut and point to it)
yet it is the exact path without error (I checked several times)
do you have a solution ? (because I don't know if it's a bug or if I'm doing something wrong!)

second question, do you have a solution to remove from the context menu of the taskbar the entry "Toolbars"

because when I add this line to the file static.nss shell no longer loads at all:
item(type='taskbar' find='Barres d'outils' vis=vis.remove)

maybe it's not possible, I don't know ?
thank you for your feedback ++

Make the execution of the command through the operating shortcut instead of the direct command.

Replace the single quotes with the double quotes

find="Barres d'outils"

Effectuez l'exécution de la commande via le raccourci de fonctionnement au lieu de la commande directe.

Remplacez les guillemets simples par les guillemets doubles

find="Barres d'outils"

yes I will use with the shortcut! :+1:
for the taskbar item, I'm stupid it was only a quotation mark question, so I modified, shell loads fine but the item remains present :

I also noticed that on some item, when I try to apply a custom icon it doesn't work either I show you:

do you know why ?

For Win+X menu
item(type='*' where=window.is_start find="system" vis=vis.remove)

For the first question, use this function to run UWP app
@appx.shell("NVIDIACorp.NVIDIAControlPanel")

For Win+X menu
item(type='*' where=window.is_start find="system" vis=vis.remove)

For the first question, use this function to run UWP app
@appx.shell("NVIDIACorp.NVIDIAControlPanel")

Can't get nvidia control panel to open, im doing something wrong?
item(title='NVIDIA Control Panel' cmd=@appx.shell("NVIDIACorp.NVIDIAControlPanel") image=\uE260)
The nvidia control panel is working from other shortcuts.

For Win+X menu
item(type='*' where=window.is_start find="system" vis=vis.remove)

For the first question, use this function to run UWP app
@appx.shell("NVIDIACorp.NVIDIAControlPanel")

I just want to successfully integrate an icon on the WIN + X menu and not remove items !
I use the commands of usual but as I indicate some icon does not change and it does not put me anything while on others it works... it's really strange...
I was wondering if all this could have a direct / indirect interaction with StartAllBack that I use ?!

Can't get nvidia control panel to open, im doing something wrong?
item(title='NVIDIA Control Panel' cmd=@appx.shell("NVIDIACorp.NVIDIAControlPanel") image=\uE260)
The nvidia control panel is working from other shortcuts.

same for me I have the same command line and nothing happens, shell loads fine but nothing launches

For Win+X menu
item(type='*' where=window.is_start find="system" vis=vis.remove)

For the first question, use this function to run UWP app
@appx.shell("NVIDIACorp.NVIDIAControlPanel")

I just want to successfully integrate an icon on the WIN + X menu and not remove items ! I use the commands of usual but as I indicate some icon does not change and it does not put me anything while on others it works... it's really strange... I was wondering if all this could have a direct / indirect interaction with StartAllBack that I use ?!

Can't get nvidia control panel to open, im doing something wrong?
item(title='NVIDIA Control Panel' cmd=@appx.shell("NVIDIACorp.NVIDIAControlPanel") image=\uE260)
The nvidia control panel is working from other shortcuts.

same for me I have the same command line and nothing happens, shell loads fine but nothing launches

got it to work, use this command
item(title='NVIDIA Control Panel' cmd='shell:appsFolder\NVIDIACorp.NVIDIAControlPanel_56jybvy8sckqj!NVIDIACorp.NVIDIAControlPanel' image=\uE260)


The raw uncached query APIs should not exist

We currently have three layers of query APIs:

re_data_store, which hosts the very low-level APIs used to fetch raw cells from the store (either latest-at or range).
These APIs should never be used directly by downstream crates:
- https://github.com/rerun-io/rerun/issues/6017
re_query, which wraps the low-level APIs in a higher level abstraction that takes care of nullability, promise resolution, error handling, etc.
re_query_cache, which does everything that re_query does, but also handles caching on top of that.
re_query_cache is NOT built on top of re_query. It's built atop re_data_store.

The fact that both re_query and re_query_cache exist is a giant PITA.
While they look functionally similar on the surface, they have very different semantics in all aspects that matter upon closer look.
Here's a non exhaustive list of examples:

re_query doesn't store any typed data, while re_query_cache does.
re_query can easily expose owned data, but not reference data. re_query_cache is the exact opposite.
re_query supports fine grained errors within data ranges, re_query_cache on the other hand only supports coarse errors at both ends of the range.
re_query_cache exposes data that is protected behind mutex guards, whereas re_query doesn't.
The list goes on.

These differences make it impossible to abstract over both re_query and re_query_cache in a way that doesn't completely nullify the advantages of each respective API.
Because we can't abstract these differences away, we have to duplicate a lot of the logic between the two, and this logic ends up behaving in subtly different ways, every time. And because Rust is Rust, those different types and traits poison all neighbor functions and suddenly you have two maintain two separate code bases. It's basically a homegrown case of function coloring.
This creates a never ending stream of issues in the code, which begs the question: why do we have uncached APIs to start with?
The reason is that, because of limitations in our data and caching models, we are currently forced to not cache certain things, such as images and meshes, else the memory overhead would become unmanageable.
The only way to fix these limitations is to address these two issues:

https://github.com/rerun-io/rerun/issues/5967
Fixing this would remove the need for the deserialization cache, which means not having to keep yet another extra copy of images and meshes -> less memory pressure.
https://github.com/rerun-io/rerun/issues/5974
Fixing this would prevent all the different caching layers from growing indefinitely -> less memory pressure.

Fixing these issues is no small task.
In the mean time, I might try and see if it's possible to tweak the cached APIs so that we can disable caching for specific components.

I had a :sparkles: revelation :sparkles: last night: what if instead of viewing meshes/images/etc as uncacheable, we viewed them as always to-be-evicted-asap?
That is: hardcode a very simple rule in the cached APIs so that all meshes/images/etc-related entries get unconditionally garbage collected at the start of every frame (something that should be absolutely trivial to do now that our caches are at the component level).
Suddenly the only entry we're caching is the one being shown on the screen right now, which is perfectly fine overhead-wise, since we have to deserialize the data in one place or another anyhow.
That means we can remove the uncached APIs entirely (both re_query & re_query2), and with them, half of our problems.
For downstream consumers, it all looks cached: it's all the same APIs, it's all slices. All the duplicated logic goes away.
You could also get a bit fancier and apply some last-frame-used semantics instead of always evicting unconditionally, but whatever, that kind of fanciness falls into #5974 territory. We can be fancy later.


fix: reset CARGO env var to fix wrong CARGO in commands

fixes #1059

codecov/project seems to be failing because it considers the toolchain_test.rs file as requiring tests

sorry fir the delay. I'll meege and publish a new version mid next week

sorry fir the delay. I'll meege and publish a new version mid next week

friendly bump 🙂

@wmmc88 thanks a lot. looks good. i'm merging to dev branch, doing few checks, check other issues and than i'll release.


Loading screen size wrong after cloning a table

Not sure how this happens. If I remember correctly the table had a proper loading video and after the clone it looks like this.

Even after removing and adding the loading screen I still get this wrong size. Not sure how to fix this on the popper side.

You use a blank default video an a second video with "(SCREEN3)" suffix. I wasn't aware of that recently. I assume that I skip the suffixed marked videos, that's why the full screen information get's lost.
As a workaround you can edit the loading video settings with the VPin Studio: open the edit dialog in media section, remove all other videos than the correct one. The "Full Screen" button should be enabled then and fix the problem.
I'll check why the resources are not copied correctly.

I can confirm clicking fullscreen and then removing the non (SCREEN3) entry fixes the issue.

Fixed with 1.3.4
Previous versions only supported one media asset for every screen. The change to multiple assets has not been applied to the media cloning.
https://github.com/syd711/vpin-studio/commit/d957503d7e925a5b306862826d56bc3c685a9f3c


Use different thread pool for connections in dbTransactor.

Don't know why but it seems to solve #149.

I think this is the right correction, @paulcleary give a 👍 since you weighed in on the comments above


Use trivy command

Use trivy command directly to inspect vulnerability instead of original detection logic

https://github.com/m-mizutani/octovy/issues/20


Adding core GCMR with bypass flow

Refs #287

Job VTB Documentation on b85a731 wanted to post the following:
View the site here
This comment will be updated on new commits.

Times out
How long does it take on your machine? Do you run it with Pronghorn or with subchannel?

Times out
How long does it take on your machine? Do you run it with Pronghorn or with subchannel?

I run with Pronghorn, and it takes long on my computer. (5 minutes or so)

This current version of subchannel is broken in devel
https://civet.inl.gov/job/1820363/
@kyriv1980

Pronghorn failures are due to the FHR model, unrelated.


Crash

Everytime I try to make a network with the flux controller it shuts down the server on single-player
and I got this link https://paste.dimdev.org/uwoborinej.mccrash

Outdated version, the latest version is 4.0.13 https://www.curseforge.com/minecraft/mc-mods/flux-networks/files/2814768


No Scrollbar in https://laravel-mix.com/docs/5.0 website's left sidebar menu

Laravel Mix Version: #.#.# (npm list --depth=0)
Node Version (node -v):
NPM Version (npm -v):
OS: Windows

Description:
No Scrollbar in https://laravel-mix.com/docs/5.0 website's left sidebar menu

Pretty sure we don't control that site. It's on GitHub though so you could open an issue there: https://github.com/mvdnbrk/laravel-mix.com


[BAEL-2421]: Added Stream example to Apache Commons

No need to merge as per the latest discussion


Reduce duplicate code

Description
This PR attemps to reduce duplicate code on certain modules.
Motivation and Context
Just a minor refactoring or design improvement
Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[x] Improvement/refactoring (non-breaking change that doesn't add any feature
but make things better)

Checklist

[x] Check other PRs and make sure that the changes are not done yet.
[x] The PR title is no longer than 64 characters.

@crertel Hey, great suggestion, I'll apply that change asap.

Thank you very much!


Clean up XML documentation comments (continued)

This is the first of approx. 3 additional pull requests regarding issue #1097. I decided to submit one PR per topic area. It should be far easier to review the changes if you can focus on one issue at a time.
The idea behind this PR is to get all the simple stuff & obviously incorrect things out of the way. See the commit message for more details.

Done.

Perfect! Merged


feat: added simple edit page

https://lucide-site-git-feat-added-simple-edit-page-jguddas.vercel.app/edit/icon

I build something to make it easier to submit icons.
I would love your feedback @g-angeles-aua @it-is-not @karsa-mistmere.
https://lucide-site-git-feat-added-simple-edit-page-jguddas.vercel.app/edit/icon

I really really like this as a concept (and actually use it a lot already when reviewing PRs), but the optimization script still needs some serious tweaking before we can publish this for public use, as it often results in really funky results that are way off the original.
And... it would also need to be able to run in the new, Vitepress based site (see the branch docs-vitepress). 🙈

Hi @jguddas I like it a lot - I like how you can just copy and paste code from Figma (or other editors) into it without needing to worry about indentation, formatting and optimization.
I thought of a few ideas:

In comments like this, it shows the icons next to other icons, and different stroke widths and it at 24*24 resolution. Would it be possible to do that underneath the preview on the edit page as well?
Syntax-highlight the code editor, so it's easily to read and debug the code (something like this?)
We should also make it so it follows many of the conventions we have such as how we code dots in svg.
I've spend quite a bit of time in the past finding out how icons are stored and how the repository works, for example, there used to be a tags.json file with all the icons' tags in it. Nowadays, along with the icon.svg file there is also a icon.json file, for example in https://github.com/lucide-icons/lucide/pull/1234/commits/da11c96e2623375fa5053a1ccf5554da4ddedb20. Perhaps the edit page could put this file in the commit as well, and also allow the user to enter tags and categories?

In comments like https://github.com/lucide-icons/lucide/pull/1229#issuecomment-1537506272, it shows the icons next to other icons

Great idea, I will see what I can come up with.

Syntax-highlight

Is already complex enough IMO.

We should also make it so it follows many of the conventions we have such as how we code dots in svg.

I already implemented a bunch of things including a fixDots function, but like @karsa-mistmere alluded too above, it isn't ready yet.
https://github.com/lucide-icons/lucide/blob/e009988c6696da05a6544eaf4bc256f9f49b48fe/site/src/pages/api/edit/optimize.ts#L851-L865
You can test it out by pressing optimize at https://lucide-site-git-feat-added-edit-page-jguddas.vercel.app/edit
Most things the user never needs to know about and can be automatically fixed, but some can either only be detected or need to be checked manually.

Perhaps the edit page could put this file in the commit as well

We should create a /edit/metadata page and paste a link on the PR.
We can't do it on the /edit/icon page due to GitHub only allowing you to edit one file at a time using the web interface.


Server commit Id being null for @ jittery5justfriends atsign

Describe the bug
After initial authentication, The server commit id being return is null
To Reproduce
Steps to reproduce the behavior:

First I installed the buzz app
Then onboarded using the @ jittery5justfriends atsign
And then check the logs for the server commit id

Expected behavior
Server commit id should not be null
Screenshots

Were you using an @application when the bug was found?

[e.g. @ buzz]

Additional context
Add any other context about the problem here.

The above issue doesn't occur after upgrading storage to 100M. Now I'm able to log in to the app with jittery5justfriends and can do all the operations successfully without any issues.
https://user-images.githubusercontent.com/43639593/147537830-5e72f1c5-9b9a-4694-8e38-d42632595a68.mp4
https://user-images.githubusercontent.com/43639593/147537809-0d69b96c-2994-438d-a6c3-2feadeb0fcce.mp4


Feature: Reproduce {grail} table for report

flag duration table
Whenever longitudinal data is available:

add additional table that shows flag trend per site under each assessment

one row per site, cell for each snapshot date, use same diverging palette to show change (or z-score)

first pass

recreate the {grail} table using {gt}
no interactivity
start with newly flagged red KRIs

columns: KRI ID, site, >> heatmap (show dates as column names), show values as one cell per snapshot

Going to call this duplicate of #1078 and close for the time being.
I do think we might want to just move the "Risk Signal Snapshot" functionality from Grail to {gsm} eventually, but not a top priority right now.


Use a better merger url

Use inventory_hostname instead of ansible_nodename becase the
inventory file uses full FQDNs, but the host doesn't know its own
FQDN.
Signed-off-by: K Jonathan Harker<EMAIL_ADDRESS>

Starting gate_github jobs.


Module 1 exercises [replace with your name]

Please "drag & drop" exercise 1 pdf file below.

Please "drag & drop" exercise 2 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 1 and make sure to take
the post-training survey. Participating in surveys is required for receiving
the "GALUP Certificate" by the University of Florida.

HELLO. I AM NOT ABLE TO SUBMIT MY EXERCISES WHEN I DRAG AND DROP NOR ATTACH.

close due to #564


Null not set as data on JSONModel if passed in the constructor

OpenUI5 version: 1.108
Browser/version (+device/version): latest firefox
Any other tested browsers/devices(OK/FAIL): -
URL (minimal example if possible): jsfiddle reproducer
Steps to reproduce the problem:

Initialise a new JSONModel(null) by passing null to the constructor
Initialise a new JSONModel() with no params and call setData(null) on it
Call getData() on both models

What is the expected result?
Both should return null
What happens instead?
The first returns {}, the second returns null
Any other information?
It is caused by an extra check in the constructor.

Hello @firesharker,
Thank you for sharing this finding. I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.
Regards,
Nikolay Hristov

Hi @firesharker,
the documentation of the [JSONMode constructorlhttps://openui5.hana.ondemand.com/api/sap.ui.model.json.JSONModel#constructor] as well as [JSONModel#setData|https://openui5.hana.ondemand.com/api/sap.ui.model.json.JSONModel#methods/setData] state that the oData parameter must be of type object. According to https://github.com/SAP/openui5/blob/master/docs/guidelines/jsdocpitfalls.md "object" is defined as a "plain JavaScript object". Even though null is of type object it is not a plain JavaScript object. Therefore it is correct that the constructor maps null to the empty object {}. The behaviour of #setData is therefore... let's say questionable. However for compatibility reasons we decided not to change anything about the behaviour.
Kind regards,
Peter.


Setting max-length on a custom module replaces entire module text with "..."

I have a couple of custom modules that uses mediaplayer.py:
"custom/spotify": {
    "exec": "/usr/bin/python3 /home/hubro/Dropbox/Config/waybar/custom_modules/mediaplayer.py --player spotify",
    "format": "{}  ",
    "return-type": "json",
    "on-click": "playerctl -p spotify play-pause",
    "on-click-middle": "killall -KILL /opt/spotify/spotify",
    "on-scroll-up": "playerctl -p spotify next",
    "on-scroll-down": "playerctl -p spotify previous"
},
"custom/chromium": {
    "exec": "/usr/bin/python3 /home/hubro/Dropbox/Config/waybar/custom_modules/mediaplayer.py --player chromium",
    "format": "{}  ",
    "return-type": "json",
    "on-click": "playerctl -p chromium play-pause"
},

This works great:

Although Youtube video titles tend to be quite wordy, so I want to limit the text length. However, if I add max-length to the custom modules:
"custom/spotify": {
    "exec": "/usr/bin/python3 /home/hubro/Dropbox/Config/waybar/custom_modules/mediaplayer.py --player spotify",
    "format": "{}  ",
    "max-length": 30,
    "return-type": "json",
    "on-click": "playerctl -p spotify play-pause",
    "on-click-middle": "killall -KILL /opt/spotify/spotify",
    "on-scroll-up": "playerctl -p spotify next",
    "on-scroll-down": "playerctl -p spotify previous"
},
"custom/chromium": {
    "exec": "/usr/bin/python3 /home/hubro/Dropbox/Config/waybar/custom_modules/mediaplayer.py --player chromium",
    "format": "{}  ",
    "max-length": 30,
    "return-type": "json",
    "on-click": "playerctl -p chromium play-pause"
},

Then the text of both modules are completely replaced with "...":

Am I doing something wrong, or is this a bug?
➜ pacman -Q | grep waybar
waybar 0.9.7-1

Have the same

I have replaced python3 ~/.config/waybar/custom_modules/mediaplayer.py --player spotify" to
 "exec": "python3 ~/.config/waybar/mediaplayer.py 2> /dev/null", and max-length started to work.

I'm still having this exact problem with Waybar v0.9.9. On my laptop, the media module for youtube is taking up a third of the width of the monitor, and I can't limit the width without the entire module text being replaced with ....

This appears to happen when the edge of modules-left or modules-right would go over the center of the bar, even if there are no center modules. Setting fixed-center to false in the top-level config makes the (empty) center less sticky, allowing the left or right side to expand over it when a module has max-length set.

@amarshall That definitely wasn't the problem for me, as this also happened on my 5120x1440 desktop monitor, even when modules-right was miles away from the center modules.
However, your comment just prompted me to try again, since it's been a long time since I posted this issue, and apparently this has been fixed now! :smile: :tada:

I'm getting this issue -- I have max-length set on a right-aligned module, but when the center module (window title) becomes too large then it turns the right-aligned module into just ...


Set paddingRight to scrollbar width when menu is open

This prevents an unwanted offset of the page, when the context menu is opened. The same technique is being used by bootstrap-modal, 15px is the width of the scroll bar.

Any update on this?


diff() bug

Hi
There seems to be a bug. I have the dates
var a = moment([2015, 6, 30]); // last day of june 2015
var b = moment([2015, 7, 1]); // first day of july 2015
var totaldays = b.diff(a, 'days'); // 2 but should be 1
I have the link to demo.
http://plnkr.co/edit/X8E78NR9hJzWipau2i3m?p=preview

Like Date, months are 0-11 for this function.  So that's actually July 30 and August 1.
See:  http://momentjs.com/docs/#/parsing/array/

Thank you for pointing me in the right direction.
Much appreciated.


didc Rust output not generating records not referenced in service

didc is not generating Rust structs for records that aren't referenced from a service. This is undesirable for my use case, as I have Candid-defined records that may not be used in exported query or update functions, but which are needed to do cross-canister calls for example.
This Candid file:
type CanisterStatusArgs = record {
    "canister_id": text;
};

type CanisterStatusResult = record {
    "cycles": float64;
};

service: {
    "initiateTransfer": () -> (int32);
    "randomness": () -> (vec nat8);
    "status": () -> (float64);
}

generates this Rust code with didc bind [path-to-did] -t rs:
// This is an experimental feature to generate Rust binding from Candid.
// You may want to manually adjust some of the types.
use ic_cdk::export::candid::{self, CandidType, Deserialize};
use ic_cdk::api::call::CallResult;

struct SERVICE(candid::Principal);
impl SERVICE{
  pub async fn initiateTransfer(&self) -> CallResult<(i32,)> {
    ic_cdk::call(self.0, "initiateTransfer", ()).await
  }
  pub async fn randomness(&self) -> CallResult<(Vec<u8>,)> {
    ic_cdk::call(self.0, "randomness", ()).await
  }
  pub async fn status(&self) -> CallResult<(f64,)> {
    ic_cdk::call(self.0, "status", ()).await
  }
}

Notice that the CanisterStatusArgs and CanisterStatusResult records have not be translated into Rust structs.
But if you run didc bind [path-to-did] -t rs with this Candid:
type CanisterStatusArgs = record {
    "canister_id": text;
};

type CanisterStatusResult = record {
    "cycles": float64;
};

you do get the Rust structs:
// This is an experimental feature to generate Rust binding from Candid.
// You may want to manually adjust some of the types.
use ic_cdk::export::candid::{self, CandidType, Deserialize};
use ic_cdk::api::call::CallResult;

#[derive(CandidType, Deserialize)]
struct CanisterStatusArgs { canister_id: String }

#[derive(CandidType, Deserialize)]
struct CanisterStatusResult { cycles: f64 }

I would like the Rust structs to always be generated.

I've observed that didc bind [path-to-did] -t ts correctly outputs the records not referenced in the service:
import type { Principal } from '@dfinity/principal';
export interface CanisterStatusArgs { 'canister_id' : string }
export interface CanisterStatusResult { 'cycles' : number }
export interface _SERVICE {
  'initiateTransfer' : () => Promise<number>,
  'randomness' : () => Promise<Array<number>>,
  'status' : () => Promise<number>,
}

as does didc bind [path-to-did] -t mo:
// This is a generated Motoko binding.
// Please use `import service "ic:canister_id"` instead to call canisters on the IC if possible.

module {
  public type CanisterStatusArgs = { canister_id : Text };
  public type CanisterStatusResult = { cycles : Float };
  public type Self = actor {
    initiateTransfer : shared () -> async Int32;
    randomness : shared () -> async [Nat8];
    status : shared () -> async Float;
  }
}

Right. Both JS and Rust binding only generate types referenced in the service. Because both languages require identification of recursion points, and that algorithm requires sorting the type definitions from a root. I will have to think about if that can be relaxed.
A workaround is to separate the type definition in another did file without the main actor.

func types are also not generated if not referenced in the service.


Feature-Request: PNG support for background images and logos

We have a customised version of XRDP where a previous employee enabled png support for images. Also enabled is the ability to scale center the background image. Compared to bitmap 24 the file size of 30MB is reduced to just 5MB.
Unfortunately we no longer have the knowledge or skills in our team to customise the latest releases to include this and think that smaller images with the support for transparency would be beneficial to others. I believe @matt335672 may have some knowledge on how this can be achieved already.

Further to this i think all of the necessary code required is contained within this inherited github account:
https://github.com/simdev5281/xrdp/tree/login-window-png-support/xrdp

Hi @simdev5281
Discussion #1931 has been raised on this. Feel free to comment.


question about network training

when training network，the network input is sample.input=｛｛targetIn,targetPosIn｝,sourceIn｝
, crit：forward（net.output,sample.target）,but ｛targetIn,targetPosIn｝  and  sample.target  essentially  is same thing ,so the input of network contain the information  about the target of sample,I wonder why the input of network  is that?

yes, the training process requires the target information of the sample, as it uses the previous token to predict the current token, and use the current token to predict the next token.

(credit: https://www.tensorflow.org/tutorials/seq2seq)
In the above image, EOS,W,X,Y,Z (below) are the input for the decoder, and W,X,Y,Z,EOS (above) are the expected output for the decoder. When W is fed into the model, the decoder is expected to produce X, and so on.. So most seq2seq model have two target inputs(with one time-step offset), one for decoder input, one for loss evaluation

thank you very much

@frankang is right. We basically treat a seq2seq model as a language model in training, that is we have it predict the next words in the target language from given current words in the target language. The source language sentence is provided as an "extra" input.


Update Callout.qml

@JamesMBallard please review

This should get picked up when we merge beta_update10 into v.next since it's already in v.next. Should this go into "beta" for current beta users?


Add new vendor "stoplight"

Looks like their SSO tier came down in price a bit, but still very high - fixed up and added.


When Google Chrome available For Windows Phone 8, 8.1 and Windows 10 Mobile?

When Google Chrome available For Windows Phone 8, 8.1 and Windows 10 Mobile. Please we request make it available for Windows Phone all versions. We need all Google apps can run on Windows Phone 8, Windows Phone 8.1 and Windows 10 Mobile.

@AKSHAYPATEL147852369 that is an issue tracker about a framework for web development and not for Chrome.
For your problem/suggestion see Chromium Bugtracker


Use sub-account for proposal deposit balances

The current implementation of proposal deposits has a hidden foot-gun that the dao could create a proposal to spend all of its cw20 balance and accidentally spend the proposal deposit balances. Storing the proposal deposit balances in a sub account using https://github.com/CosmWasm/cw-plus/tree/main/contracts/cw1-whitelist would make this distinction more clear and make it unlikely the dao would accidentally spend proposal deposits. Of course, the DAO could always spend the deposits on purpose but such is the will of the people 🤷♂ .

Might be a better way of creating a sub-account. We should ask around in the CosmWasm Discord.

Ah interesting, will see what people have to say!

Tests should be written for this. See #47 for context.

Closing as this won't be relevant anymore with the v1 architecture.


Training scripts and working with diffusers

Thanks a lot for building this. I have 2 questions -

Is there a way to make this work in diffusers?
When do you plan to release the training scripts?

Hi there,
1: it seems to be currently in the making: diffusers-integration
2: hopefully as soon as possible
Cheers

Thank you so much @Sipirius
Also found the training script https://github.com/UmerHA/diffusers/tree/cnxs-training/examples/controlnet_xs . Not tested it yet. But can be useful for anyone else looking


apache2: oci runtime error

I have followed the readme, I got Ubuntu 14.04 and when I invoke:
$ docker-compose up -d apache2 mongo php-fpm mariadb
Removing laradock_apache2_1
Starting laradock_volumes_data_1
Starting laradock_volumes_source_1
laradock_workspace_1 is up-to-date
laradock_php-fpm_1 is up-to-date
Recreating c419d01e5058_c419d01e5058_laradock_apache2_1
laradock_mongo_1 is up-to-date
Recreating laradock_mariadb_1
ERROR: for apache2 Cannot start service apache2: oci runtime error: no such file or directory
ERROR: Encountered errors while bringing up the project.
I can't figure out what's' going on, I already changed the port to an unused one.

same error here :/

Same error as well; has anyone figured out how to fix this?

+1

I think this error is the same as this https://github.com/LaraDock/laradock/issues/277

+1

I had this problem. That's how I managed to solve it:

install laravel with composer first. made git init and added laradock as a submodule
changed laradock/workspace container port to 666. then docker-compose build workspace
`docker-compose up -d apache2 mysql
Works!

+111111

@wtwei could the fix from @altjsus also apply to you?

Is this solved or not yet!!

Yes, this is solved, thanks a lot @Mahmoudz and everyone!


update description in ui

Looks fine to me. How was it testing? (add that to description and then :+1: )

So currently this is not a problem, because we only modify description from ui, but if you modify description in background page for example it won't be reflected in ui until you close and reopen the popup window.
This change is necessary for background page refactoring.
Tested it manually: open background page and modify globalSettings.description it was reflected in ui.

Also this is a correct way of doing it. In order the changed to value to be reflected correctly in polymer ui we should always refer to an object one level up. this is what lucy calls "arrow shifting".


PXP-419: [Wukong CLI] Cursor disappear when terminating the interactive session in the middle.

Summary

Ticket: PXP-419
What's Changed

Fixed

[x] make sure the cursor will not be hidden after user press ctrl + c during selections prompt

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

ya that make sense in debug build, because ctrl + c will terminate the current session so the selection prompt will throw error. It wouldn't show on release build.

I can try to handle this panic

I've handled the panic.

/lgtm

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan, onimsha
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan, onimsha
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


debugSpigot/Paper copies *-sources.jar instead of primary plugin

Thanks for the fix in 1.3.1 with the inherited plugin class, it works now :)
However I found another bug that has to do with the debugSpigot and the other debug* tasks. When I configure gradle to compile my project with sources and javadocs, the sources jar gets copied into the plugins folder.
java {
    withJavadocJar()
    withSourcesJar()
}

If I comment out the part with the sources  it works fine. If I only use the javadoc part it works fine as well.

Hi @Silthus, thanks for the report. it should be fixed now.


[stable/oauth2-proxy] Allow defining a custom secret

What this PR does / why we need it:

Add an ability to specify an existing secret for OAuth2 credentials. Just like the stable/postgresql chart does with the PGPASSWORD

Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign

/approve

/lgtm


Timer

[ ] clear_timer
[ ] set_timer_interval
[ ] set_timer

Let's take a minute to think about what kind of things we would test in a property test for timer

Feasibility of Property Tests for Delay Duration

How feasible is it to write property tests that account for all possible delay values?

Edge cases, like a delay close to u64::MAX, present a major challenge since a maximum delay would not trigger until the year 2554.
This suggests that we may need to set a more practical upper limit for testing delays, though this limit could miss some edge cases by design.

Is there actual value in testing an arbitrary range from 0 to u64::MAX - time()?

Property tests often explore a wide range of values, but with timers, testing such an extensive range may be impractical and provide limited insights.
A more efficient range might allow us to focus on specific, manageable edge cases, but even then, the range's utility for meaningful tests is unclear.

Arbitrary Callback Functions in Property Tests

How useful or feasible is it to include arbitrary callback functions in these tests?

Right now, a callback might just set an arbitrary value, which feels limited and may not truly stress-test the function's behavior.
Would this type of callback testing actually give us meaningful insights into how setTimer or setTimerInterval handles more complex or varied callbacks?

Would an "arbitrary function generator" make sense?

If we tried to generate random functions, what kinds of functions would we even include? How would we verify correct execution in property tests?
The time and complexity involved in building and validating such a generator may far outweigh the potential value, especially if these tests provide little additional assurance.

So completely arbitrary timers lengths and callbacks seem a little unreasonable to me, but maybe we can come up with some properties to test that don't require us to do all of that


Moved imports to __init__.py

Closes #62

How to review this

Run the following from the viking-log-keeper root directory:

git fetch origin
git checkout 62-tidy-up-packages
python -m venv .venv
.venv\Scripts\activate
pip install -e .

Then navigate to your desktop and see if the update-logs.exe is there

Might have found a better way using pyinstaller
pip install pyinstaller
pyinstaller --onefile --hidden-import=inquirer --hidden-import=readchar --copy-metadata readchar .\src\log_keeper\main.py


[New] Apply mosaic rule to rasters

Description
This PR implements Apply mosaic rule to rasters in Layers category.
swift/issues/5481
How To Test
Load map and wait for raster images to load. Tap rules in the navbar and select a rule. The raster overlaying the map should update to reflect the rule.
Screenshots

@pgruenler @njarecha Ready whenever you get the chance.

@pgruenler there was a one change to the loading indicator logic due to it being dismissed too early. It should be good to go for you and @njarecha


Analytics broken for Hubspot, Quantcast, Chartbeat, Comscore and KISSmetrics

I tried to setup analytics with Google Analytics and Hubspot through the analytics. But for some reason which I don't get it Google Analytics is not receiving any data anymore once Hubspot tracking code is also setup.
If I leave out the Hubspot code from the settings then Google is working like a charm. Has anybody had this issue as well and is there a solution or is there a way to find out what's going wrong?
Thanks for pointing me in the right direction! I will also ask the Hubspot support team to have a look at it.

We'll try and take a look, but it sounds like it's maybe an (analytics.js)[http://segmentio.github.io/analytics.js/] issue. I'd also triple check your settings.json file too!

There seems to be a much bigger problem than I thought. Apparently the Hubspot code doesn't get initialized at all. The thing is that for quite a few libraries there is an option "assumesPageView". If this flag is set in the plugin code, like it is for HubSpot, initialization should happen when the first page call is made. This is implemented with the "after" package. This mechanism is written in wrapInitialize and wrapPage should cause the second initialize and final initialization.
But no page call is made in this case because initialization is not completed. Basically the problem is introduced with this commit: https://github.com/okgrow/analytics/commit/4de2fd2cdcf3b2b5acf580097507cacf300159d1
I could solve the issue for me by avoiding to use trackPageWhenReady, but this might introduce different problems. I don't know whether the changes with those on ready callbacks have been made out of another necessity?
I will update the issue title accordingly as this issue is much bigger than initially thought.

Not only the connections with these libraries get broken but everything gets stuck if you load any of these connectors and you don't do manual page tracking calls.

@derouck There is an open issue that I believe explains the behaviour you noticed with Google Analytics and Hubspot over on segment.io's analytics.js repo.
Currently if one integration fails no .ready() is fired. A substantial rewrite might be required on our end, but we are currently investigating.
We will be working  to resolve a few of the open bugs on the okgrow:analytics repo over the next week. Hopefully we will have a fix for you soon.

@cfnelson That's fine, I have a fairly simple workaround by changing trackPageWhenReady like this, so for me there's no rush.
var trackPageWhenReady = function () {
  var _args = arguments;
  analytics.ready(function () {analytics.page.apply(this, _args);});
};

var trackPage = function () {
  var _args = arguments;
  analytics.page.apply(this, _args);
};

With this approach, there could be some information missing, but the point is that a lot of the analytics systems want to know the first page when they are initialized. Then again they only say they are ready when they receive have tracked a page. Thus the only way forward is to start tracking pages. Otherwise, the Meteor package keeps waiting for Godot.
So possible solutions for this package are:

an option dontWaitForReady to start tracking immediately
have this behavior built-in when packages in the title are configured. In this case, there might remain a problem for those that add other integrations themselves, but they would only need to add the name of their integration to that list. This would probably be the easiest solution for users.

If the segment package would allow indicating that you don't need to wait for a ready for these integrations it could work as well, but considering the age of that bug it doesn't look like anyone will pick it up soon.
If you need some more information, let me know.
Good luck and thanks for the package!

@derouck Thanks for your detailed response. Out of curosity are you using FlowRouter ?
I have worked on resolving a bug in our package where FlowRouter didn't log the intial page view. The fix is here #123 . I would be curious to know if this resolves your issue, though from reading your issue I suspect it is slightly different.
I like your 2nd solution, I will go check what libraries are using this assumesPageView and check these integrations behaviour. I am wanting to do a major refactor of this package which would hopefully enable the ability to users to use any of the segment.io's analytics-integrations. So your suggestion aligns nicely with this plan of mine. Hopefully I can incorporate them together.
I will keep you upto date on any progress I make.

Closing this issue as there has been no activity and believe it to be resolved. Please re-open if this bug comes back.

The proposed solution is not a fix for the problem. The problem is that some (a lot) of the tracking services require data when they get initialised. The function that will track a page, will only do that once the ready event has been returned from the analytics.js package. This event will never come in this case as e.g. the Hubspot package will only initialise once there is data
const trackPageWhenReady = (...args) =>
analytics.ready(() => { .  *** This will only happen ***
return analytics.page.apply(this, args)    *** once this has been executed ***
});
So if you want to solve it you need to at least have one call of analytics.page.apply before having the others inside the ready check.

I'm encountering the same issue.
If I have Google Analytics, Intercom and Mixpanel defined in settings.json it's working.
If I add Hubspot to settings.json also, no analytics are getting through to Mixpanel.


To handle such scenarios the file_manager.gd script should be updated to load in chunks

Just fix this by slicing the file picker's choices down to a limit like 10 before and after the current choice or any other sane number

@face-hh do you want me to make a PR for this and you to close this issue aswell? the fix should be easy

UPDATE: By limiting item loading to 21 at a time and patching the focus_on to be compatible with this new change, I have significantly reduced the lag of the file picker to the state that it now actually loads your items and works at like 2 fps (further fixes coming soon)

This happens even when the file has many lines. (tested on 30,000+)

Yep, learned that the hard way by opening my 200gb downloads folder


I have a small problem here.

Hi, I do follow the steps and instruction to do the sonoff settings, but now the result is showing 'DHT read error'. Do you know any steps goes wrong will cause this issues?

Make sure the DHT is plugging into the socket correctly. Remove the top case and plug the DHT back in making sure it's all the way in. I have noticed that the hole in the plastic isn't big enough and the plug does not seat properly in the socket. I had the same issue.

It works!! Thanks for helping!!


Install SciSpark on your laptop

We are aware this will be a frustrating experience. Please file bugs and issues in GitHub and reach out to me with any other questions. As you go, document the process on the wiki.
SciSpark: https://github.com/SciSpark/SciSpark
Report Issues: https://github.com/SciSpark/SciSpark/issues
Document on wiki: https://github.com/SciSpark/SciSpark/wiki (yes, it's empty now!)

@valeriearoth I'm trying to get you added to the team here - and there's some issue (this is the trouble with too much security!). Nonetheless, I wanted you to know that the details are here for you.
Let me know if you have any issues or need some help.

Great, thank you! I should have a good amount of time today to make progress on it.


User tag does not detect full username with a dot in the middle

The label doesn't detect "user.name" in @user.name
It does only for the "user" part

had to change regex