kinect2_bridge is not working

Hey guys, I'm running my kinect on a Jetson TK1 and the kinect2_bridge is not working. Could someone help me?
(gdb) run
Starting program: /home/ubuntu/catkin_ws/devel/lib/kinect2_bridge/kinect2_bridge
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb0bd3230 (LWP 11116)]
[New Thread 0xb0196230 (LWP 11117)]
[New Thread 0xaf996230 (LWP 11118)]
[New Thread 0xaefff230 (LWP 11119)]
[ERROR] [registerPublisher] Failed to contact master at [localhost:11311].  Retrying...
^C
Program received signal SIGINT, Interrupt.
0xb6a39d8e in nanosleep () at ../sysdeps/unix/syscall-template.S:81
81  ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) quit
A debugging session is active.
Inferior 1 [process 11112] will be killed.

Quit anyway? (y or n) y

Did you tried to start a roscore? If you are new to ROS, try http://wiki.ros.org/ROS/Tutorials.

Hey wiedemeyer,
Thanks for the help! Yes, I'm new to ros and your advice helped me get past the "failed to connect to master" error. However, it seems like my kinect2_bridge is still not working, could you provide some insight? I really appreciate it. Here is my new debug log:
(gdb) run
Starting program: /home/ubuntu/catkin_ws/devel/lib/kinect2_bridge/kinect2_bridge
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb0bd3230 (LWP 4407)]
[New Thread 0xb0196230 (LWP 4409)]
[New Thread 0xaf7ff230 (LWP 4410)]
[New Thread 0xaefff230 (LWP 4411)]
[New Thread 0xae7ff230 (LWP 4416)]
[New Thread 0xad615230 (LWP 4417)]
[ INFO] [Kinect2Bridge::initialize] parameter:
base_name: kinect2
sensor: default
fps_limit: -1
calib_path: /home/ubuntu/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: cuda
depth_device: -1
reg_method: opencl
reg_device: -1
max_depth: 12
min_depth: 0.1
queue_size: 2
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect2
worker_threads: 4
[Error] [VaapiRgbPacketProcessorImpl] vaDisplayIsValid(display) failed
[Info] [CudaDepthPacketProcessorImpl] device 0: GK20A @ 852MHz Memory 1892MB
[Info] [CudaDepthPacketProcessorImpl] selected device 0
[New Thread 0xab192230 (LWP 4442)]
[New Thread 0xa688c230 (LWP 4443)]
[New Thread 0xa608c230 (LWP 4444)]
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 7 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @2:19 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found 1 devices
[ INFO] [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>47 (selected)
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 608*33792
[Info] [Freenect2DeviceImpl] opened
[ INFO] [Kinect2Bridge::initDevice] starting kinect2
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
[ INFO] [Kinect2Bridge::initDevice] device serial:<PHONE_NUMBER>47
[ INFO] [Kinect2Bridge::initDevice] device firmware: 4.0.3916.0
[Info] [Freenect2DeviceImpl] stopping...
[Info] [Freenect2DeviceImpl] canceling rgb transfers...
[Info] [Freenect2DeviceImpl] canceling depth transfers...
[Info] [Freenect2DeviceImpl] stopped
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for color intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for ir intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for rotation and translation.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for depth shift.
[ INFO] [DepthRegistration::New] Using OpenCL registration method!
[ INFO] [DepthRegistration::New] Using OpenCL registration method!
[ERROR] [DepthRegistrationOpenCL::init] depth_registration_opencl.cpp cl::Platform::get(&platforms) failed: -1001
[Info] [Freenect2DeviceImpl] closing...
[Info] [Freenect2DeviceImpl] releasing usb interfaces...
[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...
[Info] [Freenect2DeviceImpl] closing usb device...
[Info] [Freenect2DeviceImpl] closed
[ERROR] [Kinect2Bridge::start] Initialization failed!
[Thread 0xae7ff230 (LWP 4416) exited]
[Thread 0xb0196230 (LWP 4409) exited]
[Thread 0xaf7ff230 (LWP 4410) exited]
[Info] [Freenect2DeviceImpl] closing...
[Info] [Freenect2DeviceImpl] already closed, doing nothing
[Thread 0xa688c230 (LWP 4443) exited]
[Thread 0xa608c230 (LWP 4444) exited]
[Thread 0xad615230 (LWP 4417) exited]
[Thread 0xb0bd3230 (LWP 4407) exited]
[Thread 0xaefff230 (LWP 4411) exited]
[Thread 0xab192230 (LWP 4442) exited]
[Inferior 1 (process 4403) exited normally]

Could it be that the Jetson TK1 does not support OpenCL. I think I heard something like that in the past. If I am correct, start it without OpenCL: rosrun kinect2_bridge kinect2_bridge reg_method:=cpu.

Hey wiedemeyer,
I seem to be getting a similar error running it with reg_method:=cpu. With regards to OpenCL, I looked into this before and from my preliminary research it seems like there's no easy way to install it in an ARM7 architecture, so you could be right about the lack of support. Would it be possible to use iai_kinect2 without OpenCL? Thank you for your fast replies!
Warm regards,
boyangfu
ubuntu@tegra-ubuntu:~/catkin_ws/devel/lib/kinect2_bridge$ rosrun kinect2_bridge kinect2_bridge reg_method:=cpu
[ INFO] [Kinect2Bridge::initialize] parameter:
base_name: kinect2
sensor: default
fps_limit: -1
calib_path: /home/ubuntu/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: cuda
depth_device: -1
reg_method: opencl
reg_device: -1
max_depth: 12
min_depth: 0.1
queue_size: 2
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect2
worker_threads: 4
[Error] [VaapiRgbPacketProcessorImpl] vaDisplayIsValid(display) failed
[Info] [CudaDepthPacketProcessorImpl] device 0: GK20A @ 852MHz Memory 1892MB
[Info] [CudaDepthPacketProcessorImpl] selected device 0
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 7 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @2:6 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found 1 devices
[ INFO] [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>47 (selected)
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 608*33792
[Info] [Freenect2DeviceImpl] opened
[ INFO] [Kinect2Bridge::initDevice] starting kinect2
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
[ INFO] [Kinect2Bridge::initDevice] device serial:<PHONE_NUMBER>47
[ INFO] [Kinect2Bridge::initDevice] device firmware: 4.0.3916.0
[Info] [Freenect2DeviceImpl] stopping...
[Info] [Freenect2DeviceImpl] canceling rgb transfers...
[Info] [Freenect2DeviceImpl] canceling depth transfers...
[Info] [Freenect2DeviceImpl] stopped
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for color intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for ir intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for rotation and translation.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for depth shift.
[ INFO] [DepthRegistration::New] Using OpenCL registration method!
[ INFO] [DepthRegistration::New] Using OpenCL registration method!
[ERROR] [DepthRegistrationOpenCL::init] depth_registration_opencl.cpp cl::Platform::get(&platforms) failed: -1001
[Info] [Freenect2DeviceImpl] closing...
[Info] [Freenect2DeviceImpl] releasing usb interfaces...
[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...
[Info] [Freenect2DeviceImpl] closing usb device...
[Info] [Freenect2DeviceImpl] closed
[ERROR] [Kinect2Bridge::start] Initialization failed!
[Info] [Freenect2DeviceImpl] closing...
[Info] [Freenect2DeviceImpl] already closed, doing nothing

sorry, you have to write _reg_method:=cpu

No problem - now it's stuck on a different step. I've waited about 5 min for "clients to connect". Thanks!
ubuntu@tegra-ubuntu:~/catkin_ws/devel/lib/kinect2_bridge$ rosrun kinect2_bridge kinect2_bridge _reg_method:=cpu
[ INFO] [Kinect2Bridge::initialize] parameter:
base_name: kinect2
sensor: default
fps_limit: -1
calib_path: /home/ubuntu/catkin_ws/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: cuda
depth_device: -1
reg_method: cpu
reg_device: -1
max_depth: 12
min_depth: 0.1
queue_size: 2
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect2
worker_threads: 4
[Error] [VaapiRgbPacketProcessorImpl] vaDisplayIsValid(display) failed
[Info] [CudaDepthPacketProcessorImpl] device 0: GK20A @ 852MHz Memory 1892MB
[Info] [CudaDepthPacketProcessorImpl] selected device 0
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 7 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @2:8 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found 1 devices
[ INFO] [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>47 (selected)
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 608*33792
[Info] [Freenect2DeviceImpl] opened
[ INFO] [Kinect2Bridge::initDevice] starting kinect2
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
[ INFO] [Kinect2Bridge::initDevice] device serial:<PHONE_NUMBER>47
[ INFO] [Kinect2Bridge::initDevice] device firmware: 4.0.3916.0
[Info] [Freenect2DeviceImpl] stopping...
[Info] [Freenect2DeviceImpl] canceling rgb transfers...
[Info] [Freenect2DeviceImpl] canceling depth transfers...
[Info] [Freenect2DeviceImpl] stopped
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for color intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for ir intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for rotation and translation.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for depth shift.
[ INFO] [DepthRegistration::New] Using CPU registration method!
[ INFO] [DepthRegistration::New] Using CPU registration method!
[ INFO] [Kinect2Bridge::main] waiting for clients to connect
^C^Z
[1]+  Stopped                 rosrun kinect2_bridge kinect2_bridge _reg_method:=cpu

Hi Wiedemeyer, thanks so much for your help - we figured out we had to run both kinect2_viewer and kinect2_bridge in different terminals and it is working now, albeit very slowly on cpu

@rigersrukaj I see in the log these lines
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for color intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using sensor defaults for ir intrinsic parameters.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for rotation and translation.
[ WARN] [Kinect2Bridge::initCalibration] using defaults for depth shift.

Does it mean the kinect_bridge do not load the calibrated files?


i18n(de): update tutorial/0-introduction/1.mdx

Description (required)

update tutorial/0-introduction/1.mdx

Related issues & labels (optional)

actually up to date, but some changes
Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File
Note

de/tutorial/0-introduction/1.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

tutorial needs to be one PR, closing


Missing demo for combobox with menu

General Support Request
Looking around the Auro docsite we are missing a demo using combobox with auro-menu options to select from.
Support request
There is an example of typing into the combobox and getting a smaller list, but there are no examples for how this would be used in the scenario for displaying all menu options when clicking on the trigger.
Possible Solution
Add a demo to illustrate this use case.

Maybe we should add some notes about do's and don't and loop in @leeejune

This was quickly discussed and the result was that an additional demo is not needed.


Launching powershell failed or was denied when trying to fetch git version 2.14.1.

~\Documents\GitHub\vcpkg [master ≡]> .\vcpkg install sdl2 curl
The following packages will be built and installed:
curl:x86-windows

libssh2:x86-windows
openssl:x86-windows
sdl2:x86-windows
zlib:x86-windows
Additional packages (*) will be installed to complete this operation.
Building package sdl2:x86-windows...
Launching powershell failed or was denied when trying to fetch git version 2.14.1.
(No sufficient installed version was found)

Installing latest git on your machine (link) will avoid this issue altogether.
However, if you wish to investigate:

Open cmd (not powershell) in your vcpkg root.
Run:
powershell -NoProfile -ExecutionPolicy Bypass -Command "scripts\fetchDependency.ps1 git"

Thanks! I update my git and it works!
but when building libuv x64, get a building error like this:
Error: Building package libuv:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libuv:x64-windows
Vcpkg version: 0.0.84-unknownhash

D:\vs2015\vcpkg-master>.\vcpkg.exe install opencv
The following packages will be built and installed:

libjpeg-turbo:x86-windows
liblzma:x86-windows
libpng:x86-windows
opencv:x86-windows
tiff:x86-windows
zlib:x86-windows
Additional packages (*) will be installed to complete this operation.
Building package zlib:x86-windows...
Launching powershell failed or was denied when trying to fetch git version 2.14.1.
(No sufficient installed version was found)
cmd admin：
D:\vs2015\vcpkg-master>powershell -NoProfile -ExecutionPolicy Bypass -Command "scripts\fetchDependency.ps1 git
Mismatching hash of the downloaded git
所在位置 D:\vs2015\vcpkg-master\scripts\fetchDependency.ps1:168 字符: 9

    throw [System.IO.FileNotFoundException] ("Mismatching hash of ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (:) [], FileNotFoundException
FullyQualifiedErrorId : Mismatching hash of the downloaded git

What should I do???

D:\vs2015\vcpkg-master>.\vcpkg.exe install opencv
The following packages will be built and installed:
libjpeg-turbo:x86-windows
liblzma:x86-windows
libpng:x86-windows
opencv:x86-windows
tiff:x86-windows
zlib:x86-windows
Additional packages (*) will be installed to complete this operation.
Building package zlib:x86-windows...
Launching powershell failed or was denied when trying to fetch git version 2.14.1.
(No sufficient installed version was found)
cmd admin：
D:\vs2015\vcpkg-master>powershell -NoProfile -ExecutionPolicy Bypass -Command "scripts\fetchDependency.ps1 git
Mismatching hash of the downloaded git
所在位置 D:\vs2015\vcpkg-master\scripts\fetchDependency.ps1:168 字符: 9

D:\vs2015\vcpkg-master>.\vcpkg.exe install opencv
The following packages will be built and installed:
libjpeg-turbo:x86-windows
liblzma:x86-windows
libpng:x86-windows
opencv:x86-windows
tiff:x86-windows
zlib:x86-windows
Additional packages (*) will be installed to complete this operation.
Building package zlib:x86-windows...
Launching powershell failed or was denied when trying to fetch git version 2.14.1.
(No sufficient installed version was found)
cmd admin：
D:\vs2015\vcpkg-master>powershell -NoProfile -ExecutionPolicy Bypass -Command "scripts\fetchDependency.ps1 git
Mismatching hash of the downloaded git
所在位置 D:\vs2015\vcpkg-master\scripts\fetchDependency.ps1:168 字符: 9
what should I do??

D:\vs2015\vcpkg-master>vcpkg install openssl:x64-windows zlib:x64-windows libuv:x64-windows
The following packages will be built and installed:
libuv:x64-windows
openssl:x64-windows
zlib:x64-windows
Building package openssl:x64-windows...
Launching powershell failed or was denied when trying to fetch git version 2.14.1.
(No sufficient installed version was found)

@fishfreetaken
Can you post the logfiles?
@zhanMan
Please open a New Issue. I think you have an incompletely downloaded version of git. Please delete Downloads/MinGit-2.14.1-32-bit.zip and try again. Alternatively (and even better IMO), download and install the latest git from here:
https://git-scm.com/download/win
This will allow you to completely bypass this issue.

Thanks@alexkaratarakis

Closing.
Also, I think the root cause i the same as in #2127 so, this should no longer happen.


Failed to rc: operation "cache/expire" failed: remote control command failed: / doesn't exist in cache

What is the problem you are having with rclone?
Unable to expire the whole cache
What is your rclone version (eg output from rclone -V)
rclone v1.40-055-gaef1f16a-go-versionβ

os/arch: linux/amd64
go version: go1.10.1

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 16.04
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
aj@HetznerEX61:~⟫ rclone rc cache/expire remote=/ withData=true
{
"error": "remote control command failed: / doesn't exist in cache",
"input": {
"remote": "/",
"withData": "true"
}
}
2018/04/12 13:22:46 Failed to rc: operation "cache/expire" failed: remote control command failed: / doesn't exist in cache
Testing a subfolder works fine:
1 aj@HetznerEX61:~⟫ rclone rc cache/expire remote=/Miscellaneous withData=true
{
"message": "cached directory cleared: /Miscellaneous",
"status": "ok"
}

Can you try just clone rc cache/expire remote= withData=true and see if that works?

This is my bad when I updated the documentation I could have sworn you could evict stuff on the root level of the cache and included it in the PR, went back and tried it now and got the same result as this issue.
I guess it's worth looking at to be able to purge the cache at the root level without doing a SIGHUP to lose the data too, thoughts @remusb ?

Yep. Not sure if there's some limitation there that could prevent it but it's worth trying

This should be fixed in https://beta.rclone.org/v1.41-102-g13ccb398-test-remusb/
It's a branch build. Seems GIT had issues building a beta from the master today.
@ncw same here :( https://github.com/ncw/rclone/issues/2205

I had another commit to push which I've done so the beta should be in
https://beta.rclone.org/v1.41-104-gd1892896/ (uploaded in 15-30 mins)

Here's the working beta: https://beta.rclone.org/v1.41-105-g4df17949/


error

inability to open configuration menu with LabyMod

This might be an issue with LabyMod, YetAnotherConfigLib(YACL), or Mod Menu. Historically, mod clients(like LabyMod it seems) do not play nice with manually added mods, but I am unfamiliar with how LabyMod handles things.
Beyond that, I'm going to need more information.

What Minecraft version are you using?
Can you send screenshots showing how you would normally edit a mod's config with LabyMod, and what's going wrong with trying to edit Postmortal Particles' config? Are there any errors that appear or does the edit button just not show up/not work?

I'm closing this early because I'm pretty sure there isn't anything I can do about it from Postmortal Particles' side, but I can try to help beyond that. Alternatively, you should be able to edit the config file directly from file explorer if everything else fails.


Create 404 Page

It should...
...let the user know something goofed.
...be the default page if router misses all other routes.

Materialize 404

Will be closed by #74


When trying to update Parmanode

Type your choice, or (p) for previous, (q) to quit, then <enter>:
y
fatal: detected dubious ownership in repository at '/parmanode'
To add an exception for this directory, call:

FYI I've ran the install command from the root folder, it installed in /permanode/
it also created a /home/node/permanode folder.
Not sure if I did things right or should start everything from scratch. There's just not a single thing working beside Bitcoind who's fully synced.

Your seem to have permission issues, not sure why. Parmanode needs to run
as a regular user with sudo access. What is the OS? Which linux type are
you using?
Password is for sparrow, to connect to electrum/fulcrum server. It's not
designed to be publicly accessible. That feature I may make available in
the future, it's needs tor set up and configured.
On Thu, 1 June 2023, 1:07 am nostitos, @.***> wrote:

FYI I've ran the install command from the root folder, it installed in
/permanode/
it also created a /home/node/permanode folder.
Not sure if I did things right or should start everything from scratch.
There's just not a single thing working beside Bitcoind who's fully synced.
—
Reply to this email directly, view it on GitHub
https://github.com/ArmanTheParman/Parmanode/issues/16#issuecomment-1570418807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQCCXYUHRJY37VB4KACJN3XI5NEZANCNFSM6AAAAAAYVRPCHM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Fresh install of Ubuntu 22 Desktop, I used the default user it created.
Thinking of starting over and filming the entire process from scratch.
Would there be a way for a new version to test for these permission issues?
Will a password prompt show up when connecting to that server in sparrow? There's just no field for a password.
I'm trying to use Parmanode because apparently Fulcrum is the only server that can load a wallet with many small transactions and handle multiple users syncing their wallet at the same time.
Since Fulcrum is for loading public information, I guess the use-case for the password is to preserve resource from random people on the LAN using it?

I followed these instruction that have now changed.
It must not be the home directory (Parmanode will know and not let you run it, apologies).
When I read that it should not be in HOME I understood that I had to go outside of that directory tree entirely. Not go into a sub-directory Desktop

If you are not somewhere in HOME, you may get permission issues.
On Thu, 1 June 2023, 8:29 am nostitos, @.***> wrote:

I followed these instruction that have now changed.
It must not be the home directory (Parmanode will know and not let you run
it, apologies).
When I read that it should not be in HOME I understood that I had to go
outside of that directory tree entirely. Not go into a sub-directory Desktop
—
Reply to this email directly, view it on GitHub
https://github.com/ArmanTheParman/Parmanode/issues/16#issuecomment-1571047489,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQCCXYURFSLFNQUUO2O5FLXI7A5NANCNFSM6AAAAAAYVRPCHM
.
You are receiving this because you commented.Message ID:
@.***>

Maybe just wait for me to update Parmanode, I see if I can get Sparrow to
connect to Fulcrum automatically for you.
A password is necessary only when connecting sparrow to bitcoin core
directly, not Fulcrum.
On Thu, 1 June 2023, 8:18 am nostitos, @.***> wrote:

Fresh install of Ubuntu 22 Desktop, I used the default user it created.
Thinking of starting over and filming the entire process from scratch.
Would there be a way for a new version to test for these permission issues?
Will a password prompt show up when connecting to that server in sparrow?
There's just no field for a password.
I'm trying to use Parmanode because apparently Fulcrum is the only server
that can load a wallet with many small transactions and handle multiple
users syncing their wallet at the same time.
Since Fulcrum is for loading public information, I guess the use-case for
the password is to preserve resource from random people on the LAN using it?
—
Reply to this email directly, view it on GitHub
https://github.com/ArmanTheParman/Parmanode/issues/16#issuecomment-1571038613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASQCCXZIZ4LFJ3XQL73SZNDXI67SRANCNFSM6AAAAAAYVRPCHM
.
You are receiving this because you commented.Message ID:
@.***>

Thank you, I uninstalled Parmanode and reinstalled in Desktop as recommended.


"send_logs_level" client setting should provide logs with any desired level regardless to the server log level.

For example, with
SET send_logs_level = 'trace',
the client should receive trace logs even if the server has log level set to "information".

@nikitamikhaylov


[Request][Enhancement] Re-Add *.pson save option

Sad to see it go in 5.1, it let people use the program much faster when dealing with pson files and the other project is a little better and generating .sav files right now. It would be great if you re-added an option.
Maybe keep everything the same, and just add a "save as" button, when people click it filter "*.pson; *.sav.json". If they select pson then save just the pals that are edited. If they select .sav.json then merge the edited pals into the .json.
It'd also be nice if you let people open up .sav.json files again too, I don't see why not :)

Loading times have been significantly shortened with the release of 0.6
We removed .pson because it was confusing a lot of average consumers of the product who had no idea what the difference was.


feat: migrate to vite

BREAKING CHANGE: no longer depends on styled-components
Types of Changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue, please reference the issue id)
[ ] New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Description
[Place a meaningful description here.]

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


TranscribeStreaming Receive partial results while continuing to send chunks.

Confirm by changing [ ] to [x] below:

[x ] I've gone though Developer Guide and API reference
[ x] I've searched for previous similar issues and didn't find any solution

Platform/OS/Hardware/Device
What are you running the sdk on?
Using 1.9 on Intel x86 / Window 10
Describe the question
I'm trying to receive partial audio transcriptions while still sending more audio chunks. I found a similar issue #1527 mentioning the issue but it's unclear to me in how to achieve this. I'm sure I'm sending at least 500 millisecond chunks, but I don't receive results until the stream completely finishes. How do you receive partial results while continuing to send chunks in a stream?

I probably should mention I'm using http/2, TranscribeStreamingServiceClient::StartStreamTranscriptionAsync

Hi @jbmcgee ,
Yea there seems to be something going on with the windows implementation, we'll update when we have more info.

Is there any updates regarding the issue? Thanks.

sorry,
Yea there was an recent update on the transcribestreaming service, I just haven't had the chance to test if the issue was fixed, but if you could try getting the latest SDK version and trying it might be faster than me setting up the test on a windows machine.
I will still try and update by eod and see if anything's changed.

Alright, as an update I was able to run the sample on Windows.
The only "issue" I have is that the windows console does not really work for this sample, as it doesn't work in real time, so you won't get the transcribe results printed on the console until you close the application.
This is not really a "problem" with the SDK though, and the sample is only meant to be an example on how to call the service so I am not sure  it's a bug either?
Idk, let me know what you think and/or if you are still having issues with it.

Thanks for the update. I'm still seeing the same behavior with the latest SDK. The request's TranscriptEventCallback isn't call until the stream finishes. Maybe my expectations of the SDK API is incorrect. I assumed TranscribeStreamingServiceClient::StartStreamTranscriptionAsync would call the StartStreamTranscriptionStreamReadyHandler on one thread and call the request's TranscriptEventCallback on another. After looking at the source, it seems the request and response are made on the same thread. Looking at WinSyncHttpClient.cpp,:
        if (DoSendRequest(hHttpRequest) && StreamPayloadToRequest(request, hHttpRequest, writeLimiter))
        {
            success = BuildSuccessResponse(request, response, hHttpRequest, readLimiter);
        }

How do I stream payloads on one thread while receiving responses on another in parallel? Do I have to turn my stream into separate request?

Thanks for the help. I was able to achieve my goal with websockets api.


How do I show popover at start?

Trying to show a popover as soon as a view appears.
@State var showingPopover: Bool = false

var body: some View {
    Button {
        showingPopover.toggle()
    } label: {
        Image(systemName: "questionmark.circle")
            .font(.title)
            .foregroundColor(.primary)
    }
    .popover(present: $showingPopover) {
        PopoverView()
    }
    .onAppear() {
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
            showingPopover = true
        }
    }
}

Setting showingPopover = true in onAppear without delay (asyncAfter) fails 100%

[Popovers] - No window was found when presenting popover. Please file a bug report (https://github.com/aheze/Popovers/issues).

I can kinda get it to work by adding delay but this isn't super reliable.
Any ideas?

Yeah it takes a bit for the window to first become available. This is to support multiple windows on iPadOS... anyway, the best bet right now is probably just adding a 0.1 second delay.

This happened to me as well. Can confirm that adding a slight delay (I used 0.2s) during onAppear as suggested works as expected.
I agree with @stbdang that this isn't super reliable and it'd be nice to have a more deterministic way to ensure things work as expected.


prettier, template strings, encoding and tonemapping fragments

the second commit would be a breaking change:
MeshLine
A mesh replacement for THREE.Line. Instead of using GL_LINE, it uses a strip of billboarded triangles.

How to use
npm install meshline

import * as THREE from 'three'
import { MeshLineGeometry, MeshLineMaterial } from 'meshline'

Create an array of 3D coordinates
First, create the list of numbers that will define the 3D points for the line.
const points = []
for (let j = 0; j < Math.PI; j += (2 * Math.PI) / 100) {
  points.push(Math.cos(j), Math.sin(j), 0)
}

Create a MeshLine and assign the points
Once you have that, you can create a new MeshLineGeometry, and call .setPoints() passing the list of points.
const geometry = new MeshLineGeometry()
geometry.setPoints(points)

Note: .setPoints accepts a second parameter, which is a function to define the width in each point along the line. By default that value is 1, making the line width 1 * lineWidth in the material.
// p is a decimal percentage of the number of points
// ie. point 200 of 250 points, p = 0.8
geometry.setPoints(geometry, p => 2) // makes width 2 * lineWidth
geometry.setPoints(geometry, p => 1 - p) // makes width taper
geometry.setPoints(geometry, p => 2 + Math.sin(50 * p)) // makes width sinusoidal

Cou can also provider a BufferGeometry by calling .setGeometry() instead.
geometry.setGeometry(myGeometry)

Create a MeshLineMaterial
MeshLineGeometry needs to be paired with MeshLineMaterial.
const material = new MeshLineMaterial(options)

By default it's a white material of width 1 unit.
MeshLineMaterial has several attributes to control the appereance of the MeshLine:

map - a THREE.Texture to paint along the line (requires useMap set to true)
useMap - tells the material to use map (0 - solid color, 1 use texture)
alphaMap - a THREE.Texture to use as alpha along the line (requires useAlphaMap set to true)
useAlphaMap - tells the material to use alphaMap (0 - no alpha, 1 modulate alpha)
repeat - THREE.Vector2 to define the texture tiling (applies to map and alphaMap - MIGHT CHANGE IN THE FUTURE)
color - THREE.Color to paint the line width, or tint the texture with
opacity - alpha value from 0 to 1 (requires transparent set to true)
alphaTest - cutoff value from 0 to 1
dashArray - the length and space between dashes. (0 - no dash)
dashOffset - defines the location where the dash will begin. Ideal to animate the line.
dashRatio - defines the ratio between that is visible or not (0 - more visible, 1 - more invisible).
resolution - THREE.Vector2 specifying the canvas size (REQUIRED)
sizeAttenuation - makes the line width constant regardless distance (1 unit is 1px on screen) (0 - attenuate, 1 - don't attenuate)
lineWidth - float defining width (if sizeAttenuation is true, it's world units; else is screen pixels)

If you're rendering transparent lines or using a texture with alpha map, you should set depthTest to false, transparent to true and blending to an appropriate blending mode, or use alphaTest.
Use MeshLine and MeshLineMaterial to create a THREE.Mesh
Finally, we create a mesh and add it to the scene:
const mesh = new THREE.Mesh(geometry, material)
scene.add(mesh)

You can optionally add raycast support with the following.
import { raycast } from 'meshline'

mesh.raycast = raycast

Declarative use
Meshline can be used declaritively. This is how it would look like in react-three-fiber. You can try it live here.

import { Canvas, extend } from '@react-three/fiber'
import { MeshLineGeometry, MeshLineMaterial, raycast } from 'meshline'

extend({ MeshLine, MeshLineMaterial })

function Line({ points, width, color }) {
  return (
    <Canvas>
      <mesh raycast={raycast}>
        <meshLineGeometry points={points} />
        <meshLineMaterial
          transparent
          depthTest={false}
          lineWidth={width}
          color={color}
          dashArray={0.05}
          dashRatio={0.95}
        />
      </mesh>
    </Canvas>
  )
}

Dynamic line widths can be set along each point using the widthCallback prop.
<meshLineGeometry points={points} widthCallback={pointWidth => pointWidth * Math.random()} />

References

Drawing lines is hard
WebGL rendering of solid trails
Drawing Antialiased Lines with OpenGL


MODULES-10063, extend apt::key to support deeplinks

urrent implementation only supports baseurls. nothing like 'https://www.apache.org/dist/cassandra/keys'

👍


Unsupported api-version for armservicebus ListKeys() method

Bug Report

Recently I upgrade github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/servicebus/armservicebus to  v0.3.1
I am using ListKeys() method from the NamespacesClient which is defined here
But After the upgrade I started to receive error on ListKeys() api call and error snippet is as below
{
	"error": {
		"code": "NoRegisteredProviderFound",
		"message": "No registered resource provider found for location 'centralus' and API version '2021-11-01' for type 'namespaces/authorizationrules'. The supported api-versions are 2014-09-01, 2015-08-01, 2017-04-01, 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview. The supported locations are ''."
	}
}

I see that SDK is using an api-version which is not supported and hardcoded here
For now to unblock myself I stopped using SDK for this particular function and shifted to REST API

Hi @ajain-cldcvr sorry for the inconvenience, I am adding labels to loop the persons from the service side.
And in the future, we might add functionalities to allow you override the default api-versions
cc @jhendrixMSFT

@ArcturusZhang:  The service team reached out today to understand what was being requested of them here.  After reading this over, I don't believe that there is any.  The inquiry appears to have been about a pre-release version of the library that has since been superseded by several GA releases.
Please review and if action is still needed, please clarify the ask on the service team.   Otherwise, please resolve or route as appropriate.

NamespacesClient ListKeys is available (live test passed)
Register resource provider


How can I delete buttons and information that I don't need?

How can I delete buttons and information that I don't need? When I put /* code*/ the code is not compiled (
How can I painlessly remove the buttons / features of the bot?

It's currently not built to be that modular or easy to change, but making these changes should be pretty simple. You should be able to remove the buttons and extra text by changing Response::send: https://github.com/capslock/stable-diffusion-bot/blob/main/crates/stable-diffusion-bot/src/bot/handlers/image.rs#L87-L92
Deleting L90 should get rid of the keyboard.
The text is created with MessageText, e.g. https://github.com/capslock/stable-diffusion-bot/blob/main/crates/stable-diffusion-bot/src/bot/handlers/image.rs#L274
You can change that call to change the text. If you want it to just put the prompt text as the caption, you can change it to something like:
let caption = MessageText::new(text.as_str());

is it possible to make the bot work only with "-gen" tags. And how to add Extract functionality to it?

Could you explain what those are? I don't know "-gen" tags or what Extract functionality is.

ionality is.

Suppose there is a group chat. By default, the bot responds to any message. Need command to call bot response
For example "-gen a girl, red hair, summer"

This is something that I planned to do so I just went ahead and did it here: https://github.com/capslock/stable-diffusion-bot/commit/cc9c27a33dc10083c987bf25f767fd3294618410
You can now use /gen a watercolor of a corgi wearing a tophat to generate images. If you enable bot privacy, then it won't see other messages in a group chat and will only respond to /slash commands.


Any way to increase speed ?

I have 8 GB RAM Ubuntu in EC2. The image background removal command is taking time around 6-10 seconds but My CPU & RAM is utilizing only 1-10 %
Is there any option to increase the speed via utilizing more resources?
I really appreciate the support of this repo.

I'm guessing the averages for your CPU and RAM is 1-10% ( unless you're dealing with a very small file ) or depending on what "command" your seeing it might be a thread and not the actual command. If you open a second shell or utilize screen and run something like htop while the backgroundremover command is running you should see something like this ( cropped and edited to hide some information ). You can filter in htop so that you only see backgroundremover.

Point being, on the CPU side especially, it's going to be using a lot more than 1-10%, and given that it's probably a "regular" EC2 instance and not one of the P* types ( IE https://aws.amazon.com/ec2/instance-types/p3/ ) you will be bound by your CPU, and you'll find you're already fully utilizing it.

Thanks for the reply.
Yes, You are right. My avg. CPU is 1-10%.
If I increase the CPU & RAM then Will it optimize the speed?

You can try changing the batch size or worker number from 1-and up https://github.com/nadermx/backgroundremover#advance-usage-for-video

@nadermx : I am using image background removal so is there any option to increase batch size or worker?
Thanks for the reply.


modify interaction can not be used for 'Circle'

Describe the bug
see https://openlayers.org/en/latest/examples/draw-and-modify-features.html
To Reproduce
Steps to reproduce the behavior:

Draw a circle feature
Modify the feature's radius
The feature has no change, but the center can be changed

I try some cases local, I find that: using modify interaction with the snap interaction together will lead to this bug.

It seems to be a regression as it works in version 5 https://openlayers.org/en/v5.3.0/examples/draw-and-modify-features.html

It is still possible to modify a radius, but seemingly only at one point on the circumference (which changes at each modification).  I'm not sure what determines that point.
It appears to have last worked correctly with 6.0.0-dev.1569520841098 https://codesandbox.io/s/draw-and-modify-features-w7h3y and had problems with 6.0.0-dev.1569520952344 https://codesandbox.io/s/draw-and-modify-features-6x5ow and those timestamps would correspond to the merging of #10009

It looks like it may be related to the snap interaction. On master, If I disable the snap interaction I am able to modify a circle geometry.


Short php open tags

A few short open tags <? left in:
community_store/single_pages/dashboard/store/multilingual/checkout.php
community_store/single_pages/dashboard/store/multilingual/common.php
community_store/single_pages/dashboard/store/multilingual/products.php

All of the above are just one occurrence near the start of each file.
 0) { ?>

Fixed by https://github.com/concrete5-community-store/community_store/pull/433


Add example template lets_divide.html to README

I'm not very familiar with jQuery plugins, and I'm trying to use jquery-celery with jobtastic for the first time.
It'd be great if README.md had an example template that could help folks like me to get started.
I'd be happy to do a PR for this, but I don't know how to create that example template ;-)
I'm guessing something like:
<html>
    <head>
        <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" ></script>
        <script type="text/javascript" src="https://raw.github.com/PolicyStat/jquery-celery/master/src/celery.js"></script>
    </head>
    <body>
        <div id="task_id" style="display: none;">
            {{ task_id }}
        </div>
    </body>
</html>

I know this is old, but I'd also like to see a sample HTML file.  The AJAX part of this whole stack is my weakest point, and that's the one that's not in the docs. =)

@bkeifer I'll see if I can add something soon.

@bkeifer: I'd love if you took a look at the updated README on this branch with the sample file included.
Ask me follow-up questions here if you're still stuck, and we can iterate on the file/instructions until you're up and running.
Hopefully that way we can end up with a good PR to the README that assumes nothing but gets other new users to the project up and running/

Progress!  I'm slowly working through this and getting close.
First thing I found is an extra semicolon on the closing } for on_other (line 39).
The task is started and completes successfully (verified via flower), but I'm getting the "Something went horribly wrong" message on the web page.
My console shows the following URL throwing a 404:
http://localhost:8080/task/f231d5df-fbc6-45b6-acf1-625f4a669134/status/?_=1462994476693
This makes sense, since I don't have anything at /task/ (that I know of, at least...).  Where is that URL handled?  Is that a part of the Celery setup I missed?  If it matters, this is in a Django app.

So here's what I've got for my /task view.  It's not pretty, but it works.  Does this jive with what you'd expect to see from the method handling that call?
def task(request, task_id):

    data = 'Fail'
    task = AsyncResult(task_id)

    # Task is still in progress
    if type(task.result) is dict:
        data = {'task': {'result': {}}}
        # data['task'] = {}
        data['task']['id'] = task_id
        data['task']['status'] = task.state
        # data['task']['result'] = {}
        data['task']['result']['progress_percent'] = task.result['progress_percent']
    # Task has finished.
    elif type(task.result) is list:
        data = {}
        data['task'] = {}
        data['task'] = {
            'status': task.state,
            'id': task_id,
            'progress_percent' : 100,
        }

    return HttpResponse(json.dumps(data), content_type='application/json')

@bkeifer: You're on the right track.
Celery includes a task status view that you can wire up in the urls.py for your project.  It corresponds to the path defined in jquery-celery:
from djcelery.views import task_status
urlpatterns = [
    url(r'^admin/', admin.site.urls),
    ...
    url(r'^task/(?P<task_id>[\w\d\-\.]+)/status/', task_status),
]

That was the missing piece.  Thank you!


Review webpage for voyager2_rss_uranus_49xr_raw bundle

Should pdsdata-raid45 be mounted on server3? I currently cannot see anything when I ls there. This is so I can rsync across the bundle tar.gz, checksum manifest, validate report to review-data/

It looks like https://pds-rings.seti.org/review-data/voyager2_rss_uranus_49xr_raw does not yet exist.

Yes, my comment above was asking whether to go ahead and mount pdsdata-raid45 on server3. I recall there was some discussion on slack about how to mount it and I didn't want to run the wrong command.

Maybe use Staging instead?  It seems that Server3 is not in great health.


[18.09 backport] Fix nil pointer derefence on failure to connect to containerd

backport of https://github.com/moby/moby/pull/38653 for 18.09
fixes https://github.com/moby/moby/issues/38636
addresses https://github.com/docker/for-linux/issues/517#issuecomment-466358473

ping @dmcgowan @tonistiigi @tiborvass PTAL


[SPARK-34562][SQL] Add test and doc for Parquet Bloom filter push down

What changes were proposed in this pull request?
This pr add test and document for Parquet Bloom filter push down.
Why are the changes needed?
Improve document.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Generating docs:

Test build #137180 has started for PR 32123 at commit ad2754b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41758/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41758/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41758/

Test build #137180 has finished for PR 32123 at commit ad2754b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137180/

Test build #137186 has started for PR 32123 at commit b39af10.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41765/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41765/

Test build #137186 has finished for PR 32123 at commit b39af10.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/137186/

+1, LGTM. Merging to master.
Thank you @wangyum .


Equality operator is not correct

Perhaps I'm using this wrong, but the data actually looks fine in memory. The following python fails the assert with the error.
import numpy as np
from pydantic_numpy.model import NumpyModel
from pydantic_numpy.typing import NpNDArrayFp64, NpNDArrayInt64

# Given
class NumpyData(NumpyModel):
    """example DataSerialiser class with a numpy variable"""

    array_float: NpNDArrayFp64 = np.linspace(0.0, 1.0, 20)
    array_int: NpNDArrayInt64 = np.arange(100)

# When
data = NumpyData()
ser = data.model_dump_json()
reread_data = NumpyData.model_validate_json(ser)
# Then
assert data == reread_data

Traceback (most recent call last):
...
  File "/usr/local/lib/python3.11/site-packages/pydantic_numpy/model.py", line 60, in __eq__
    and _compare_np_array_dicts(self_ndarray_field_to_array, other_ndarray_field_to_array)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pydantic_numpy/model.py", line 262, in _compare_np_array_dicts
    raise ValueError("Dictionaries have different keys")
ValueError: Dictionaries have different keys

Fixed in https://github.com/caniko/pydantic-numpy/pull/45

Welcome to pydantic-numpy, and thank you for finding the bug, and raising the issue.
Wish you had taken the time to discuss this with me first; your PR is incorrect. Will add proper coverage to __eq__ using your example. Thanks again!

Fixed with #46

Great! Thanks for the prompt response.


@conda-forge-admin,please add bot automerge

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/plum-dispatch-feedstock#6.


Thanks for your Fix，But I still get warning from Chrome & Firefox without 'secure'

Hi, Thanks for your Fix，But I still get warning from Chrome & Firefox without 'secure'。
The Chrome warning is below:
A cookie associated with a cross-site resource at http://baidu.com/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
The Firefox warning is below:
由于 Cookie “PHPSESSID”的“sameSite”属性设置为“none”，但缺少“secure”属性，此 Cookie 未来将被拒绝。若要了解“sameSite“的更多信息，请参阅：
(This cookie will be rejected in the future because the 'samesite' property of the cookie 'phpsessid' is set to 'none', but the 'secure' property is missing. To learn more about "samesite," see:)
https://developer.mozilla.org/docs/Web/HTTP/Cookies

Hi @mugua, could you attach your screenshot?

@HirokazuNishi  FYI.

@mugua Thanks. Is your website correctly configured to use SSL/TLS?

Yes, it's configured to use SSL/TLS yet.

My Nginx setting is force http to https.

Strange. What PHP & Magento version do you use?
Also which version of our extension?

Magento 2.3.5-p1, Php 7.3.x your latest version...

It sames that is the Magento 2.3.5-p1's bug...

Of course I tested 2.3.5-p1 with both PHP 7.2/7.3. The extension works fine for my env.
Did you test it on vanilla Magento 2.3.5-p1?

Can you show the secure attribute in frontend ? I only can show httponly and samesite=none.

My local has both SameSite and Secure flags on frontend. Of course I'm using 2.3.5-p1 and latest.

I found that the magento Marketplace has the same issue.
you can have a look at https://marketplace.magento.com
Thanks.

It the same as me.

It's not Magento's marketplace issue. These cookies weren't set SameSite or Secure attribute by their origin. You can only control your website scope cookie. However I don't know why your environment doesn't work as expected. Did you install other extensions?

yeah, Codazon Infinit theme, wechatpay and alipay extensions and so on...

Please test vanilla Magento. Extensions and themes sometimes cause serious conflicts.

OK, I'LL TRY IT...

I run a clean Magento 2.3.5-p1, It is still haven't secure tag...

it seems that 2.4-dev still have this problem...
https://github.com/magento/magento2/issues/27879

@mugua, I had the same problem. It looks like you have a different "base_url" and "base_secure_url". As a result false is passed to the setCookieSecure function in vendor/magento/framework/Session/Config.php file (see screenshot)


New version: TeamViewer.TeamViewer version 15.54.6

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@stephengillie Hey, i just wanted to create a PR for TeamViewer but saw that this one already exists but is stuck. Do you maybe know why?

/azp run

@stephengillie hello, this might need manual validation as it keeps failing.

This package installs and launches normally on a Windows 10 VM.


fix issue with spinner icon & longrunning active state

using padding meant the icon would visually spin 'wobbly'
button content is no longer centre aligned so button longrunning active state should not be either
fixes #8615
tested on Safari 15.4 Firefox 101, Chrome 100, also tested with rtl active
also validated sign in form spinner, single submit action spinner and page edit submit draft spinner

Validation screenshots

Merged in 45288f9de1a5922d2f8b949c92fec62d9e08425b (stable/3.0.x) and 9cb0c96001cadda142897bf2f36dbcdd7fa72820 (main).


AssemblyResolver can't find the Assembly [NodesControl.cs]

I found an issue in the AssemblyResolver here:
https://github.com/komorra/NodeEditorWinforms/blob/master/NodeEditor/NodesControl.cs#L368
x => x.GetName() == assemblyName this compares two different physical identities of assemblies, which returns 'null' as a result.
To resolve this issue you just need to compare their Assembly.FullNames like this:
x => x.GetName().ToString() == assemblyName.FullName;

I was trying to connect two identical List sockets, but the connection failed. After applying the above mentioned fix, it is possible to work with generic Lists in the NodeGraph, as the AssemblyResolver will find the correct connected Assembly.
Are you accepting pull request? Then I could do it for you if wished.
BTW: NodeEditorWinforms is very nice. You did a great job. Thank you!

@sqrMin1 Thank you :) After a "while" it is fixed by f6d5e834320c827726d5f5f3ffc496fa403a01b5

@sqrMin1 Thank you :) After a "while" it is fixed by f6d5e834320c827726d5f5f3ffc496fa403a01b5


Mark cache_protocol_test_corpus as a manual test

Motivation

It was flaking too frequently in CI.
Test plan

See included automated tests.

cc @jvilk-stripe @vilhena-stripe


yaml representer

The util module has a YAML representer for collections.OrderedDict that is utilized in the __init__.py to display the YAML metadata header in a convenient way when writing to disk.
This should be addressed in graph_algo by now, but I'm adding this to be sure.

def represent_yaml_from_collections_dot_OrderedDict(dumper, data):
    """
    Thanks to Blender and EquipDev on StackOverflow for this handy method to pass to yaml.add_representer
    https://stackoverflow.com/a/16782282

    I use this throughout the metadata representation in the bgzf specification to print out the representer, it's just awesome.

    I really like this answer. Finally got around to liking it this year, in Jan 2022 after using it for like a few years.

    :param dumper: The OrderedDict_Representer, this faciliatates key sorting, consistent ordering of hasmap values, and can retain order during print for optimal metadata block structure.
    :type dumper:
    :param data:
    :type data: dict
    """

import yaml

from collections import OrderedDict

def represent_ordereddict(dumper, data):
    value = []

    for item_key, item_value in data.items():
        node_key = dumper.represent_data(item_key)
        node_value = dumper.represent_data(item_value)

        value.append((node_key, node_value))

    return yaml.nodes.MappingNode(u'tag:yaml.org,2002:map', value)

yaml.add_representer(OrderedDict, represent_ordereddict)


Hi @MarouaneMaachou, we did not use the official OCR provided by SROIE dataset, so we cannot provide the pre-processing script for SROIE dataset. If you would like to use the official SROIR dataset, you need to break down the textline OCR into token-level OCR, and map the sequence labels to the input tokens.

Hi @MarouaneMaachou, we did not use the official OCR provided by SROIE dataset, so we cannot provide the pre-processing script for SROIE dataset. If you would like to use the official SROIR dataset, you need to break down the textline OCR into token-level OCR, and map the sequence labels to the input tokens.
Originally posted by @wolfshow in https://github.com/microsoft/unilm/issues/100#issuecomment-610838599

Hi ,I want to reproduce layoutLM V2 results for SROIE .
But I can see opensource version of dateset need to be prepossessed and mapped with entities present in another file.
at the end resulted dateset results are not matching with paper mentioned F1 score .
Can you please guide me how to reproduce results .
is it possible to share dateset used ?

@PushpaYa You may need to use some OCR tools with higher accuracy so that the overall information extraction results can be improved.


[EVM] add increase/decrease approval test for cw20->erc20

Describe your changes and provide context

adds test for adding/decreasing approval

Testing performed to validate your change

new test

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.10%. Comparing base (cbe2957) to head (b509c1d).
Report is 7 commits behind head on main.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1584      +/-   ##
==========================================
+ Coverage   60.94%   61.10%   +0.15%
==========================================
  Files         366      366
  Lines       26020    26043      +23
==========================================
+ Hits        15858    15913      +55
+ Misses       9159     9123      -36
- Partials     1003     1007       +4

see 2 files with indirect coverage changes


Do not pass the world platnet pbf

Can you give more details please. One time I've read a planet with this library. A link to the file, a small main showing the problem, and a trace of the program crashing would help reproduce.
Be aware that, if you use get_objs_and_deps, you are limited to your memory as every filtered objects are loaded.

see that

I am using count with deps may that be the problem？

Yes, your program must be OOM killed.

would count works

yes


Add favico in splash page

Simply add a small favico... because it's cool

Generated from FavIcon: https://favicon.io/favicon-generator/?t=B%3AI&ff=Changa+One&fs=100&fc=%23222&b=rounded&bc=%2349FF3F


Add Box Plot Helper

Background
According to Newcastle University...

A box and whisker plot or diagram (otherwise known as a boxplot), is a graph summarising a set of data. The shape of the boxplot shows how the data is distributed and it also shows any outliers. It is a useful way to compare different sets of data as you can draw more than one boxplot per graph (source).

We would like to provide users with a box plot helper!
Goal
Add a helper called box_plot to lib/purechart/chart_helper.rb that takes a set of data points and axis labels. It should render an SVG box plot. Here are a few shortcuts you can make to keep things simple for now - we'll add them later.

For the time being, your helper only needs to handle one set of data. In the future, it should be able to display several data sets on the same axis
Don't worry about rendering a fancy axis with labels or titles yet - just the box and whisker plot will do

You might want to add axes anyways to confirm your chart is rendered correctly - for this I would suggest using HTML with inline styles and overlaying the SVG chart over the HTML/CSS axes using absolute positioning)

Custom styling will be addressed in a separate issue - for now, just use hardcoded colors

You can style the box plot in any way you'd like! However, please render it horizontally for now. Another issue will add options for horizontal versus vertical positioning in the future.

I can work on this one!

Hey, I’ll give this one a try too!

i'll take a stab at this

Hey @skyz04, I actually just merged @ethanwithnoe's PR for this. I'm about to open several new issues regarding the box plot though and will ping you here when I do 😁

@skyz04 check out #25 and #26 if interested!


visidata: fix #202165, add shell completions

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Maybe we can use installShellCompletion: https://github.com/caarlos0/nixpkgs/blob/28c08a222e13bf9533e3f92fb54af08c1658a509/pkgs/tools/package-management/nfpm/default.nix#L31


Cookie Consent State Variable contains "|" instead of the selected consent value

Today, we added cookiebot via gtm according to https://support.cookiebot.com/hc/en-us/articles/360003793854
We did this for a couple of projects already without problems.
However, today the Cookiebot Constent State Variable doesn't contain the selected consent value.
This is the output in gtm debug mode showing the variable data of the cookie_consent_marketing event. The Cookiebot Consent State Variable should contain "marketing" but contains '|'. See here:
_event | Custom Event | string | 'cookie_consent_marketing'
Cookie Consent State | Cookiebot Consent State | string | '|'
Event |  Custom Event | string | 'cookie_consent_marketing'
Obviously, when configuring a trigger which checks the variable value, it doesn't fire.

Same Problem here.

GTM policy around cookie access has apparently changed and now prevents the template from reading out values from the user's consent cookie if the template permission for 'cookieAccess' does not specify the exact cookie name, 'CookieConsent'. An update to the template has just now been committed, please allow 1-2 days for Google to release the update in GTM.

Google has now pushed the update to Google Tag Manager. Users must install the update and publish for the change to take effect. Click "View" at the top bar message "1 template update available" after logging in to GTM to begin the update.


SpriteSheetComponent crashes when given grayscale PNG

thread 'Compute Task Pool (0)' panicked at 'range end index 672 out of range for slice of length 576', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/bevy_sprite-0.2.1/src/texture_atlas_builder.rs:68:35
I used code copied from the example texture_atlas.rs and the image is here.

I'm getting the same crash on Bevy 0.4, do we know what's causing it? Is it a problem in the input images, or am I doing something wrong in my code?

I'm getting the same crash on Bevy 0.4, do we know what's causing it? Is it a problem in the input images, or am I doing something wrong in my code?

OK, my problem is that one texture is in format R8Unorm, and TextureAtlasBuilder expects everything to be in Rgba8UnormSrgb. I have no idea why one of my png is of a different format. I can solve this by converting images to the right format in ImageTextureLoader, is that an acceptable fix? Or should we do the texture data conversion in the TextureAtlasBuilder?

OK, my problem is that one texture is in format R8Unorm, and TextureAtlasBuilder expects everything to be in Rgba8UnormSrgb. I have no idea why one of my png is of a different format. I can solve this by converting images to the right format in ImageTextureLoader, is that an acceptable fix? Or should we do the texture data conversion in the TextureAtlasBuilder?

I also confirm changing the offending PNG from grayscale to RBG in Gimp solves the issue.  I still think the image handling code should be robust, I can raise a PR easily for converting on loading if that's OK

I also confirm changing the offending PNG from grayscale to RBG in Gimp solves the issue.  I still think the image handling code should be robust, I can raise a PR easily for converting on loading if that's OK

This feels like an issue with TextureAtlasBuilder more than anything else. I don't want to limit all texture assets to a specific format / normalize them unnecessarily. There are legitimate reasons to load images in different formats (performance, memory usage, color space, etc).
Instead I think we need to either:

Extend TextureAtlasBuilder with support for more image formats
Make it easy to convert textures to new formats at runtime / create new "converted" assets.
Dynamically convert images within TextureAtlasBuilder to Rgba8UnormSrgb

(1) feels like the best option. It would be nice to be able to build "grayscale" texture atlases, as those have applications in rendering (shadow maps). (3) also feels like a nice feature (that compliments (1)). (1) enables output flexibility. (2) enables input flexibility.

This feels like an issue with TextureAtlasBuilder more than anything else. I don't want to limit all texture assets to a specific format / normalize them unnecessarily. There are legitimate reasons to load images in different formats (performance, memory usage, color space, etc).
Instead I think we need to either:

Extend TextureAtlasBuilder with support for more image formats
Make it easy to convert textures to new formats at runtime / create new "converted" assets.
Dynamically convert images within TextureAtlasBuilder to Rgba8UnormSrgb

(1) feels like the best option. It would be nice to be able to build "grayscale" texture atlases, as those have applications in rendering (shadow maps). (3) also feels like a nice feature (that compliments (1)). (1) enables output flexibility. (2) enables input flexibility.

Thanks for the amazingly quick turnaround!


Ensure deleted assets are cleared

When I upload and attach an asset, a number indicator appears on the main record next to the "Additional Assets" side menu link.  If I then delete the asset, this number does not change.

Replicated this issue locally and on geodev.
It happens if you use the back button to return to the show page, which renders the browser's cached version of the page with the false (1) number still present. If you do a reload of the page the number is correctly (0).
There might be ways to solve this with Turbolinks...


Get error 'Call to undefined method setName()

Hi there,
I want to use a custom extension for my views (.twig.html). But if I set the config parameter in the 'ConfigServiceProvider' I get the following error:
Call to undefined method __TwigTemplate_8abbbc578c3c617c791ad8adf49bc52d84bdba211d0178ecd1ba687d7b967f89::setName()

If I set the extension to '.twig' everything works fine. The error occures also if I use '.html' (or .php) as extension. What's wrong with my Code?
Content of 'app/Providers/ConfigServiceProvider.php':
public function register()
{
	config([
		'twigbridge' => [
			'twig' => [
				'extension' => 'twig.html',
			],
		],
	]);
}

I am  using Laravel 5.0.* (current stable release).

I'm getting this same error (with a very similar config).

Probably because the Laravel loader doesn't recognize it. Might need a check for the instanceof the template.


Operationalize TypeScript Codefixes

This PR operationalizes how we add new codefixes coming from the TypeScript Language Service. It does so by creating a manifest of all the supported codefixes and their associated diagnostic codes to do 3 things:

Creates a workflow for onboarding new codefixes
Creates minimal testing of the codefixes to ensure they can be targeted correctly
Generates documentation from the tests so consumers know what they can expect
Constrains transformation of code to only the things in the manifest to create better reproducibility and debugging.

👍


fix set failed when meet error tablet in public version

Proposed changes
finish to publish version on transaction.transaction_id=26611, cost(us): 422, error_tablet_size=41, res=[OK]
There exist error tablet when public version but res is OK, which cause publish do not retry and publish daemon thread in fe will loop long time for save error tablet.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

Fe has check replica only by success tablet, the error will not happened in master


ci: merge queue e2e test refactor

this is really gross. Going to attempt the merge queue now which should fail


Use higher precision in the coordinate picker for wgs84

Oh cool, was thinking there was a function for that but didn't know where it was.


Throttling tile (xhr) requests

When tile map is zoomed over several levels and then moved, lot of tile requests are generated. While many of them become soon obsolete, they are kept in the queue (so downloaded). In case of larger tiles (ca 500 kB per tile) I am quickly experiencing freezing the browser, out of memory errors in the developer console, even crashes.
Would it be possible to throttle tile request in certain (even very short) interval? It would IMHO skip some, but still ensure those for final extent be requested
https://remysharp.com/2010/07/21/throttling-function-calls
It could improve overall performance even in case of common tiles (50 kB per tile).

Same as #5532.

See #6939


List devices without printing

How can I get an array of devices.

This has now been implemented. Closing the ticket.


Some errors

Hello. I've updated Unity to the 2019 alpha and I'm getting some errors from this plugin. (.net 4x)
Assets\UnityGoogleDrive-master\Assets\UnityGoogleDrive\Editor\GoogleDriveSettingsEditor.cs(51,78): error CS1503: Argument 2: cannot convert from 'string' to 'System.Func<UnityEditor.Editor>
Assets\UnityGoogleDrive-master\Assets\UnityGoogleDrive\Editor\GoogleDriveSettingsEditor.cs(52,77): error CS1061: 'AssetSettingsProvider' does not contain a definition for 'CreateEditor' and no accessible extension method 'CreateEditor' accepting a first argument of type 'AssetSettingsProvider' could be found (are you missing a using directive or an assembly reference?)
Assets\UnityGoogleDrive-master\Assets\ThirdParty\UnityCommon\Editor\PackageExporter.cs(66,32): error CS7036: There is no argument given that corresponds to the required formal parameter 'scopes' of 'SettingsProvider.SettingsProvider(string, SettingsScope, IEnumerable)'
Hope you can help :)

Hi! Looks like they've changed SettingsProvider API a bit in the new version, I'll make sure to check this out. Thanks for reporting the issue!

Getting this when trying to run the latest version in Unity 2018.2.8f1:
C:/Users/arigb/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.package-manager-ui@2.0.3/Editor/Sources/Services/Upm/UpmBaseOperation.cs(34,43): error CS1061: Type UnityEditor.PackageManager.PackageInfo' does not contain a definition for author' and no extension method author' of type UnityEditor.PackageManager.PackageInfo' could be found. Are you missing an assembly reference?

Will be fixed in v0.24 release.

Just add the scope in the argument to olve the problem
var provider = new SettingsProvider("Project/Package Exporter", SettingsScope.Project);


adding an option to drogon_ctl create project to include test framework

Is your feature request related to a problem? Please describe.
To use Drogon's testing framework, it is a bit tedious(in my case, I couldn't follow the instructions).

