Users need to know when to renew a 3 month permit

Re: vagueness of "before your 3 month permit expires" I suggest:

10 days before your 3 month pass expires

Gives sufficient time for 5 working days if there's a weekend in the middle of them i.e. 7 days plus 3 days leeway. There is a risk users will leave it too late anyway though and have a gap between 3 month end date and full permit start date. So best thing for user would be to let them write on the 3 month permit "Full permit applied for reference no. 1234567" in the interim period.

Re: uncertainty of sufficient activity history - what are the facts for Verify being able to kick in and ID a new resident? Do we need to say something like "you'll have had to have paid a utility bill, registered to vote, registered for council tax, registered for universal credit, informed your bank of your new address"?  See also #588 redesign of the prove-identity page where we basically state that by 3 months in a new address you'll be GOV.UK Verifiable.

@lizziebruce the suggested copy looks great, but I don't think we can be more specific re part 2: what the users should do in order to increase their chances in getting verified in 3 months time.. If we suggest this, it will set the expectation that by changing their utility bill address, etc. they'll get verified. In reality, the process is v complex and each piece of evidence would get scored and weighted up and in order to get verified the user would need to reach a certain score in all the categories. We also would not be able to advice them what else they need to do in addition as we don't know in which category (citizen, money or living) they come short..

Yeah, agree that we can't really be very specific on this so let's just give them a time to come back.              For now at least, this seems the best course of action -- The success of this is something to particularly monitor in private beta (which probably needs to last for at least 4 months to make sure we get these users all the through to getting their full permit).

I've changed the application complete page to say "10 days before" instead of "shortly before":

Changed same copy on unverified address page:

Also changed same copy on the new resident's permits page, the one after you enter a new address to replace the one provided by Verify:

But I can't get the end screen to show with this variable ^^, I think there's a bug in the prototype @sanjaypoyzer as it's giving 6 month/12 month option page after this. Also we should probably change the wording on the new resident permits page to say something like "As this is a new/different address for you we can only give you a 3 month permit today. 10 days before it expires, re-apply for your 6 or 12 month resident's parking permit."

@lizziebruce Come grab me when you're looking at this next and we'll work out what the bug is.


Add icon for SimpleNews

Added missing icon for SimpleNews to match SimpleScores and SimpleToDo (matched the existing background style and naming convention).

You nailed it – thank you!

Looks gorgeous 🎉


[REQ] Horace reacts to "I am grateful for" in the gratitude channel"

Describe the solution you'd like

Additional context
What channel this reaction occurs in should be configurable in the config such that we can set it to the gratitude channel. The regex should detect today i am grateful for (case insensitive)

It's me again and I would like to pick this up! ^^

Great! Go for it :D
Le mar. 7 juil. 2020 à 12:50, ziebam<EMAIL_ADDRESS>a écrit :

It's me again and I would like to pick this up! ^^
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KOA-R-D/horace/issues/165#issuecomment-654990857, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADATWBUINFMLUJTJJZDUX7LR2NG6VANCNFSM4OKWODRQ
.


Observing End Effector Velocity for training the Robot

Hi, i had been referring your environments for Reinforcement Learning. I just have a general question regarding the observation space which you have defined. It seems that you have 16 dimensions in your state space i.e. [Joint Angles, End_effector points (Difference between the target point and the current point of the end effector), Quaternion Error (Difference between target and the orientation of the end effector), and End Effector Velocities]
My question is it necessary to observe the end-effector velocities for training the robot and if so why?
Can it be excluded from the observation?

Hi @Murtaza786-oss ,
I am afraid this repo is not maintained anymore, so I will answer you and close the issue.
Due to the way we ended up training the network, which is executing actions instantaneously, it makes sense that you can discard end-effector velocities. Note that when we run an already trained network, we use another driver (gazebo joint plugin) that manages velocity in an independent way.
The best way to make sure you can discard it is to just test it.


Feature : Clickable More Label

Added new attribute OnPressMoreLabel which has two arguments Events, Date.

Thanks for the PR.
Is it ready to merge?
Also, it would be gald if you add the prop here (not mandatory):
https://github.com/acro5piano/react-native-big-calendar/blob/4f50d6ce133c8253f14cfd0d80f38c93e055eb6d/stories/desktop.stories.tsx#L62-L81

Hi, Yes the branch is ready to merge.
and Sure I will add the prop there

Released on v4.1.0

Thank you so much!!
On Sat, 9 Sep 2023 at 10:21 AM Kay Gosho @.***> wrote:

Released on v4.1.0
—
Reply to this email directly, view it on GitHub
https://github.com/acro5piano/react-native-big-calendar/pull/914#issuecomment-1712414356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMXNNJC47V555WV7STLWJL3XZPYVNANCNFSM6AAAAAA4QISNWI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Nested unions (and intersections) are eagerly flattened

TypeScript Version:  4.1.3

Search Terms: nested union, flatten union
Code
type T = number | string
let x: T | null // Inspect the type of x

Expected behavior:
Since in most cases, TypeScript takes care to preserve type names, I'd hope x to get type T | null.
Actual behavior:
Union types that are part of another union type are eagerly flattened into the outer type, producing a type printed as number | string | null.
I am running into this when using the TypeScript compiler as a library as part of a documentation generating system. I have some named union types in my API that become noisy and hard to interpret for users when they are expanded every time they appear in some union type.
Playground Link: here
Related Issues: No.

Duplicate of #35654.

I agree, closing this one.


Facing error related to transparency effect...

Whenever I Start my PC taskbarx runs but transparency effect doesn't apply automatically....
I want taskbarx to run properly on startup with all my saved settings.
I am attaching the screenshots of my settings

OS: Windows 10 Pro
Version 20H2

I've been having the same problem. My taskbar is set to transparent on fullscreen, but on startup always starts with the default opaque appearance. I have to then use the configurator and apply again.

I have the same problem thinking that having the app in my D disk was the problem but I moved it to C disk.
And present the same problem it is annoying to have to go and look for the application besides having to start one more application for this it is inconvenient otherwise fine fine

Does this happen with the latest version? You are running an older version...

Does this happen with the latest version? You are running an older version...

I'm using the latest version and I've been facing the same problem for months with the latest versions at all times. I always set the setting to transparent, but 50% of the time it starts with the default effect and I have to click restart TaskbarX to enable it.

To be able to focus on major/current bugs I had to close all issues. The issues section has gotten very messy to a point that I couldn't follow it anymore. Most issues are duplicates, very old or are already fixed/solved. Feel free to reopen this issue if you still have this issue on the latest version of TaskbarX to get my attention. All feature requests have been put in a list here: 💡| Feature requests #870
I hope you understand ❤


Homepage LXC Script Failed

Please verify that you have read and understood the guidelines.
yes
A clear and concise description of the issue.
When trying to install the Homepage LXC container, I get the following error:
[ERROR] in line 35: exit code 0: while executing command RELEASE=$(curl -s https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')

What settings are you currently utilizing?

[X] Default Settings
[X] Advanced Settings

Which Linux distribution are you employing?
Debian 12
If relevant, including screenshots or a code block can be helpful in clarifying the issue.
Using Advanced Settings
Using Distribution: debian
Using debian Version: 12
Using Container Type: 1
Using Root Password: ********
Container ID: 102
Using Hostname: homepage
Using Disk Size: 2
Allocated Cores: 1
Allocated RAM: 1024
Using Bridge: vmbr0
Using IP Address: dhcp
Using Gateway IP Address: Default
Using APT-Cacher IP Address: Default
Disable IPv6: no
Using Interface MTU Size: Default
Using DNS Search Domain: Host
Using DNS Server IP Address: Host
Using Vlan: Default
Enable Root SSH Access: no
Enable Verbose Mode: yes
Creating a Homepage LXC using the above advanced settings
 ✓ Using local for Template Storage.
 ✓ Using local-lvm for Container Storage.
 ✓ Updated LXC Template List
 ✓ LXC Container 102 was successfully created.
 ✓ Started LXC Container
 ✓ Set up Container OS
 ✓ Network Connected: <IP_ADDRESS> fd00:dead:beef:1:be24:11ff:fe51:72f1 2a0c:cac2:209:310:be24:11ff:fe51:72f1
 ✓ IPv4 Internet Connected
 ✗ IPv6 Internet Not Connected
 ✓ DNS Resolved github.com to <IP_ADDRESS>
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org bookworm-security/main amd64 Packages [216 kB]
Get:5 http://security.debian.org bookworm-security/main Translation-en [132 kB]
Get:6 http://security.debian.org bookworm-security/contrib Translation-en [372 B]
Get:7 http://deb.debian.org/debian bookworm/main amd64 Packages [8,789 kB]
Get:8 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [14.0 kB]
Get:9 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:10 http://deb.debian.org/debian bookworm/contrib Translation-en [48.8 kB]
Get:11 http://deb.debian.org/debian bookworm-updates/main Translation-en [8,248 B]
Get:12 http://deb.debian.org/debian bookworm-updates/contrib Translation-en [408 B]
Get:13 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7,410 B]
Get:13 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-12-07-2012.31-F-2024-11-27-1405.46.pdiff [7,410 B]
Fetched 15.6 MB in 1s (11.1 MB/s)
Reading package lists... Done
N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its 'Version' value from '12.7' to '12.8'
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
 |The following packages will be upgraded:
  base-files bsdextrautils bsdutils distro-info-data fdisk iputils-ping libblkid1 libc-bin libc-l10n libc6 libcurl3-gnutls libexpat1 libfdisk1 libmount1 libnghttp2-14 libnss-systemd libpam-systemd
  libpython3.11-minimal libpython3.11-stdlib libsmartcols1 libsqlite3-0 libssl3 libsystemd-shared libsystemd0 libudev1 libuuid1 locales mount openssl python3.11 python3.11-minimal systemd
  systemd-sysv systemd-timesyncd tzdata udev util-linux util-linux-extra