copy the file from https://github.com/an-tao/drogon/blob/master/cmake/ParseAndAddDrogonTests.cmake
make a few changes to CMakeLists.txt, maybe the one from the project root or the one in the under the tests directory.

Describe the solution you'd like
I do understand Drogon doesn't want to dictate the choice of testing framework. However, it would be good if there is an option to include the testing framework optionally.
For example,
drogon_ctl create project your_project_name --include-tests
And the it will utilise the generators Drogon has been using for generating the project and adding the bare minimum files and changes to make testing work out of the box.
Describe alternatives you've considered
N/A
Additional context
N/A

I'm investigating a better approach. Trying to get DrogonConfig.cmake to load ParseAndAddDrogonTests for us.

Let user choose test framework freely.
Currently, Catch2 is most popular in c++ now

No worries. Loading ParseAndAddDrogonTests won't stop Catch2 from working.

Should be handled by #934. Feel free to re-open if you feel that PR didn't fix this issue.


Update flink-yarn-application example to use multiple python files

Update flink-yarn-application example to use multiple python files

@lindong28 Can you review this PR?

Thanks for the PR! LGTM.


Fix code scanning alert - Final newline missing

Tracking issue for:

[ ] https://github.com/Xerolux/violet-hass/security/code-scanning/449

fixed


Make provider Name part of API

Make current{type}Name part of the public API

You are totally right, updated :+1:


Update TypeScript to 4.1

This PR updates TypeScript to the latest version, 4.1.2
For reference, this was done by doing the following in the root directory:

yarn add typescript -W
yarn manypkg fix

And then build and test:

yarn build
yarn test

The upgrade itself is good and fine but one thing to consider is if we should start using new syntaxes in this repo. My take on this one would be that we shouldn't - at least for some time. By using new TS features we'll make new versions of XState unusable by many consumers that haven't had a chance to upgrade to<EMAIL_ADDRESS>just yet.

Yeah, I'll wait a couple of minor versions to introduce TS 4.1 features.


Added missing property org.jfrog.artifactory.client.model.LocalReplic…

…ation#getPathPrefix
I realized while testing the code to create / update replications (from a previous PR) that I had forgotten about the "pathPrefix" property for local repository replications.
I didn't catch this previously because the "pathPrefix" properly is optional (in which case the server doesn't return the property in the JSON response).
Can you please merge this change ?

Thanks for the super quick turnaround ! 👍

Hi @fritaly,
After merging this pull request, we realized that some of the new replication tests fail.
We saw that the new list() method does not properly count the number of configured replications on a repository and that the test for creating the multi-push replication also fails. We ran the tests agains Artifactory 5.3.
For now, we removed some of the new code added, leaving only the createOrReplace method for a replication.
Feel free to submit the code again - we appreciate your contributions.