38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 9,216 B of additional disk space will be used.

Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../base-files_12.4+deb12u8_amd64.deb ...
Unpacking base-files (12.4+deb12u8) over (12.4+deb12u7) ...
Setting up base-files (12.4+deb12u8) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../bsdutils_1%3a2.38.1-5+deb12u2_amd64.deb ...
Unpacking bsdutils (1:2.38.1-5+deb12u2) over (1:2.38.1-5+deb12u1) ...
 /Setting up bsdutils (1:2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libc6_2.36-9+deb12u9_amd64.deb ...
 -Unpacking libc6:amd64 (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 -Setting up libc6:amd64 (2.36-9+deb12u9) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libsmartcols1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libsmartcols1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libsmartcols1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../util-linux-extra_2.38.1-5+deb12u2_amd64.deb ...
Unpacking util-linux-extra (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up util-linux-extra (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../util-linux_2.38.1-5+deb12u2_amd64.deb ...
 -Unpacking util-linux (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 |Setting up util-linux (2.38.1-5+deb12u2) ...
 -fstrim.service is a disabled or a static unit not running, not starting it.
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.36-9+deb12u9_amd64.deb ...
Unpacking libc-bin (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 \Setting up libc-bin (2.36-9+deb12u9) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../mount_2.38.1-5+deb12u2_amd64.deb ...
Unpacking mount (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 /Preparing to unpack .../libnss-systemd_252.31-1~deb12u1_amd64.deb ...
Unpacking libnss-systemd:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
Preparing to unpack .../libblkid1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libblkid1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 -Setting up libblkid1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libmount1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libmount1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 \Setting up libmount1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.15-1~deb12u1_amd64.deb ...
Unpacking libssl3:amd64 (3.0.15-1~deb12u1) over (3.0.14-1~deb12u2) ...
 /Preparing to unpack .../systemd-timesyncd_252.31-1~deb12u1_amd64.deb ...
Unpacking systemd-timesyncd (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 -Preparing to unpack .../libpam-systemd_252.31-1~deb12u1_amd64.deb ...
Unpacking libpam-systemd:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
Setting up libssl3:amd64 (3.0.15-1~deb12u1) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../systemd_252.31-1~deb12u1_amd64.deb ...
Unpacking systemd (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 /Preparing to unpack .../libsystemd-shared_252.31-1~deb12u1_amd64.deb ...
Unpacking libsystemd-shared:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 \Preparing to unpack .../libsystemd0_252.31-1~deb12u1_amd64.deb ...
Unpacking libsystemd0:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
Setting up libsystemd0:amd64 (252.31-1~deb12u1) ...
 |Setting up libsystemd-shared:amd64 (252.31-1~deb12u1) ...
Setting up mount (2.38.1-5+deb12u2) ...
Setting up systemd (252.31-1~deb12u1) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_252.31-1~deb12u1_amd64.deb ...
Unpacking systemd-sysv (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 |Preparing to unpack .../libuuid1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libuuid1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Setting up libuuid1:amd64 (2.38.1-5+deb12u2) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../0-libfdisk1_2.38.1-5+deb12u2_amd64.deb ...
Unpacking libfdisk1:amd64 (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Preparing to unpack .../1-python3.11_3.11.2-6+deb12u4_amd64.deb ...
 -Unpacking python3.11 (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
Preparing to unpack .../2-libpython3.11-stdlib_3.11.2-6+deb12u4_amd64.deb ...
 \Unpacking libpython3.11-stdlib:amd64 (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 -Preparing to unpack .../3-python3.11-minimal_3.11.2-6+deb12u4_amd64.deb ...
Unpacking python3.11-minimal (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 |Preparing to unpack .../4-libpython3.11-minimal_3.11.2-6+deb12u4_amd64.deb ...
Unpacking libpython3.11-minimal:amd64 (3.11.2-6+deb12u4) over (3.11.2-6+deb12u3) ...
 \Preparing to unpack .../5-libsqlite3-0_3.40.1-2+deb12u1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.40.1-2+deb12u1) over (3.40.1-2) ...
 |Preparing to unpack .../6-libexpat1_2.5.0-1+deb12u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.5.0-1+deb12u1) over (2.5.0-1) ...
Preparing to unpack .../7-udev_252.31-1~deb12u1_amd64.deb ...
 /Unpacking udev (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 \Preparing to unpack .../8-libudev1_252.31-1~deb12u1_amd64.deb ...
Unpacking libudev1:amd64 (252.31-1~deb12u1) over (252.30-1~deb12u2) ...
 |Setting up libudev1:amd64 (252.31-1~deb12u1) ...
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../0-tzdata_2024b-0+deb12u1_all.deb ...
 /Unpacking tzdata (2024b-0+deb12u1) over (2024a-0+deb12u1) ...
 \Preparing to unpack .../1-fdisk_2.38.1-5+deb12u2_amd64.deb ...
Unpacking fdisk (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
 |Preparing to unpack .../2-iputils-ping_3%3a20221126-1+deb12u1_amd64.deb ...
Unpacking iputils-ping (3:20221126-1+deb12u1) over (3:20221126-1) ...
Preparing to unpack .../3-libc-l10n_2.36-9+deb12u9_all.deb ...
 /Unpacking libc-l10n (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 -Preparing to unpack .../4-locales_2.36-9+deb12u9_all.deb ...
Unpacking locales (2.36-9+deb12u9) over (2.36-9+deb12u8) ...
 /Preparing to unpack .../5-bsdextrautils_2.38.1-5+deb12u2_amd64.deb ...
Unpacking bsdextrautils (2.38.1-5+deb12u2) over (2.38.1-5+deb12u1) ...
Preparing to unpack .../6-distro-info-data_0.58+deb12u3_all.deb ...
Unpacking distro-info-data (0.58+deb12u3) over (0.58+deb12u2) ...
 -Preparing to unpack .../7-libnghttp2-14_1.52.0-1+deb12u2_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.52.0-1+deb12u2) over (1.52.0-1+deb12u1) ...
Preparing to unpack .../8-libcurl3-gnutls_7.88.1-10+deb12u8_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u8) over (7.88.1-10+deb12u7) ...
 \Preparing to unpack .../9-openssl_3.0.15-1~deb12u1_amd64.deb ...
Unpacking openssl (3.0.15-1~deb12u1) over (3.0.14-1~deb12u2) ...
 -Setting up libexpat1:amd64 (2.5.0-1+deb12u1) ...
Setting up systemd-sysv (252.31-1~deb12u1) ...
Setting up libc-l10n (2.36-9+deb12u9) ...
Setting up bsdextrautils (2.38.1-5+deb12u2) ...
Setting up distro-info-data (0.58+deb12u3) ...
Setting up libsqlite3-0:amd64 (3.40.1-2+deb12u1) ...
Setting up libnghttp2-14:amd64 (1.52.0-1+deb12u2) ...
Setting up libnss-systemd:amd64 (252.31-1~deb12u1) ...
Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u8) ...
 \Setting up locales (2.36-9+deb12u9) ...
 -Generating locales (this might take a while)...
 \ done.UTF-8...
Generation complete.
 |Setting up tzdata (2024b-0+deb12u1) ...
 /
Current default time zone: 'Europe/Berlin'
Local time is now:      Thu Dec 12 00:31:36 CET 2024.
Universal Time is now:  Wed Dec 11 23:31:36 UTC 2024.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up systemd-timesyncd (252.31-1~deb12u1) ...
 |Setting up udev (252.31-1~deb12u1) ...
 |Setting up libfdisk1:amd64 (2.38.1-5+deb12u2) ...
Setting up libpam-systemd:amd64 (252.31-1~deb12u1) ...
 -Setting up libpython3.11-minimal:amd64 (3.11.2-6+deb12u4) ...
Setting up openssl (3.0.15-1~deb12u1) ...
Setting up iputils-ping (3:20221126-1+deb12u1) ...
Setting up python3.11-minimal (3.11.2-6+deb12u4) ...
 \Setting up libpython3.11-stdlib:amd64 (3.11.2-6+deb12u4) ...
Setting up fdisk (2.38.1-5+deb12u2) ...
Setting up python3.11 (3.11.2-6+deb12u4) ...
 |Processing triggers for systemd (252.31-1~deb12u1) ...
 /Processing triggers for man-db (2.11.2-2) ...
 -Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
 ✓ Updated Container OS
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 \The following additional packages will be installed:
  libcurl4
The following NEW packages will be installed:
  curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 705 kB of archives.
After this operation, 1,359 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u8 [390 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u8 [315 kB]
Fetched 705 kB in 0s (6,942 kB/s)
 \Selecting previously unselected package libcurl4:amd64.
(Reading database ... 19138 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.88.1-10+deb12u8_amd64.deb ...
Unpacking libcurl4:amd64 (7.88.1-10+deb12u8) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.88.1-10+deb12u8_amd64.deb ...
Unpacking curl (7.88.1-10+deb12u8) ...
 |Setting up libcurl4:amd64 (7.88.1-10+deb12u8) ...
Setting up curl (7.88.1-10+deb12u8) ...
Processing triggers for man-db (2.11.2-2) ...
 -Processing triggers for libc-bin (2.36-9+deb12u9) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 /The following NEW packages will be installed:
  sudo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,889 kB of archives.
After this operation, 6,199 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 sudo amd64 1.9.13p3-1+deb12u1 [1,889 kB]
Fetched 1,889 kB in 0s (15.8 MB/s)
 /Selecting previously unselected package sudo.
(Reading database ... 19151 files and directories currently installed.)
Preparing to unpack .../sudo_1.9.13p3-1+deb12u1_amd64.deb ...
Unpacking sudo (1.9.13p3-1+deb12u1) ...
 \Setting up sudo (1.9.13p3-1+deb12u1) ...
 /Processing triggers for man-db (2.11.2-2) ...
 |Processing triggers for libc-bin (2.36-9+deb12u9) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 |The following additional packages will be installed:
  libglib2.0-0 libglib2.0-data libgpm2 mc-data shared-mime-info unzip xdg-user-dirs
Suggested packages:
  low-memory-monitor gpm arj catdvi | texlive-binaries dbview djvulibre-bin epub-utils genisoimage gv imagemagick libaspell-dev links | w3m | lynx odt2txt poppler-utils python python-boto
  python-tz unar wimtools xpdf | pdf-viewer zip
The following NEW packages will be installed:
  libglib2.0-0 libglib2.0-data libgpm2 mc mc-data shared-mime-info unzip xdg-user-dirs
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,441 kB of archives.
After this operation, 27.7 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-0 amd64 2.74.6-2+deb12u4 [1,400 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 libglib2.0-data all 2.74.6-2+deb12u4 [1,209 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 mc-data all 3:4.8.29-2 [1,346 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 mc amd64 3:4.8.29-2 [522 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 shared-mime-info amd64 2.2-1 [729 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 xdg-user-dirs amd64 0.18-1 [54.4 kB]
Fetched 5,441 kB in 0s (39.2 MB/s)
 |Selecting previously unselected package libglib2.0-0:amd64.
(Reading database ... 19292 files and directories currently installed.)
Preparing to unpack .../0-libglib2.0-0_2.74.6-2+deb12u4_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.74.6-2+deb12u4) ...
 /Selecting previously unselected package libglib2.0-data.
Preparing to unpack .../1-libglib2.0-data_2.74.6-2+deb12u4_all.deb ...
Unpacking libglib2.0-data (2.74.6-2+deb12u4) ...
 \Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../2-libgpm2_1.20.7-10+b1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.7-10+b1) ...
 |Selecting previously unselected package mc-data.
Preparing to unpack .../3-mc-data_3%3a4.8.29-2_all.deb ...
Unpacking mc-data (3:4.8.29-2) ...
 -Selecting previously unselected package mc.
Preparing to unpack .../4-mc_3%3a4.8.29-2_amd64.deb ...
 \Unpacking mc (3:4.8.29-2) ...
 |Selecting previously unselected package shared-mime-info.
Preparing to unpack .../5-shared-mime-info_2.2-1_amd64.deb ...
Unpacking shared-mime-info (2.2-1) ...
 /Selecting previously unselected package unzip.
Preparing to unpack .../6-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
 -Selecting previously unselected package xdg-user-dirs.
Preparing to unpack .../7-xdg-user-dirs_0.18-1_amd64.deb ...
Unpacking xdg-user-dirs (0.18-1) ...
 \Setting up libgpm2:amd64 (1.20.7-10+b1) ...
Setting up xdg-user-dirs (0.18-1) ...
Setting up libglib2.0-0:amd64 (2.74.6-2+deb12u4) ...
No schema files found: doing nothing.
Setting up unzip (6.0-28) ...
 |Setting up libglib2.0-data (2.74.6-2+deb12u4) ...
Setting up shared-mime-info (2.2-1) ...
 /Setting up mc-data (3:4.8.29-2) ...
 -Setting up mc (3:4.8.29-2) ...
update-alternatives: using /usr/bin/mcview to provide /usr/bin/view (view) in auto mode
Processing triggers for man-db (2.11.2-2) ...
 -Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for libc-bin (2.36-9+deb12u9) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 -The following additional packages will be installed:
  dirmngr gnupg gnupg-l10n gnupg-utils gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libnpth0 pinentry-curses
Suggested packages:
  dbus-user-session pinentry-gnome3 tor parcimonie xloadimage scdaemon pinentry-doc
The following NEW packages will be installed:
  dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libksba8 libnpth0 pinentry-curses
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,881 kB of archives.
After this operation, 16.0 MB of additional disk space will be used.

(Reading database ... 20058 files and directories currently installed.)
Preparing to unpack .../00-libassuan0_2.5.5-5_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.5-5) ...
 \Selecting previously unselected package gpgconf.
Preparing to unpack .../01-gpgconf_2.2.40-1.1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../02-libksba8_1.6.3-2_amd64.deb ...
Unpacking libksba8:amd64 (1.6.3-2) ...
 |Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../03-libnpth0_1.6-3_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../04-dirmngr_2.2.40-1.1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1) ...
 /Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../05-gnupg-l10n_2.2.40-1.1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1) ...
 -Selecting previously unselected package gnupg-utils.
Preparing to unpack .../06-gnupg-utils_2.2.40-1.1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1) ...
 \Selecting previously unselected package gpg.
Preparing to unpack .../07-gpg_2.2.40-1.1_amd64.deb ...
Unpacking gpg (2.2.40-1.1) ...
 |Selecting previously unselected package pinentry-curses.
Preparing to unpack .../08-pinentry-curses_1.2.1-1_amd64.deb ...
Unpacking pinentry-curses (1.2.1-1) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../09-gpg-agent_2.2.40-1.1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1) ...
 /Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../10-gpg-wks-client_2.2.40-1.1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../11-gpg-wks-server_2.2.40-1.1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1) ...
 -Selecting previously unselected package gpgsm.
Preparing to unpack .../12-gpgsm_2.2.40-1.1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../13-gnupg_2.2.40-1.1_all.deb ...
Unpacking gnupg (2.2.40-1.1) ...
 \Setting up libksba8:amd64 (1.6.3-2) ...
Setting up libnpth0:amd64 (1.6-3) ...
Setting up libassuan0:amd64 (2.5.5-5) ...
 |Setting up gnupg-l10n (2.2.40-1.1) ...
Setting up gpgconf (2.2.40-1.1) ...
Setting up gpg (2.2.40-1.1) ...
Setting up gnupg-utils (2.2.40-1.1) ...
Setting up pinentry-curses (1.2.1-1) ...
Setting up gpg-agent (2.2.40-1.1) ...
 /Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-browser.socket → /usr/lib/systemd/user/gpg-agent-browser.socket.
 -Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-extra.socket → /usr/lib/systemd/user/gpg-agent-extra.socket.
 \Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent-ssh.socket → /usr/lib/systemd/user/gpg-agent-ssh.socket.
 |Created symlink /etc/systemd/user/sockets.target.wants/gpg-agent.socket → /usr/lib/systemd/user/gpg-agent.socket.
Setting up gpgsm (2.2.40-1.1) ...
Setting up dirmngr (2.2.40-1.1) ...
 /Created symlink /etc/systemd/user/sockets.target.wants/dirmngr.socket → /usr/lib/systemd/user/dirmngr.socket.
Setting up gpg-wks-server (2.2.40-1.1) ...
Setting up gpg-wks-client (2.2.40-1.1) ...
 -Setting up gnupg (2.2.40-1.1) ...
Processing triggers for man-db (2.11.2-2) ...
 /Processing triggers for libc-bin (2.36-9+deb12u9) ...
 ✓ Installed Dependencies
 ✓ Set up Node.js Repository
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Get:4 https://deb.nodesource.com/node_20.x nodistro InRelease [12.1 kB]
Get:5 https://deb.nodesource.com/node_20.x nodistro/main amd64 Packages [9,928 B]
Fetched 22.1 kB in 0s (75.5 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
 \The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.8 MB of archives.
After this operation, 197 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_20.x nodistro/main amd64 nodejs amd64 20.18.1-1nodesource1 [31.8 MB]
Fetched 31.8 MB in 0s (69.3 MB/s)
 -Selecting previously unselected package nodejs.
(Reading database ... 20313 files and directories currently installed.)
Preparing to unpack .../nodejs_20.18.1-1nodesource1_amd64.deb ...
Unpacking nodejs (20.18.1-1nodesource1) ...
 \Setting up nodejs (20.18.1-1nodesource1) ...
 |Processing triggers for man-db (2.11.2-2) ...

added 1 package in 1s

1 package is looking for funding
  run `npm fund` for details
npm notice
npm notice New minor version of npm available! 10.8.2 -> 10.9.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.2
npm notice To update run: npm install -g<EMAIL_ADDRESS>npm notice
 ✓ Installed Node.js

[ERROR] in line 35: exit code 0: while executing command RELEASE=$(curl -s https://api.github.com/repos/gethomepage/homepage/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')

Please provide detailed steps to reproduce the issue.
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/homepage.sh)"

check if you have any dns problems against github.

The problem was indeed with my IPv6 Stack. It seems the script tried to access github with IPv6. After using advanced settings and disabling IPv6, the script worked correctly and installed the Homepage LXC.


add UI font setting

EDIT: Original report was root-caused to something a bit different, but one of the upshots is that the fact that the current settings only control fonts as used in graphs and logs but the UI font sizes are not controllable is a bit of a headache in some situations. Updated to be a request for the UI font size to be controlled by a different setting.
As reported in slack, @whitequark has an issue with font scaling resulting in broken behavior:
QT_SCALE_FACTOR less than 1 causes the UI to become badly broken.
EG:
QT_SCALE_FACTOR=0.5 /Applications/Binary\ Ninja-dev.app/Contents/MacOS/binaryninja

See also: #667

Good catch, closing this in favor of that one.


created export calendar button under recent searches

References

Linear: https://linear.app/hoagie/issue/DEV-116/create-export-calendar-button

Proposed Changes

Added "Export Calendar" button under Recent Searches

Button should be a bit thinner as it's a bit too big currently. Also would do better with a brighter color as it's easy to overlook the button. Perhaps the dark yellow we use: #FFB020.


ability to connect remote hosts into dataplane of MiniNet

It would be really neat if we could use something like GRETAP interfaces or some other tunneling technology to allow us to connect remote hosts interfaces to our MiniNet instance to simulate more realistic traffic across the mininet instance

Try to use dlinknctu/mininet. It support Pluggable Tunnel Module (GRE / VxLAN). more mininet examples

This is interesting, and something that we can't easily test in an automated fashion, but... maybe we do want some tunneling examples in examples/.


Only process Sarif log if its opened as Sarif format.

If its opened with other editors like JSON editor for editing, do not process Sarif log.

Its fix for #196


aks: update readme tag for 1101

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

Hi @PhoenixHe-msft , this pr is ready to review & merge now, PTAL!

/azp run

Hi @PhoenixHe-msft , can we merge it now? Or should I update anything else?


IllegalStateException when using WebSecurityConfigurerAdapter

Describe the bug
I'm not sure it is a bug, or maybe I'm doing something wrong.
I'm building an application that is both utilizing the authorization server, but also contains additional REST controller.
In that manner, I guess my app plays both the role of authorization server and resource server.
I've just upgraded to latest code of spring-authorization-server, it used to work for me in the past.
But now, I get the following exception when app starts:
java.lang.IllegalStateException: Found WebSecurityConfigurerAdapter as well as SecurityFilterChain. Please select just one.
To Reproduce
I took the configuration from the sample:
	@Bean
	@Order(Ordered.HIGHEST_PRECEDENCE)
	public SecurityFilterChain authorizationServerSecurityFilterChain(HttpSecurity http) throws Exception {
		OAuth2AuthorizationServerConfiguration.applyDefaultSecurity(http);
		return http.formLogin(Customizer.withDefaults()).build();
	}

And also added my REST endpoints configuration, in which I use my own jwt converter:
@Configuration
@Order(200)
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true, jsr250Enabled = true)
public class AuthenticationConfig extends WebSecurityConfigurerAdapter {

    @Autowired
    @Qualifier("resourceServerJwtConverter")
    JwtAuthenticationConverter jwtAuthenticationConverter;

    @Override
    public void configure(HttpSecurity http) throws Exception {
        http.authorizeRequests()
                .antMatchers("/actuator/health").permitAll()
                .antMatchers("/actuator/health/readiness").permitAll()
                .antMatchers("/actuator/health/liveness").permitAll()
                .antMatchers("/actuator/prometheus").permitAll()
                .anyRequest().authenticated().and()
                .oauth2ResourceServer().jwt().jwtAuthenticationConverter(jwtAuthenticationConverter);
    }
}

Expected behavior
In the past, using @Order helped and I was able to have both configurations (before adding the SecurityFilterChain bean).
I'd like to be able to configure my REST endpoints security, as a resource server, and also use the authentication server in the same application.
I tried also to remove the SecurityFilterChain bean, and configure everything as WebSecurityConfigurerAdapter, but without any success. I was able to call the /token endpoint, but it seems that my REST endpoint is not protected by spring security at all and can be called without any token in the header.
Here is my trial:
    @Override
    public void configure(HttpSecurity http) throws Exception {

        OAuth2AuthorizationServerConfigurer<HttpSecurity> authorizationServerConfigurer =
                new OAuth2AuthorizationServerConfigurer<>();
        RequestMatcher endpointsMatcher = authorizationServerConfigurer
                .getEndpointsMatcher();
        http
                .requestMatcher(endpointsMatcher)
                .authorizeRequests(authorizeRequests -> {
                            try {
                                authorizeRequests
                                        .antMatchers("/actuator/health").permitAll()
                                        .antMatchers("/actuator/health/readiness").permitAll()
                                        .antMatchers("/actuator/health/liveness").permitAll()
                                        .antMatchers("/actuator/prometheus").permitAll()
                                        .anyRequest().authenticated().and()
                                        .oauth2ResourceServer().jwt().jwtAuthenticationConverter(jwtAuthenticationConverter);
                            } catch (Exception e) {
                                e.printStackTrace();
                            }
                        }
                )
                .csrf(csrf -> csrf.ignoringRequestMatchers(endpointsMatcher))
                //.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt)
                .apply(authorizationServerConfigurer);
    }

Is there a way to do that?
@jgrandja - can you advise on that?
Thanks!

I've just upgraded to latest code of spring-authorization-server, it used to work for me in the past.
But now, I get the following exception when app starts:
java.lang.IllegalStateException: Found WebSecurityConfigurerAdapter as well as SecurityFilterChain. Please select just one.

Spring Security 5.4 adds support for publishing a SecurityFilterChain bean; but there is no clear way to order SecurityFilterChain beans and WebSecurityConfigurerAdapter beans. So you need to pick one or the other.

I tried also to remove the SecurityFilterChain bean, and configure everything as WebSecurityConfigurerAdapter, but without any success. I was able to call the /token endpoint, but it seems that my REST endpoint is not protected by spring security at all and can be called without any token in the header.
Here is my trial:
    @Override
    public void configure(HttpSecurity http) throws Exception {

        OAuth2AuthorizationServerConfigurer<HttpSecurity> authorizationServerConfigurer =
                new OAuth2AuthorizationServerConfigurer<>();
        RequestMatcher endpointsMatcher = authorizationServerConfigurer
                .getEndpointsMatcher();
        http
                .requestMatcher(endpointsMatcher)
                .authorizeRequests(authorizeRequests -> {
                            try {
                                authorizeRequests
                                        .antMatchers("/actuator/health").permitAll()
                                        .antMatchers("/actuator/health/readiness").permitAll()
                                        .antMatchers("/actuator/health/liveness").permitAll()
                                        .antMatchers("/actuator/prometheus").permitAll()
                                        .anyRequest().authenticated().and()
                                        .oauth2ResourceServer().jwt().jwtAuthenticationConverter(jwtAuthenticationConverter);
                            } catch (Exception e) {
                                e.printStackTrace();
                            }
                        }
                )
                .csrf(csrf -> csrf.ignoringRequestMatchers(endpointsMatcher))
                //.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt)
                .apply(authorizationServerConfigurer);
    }

The problem is, you are configuring your REST endpoints inside an auth-server endpoint matcher.
(the requestMatcher(endpointsMatcher) line)
In order to achieve your goal, you can define multiple WebSecurityConfigurerAdapter, one for authorization server endpoints, and one for your own REST endpoints, and assign them different Order, just like you did in the past.
Or you can try the SecurityFilterChain bean way, with multiple beans and different Order too, which I think is more clear.
For example:

// auth server filter
@Bean
@Order(Ordered.HIGHEST_PRECEDENCE)
public SecurityFilterChain authorizationServerSecurityFilterChain(HttpSecurity http) throws Exception {
        OAuth2AuthorizationServerConfigurer<HttpSecurity> authorizationServerConfigurer =
                new OAuth2AuthorizationServerConfigurer<>();
        RequestMatcher endpointsMatcher = authorizationServerConfigurer
                .getEndpointsMatcher();
	http
		.requestMatcher(endpointsMatcher )
		.authorizeRequests(authorizeRequests -> authorizeRequests
				.anyRequest().authenticated()
		)
		// add any config you need
		.apply(authorizationServerConfigurer);
}

// your REST endpoints filter
@Bean
@Order(1) // another order
public SecurityFilterChain authorizationServerSecurityFilterChain(HttpSecurity http) throws Exception {
        RequestMatcher yourEndpointsMatcher;
	http
		.requestMatcher(yourEndpointsMatcher)
		.authorizeRequests(authorizeRequests -> {
				try {
					authorizeRequests
						.antMatchers("/actuator/health").permitAll()
						.antMatchers("/actuator/health/readiness").permitAll()
						.antMatchers("/actuator/health/liveness").permitAll()
						.antMatchers("/actuator/prometheus").permitAll()
						.anyRequest().authenticated().and()
						.oauth2ResourceServer().jwt().jwtAuthenticationConverter(jwtAuthenticationConverter);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		)
		.csrf(csrf -> csrf.ignoringRequestMatchers(endpointsMatcher))
		//.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt)
		.apply(authorizationServerConfigurer);
}

@edwardzjl ,
Thank you very much for the detailed explanation!
I was able to configure spring security in both ways you mentioned and it works well for me.
Issue can be closed :)

i am curious how to configure AuthenticationManagerBuilder without extends WebSecurityConfigurerAdapter
@Override
    protected void configure(AuthenticationManagerBuilder auth) throws Exception {
        auth.userDetailsService(userDetailService)
                .passwordEncoder(new BCryptPasswordEncoder());
    }

i am curious how to configure AuthenticationManagerBuilder without extends WebSecurityConfigurerAdapter. I am facing the same question about IllegalStateException when using WebSecurityConfigurerAdapter. Because I want to use my own UserDetailsService. But i have no idea to set the userDetailsService by SecurityFilterChain.
@Override
    protected void configure(AuthenticationManagerBuilder auth) throws Exception {
        auth.userDetailsService(userDetailService)
                .passwordEncoder(new BCryptPasswordEncoder());
    }

In my project I can config AuthenticationManagerBuider without extending WebSecurityConfigurerAdapter like this:
@Autowired
void configProviders(AuthenticationManagerBuilder authenticationManagerBuilder) {
    authenticationManagerBuilder
            .authenticationProvider(someProvider)
            .authenticationProvider(anotherProvider);
}

But I'm not sure whether it's the recommended way to do that.

@oridool Hi Ori, I'm facing a similar issue. I couldn't get my authorization server working with WebSecurityConfigurer. Do you mind sharing your WebSecurityConfigurer details for Authorization Server? Thanks and appreciate it.

@ledengesd
@EnableWebSecurity
class SecurityConfig {

    @Configuration
    @Order(Ordered.HIGHEST_PRECEDENCE)
    class AuthorizationServerWebSecurityConfig : WebSecurityConfigurerAdapter() {

        override fun configure(http: HttpSecurity) {
            OAuth2AuthorizationServerConfiguration.applyDefaultSecurity(http)
        }
    }

    @Configuration
    @Order(1)
    class DefaultSecurityConfig(
        private val authenticationProvider: SampleAuthenticationProvider,
        private val successHandler: AuthenticationSuccessHandler,
        private val failureHandler: AuthenticationFailureHandler
    ) : WebSecurityConfigurerAdapter() {

        override fun configure(http: HttpSecurity) {
            http.authorizeRequests().anyRequest().permitAll()

            http.csrf().disable()
            http.cors().disable()

            http.formLogin()
                .successHandler(successHandler)
                .failureHandler(failureHandler)
        }

        override fun configure(auth: AuthenticationManagerBuilder) {
            auth.authenticationProvider(authenticationProvider)
        }
    }
}

@oridool Hi Ori, I'm facing a similar issue. I couldn't get my authorization server working with WebSecurityConfigurer. Do you mind sharing your WebSecurityConfigurer details for Authorization Server? Thanks and appreciate it.
The specific issue I'm having is that the two config classes extending WebSecurityConfigurerAdapter will have separate session context, meaning I have to login twice for accessing the endpoints protected by each WebSecurityConfigurerAdapter. Is there a way to unify two WebSecurityConfigurer to use just one security context?

@ledengesd , I'm not sure how to answer your last question regarding multiple login. In my application, I just added another REST endpoint and set it in WebSecurityConfigurer. It is assumed the user already logged in with an IDP and the REST request already contains the JWT.
I simply followed the example provided by @edwardzjl  .
The point is that you have to choose between the 2 methods and you cannot mix SecurityFilterChain with WebSecurityConfigurer.
Here is a snapshot of my current code, I hope it would help you:

@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true, jsr250Enabled = true)
public class AuthenticationConfig {

    @Configuration
    @Order(Ordered.HIGHEST_PRECEDENCE)
    public static class AuthenticationConfigAuthz extends WebSecurityConfigurerAdapter {

        @Override
        public void configure(HttpSecurity http) throws Exception {
            OAuth2AuthorizationServerConfiguration.applyDefaultSecurity(http);
        }
    }

    @Configuration
    @Order(200)
    public static class AuthenticationConfigJwt extends WebSecurityConfigurerAdapter {

        @Autowired
        @Qualifier("resourceServerJwtConverter")
        JwtAuthenticationConverter jwtAuthenticationConverter;

        @Override
        public void configure(HttpSecurity http) throws Exception {
            ExpressionUrlAuthorizationConfigurer<HttpSecurity>.ExpressionInterceptUrlRegistry expressionInterceptUrlRegistry =
                    http.csrf().disable()
                            .sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS).and()
                            .authorizeRequests();

            expressionInterceptUrlRegistry
                    .antMatchers("/actuator/health").permitAll()
                    .antMatchers("/actuator/health/readiness").permitAll()
                    .antMatchers("/actuator/health/liveness").permitAll()
                    .antMatchers("/actuator/info").permitAll()
                    .antMatchers("/actuator/prometheus").permitAll()
                    .anyRequest().authenticated().and()
                    .oauth2ResourceServer().jwt().jwtAuthenticationConverter(jwtAuthenticationConverter);
            // refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
            http.headers()
                    .contentSecurityPolicy("script-src 'self' ; object-src 'self'; ");

        }
    }
}

@oridool Thanks for your code, it works well.

i am curious how to configure AuthenticationManagerBuilder without extends WebSecurityConfigurerAdapter. I am facing the same question about IllegalStateException when using WebSecurityConfigurerAdapter. Because I want to use my own UserDetailsService. But i have no idea to set the userDetailsService by SecurityFilterChain.
@Override
    protected void configure(AuthenticationManagerBuilder auth) throws Exception {
        auth.userDetailsService(userDetailService)
                .passwordEncoder(new BCryptPasswordEncoder());
    }

In my project I can config AuthenticationManagerBuider without extending WebSecurityConfigurerAdapter like this:
@Autowired
void configProviders(AuthenticationManagerBuilder authenticationManagerBuilder) {
    authenticationManagerBuilder
            .authenticationProvider(someProvider)
            .authenticationProvider(anotherProvider);
}

But I'm not sure whether it's the recommended way to do that.

Thank you! It works.
This is my current SecurityConfig
//enable security debugging which will log detailed security information on each request.
//This way, when we send a request to the server, all the request information will be logged.
@EnableWebSecurity(debug = true)
public class SecurityConfig {

    @Autowired
    UserDetailService userDetailService;

    @Autowired
    void configProviders(AuthenticationManagerBuilder authenticationManagerBuilder) throws Exception {
        authenticationManagerBuilder
                .userDetailsService(userDetailService)
                .passwordEncoder(new BCryptPasswordEncoder());
    }

    // @formatter:off
    @Bean
    SecurityFilterChain defaultSecurityFilterChain(HttpSecurity http) throws Exception {
        http
                .authorizeRequests(authorizeRequests ->
                        authorizeRequests.anyRequest().authenticated()
                )
                .formLogin(withDefaults());
        return http.build();
    }

}

I want to change session to stateless . Can this be achieved?

I want to change session to stateless . Can this be achieved?

I believe what you want is a spring-security feature which is not related to this issue.


Error with Object.Freeze() in IE 11

Hi, Thanks for the plugin!
When my site is run in IE 11 there is an error with the "object.freeze()". Do you know a workaround I can put in? Thanks!

If I float a fix are you capable of building a new distributable locally to test?
I’m guessing this is the issue:
https://github.com/datorama/akita/pull/95/commits/8a6306542595a8e2230b09299cff4be35fd3af7b
https://github.com/brandonroberts/ngrx-store-freeze/issues/7
Technically we don’t support IE11 any more but my intention was to try and not break it until 10.0 and then officially end support, which is likely the next release.

Sure I can give it a shot! Thanks!
Thanks,
Christopher

On Dec 11, 2019, at 6:52 PM, Josh Goebel<EMAIL_ADDRESS>wrote:

If I float a fix are you capable of building a new distributable locally to test?
I’m guessing this is the issue:
datorama/akita@8a63065
brandonroberts/ngrx-store-freeze#7
Technically we don’t support IE11 any more but my intention was to try and not break it until 10.0 and then officially end support, which is likely the next release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Build a new version against https://github.com/highlightjs/highlight.js/pull/2319 and test please.

Thanks, I built and tested, but still get the same error. I think the function Object.freeze(o); just doesn't exist in IE 11.

If this section of the code is removed it still works well (not sure what else is affected!) but in my app its cool.. maybe performance is slightly affected? I'm using highlight.js for a handful of  sql code blocks.
If you have another idea I'd appreciate it! - otherwise I can use the code w/ this block commented out. (lines 1130 - 1151 in src/highlight.js)

Freeze exists. The error is telling you that.
Could you add some logging and console.log both the object and property right before freeze is called and let me know which item or property it’s blowing up on?
Commenting it out will probably work as a quick fix. This code prevents language plugins from corrupting the parser itself by modifying the shared regexes - which it turns out our own languages were doing in the past (by accident).

Good point 👍
Yes - here's a few few pics. It seems to be because the first object is a string, not an "object" -

To test out, I changed the order of the object array to put one of the "objects" first to see if the function would successfully complete. It fails in my console.log at the freeze check with the object error, but should not hit this at runtime because the first conditions are true.

Here is  rerun with the console.log removed from that section:
Now it works until it gets to a string in the array.

What do you think?

btw, I apologize for using ie 11 😭 my personal feeling is that IE does not qualify as a browser 😄

In ES5, if the argument to this method is not an object (a primitive), then it will cause a TypeError. In ES2015, a non-object argument will be treated as if it were a frozen ordinary object, and be simply returned.

Ah.  Can you try the PR again?  I modified it so we don't try to freeze any of the strings.

btw, I apologize for using ie 11

No problem.  I appreciate your reporting this.  My intention was always for 9.x to be a stable release series that people could continue to use for a while if they needed support for IE11 and older browsers while 10.0 moves on to newer things.  So I'd def like to see this fixed if we can. :)
But we don't actively test new changes in IE11.

Thanks, that works very well. I appreciate it!

Releasing 9.17.1 with the fix.


IMAGE-BUILDER-COMPOSER-10 errors should be treated as 400

The error passed from composer should be parsed, and passed along as a 400 error rather than a 500 (default for any error coming from composer). As this error most likely means user input error ("Error resolving OSTree repo").

Hi @Gundersanne, could you point me to the location where this should be changed? Should it be handled in the wrapper methods here? :)

Hey!
Currently all errors are treated as 500 errors. If the response isn't 201, we should also inspect the response and look for the specific error code returned (see https://github.com/osbuild/osbuild-composer/blob/main/internal/cloudapi/v2/errors.go for a list of errors). And in case the Id is 10; we should return 400 instead of 500.

Hey, thanks for your detailed response. I did like to try it - could you assign the ticket to me? :)
Does that mean the openapi spec needs to be adapted by hand or regenerated? I found that, but I am not sure what I should do. ^^
https://github.com/osbuild/image-builder/blob/a841f01d531c7dc9ffa68b833fa8f4962e99e08c/internal/v1/server.go#L1
I played with the server.go implementation, should it somehow look like this?
if resp.StatusCode != http.StatusCreated {
	httpError := echo.NewHTTPError(http.StatusInternalServerError, "Failed posting compose request to osbuild-composer")
	body, err := ioutil.ReadAll(resp.Body)
	if err != nil {
		logrus.Errorf("Unable to parse composer's compose response: %v", err)
	} else {
+ 		bodyStr := fmt.Errorf("%s", body)
+ 		_ = httpError.SetInternal(bodyStr)
+ 		var serviceStat composer.ComposeStatus
+ 		if err := json.Unmarshal(body, &serviceStat); err != nil {
+ 			return httpError
+ 		}
+ 		if parseComposeStatusError(serviceStat.ImageStatus.Error).Id == 10 {
+ 			httpError = echo.NewHTTPError(http.StatusBadRequest, "Error resolving OSTree repo")
+ 			_ = httpError.SetInternal(bodyStr)
+ 		}
	}
        return httpError
}

Assigned, contributions are always welcome.
Something like that I'd have in mind yes. However there you're parsing the body twice, which I tihnk can be avoided by using json.NewDecoder(body).Decode(&serviceStat).

However there you're reading the body, printing it again, and then decoding it. Which I tihnk can be avoided by using json.NewDecoder(body).Decode(&serviceStat) once.

Seems that json.NewDecoder expects an io.Reader. As far as i understood we can not read from a response body twice? Afterwards only the byte slice is reused. I thought it might be useful to set the body as an internal error to avoid information loss when json.Unmarshal fails. What are your thoughts on that? :)
https://github.com/osbuild/image-builder/blob/7ceaa8852d6dd5decbc8a10e37d099abe1c0aeea/internal/v1/server.go#L574-L580

And as an internal error I'd pass certain fields from the serviceStat error to fmt.Errorf.

What fields do you have in mind? :)


Fix for null values in in clauses

The R package windows failure is not relevant for this PR.

The R package windows failure is not relevant for this PR.


Abort upgrade if unsaved changes found in bashit directory

Description

Motivation and Context

Fixed issue: #1889
How Has This Been Tested?

Manually on docker container
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[x] I have added tests to cover my changes, and all the new and existing tests pass.

@NoahGorny I couldn't fix lint, getting errors

@NoahGorny I couldn't fix lint, getting errors

This is a weird error, your setup is probably messed up somehow. You can see the actual output from the github actions result

@NoahGorny I couldn't fix lint, getting errors

This is a weird error, your setup is probably messed up somehow. You can see the actual output from the github actions result

I have reinstalled my OS and cloned the repo. Let me know tools or libraries to install for this operation


Not working with UITableViewAutomaticDimension

There is a weird jumping when table scrolls up or down while I use UITableViewAutomaticDimension.

Same here. And I had to change the table cells to static height.


Fix data shuffling for 1-gpu training

Make sure data is shuffled automatically in the single-gpu training.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM! Nice catch, thanks!

Just to leave it here since it took me a while to figure it out: If wanting to NOT shuffle the data in  multi-gpu environment (ddp), setting the above flag is not enough. It is required to set replace_sampler_ddp=False as an argument to the Trainer.


Update credits list of theme creators

Updated list to include all theme authors listed in themes.json
Included working links to authors' pages (checking for links in Author and Description fields)
Removed dead links

fixed with https://github.com/Colorsublime/Colorsublime-Themes/pull/341 this pull request can be closed thanks anyway


Remove pystac

https://github.com/stac-utils/stac-validator/issues/200
Pystac was only being used to identify stac objects. Removing it will make stac-validator a lot lighter.

I just thought it would be cleaner without it - it's pretty old


[Block] caption block is missing

Seen on page:
https://main--blog--adobe.hlx3.page/en/publish/2021/09/15/adobe-for-all-do-one-thing-today

Duplicate of #40


New Project details

Creating an apartment maintenance app
It includes

Login Page
Form which includes :
2.1 Flat number
2.2 Owner/Resident name
2.3 Reason of payment - includes water,maintenance,any penalties etc
2.4 Comments
Payment page
SQL database containing All the above details

suggestion noted


Merge prTesting_201907021222 branch to master branch

Docs Build status updates of commit b3024b3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef.md
:white_check_mark:Succeeded

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


Cursor is off 1 position to the right

Version: 1.37.0
Commit: 036a6b1d3ac84e5ca96a17a44e63a87971f8fcc8
Date: 2019-08-08T01:24:14.598Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.19.34-04457-g5b63d4390e96
I'm using ChromeOS on a acer spin13 chromebook
Steps to Reproduce:

Open a file to edit in VSC and then open page in the chrome browser
Ctrl-tab to VSC
type something and the letters you type will not appear under the cursor but one at the character before the cursor.

Does this issue occur when all extensions are disabled?: Yes

Let's track in #77817 . It looks related to using ChromeOS . Workaround is "editor.disableMonospaceOptimizations": true


React Hooks support useCallback and useMemo arguments

I've been using Slinky for quite sometime, all the while thinking that per the react.js docs useCallback and useMemo should strictly take () => Unit and () => T as their first argument, respectively.
But towards the bottom of this issue is a valid use-case for when a variable can't easily or conveniently be controlled in state, but must be referenced in the callback that you also might want memoized to avoid re-rendering the child you're passing it to.
Sure enough, if you play around with this code pen, you can write a valid useCallback or useMemo that takes other types, e.g.: useCallback[String](...)
React.withHooks(() => {
  const inputState = React.useState('Hello, world!');
  const onButtonClick = React.useCallback(
    (props) => (
      (e) => {
        const [input] = inputState;
        alert(e);
      }
    ),
    (props) => [inputState[0]]
  );
  return (props) => {
    const [input, setInput] = inputState;
    return (
      <>
        <input value={input} onChange={(e) => setInput(e.currentTarget.value)} />
        <button onClick={onButtonClick('data I need to send not controlled in state')}>Alert</button>
      </>
    );
  };
})

Can Slinky hooks support the following instead? In these cases, the extra type is for an argument that isn't controlled in any state that would otherwise be watched as a dependency:
@inline def useCallback[T](callback: T => Unit, watchedObjects: Iterable[Any]): T => Unit = {
    ...
}

@inline def useMemo[A,T](memoValue: A => T, watchedObjects: Iterable[Any]): T = {
    ...
}

and would get used like:
val someCallback = useCallback[String](
  (dataINeedNotStoreInState: String) => { println(dataINeedNotStoreInState + stateData) },
  watchedObjects = Seq(stateData)
)

Note that there is a work around, albeit forcing the reducer design pattern, which isn't always preferred by matter of coding convention:
So instead of trying to implement:
val func = useCallback[String]((e: String) => {setState(someState + e)} )

You can just do the following for now:
val (someState, func) = useReducer[String, String](
    reducer = (current: String, newChange: String) => {current + newChange},
    initialState = ""
)

In the case of useMemo, Slinky doesn't actually need a new API since A => T can just be the type that the existing T is inferred to be. I'll take a look at useCallback, that's not something that Slinky handles right now.


pkg/operators/otel-metrics: Hide render datasource from gadget users

Hide render datasource from gadget users
Making the render datasource (used by the otel-metrics to print histograms on CLI side) visible to users provides some issues and unnecessary complexity:

Gadget developer needs to apply some annotations to the datasource they created and some others to a datasource named renderedmetrics (which they didn't created). For instance, for the trace_tcprtt gadget:
dataSources:
  tcprtt:
    annotations:
      cli.output: "none"
      metrics.print: "true"
    fields:
      latency:
        annotations:
          metrics.unit: µs
  renderedmetrics:
    annotations:
      cli.clear-screen-before: "true"

Available fields on help message is confusing:
  --fields string                          Available data sources / fields
                                             "tcprtt" (data source):
                                               latency
                                               unused

                                             "renderedmetrics" (data source):
                                               text
                                            (default "tcprtt:unused,latency;renderedmetrics:text")

#3454 Additionally, any output mode different than raw is ignored and it always print the raw output (histogram)
$ go run --exec "sudo" ./cmd/ig/... run profile_tcprtt -o json
latency
        µs               : count    distribution
         0 -> 1          : 0        |                                        |
[...]

This PR proposes to hide the renderedmetrics datasource from users by disabling the original data source and applying its annotations on the one for render the output. Doing so, we simplify the yaml by setting all the annotations to one datasource and preventing users from setting cli.output: "none" (which was quite strange because it's not even an annotation):
dataSources:
  tcprtt:
    annotations:
      metrics.print: "true"
    fields:
      latency:
        annotations:
          metrics.unit: µs

The available flags now look cleaner:
  --fields string                          Available data sources / fields
                                             "tcprtt-rendered" (data source):
                                               text
                                            (default "text")

Yeah, I know there's still some magic with this -rendered suffixed data source, but I tried to document it in a new gadget-devel documentation: Displaying Output.
In addition, any output different than raw fails, mitigating #3454:
$ go run --exec "sudo" ./cmd/ig/... run $LOCAL_REPO/profile_tcprtt:outputmode --insecure-registries=$LOCAL_REPO --verify-image=false --help
  -o, --output string                          Specifies output mode for all ("mode1") or per data source ("datasource:mode1,datasource2:mode2")
                                                 Supported data sources / output modes:
                                                   "tcprtt-rendered" (data source):
                                                     histogram
                                                (default "histogram")

$ go run --exec "sudo" ./cmd/ig/... run $LOCAL_REPO/profile_tcprtt:outputmode --insecure-registries=$LOCAL_REPO --verify-image=false -o json
[...]
WARN[0000] output mode "json" for data source "tcprtt-rendered" is not supported; skipping data source

Regarding to this topic, I find the "raw" term too generic, what about if we use this mechanism to allow operators registering custom output modes

It makes sense to me. I applied your suggestion.

in this case, they're restricted to having a single string field called text for now:

Not really. They can have multiple fields, but all of them will be printed as a string (whatever comes from doing string(fieldData))


Language and comments

When setting up, I am unable to set for which language do I want it to highlight, also I can't set comments color.

Also I cannot change start comment

Wrote my own


Simplify and rename the ‘setup’ page

There’s a lot of confusing duplication between the setup page and the documentation, which:

makes it harder to pick out the relevant information on this page
makes it harder for the user to know where they should be looking for information

We think that the documentation can’t (and shouldn’t) be eliminated, because it:

covers stuff that’s not included on these pages
has all the nice navigation and formatting afforded by the tech docs tool
doesn’t require a login

Users will have to have both open side by side – as they do now – so this page should focus on the stuff that we can only show to someone’s who’s logged in.
I’ve had a chat with the technical writer (Pippa) about this and she agrees.

The second aim of stripping back this page is to emphasise the memorandum of understanding. Currently we have a problem with not enough people signing it, which we hypothesise is because they’re not noticing it or because it’s presented at the wrong point in their journey.
I expect we’ll have to do more on this front, but this should get us to a place where we can get useful research feedback.
Before

After

@quis this is currently failing to build (https://cd.gds-reliability.engineering/teams/govwifi/pipelines/admin-pr/jobs/lint %26 test/builds/503)
Have you tried running make lint  locally? It's failing on lint with 4 errors:
spec/features/ips/view_ip_addresses_spec.rb:16:13: C: RSpec/ContextWording: Start context description with 'when', 'with', or 'without'. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextWording)
    context 'visiting the root path' do
            ^^^^^^^^^^^^^^^^^^^^^^^^
spec/features/ips/permissions_spec.rb:28:1: C: Layout/EmptyLinesAroundBlockBody: Extra empty line detected at block body end. (https://github.com/rubocop-hq/ruby-style-guide#empty-lines-around-bodies)
spec/features/guidance_after_sign_in_spec.rb:17:5: C: RSpec/LetSetup: Do not use let! to setup objects not referenced in tests. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/LetSetup)
    let!(:location) { create(:location, organisation: user.organisations.first) }
    ^^^^^^^^^^^^^^^
spec/features/team/permissions_spec.rb:47:13: C: RSpec/ContextWording: Start context description with 'when', 'with', or 'without'. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextWording)
    context 'visiting the new user invitation page' do
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

What the page looks like when the MOU has been uploaded:


Fix: sanitize hostnames with multiple dots

🚨 Proposed changes
Currently it only replace the first occurrence of dot in the hostname and this leads to multiple metrics for hostname with multiple dots.
Example:
const hostname = 'ws-node01.vrt.ies.vit2.ns.farm';
> hostname.replace('.','_')
'ws-node01_vrt.ies.vit2.ns.farm'

Cannot use String.replaceAll() because introduced in ECMAScript 2021 version so i changed the regex.
⚙ Types of changes

[ ] New feature (non-breaking change which adds functionality)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Refactor

This should be a breaking change.

Good catch, thanks for this! 🚀


docs: Update location of aries agents

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

Comparison is base (882529c) 0.05% compared to head (dcf754c) 0.05%.

:exclamation: Current head dcf754c differs from pull request most recent head cb4edce. Consider uploading reports for the commit cb4edce to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1073   +/-   ##
=====================================
  Coverage   0.05%   0.05%
=====================================
  Files        471     471
  Lines      24009   24009
  Branches    4306    4306
=====================================
  Hits          13      13
  Misses     23995   23995
  Partials       1       1

Flag
Coverage Δ

unittests-aries-vcx
0.05% <ø> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Manual dran'n'drop group edit

One think that I dream for. I want to have a possibility to change competitor groups manually. It's not high-priority, but sometimes it can be good.

This is already tracked by #4.

My bad :)

No worries, it's not clear from the issue straightaway, but there is already some discussion so I went with that ^^


Format code using 'cargo fmt'

@Hywan done. I have updated the PR

@Hywan done. I have removed rustfmt.toml & updated the PR.

Thanks!


Rename DeferredNativeArray or make new collection?

The DeferredNativeArray is used very heavily throughout the Task system in ways that UnsafeList doesn't quite support.

Different allocators for the collection and the underlying memory
Not needing all the Add/Remove functionality.

However we now do need the ability to reset what the length is which makes it more like a list with Capacity and Length vs an Array which is always the one size.
The use case here is we know the max size an array can be so we allocate it. Then we loop through some candidates that may be assigned. Once done we reset the length of the array to only the amount of candidates that were actually written so that future jobs don't process garbage data at the end of the array.
This breaks the mental model of "Array" so think about renaming this class maybe? And maybe adding more capacity functionality?

FixedCapacityList is maybe an appropriate name?
Just using List doesn't quite work because these can't have their capacity expanded...or could they?
What efficiencies do we realize by restricting the ability for the grow the capacity vs a List that you just choose not to grow.
Another thought, could we still use DeferredNativeArray and then just return a slice to represent the valid range?

Sounds good.

The ability to have a different allocator for the list memory.

What does this mean? Do you mean the element data vs the capacity/length meta data unsafe storage?

What does this mean? Do you mean the element data vs the capacity/length meta data unsafe storage?

Yep, so with a regular UnsafeList, if you want it to be TempJob allocated, you would create a new one, then dispose it and then create a new one etc etc.
The issue with that is that if you need to share that UnsafeList across different locations in the app, they all need to know whenever you create a new one or maintain a reference to somewhere to be able to get it. Which leads to a lot of coupling.
By having the meta data separate from the array data, you can allocate the meta data as Persistent, and everyone who needs to have access can get it once on construction and it never changes. The array data can be TempJob and changed every frame.

At that point what's the benefit of TempJob vs the data just being allocated persistent and cleared/resized by the owner anyway?

Based on this comment:
https://github.com/decline-cookies/anvil-unity-dots/pull/142#discussion_r1081732702
We should also do a pass on when/how the safety is used and make it sure it is consistent with what Unity is doing.
Probably makes sense to have an Unsafe version and a Native version that wraps the Unsafe version like NativeList/UnsafeList.

Make sure we check this comment https://github.com/decline-cookies/anvil-unity-dots/pull/142#discussion_r1081735766 and ensure that existing use cases are either supported or supported by a different structure and we communicate clearly when to use each data structure


SBA Firewall Requirements

The current documentation says in the Prerequisites section that outbound TCP port 443 traffic is required to:
"Port 443 is used by Microsoft SBA Server to communicate with Microsoft 365 and should be allowed on the firewall.
Azure IP Ranges and Service Tags for the Public Cloud should be defined according to the guidelines described at: https://www.microsoft.com/download/details.aspx?id=56519"
If you download the Azure Public cloud IP Range list there is about 90,000+ address ranges in it and then add to that the Microsoft 365 address ranges. The documentation should be more specific about what actual DNS names/IP Addresses need to be accessible by the SBA as most secure deployments are not going to allow 443 to ANY towards the internet.

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

ID: 183fc921-e9b1-cc74-2bcb-26d32b994919
Version Independent ID: 1765bda3-dd62-76d7-1e2d-9f5496ac9094
Content: Direct Routing SBA - Microsoft Teams
Content Source: Teams/direct-routing-survivable-branch-appliance.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Hello @jamescussen I am working on this

Hello @get-itips.  We need an answer from @FilippSe.  Filipp, can you help here?

Hello @jamescussen & @CarolynRowe
I was confirmed that team is aware of this and working on it.


More descriptive options for Drafting release

Signed-off-by: PrimalPimmy<EMAIL_ADDRESS>Pull request
Description

Made more descriptive drop down release options for making a draft release.
Added caching for cargo-edit package during draft release phase.

Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[x] The performance impact of the change is measured (see below)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.623%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
40336

Relevant Lines:
47109

💛  - Coveralls


[ECS] Checkers as services - part 2

Inspired by: rectorphp/rector#335
Follow up to: #658, #651

@ondram As we talked about custom services, it finally works :+1: , just 30 rows of hacking. Finally I can remove other 6 classes that duplicate Symfony DI :D


Add databricks support

Currently a draft PR. Must check after adding actual data to databricks

Finished testing after setting up a Databricks account. Can confirm that this works well!
Note: this uses a hack right now where we change the db_type in databricks request for the get_query function to postgres – to avoid changing the backend code for now.


Set --enable-preview in jvmArgs

Summary of the changes / Why this improves CrateDB
See https://github.com/elastic/elasticsearch/issues/90526 for context
If it causes problems we can still remove it again before the release
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

Is the redirection of logging relevant for us ?

Yes we should follow up on it. For systemd/docker console logging is usually fine, but just in case users customize the log configuration with log4j


Landing and password recovery pages

Both Landing and password recovery pages should look likes as:

Once Liquid themes is fully functional we will be able to change both the header and the footer. However, tested themes this morning and still not working

Liquid theme is now functional. I have implemented the two logos. Just waiting on some help in regards to the userdrop down menu which has been pushed out of the header due to the two logos

Header is now fully functional.

Footer now been updated aswell. I think after pushing new theme to prod we should be able to close issue

close

implemented the design in the staging and prod SN


Fixed navbar

PR Description 📜
Fixed top navbar to make it visible even with the scroll. Made it responsive too.
Fixes # 108

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for review.

![Screenshot 2024-05-30 134254](https://github.com/ChromeGaming/Community-Page/assets/118010930/b3377705-eba3-43e3-81cc-28d606c0438b)

Thank you soo much for contributing to our repository 💗

@Durgesh4993
I was assigned label 2 for this issue. #108  However, after submitting the PR, I noticed that the label was changed to label 1.Could you please check if this change was intentional? I want to ensure that I am following the correct guidelines and that the issue is properly categorized.


New version: HTTPToolKit.HTTPToolKit version 1.14.3

Pull request has been created with WinGet Automation :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978334967
2023-09-16 22:10:37.617 [CLI ] ShellExecute installer failed: 3010 Property(S): ErrorDialog = ErrorDlg
MSI (s) (9C:CC) [22:10:37:173]: Windows Installer installed the product. Product Name: ownCloud. Product Version: <IP_ADDRESS>70. Product Language: 1033. Manufacturer: ownCloud GmbH. Installation success or error status: 0.
2023-09-16 22:10:47.710 [CLI ] ShellExecute installer failed: 3010
MSI (s) (E0:38) [22:10:47:455]: Windows Installer installed the product. Product Name: ownCloud. Product Version: <IP_ADDRESS>70. Product Language: 1033. Manufacturer: ownCloud GmbH. Installation success or error status: 0.

In a Windows 10 VM, the package installed and launched normally. It runs as a webserver:

@wingetbot waivers Add Validation-Unattended-Failed


Converter: CLOB to String

Use case
I'm working with an Oracle database, and when executing a query that returns a CLOB (Character Large Object) containing a JSON request body, I need to convert the CLOB to a string. This is crucial for comparing it with the executed API request body. I would greatly appreciate a JSR233 function or script that effectively handles this CLOB conversion in JMeter.
Possible solution
some kind of reader that convert the clob into a string.
Possible workarounds
No response
JMeter Version
5.6.2
Java Version
java version "20.0.2" 2023-07-18
OS Version
Microsoft Windows 10.0.19045

Currently,  JDBC Sampler uses rs.getObject(int).toString(), however, we should use rs.getString(...) so the JDBC driver makes the proper conversions.
I'm not sure if .getString(...) alone is enough to fetch CLOB value as string.


Code snippets don't expand in REPL

They show up in completion list, but pressing TAB doesn't expand them.
FYI we've had several issues in RTVS regarding snippets in REPL (they now work).
If it's expensive to fix, I'm tempted to say remove them from REPL completions.  Simply to avoid this frustrating scenario:

They're not supported in the REPL right now, so we should remove them from the list.

(Though note that most of our snippets are also keywords, which do appear in the repl. testc/main will go await though.)


ReadMe support

I am writing this to request you for an extension on my YouTube course
I. Explain getx package on 4 videos in Arabic language for the Middle east.
Can you add it in your doc for Arabic people … and thanks for this great and useful package
Sincerely,
Usama Elgindy
Pesa Coder.     https://www.youtube.com/playlist?list=PLV1fXIAyjeuZ6M8m56zajMUwu4uE3-SL0

Hello @UsamaElgendy, would you be able to fork this repository and send a Pull Request with the Readme change?

Hello @UsamaElgendy, would you be able to fork this repository and send a Pull Request with the Readme change?

I made a pull request thanks

I made a pull request thanks


Add annotations to subset of resources or specific resources using kpt v1

Describe your problem
I'd like to use kpt v1 to add an annotation to a specific resource, or a subset of resources. This was possible in kpt v0.
The motivating example is the GKE Workload Identity annotation<EMAIL_ADDRESS>on Kubernetes service accounts. This annotation informs GKE that the Kubernetes service account should impersonate the Google service account to access Google APIs.
Typically, I want to bind different Kubernetes service accounts to different Google service accounts, so I can't add the same annotation to all ServiceAccount resources. And the annotation isn't relevant for non-ServiceAccount resources. The set-annotations function adds annotations to all resources, so it doesn't match what I need.
In kpt v0, this could be accomplished imperatively in two ways:

Using kpt cfg annotate with filters on kind, name, namespace, and/or apiVersion. cfg annotate isn't available in kpt v1.

Using kpt fn source with a file name or pattern, such as manifests/service-account.yaml or manifests/service-account-*.yaml. With kpt v1, fn source can only take a directory name.

With kpt v1, the only workaround I can find is to place the one resource I want to annotate in its own kpt sub-package, and use kpt fn source manifests/directory-containing-only-the-service-account-to-annotate. However, this complicates the package layout unnecessarily.
For now, I'm using kustomize to do achieve this:
kustomize cfg annotate [directory or file pattern] \
    --kind ServiceAccount \
    --name [resource name] \
    --namespace [resource namespace] \
    --kv "iam.gke.io/gcp-service-account=$GSA"

Using a setter or the search-replace function could be another approach. However:

There is no sensible default value of the workload identity annotation.

This annotation is only relevant to GKE users, so someone who develops for general K8s use would likely not want to 'hardcode' the GKE workload identity annotation (with a dummy default value) in their resources.

Suggestion: Add support for filtering resources by kind, name, namespace, and apiVersion to the set-annotations function, allowing for both imperative and declarative usage.
This type of filtering may also be relevant to other functions, but I haven't come across clear use cases yet.

https://github.com/GoogleContainerTools/kpt/issues/2315 is related.

#2015 also.

@halvards As an immediate workaround, you can use search-replace function with by-file-path filter. This is not as granular as GVKNN filter but you can filter particular files. You can organize the resources in files accordingly. So the query becomes
kpt fn eval -i gcr.io/kpt-fn/search-replace:v0.1 -- by-file-path a/b.yaml --by-path metadata.annotations.anno-key=anno-value

--by-file-path filter is WIP and will be released in a couple of days. https://github.com/GoogleContainerTools/kpt-functions-catalog/pull/459
@mengqiy Can help you with adding filters to set-annotations function. This is the right way to do it.

Thanks for your reply @phanimarupaka!
search-replace isn't ideal here, because the annotation doesn't exist on the base (dry) resource, so I need to add the annotation, not just replace the value.
A GVKNN (what an acronym!) filter for set-annotations would be great!

@halvards That query adds new annotation if it doesn't exist.

@phani TIL. Thanks!

I think applying a function selectively on resources seems to be generally useful across functions, so we will explore making filtering part of the kpt fn eval CLI.

I would like to see filtering be part of the orchestrator rather than having to be implemented in individual functions.

I would like to see filtering be part of the orchestrator rather than having to be implemented in individual functions.

Agreed. We have seen quite a few requests related to filtering (not a surprise), so will be prioritizing this.

@halvards we are prioritizing support for filtering and will begin work on it soon. I will be closing this issue, since we are tracking the work under the feature issue https://github.com/GoogleContainerTools/kpt/issues/2015.

@halvards You can use search-replace with by-file-path matcher as a workaround for now. https://catalog.kpt.dev/search-replace/v0.2/?id=file-path-patterns


Ergo chain support

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:

Add ergo chain and its AMM class
Add ergo native token to the native tokens list
Change pool_id in amm-arb start function from “_” to “” for not exist poo_id
Add api_key to CoinGecko rate Oracle

Tests performed by the developer:
Tips for QA testing:

@ahmadyazdanii the PR should point to dev

@ahmadyazdanii
Please review contribution guidelines
https://hummingbot.org/developers/contributions/
https://hummingbot.org/developers/contributions/#unit-test-coverage
https://hummingbot.org/developers/contributions/#checklist
the PR should point to dev


Incorrect hot keys used

Since this is the macOS version of getting started a few changes need to happen.
Under the header Debug the Application, first paragraph it says to use F9 to insert a breakpoint.  On a mac users must use the combination fn+F9.  In the second paragraph, the hotkey combo listed to show the debug screen is Ctrl + Shift + D.  On a mac, it should be Cmd + Shift + D.

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

ID: 3343b35c-90c1-2e11-498d-ee1d4eb409f6
Version Independent ID: f2eda261-d4c3-c90a-1294-dfe11e55c341
Content: Get started with .NET Core on macOS - .NET Core
Content Source: docs/core/tutorials/using-on-macos.md
Product: dotnet-core
GitHub Login: @bleroy
Microsoft Alias: mairaw

I'm not sure about the fn+ addition. I haven't used mac, but I think it could be F9 or fn+F9 depending on user settings. so I think F9 is just enough. I'll open a PR now to replace Ctrl with Cmd, Reviewers with write-access can then suggest the addition of fn+ if they see it's correct or just accept the PR with only Ctrl -> Command

Thank you.  By default mac users must use the fn key to access function keys.  Please see apple link referencing how to use function keys on a Mac.
https://support.apple.com/en-us/HT204436


feat: editable nodes text box automatically focuses on component mount.

Closes #[18]
Description of changes

Added the auto focus functionality for editable nodes. The focus is granted to the editable text box on component initial mounting.  It currently doesn't work with the react-flow component. A new issue will be created to address the bug.

Additional context

Here is the new issue request (bug) for react-flow investigation. https://github.com/amelioro/ameliorate/issues/57


multiviewer-for-f1: 1.35.2 -> 1.36.1

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 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.

Add a :+1: reaction to pull requests you find important.

@ofborg eval

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 353104

x86_64-linux

:white_check_mark: 1 package built:

multiviewer-for-f1

aarch64-linux

x86_64-darwin

aarch64-darwin


The type of eb in selectFrom(eb => ...) is wrong

Reprodution https://kyse.link/HqeCE
I think eb should be ExpressionBuilder<Database, never> but instead it's ExpressionBuilder<Database, keyof Database>.
I might be brainfarting here but ExpressionBuilder<Database, keyof Database> is saying "we've joined every table in the database to this query. Go nuts!".
The reproduction fails because there are two tables with different id type "joined" to the query.

Hi @koskimas, I've just tried upgrading to 0.27.4, and this update seems to have broken the jsonObjectFrom functionality documented in the documentation
Can you confirm?

Hey 👋

I've just tried upgrading to 0.27.4, and this update seems to have broken the jsonObjectFrom functionality documented in the documentation

In what ways? what are you seeing?

My apologies, false alarm. On closer inspection, it was just a query that was using an ExpressionBuilder out of its proper scope, which has been found because of this update.


how can I use -insecure?

I want to run the server as VAC disabled because I want to play custom maps with my friends.  I put CS2_ADDITIONAL_ARGS="-insecure +exec server.cfg" as shown but the log of container says "SV:  VAC secure mode is activated."
How can I disable it?

Thanks for the issue report.
Supplying -insecure without +exec server.cfg seems to work.
docker run -it -v ~/cs2-data:/home/steam/cs2-dedicated/ --env STEAMUSER=***** --env STEAMPASS=***** --env CS2_PW=changeme --env CS2_RCONPW=changeme --name cs2-dedicated -env CS2_ADDITIONAL_ARGS='-insecure' --publish $YOURIP:27015:27015/udp --publish $YOURIP:27015:27015/tcp joedwards32/cs2
Log excerpt shows:
command line arguments:
-dedicated -port 27015 -console -usercon -maxplayers_override 10 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_inferno -insecure
execing server_default.cfg
execing server.cfg
execing gamemode_casual.cfg
SV:  VAC secure mode disabled.

However, when I include +exec server.cfg I see the same problem as you. This argument is superfluous because server.cfg is executed by default anyway.
I'll have a play to see if argument ordering is important here.

Thank you for your response. I've confirmed working without +exec server.cfg.

@kabegithub I fixed this in passing under https://github.com/joedwards32/CS2/pull/21
The problem was I hadn't used the eval BaSH built in to parse the argument strings correctly.


WIP: Added call_or_unsupported to vm.rs

This is to prevent code duplication. Based on https://github.com/RustPython/RustPython/pull/188

How to write tests to make sure this is working correctly? I would need to catch exception

You could write rust unit tests, but in this case it might be better to write a python test snippet which catches the exception and tests if the proper exception is raised. You could use try-except-else for this, like is done here: https://github.com/RustPython/RustPython/blob/master/tests/snippets/builtin_hex.py


Use tilde instead of $HOME

Fixes kiteco/vim-plugin#260
If $HOME is not set, the plugin attempts to create the settings directory at the root of the file system (/.kite).
Change uses of $HOME to use ~ expansion instead, which still uses $HOME if set but otherwise fails back to querying the OS for the correct path.

... ~ expansion ... which still uses $HOME if set but otherwise fails back to querying the OS for the correct path.

Can you point to any Vim docs which confirm this please?

Can you point to any Vim docs which confirm this please?

Unfortunately the docs are not quite so detailed.  But you can easily verify by launching vim with
$ HOME=/tmp/foo vim

and then doing
: echo expand("~")

which will print /tmp/foo

Ok, thanks.
I found the docs for expandcmd() mention this sort of expansion and imply expand() supports it too.
Looks good to me.


Test: q15_from_float()

Need test for validation and accuracy.  Note that the accuracy will probably change somewhat between platforms, so the environment needs to be specified.

Tested and working