feat: support dsd

This PR updates the syntax of the built files to es2022, which includes ecmascript private fields and methods. By doing so, although the package will lose support for older browsers, the bundle sizes will be reduced because helpers like __privateGet will not be added.
In order to accomplish this, this PR implements a workaround for an open issue on esbuild with regards to ecma private fields.
https://github.com/evanw/esbuild/issues/2800#issuecomment-1378198088
In addition, this PR adds support for Declarative Shadow DOM templates by checking for the presence of a shadow root before creating one.

My suggestion for this PR is to handle each part separately.
Small fixes
Pull the two small fixes (optional chaining and shadowroot check) into the random fixes PR I have open, and merge all that basically right away.
Build tooling change
With regards to the build tooling change, I don't mind updating the build script, but I have some fundamental issues with updating the source (with the IIFEs) to optimize the build output for the short period where the build tool is bugged. My preference is to either wait until esbuild is fixed before merging these changes, or merging without the source change and accepting that the build is suboptimal until esbuild is fixed, and doing a patch release with updated build when the fix lands there.

We can work on pulling the styling out of slidem-slide-base in a separate PR/branch.

I removed the iifes. I don't like the mangled output, it makes debugging harder and there's a performance penalty at load and run time, but i also don't care enough to make the case

@ruphin is this good to merge now?

Apologies, I was busy this weekend. I'll review today but I think we're good

Looking at the build output there's two things that confuse me still. The first is that I don't understand where the vars and functions come from come from. The output style should be es2022, why doesn't it output const and () =>?
One more thing that's weird is that it injects the directory structure of my machine into the output: // css-constructible:/home/ruphin/dev/slidem/src/slidem-deck-global.css. Is that even relevant, considering that this file is not accessible since it's not bundled into the published package?

Thinking more about the build output, the original reasoning behind the build step was that so you could load and run this thing from CDNs like unpkg. It doesn't make much sense to build into es2022, which just ends up reducing compatibility.
In general, I'm not a huge fan of packages that don't ship source but instead ship some build output. I think the user of a package should decide how to build and what output target they want.
I could see changing the NPM package completely and just shipping the source directly. We could still have a build that produces output in /dist or something similar, that can be used on CDNs. Maybe a 3.0 release.
But let me first try to understand your reasoning behind changing the build to output es2022. You are the main consumer of this package, how do you consume it and what are your requirements in this regard? How do you prefer packages to be published in general?

The output style should be es2022

You asked me to undo the workaround for the esbuild bug which downgrades the output target

directory structure of my machine

I couldn't reproduce. what's your OS? perhaps we could adopt changesets and release from CI/CD

Will try this again now that https://github.com/evanw/esbuild/pull/3167

esbuild 0.18.4 solves the problem, the built output is now much closer to source

Looks good to me. Not sure why it outputs var and function style code, but whatever I guess ¯\(ツ)/¯


Add program_type field to database

What are the relevant tickets?
Closes mitodl/hq#1982
Description (What does it do?)
Adds a program_type field to the Program model and defaults it to Series. This is part of the new lite redesign - this field is needed elsewhere and having it in the current design won't hurt anything, so going forward with adding it now.
This also changes a couple migrations to use the versioned app models for Program. The affected migrations were directly importing the model, which ends up having a field that hasn't been applied yet and thus causes issues. This is really only an issue if you're spinning up a new instance or for CI; existing databases should have the migrations applied already and there's no functional change to them.
How can this be tested?
Run the migration. Afterwards, you should see a "Program type" field in the Django admin.

I opted for a simple text field because the list is going to change at some point - we'll start with two but there will be a new one later and we're not using it for logic so it seemed like more of a future hassle to make it an enum.
Not sure a program would ever have a blank type. It defaults to Series in that case.


Bug - Number of applicants not displayed on HR Job Index cards

Description
Claimed Job Cards show "No Applicants" on the HR Job Index page when there are applications submitted.
https://talent.test/en/hr/jobs
Steps to Reproduce

Log in as an HR Advisor
Navigate to /hr/jobs
Claim a job with applications
Review the content of the job card

Images

This one's actually closer to a 2.
We have a computed property on the JobPoster model called submitted_applications_count() that will return the count of submitted applications. I was able to pass it through the API just by modifying the resource class we have set up for the JobPoster:
app/Http/Resources/JobPoster.php:
    public function toArray($request)
    {
        return array_merge(parent::toArray($request), [
            'manager' => new JsonResource($this->whenLoaded('manager')),
            'criteria' => JsonResource::collection($this->whenLoaded('criteria')),
            'job_poster_questions' => new JsonResource($this->whenLoaded('job_poster_questions')),
            'number_of_applicants' => $this->submitted_applications_count(), // Added this line.
        ]);
    }

which will show up on the store client-side.
After that you just need to update the Typescript definition for the JobPoster and pass the value through to where the JobCard component is rendered.


button doesnt work

the "view our menu" button does not redirect to the menu, but the top 'menus' button does.

View Our Menu
View Our Menu


Create almalinux.md in oragnizations

Thanks Regina. I think this is more of a test-case - a lot of universities run JupyterNotebooks. I'm not sure this qualifies, as it doesn't seem like an active collaboration but more just "these are users". All open source code could do this, I think.


Create User Account

As a player, I can create an account on the app in order to change my user credentials.

[ ] When a player without a user account visits the app, he can click on a button called “Register”.
[ ] This button takes him to a page where he can register his username and password.
[ ] He can change hisname, username and password.

Tracked in frontend: https://github.com/sopra-fs22-group-36/screw-your-neighbor-react/issues/92
and backend: https://github.com/sopra-fs22-group-36/screw-your-neighbor-server/issues/151

We are closing this issue without an implementation. The reasons are varied:

No added value for the fun of the game
Heroku does not have a persistent DB
All common games in this form are played without registration.
We have already implemented user account login and registration in M1.
Low priority

It took place in consultation with our TA.


This commit fixes "kubectl get nodes" output and makes it more sane. It also fixes related test case resource_printer_test.

In its current form, "kubectl get nodes" output seems misaligned and sometimes incorrect too as it shows for example:
#kubectl get nodes
NAME                LABELS              STATUS
fed-node   Schedulable   name=fed-node-label  NotReady
This patch combines Schedulable/Unschedubale with Ready/NotReady/Unknown in STATUS field. So if unschedulable bit is true, the output will be:
NAME       LABELS                      STATUS
fed-node    name=fed-node-label   Ready,Unschedubale
or STATUS will be (NotReady,Unschedulable) or (Unknown, Unschedulable).
If unschedulable bit is false (by default), it will show:
fed-node    name=fed-node-label   Ready,Schedubale
If Node is in Ready state. But if Node is in NotReady or Unkown state, it will show:
fed-node    name=fed-node-label   NotReady,UnSchedubale  or  (Unknown,Unschedulable)
Currently it shows Schedulable  even with  NotReady or Unknown, which seems incorrect as it does not make any sense to output a Node as Schedulable when in NotReady/Unknown state. As soon as a Node becomes Ready, it will show STATUS as Ready,Schedulable.

Travis Shows:
The command "./hack/verify-gofmt.sh" failed and exited with 1 during .
Please run gofmt on your binaries and make sure hack/verify-gofmt.sh can pass.

starngely it passed in koji: https://kojipkgs.fedoraproject.org/work/tasks/1655/9491655/build.log

@aveshagarwal I don't know why it passed in koji, but it clearly doesn't pass anywhere else.
The issue is that "case ..." is formatted incorrectly.
Can you please run gofmt and update this PR?

@aveshagarwal koji does not run verify-gendocs, verify-gofmt, verify-boilerplate, etc.  It only runs the build tests.

ok thanks for comments, I am working to fix it.

Fixed case formatting error and updated PR.

"Schedulable" and "Ready" are (now) unrelated/orthonganal. An admin would manually set a node "Unschedulable". The system determines "Ready/NotReady/Unknown"
Since "schedulable" will almost always be true, and this is for human consumption, can we just get rid of it entirely?
Since "unschedulable" is really a state set or unset explicitly by the admin, I'm not sure we should show it for NotReady/Unknown.
What do you think Avesh? Can you try to write a test for that interesting case?  Ready but admin set Unschedulable?

I agree with you that Ready/NotReady/Unknown and Unschedulable/Schedulable are kind of orthogonal.
Thats why a node could be Ready,Unschedulable if set by admins,  or Ready,Schedulable by default.
I agree and I would guess that most of the time, in normal cases, it would be Ready,Schedulable.
On the other hand, If a node is set by an admin as unschedulable, and without showing "Unschedubale" in STATUS, it would be very confusing IMHO, to show STATUS just as Ready and not knowing why this node is not doing anything if there are hundreds or thousands of nodes. So it really shows very important piece of information.
One thing that might be done is to add one more column to segregate these two statuses would be like:
Name Label Schedulability Status or something like this. Just a suggestion.
I have just tested it (Ready,Unschedulable) manually by writing above json files for nodes. I will have to look about writing a test case.
Believe me that I understand and agree completely what would you think to eliminate Schedubale/Unschedubale, but as I said my only concern is that what if an admin sets a node Unschedulable, and without showing it that information is lost and might create confusion.
That said, I am fine even if we decide to eliminate Schedulable/Unschedulable as far as the output is consistent, as anyway it was not there before.

I was only suggesting getting rid of "schedulable"   So you would show just "ready"   or "ready,unschedulable"

@eparis I agree that's better that's what I was thinking too. I have pushed updated PR. You might look to see if it does as expected. Regarding the test, I will look into that.

cc @davidopp @gmarek @ddysher

We should document unschedulable in node.md:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/node.md

I totally understand the conundrum, but I don't agree with this solution.
I had originally suggested we call it MarkedUnschedulable rather than Unschedulable -- to make it clearer that this is reporting what a human set, not what the system will do. That's still the best solution I can think of. An administrator may want to know the Unschedulable status, regardless of the NodeReady status. So I don't think suppressing printing it in some cases (as you do in this PR) is the best thing to do. I think we should rename Unschedulable to MarkedUnschedulable.

How about SchedulingDisabled?
Or SchedulingEnabled. @lavalamp said he'd prefer not to make the field negative, which I kind of agree with, though if we're not happy with disabled by default, when we'd need to make the field a pointer in order to be able to detect the lack of specification in the defaulting code.

So we have following options now:

Adding a new coloum: NAME LABELS SCHEDULING STATUS and then under scheduling we could have Enabled/Dislabled.

So we would have following outputs:
a) if unschedulable is set:
NAME LABELS SCHEDULING STATUS
   Disabled   Ready
   Enabled   Ready
   Disabled   NotReady
   Enabled   NotReady
   Disabled   Unknown
   Enabled   Unknown

Keeping the columns same, and as @davidopp suggested, we could have
NAME LABELS STATUS
   Ready,MarkedUnschedulable
   Ready,MarkedSchedulable
   NotReady,MarkedUnschedulable
   NotReady,MarkedSchedulable
  Unknown,MarkedUnschedulable
   Unknown,MarkedSchedulable

As @lavalamp and @bgrant0607 suggested:
NAME LABELS STATUS
   Ready,SchedulingEnabled
   Ready,SchedulingDisabled
   NotReady,SchedulingEnabled
   NotReady,SchedulingDisabled
  Unknown,SchedulingEnabled
   Unknown,SchedulingDisabled

Or as @eparis suggested to eliminate schedulable:
NAME LABELS STATUS
   Ready,UnSchedulable
   Ready
   NotReady,Unschedulable
   NotReady
  Unknown,Unschedulable
   Unknown

or something else. I am fine with anything as far as it conveys what is expected and consistent.

I'm with bgrant, SchedulingDisabled is a good name. But we should suppress ""SchedulingEnabled" altogether. Its the default, it's not something the user needs thrown in his face.
I also think the negative in the api is ok. It is much more intuitive that you need to set Unschedulable to stop scheduling that it is to have to set schedulable to false...

so shall we go with SchedulingDisabled, and leaving out SchedulingEnabled? In that case, we would have:

if unschedulable is true: Ready,SchedulingDisabled or NotReady,SchedulingDisabled or Unknwon,SchedulingDisabled
otherwise: Ready or NotReady or Unknown

So do we have agreement here?

We'd better rename the field in the api as well, but that's out of scope for this PR.
I like ScheduingDisabled.  So "Ready,SchedulingDisabled", and "Ready" sounds good.
Make sure you also update kubectl describe as well.

cc @ppires

I agree: SchedulingDisabled, elide enabled.

if unschedulable is true: Ready,SchedulingDisabled or NotReady,SchedulingDisabled or
Unknwon,SchedulingDisabled
otherwise: Ready or NotReady or Unknown

Yeah that sounds good.

Thanks for feedback. Pushed updated PR.

Thanks avesh, add a unit test and I'll merge.
hint: https://gist.github.com/eparis/183e866b1d85f408db6e

@eparis thanks for the hint. I am trying to understand why does it have api.NodeReady twice? As per my (limited) understanding, it should be :
{
minion: api.Node{
ObjectMeta: api.ObjectMeta{Name: "foo2"},
Spec:       api.NodeSpec{Unschedulable: true},
Status: api.NodeStatus{Conditions: []api.NodeCondition{
{Type: api.NodeReady, Status: api.ConditionTrue}}},
},
status: "Ready,SchedulingDisabled",
},
},

Pushed updated PR with unit test cases.

you are absolutely right.  foo2 should not have double status.  foo3 did it on purpose to specifically test what the apiserver does it if gets 2 copies of status.  So lets put that test back.

ok, somehow I thought foo3 as redundant. Anyway I have put foo3 back and pushed updated PR.


Add / Validate SECURITY.md as best practice for projects

We should ensure repos contain a SECURITY.md file in the root of the project, as a best practice, so that community members know how to contact a project's POC in such a way as to not publicize a zero day vulnerability.
GitHub is also beginning to leverage the SECURITY.md file when a user goes to create an issue. For example you can see on Webpack's project: https://github.com/webpack/webpack/issues/new/choose there is an option to report a vulnerability which links to the SECURITY.md file.

I've very supportive of this basic idea.  Thanks for raising it! Snyk also notes this convention in "10 GitHub Security Best Practices", and a number of major OSS projects that are on GitHub are doing it.  We even use it ourselves. That's exactly the kind of stuff we should think about adding.
I do think that specifically requiring a ".md" suffix is excessively specific. I think we do want an extension (so that people will have good information on how to process the information), but I think we should not require that everyone can only use markdown for all time.
We might also allow people to put them in a "doc/" or "docs/" subdirectory; some people don't like to "clutter up" their toplevels.  I'd be curious to hear feedback about that.  That seems like the sort of permission that might simply accepting the convention.  For example, in the BadgeApp we started with doc/SECURITY.md and only more recently added ./SECURITY.md.
From a process point of view, we probably ought to start by adding this at the silver level, and then later add it to the passing level.  It's a big deal to add passing requirements, so that needs to be handled carefully, but this is not a difficult requirement. We do, however, need to give passing projects plenty of warning!
Here's a first cut at criteria text:

The project MUST have a file named SECURITY.* (where * is the file type) that provides or points to key security information, including the vulnerability reporting process required by vulnerability_report_process and security documentation (if it exists) as discussed in silver criterion documentation_security.  This file MUST be at the project's source directory top level or in a subdirectory named doc/ or docs/. If this information is in markdown format the filename SHOULD be SECURITY.md.

Rationale:

A standard filename for this information simplifies finding it.  This is an increasingly common practice, e.g., see  "10 GitHub Security Best Practices".


Custom Docker Labels

Hi i was wondering if there was a way to add custom docker labels to the containers that get created by hassio?
Im using Traefik and id like to add traefik labels for it to pick up on .... ??
Thanks

I found this issue specifically because I wanted to label addons for traefik. However, I think it might be an issue for https://github.com/home-assistant/hassio

I posted in the other project https://github.com/home-assistant/hassio/issues/1003

Closing the issue on this end, home-assistant/hassio is indeed the correct location for this.


File not found when running example notebook

Hi all,
I'm currently trying to make a simplified version of this notebook work.
Unfortunately, when executing such a line:
result = run_automatic_instance_segmentation(image)

I get this error:
HTTPError: 404 Client Error: Not Found for url: https://uk1s3.embassy.ebi.ac.uk/public-datasets/bioimage.io/diplomatic-bug/staged/1/files/vit_b.pt

Do you know if the file was renamed or something? Are there other ways to download a micro-sam model and apply it to an image?
Thanks!
Best,
Robert

Ah, this is a duplicate of https://github.com/computational-cell-analytics/micro-sam/issues/618


[11.x] Allow sorting of route:list by multiple columns, ASC and DESC

This PR improves the new route:list multiple columns sort, by allowing ASC or DESC for each factor.
For example, we can do this now :
artisan route:list --sort=domain,uri:DESC

Which first sorts the list by domain column ASC (default value) and then by the uri column DESC.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Links between markdown pages don't work on DevOps pipeline build

Expected behaviour
On my laptop I clone my wiki, put the WikiPDFExport binary in the root and run an export for a specific sub folder of the wiki using the following instruction:
./azuredevops-export-wiki.exe --b --path .\Index\Application-Troubleshooting --attachments-path .\.attachments

This generates an export.pdf in which links between my markdown pages work.
For example in page /Index/Application-Troubleshooting/database.md I can specify a link like this
[Back to checklist](/Index/Application-Troubleshooting/checklist.md)

In the PDF it becomes a clickable link.
Issue
If I do the same thing in an Azure devops pipeline the export.pdf is generated but none of the links between different markdown pages work.
Side note
I have also noticed that running the WikiPDFExport binary without any parameters will correctly include images from .attachments on my laptop. However in the Azure pipeline I need to specify  --attachments-path ./.attachments to get the images to show up.
Looks like a difference in run time environment but no idea what it could be ;)
I have tried looking at the verbose output but that didn't help. Any thoughts on what could be causing this?

Small update: I have tried a few different approaches in my devops pipeline

Powershell build task on Windows 2022 build agent
Bash build task on Ubuntu 22.04 build agent
WIKI PDF Exporter build task on both windows and ubuntu build agents

For all of them the links between markdown pages are not working.

Update:
To figure out what is going wrong I thought to add some log messages to see what happens. I'm using .NET 6.0 SDK with Visual studio 2022, publishing as a local Windows executable. I just pulled the code, opened the solution, added some log messages and compiled. Turns out my own compiled version does not have the issue.
So I suspect there is a difference in the way the release executable is getting built?
I'm stumped as to what is going on but happy to help reproduce or investigate.
In any case I have a workaround by using my own compiled version ;)

do you run it on windows or linux?

My own build that does not have the issue is done on Windows. It works locally and in a Microsoft Azure DevOps pipeline.
For the release build that I downloaded from github:

The windows build works locally on my laptop
The windows build does not create links when running in a Microsoft Azure DevOps pipeline
The linux build does not create links when running in a Microsoft Azure DevOps pipeline

Thank you stale bot but this one is still open :)

Thanks for keeping this on the backlog @MaxMelcher, if you need any further tests from my side please let me know.

Fixed in af0a226d787fe91314b2ab0a387ffbe754ba4d54