[BUG]

Hi, after a restart, I've the following errors.
Homebridge 0.4.50
Homebridge Harmony 1.0.6
ago 23 15:32:03 homebridgea homebridge[16617]: [2019-8-23 3:32:03 PM] [HarmonyHub] WARNING - setupFoundAccessories - TV accessory added in your bridge, if another plugin is exposing a TV accessory this one might not be visible in your remote widget
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) UnhandledPromiseRejectionWarning: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 51121c49-184f-45eb-b5c1-7a0d878e7b2f
ago 23 15:32:03 homebridgea homebridge[16617]:     at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:268:13)
ago 23 15:32:03 homebridgea homebridge[16617]:     at Bridge.Accessory.addBridgedAccessories (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:299:10)
ago 23 15:32:03 homebridgea homebridge[16617]:     at Server._handleRegisterPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:490:16)
ago 23 15:32:03 homebridgea homebridge[16617]:     at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:41:10)
ago 23 15:32:03 homebridgea homebridge[16617]:     at API.emit (events.js:198:13)
ago 23 15:32:03 homebridgea homebridge[16617]:     at API.registerPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/api.js:171:8)
ago 23 15:32:03 homebridgea homebridge[16617]:     at HarmonyBase.addAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:803:25)
ago 23 15:32:03 homebridgea homebridge[16617]:     at HarmonyBase.setupFoundAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:195:14)
ago 23 15:32:03 homebridgea homebridge[16617]:     at HarmonySubPlatform.readAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:145:22)
ago 23 15:32:03 homebridgea homebridge[16617]:     at getHomeControlsAccessories.then.responseHome (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:140:27)
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Do you have suggest?
Thanks
Guido

Known bug, please stay on 1.0.4
Nicolas

Le 23 août 2019 à 15:36, sherazan<EMAIL_ADDRESS>a écrit :
Hi, after a restart, I've the following errors.
Homebridge 0.4.50
Homebridge Harmony 1.0.6
ago 23 15:32:03 homebridgea homebridge[16617]: [2019-8-23 3:32:03 PM] [HarmonyHub] WARNING - setupFoundAccessories - TV accessory added in your bridge, if another plugin is exposing a TV accessory this one might not be visible in your remote widget
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) UnhandledPromiseRejectionWarning: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 51121c49-184f-45eb-b5c1-7a0d878e7b2f
ago 23 15:32:03 homebridgea homebridge[16617]: at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:268:13)
ago 23 15:32:03 homebridgea homebridge[16617]: at Bridge.Accessory.addBridgedAccessories (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:299:10)
ago 23 15:32:03 homebridgea homebridge[16617]: at Server._handleRegisterPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:490:16)
ago 23 15:32:03 homebridgea homebridge[16617]: at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:41:10)
ago 23 15:32:03 homebridgea homebridge[16617]: at API.emit (events.js:198:13)
ago 23 15:32:03 homebridgea homebridge[16617]: at API.registerPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/api.js:171:8)
ago 23 15:32:03 homebridgea homebridge[16617]: at HarmonyBase.addAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:803:25)
ago 23 15:32:03 homebridgea homebridge[16617]: at HarmonyBase.setupFoundAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:195:14)
ago 23 15:32:03 homebridgea homebridge[16617]: at HarmonySubPlatform.readAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:145:22)
ago 23 15:32:03 homebridgea homebridge[16617]: at getHomeControlsAccessories.then.responseHome (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:140:27)
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Do you have suggest?
Thanks
Guido
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Ok, thanks for your feedback. How can I download previous version?
Thanks

Il giorno 23 ago 2019, alle ore 16:45, Nicolas Dujardin<EMAIL_ADDRESS>ha scritto:
Known bug, please stay on 1.0.4
Nicolas

Le 23 août 2019 à 15:36, sherazan<EMAIL_ADDRESS>a écrit :
Hi, after a restart, I've the following errors.
Homebridge 0.4.50
Homebridge Harmony 1.0.6
ago 23 15:32:03 homebridgea homebridge[16617]: [2019-8-23 3:32:03 PM] [HarmonyHub] WARNING - setupFoundAccessories - TV accessory added in your bridge, if another plugin is exposing a TV accessory this one might not be visible in your remote widget
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) UnhandledPromiseRejectionWarning: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 51121c49-184f-45eb-b5c1-7a0d878e7b2f
ago 23 15:32:03 homebridgea homebridge[16617]: at Bridge.Accessory.addBridgedAccessory (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:268:13)
ago 23 15:32:03 homebridgea homebridge[16617]: at Bridge.Accessory.addBridgedAccessories (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:299:10)
ago 23 15:32:03 homebridgea homebridge[16617]: at Server._handleRegisterPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:490:16)
ago 23 15:32:03 homebridgea homebridge[16617]: at Server. (/usr/local/lib/node_modules/homebridge/lib/server.js:41:10)
ago 23 15:32:03 homebridgea homebridge[16617]: at API.emit (events.js:198:13)
ago 23 15:32:03 homebridgea homebridge[16617]: at API.registerPlatformAccessories (/usr/local/lib/node_modules/homebridge/lib/api.js:171:8)
ago 23 15:32:03 homebridgea homebridge[16617]: at HarmonyBase.addAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:803:25)
ago 23 15:32:03 homebridgea homebridge[16617]: at HarmonyBase.setupFoundAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:195:14)
ago 23 15:32:03 homebridgea homebridge[16617]: at HarmonySubPlatform.readAccessories (/usr/local/lib/node_modules/homebridge-harmony/harmonySubPlatform.js:145:22)
ago 23 15:32:03 homebridgea homebridge[16617]: at getHomeControlsAccessories.then.responseHome (/usr/local/lib/node_modules/homebridge-harmony/harmonyBase.js:140:27)
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
ago 23 15:32:03 homebridgea homebridge[16617]: (node:16617) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Do you have suggest?
Thanks
Guido
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/nicoduj/homebridge-harmony/issues/179?email_source=notifications&email_token=AHUN66N4FZVADEK6ZT7VQADQF7Z2DA5CNFSM4IO7W5I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5ANOQQ#issuecomment-524343106, or mute the thread https://github.com/notifications/unsubscribe-auth/AHUN66P44DBKKRMGPT4HF5DQF7Z2DANCNFSM4IO7W5IQ.

I have published a 1.0.7 that should work as 1.0.4

Same to me after updating to 1.0.7. I cleaned the accessories cache but it doesnt help.

follow those steps, https://github.com/nicoduj/homebridge-harmony/issues/171#issuecomment-524040765

follow those steps, #171 (comment)
or
#173 (comment)

My problem is solved.
I had a accessory named "TV" and it only happens with "TV". In older versions that wasn't necessary.

Thanks for feedback . Indeed there was no cache mechanism in older version. Introducing cache prevents loosing accessories if homebridge starts with a hub that is not reachable but it is a bit more complicated to handle config changes


How download a MPEG Dash with DRM?

Checklist

[ ] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
Is possible download a MPEG Dash content with DRM?
How can I decrypt using the MPD file?
I tried download all M4S segments (audio and video) but when I join the segments the video doesn't work properly.
The site is using Widevine platform for DRM.
I tried too youtube-dl and dash-proxy but again unsuccessfully.
I searched on Google but I didn't succeed.

Not possible.


CertificateCredential supports PKCS12 certs

Closes #13540

I split the cert-as-bytes part of this into #16410, will refocus this PR on PKCS12 support.

I split the cert-as-bytes part of this into #16410, will refocus this PR on PKCS12 support.

@chlowell By when can we expect support for PKCS12 certs to be available in the azure-identity library

This change will be in 1.7.0b4, which we plan to release September 8

@chlowell Tks for the quick revert. I presume 1.7.0b4 will be a beta release.
Do we have clarity on when a stable release for version 1.7.0 will be available?

October at the earliest. If you need something in the meantime, it's not too difficult to convert PKCS12 to PEM with cryptography (for example).


Peer to peer code review

Great job dear @Tumworobere, as you have already fixed the linter error there is nothing more to add than to encourage you to go ahead with the other requirements of the project

Thank you very much @RolandM99 for taking your time to review my project.


iphone8+: Grid view icon on PLP is misaligned

Environment Details
Spartacus: beta release
Browser: Chrome
Device: Iphone8+
Happens on: https://spartacus.c39j2-walkersde1-d4-public.model-t.cc.commerce.ondemand.com
Steps to Reproduce
Search for "Camera"
Actual Result
Is the "grid view" icon properly positioned? It looks like it was supposed to be on the same line as the pagination?

happens on regular 8 as well
maybe it should be
[SORT]   [GRID]
[PAGINATION]
also when i tap on sort, i'm wondering why my iphone doesn't display the special list

Also switching between grid/list on small viewports don't give real value. Only little stylistic changes are visible. You are seeing one product after another in both modes.
Maybe we remove the button on smaller viewports.


Unknown database 'onlyoffice_mailserver'

Installation command under Debian 8:
bash opensource-install.sh -md domain --mysqlrootpassword "custom-password" --mysqluser custom-username --mysqlpassword "another-custom-password" --mysqlmailuser another-custom-username --mysqlmailpassword "a-third-custom-password"
Is this an unsupported configuration? Are there limits on the permissible characters in passwords? I was not comfortable with the idea of letting the installation script use a set of simple, publicly-available usernames and passwords.
The whole stack did install, but attempts to work with the mail server fail, and typing "docker container logs onlyoffice-community-server" returns a lot of:
ERROR 1049 (42000): Unknown database 'onlyoffice_mailserver'
Unfortunately the installation appeared to work correctly, and no notification was raised anywhere about failing to create this database. "docker container logs onlyoffice-community-server" does not contain any message about the database not being created.
It seems that there are two problems:
a) We have some kind of circumstance where the onlyoffice_mailserver does not get created
b) When the above error occurs, it is buried
opensource-install.sh simply followed the Docker process with "Thank you for installing ONLYOFFICE.
In case you have any questions ..." and the in-browser first-run initialisation seemed to complete without error.
Issue 32 covered a situation when the database did not get created, but that was closed in November last year, and I would figure that a fresh installation at this point in time would no longer have that problem. There is a help page "Connecting Mail Server to Community Server on Linux" but this itself assumes that the database already exists.

Ah, I see, the mail server container assembles the database by hand. So, under "docker container logs onlyoffice-mail-server":

Start iRedMail Configurations

[ INFO ] Create required system accounts: vmail, iredapd.
[ INFO ] Configure Apache web server and PHP.
[ INFO ] Configure PHP.
[ INFO ] Configure MySQL database server.
ERROR 1045 (28000): Access denied for user<EMAIL_ADDRESS>(using password: YES
(and so on)
However, this works:
docker exec -it onlyoffice-mail-server bash
mysql -h $MYSQL_SERVER -u $MYSQL_ROOT_USER --password=$MYSQL_ROOT_PASSWD
So something has failed. The end of the logs for that container shows:
Starting server
Traceback (most recent call last):
File "/usr/share/spamtrainer/spamtrainer.py", line 5, in
import settings
File "/usr/share/spamtrainer/settings.py", line 4
DATABASE_PASSWORD =
^
SyntaxError: invalid syntax
In the latter instance, it's like the passwords didn't make it into the setup script somehow, but they had to in order to get "using password: YES" in the former instance. The relevant lines of that file are:
database settings
DATABASE_NAME = 'onlyoffice_mailserver'
DATABASE_USER = 'root'
DATABASE_PASSWORD =
DATABASE_HOST = 'onlyoffice-mysql-server'

Note to self: '#' in passwords does not work inside ${MYSQL_DEFAULTS_FILE_ROOT} …
(I had a feeling it was this, but I needed to prove exactly where it went wrong. The answer is mysql_generate_defaults_file_root() inside /usr/src/iRedMail/functions/mysql.sh when it puts the password into a plain text file.)
With regards to the bug, though, it's clear that the installation process is too decentralised and nothing seems to check statuses or collect the errors from downstream tasks, so if an error occurs somewhere during the process, it is just ignored and discarded: iRedMail.sh just blunders on, completely unaware that it has derailed, and the OnlyOffice installer doesn't check up to see whether the container installation succeeded.
Of course, now this is technically also an iRedMail bug ...

Note to self: '#' in passwords does not work inside ${MYSQL_DEFAULTS_FILE_ROOT} …

Seems special characters in general are not acceptable, or at least @ is not as well.  My observation is the password will cut off wherever you place the first instance of a special character.  e.g.) 123@456 would show only 123 in /usr/share/spamtrainer/settings.py


StageVideo classes added (currently only support Flash/AIR)

While Flash/AIR are currently the only supported platforms it's still handy to have these classes you the user can easily us StageVideo on supported targets and fall back on unsupported targets. Additionally it will probably be quite easy to add fallback support internally

Fix Clipboard typedef recursive loop

Hmm looks like the travis cpp build fail, however looking at the details it says:
Tests: 765  Passed: 765  Failed: 0 Errors: 0 Ignored: 2 Time: 0.44898
I am reading this wrong or did it pass everything?

The unit tests were succesful, but another command wasn't: https://travis-ci.org/openfl/openfl/jobs/116254840#L1514
Aborted (core dumped)
The command "if [[ $TARGET == 'cpp' ]]; then haxelib run lime test linux --window-hardware=false ; fi" exited with 1.

Thanks for the pointer


The command results in an empty line.

@ysmood
How to remove more empty lines
using ys-zsh.theme

I intentionally put a newline there to decrease the density. If you want to remove that you have to modify the code yourself. The theme file location is ~/.oh-my-zsh/themes/ys.theme.
Remove the return at the end:
https://github.com/ysmood/oh-my-zsh/blob/d3423f7c2029e157833088b5390cf8635139882c/themes/ys.zsh-theme#L29
Make it like this:
PROMPT="%{$terminfo[bold]$fg[blue]%}%#%{$reset_color%} \


How I change calendarView.scrollDirection programmatically?

Hello. First of all I want to thank for the work done! It is very cool!!!
At the start of the application, scrollDirection is installed in the StoryBoard to .vertical
After in my CalendarMainContriller I assign scrollDirection to .horizontal
"self.calendarView.scrollDirection = UICollectionViewScrollDirection.horizontal"
but scrolling calendar horizontal not working. He remained the same.
Although in console I see true after redefinition self.calendarView.scrollDirection
"print("self.calendarView.scrollDirection == .horizontal    ----------   (self.calendarView.scrollDirection == .horizontal)")"

Sorry)))
It was necessary to restart the calendar))) Thanks again for your work

Sorry)))
It was necessary to restart the calendar))) Thanks again for your work
Hi,

How did you restart the Calendar? If i close the App and restart it works, but how did u restart programmatically?

call reload?

call reloadData()?

I must have been a little confused that night, that's definitely how it works. Thank you, once again.


Code disappears after debug starts

After I press F5, and refresh the website, everything in  code windows seems to be disappearing. I disabled all plugins, and also tried only in linux terminal mode (no gnome) - with the same result.
Have you got any thoughts on how to fix this please?

Are you debugging a remote environment ? This usually happens to me when I debug a remote environment and incorrectly set g:vdebug_options['path_maps']. If not, maybe make sure that option isn't set :)

That is exactly what I am doing! Thank you for your help!

You're welcome, glad I could help.

@adamgajzlerowicz so this was fixed ?

@adamgajzlerowicz To clarify what's going on here, for understanding: debugging opens a new tab that shows whatever file is currently being executed in the left window, and various status windows on the right.  The files you were editing are intact in their own tab.
Since your pathmaps weren't set up correctly, Vdebug tried to open the file on your computer using the remote path, and didn't find anything, hence the blank window.  You can see it's trying to open /var/www/html/debug.php, which seems to not exist on your local machine.

Closing, as it seems the issue has been resolved, and there has been no response for a week.  @adamgajzlerowicz if you're still having this issue, feel free to comment and we will re-open.


managing RF light switch help needed

Fist off the plugin works very well, so many thanks to the writer for making that happen!
I have a question about RF light switches.  My switches are defined as type 'switch', and work fine from the Home app.  But since they are also physical switches, the actual state can become different from what the Home app expects.  If the switch is off in HomeKit, but actually on because it was toggled by hand, how can I get HomeKit to shut off the switch?  I don't mind pressing on/off to do this manually, but I'd like to program automations so that the lights go off when I leave.  Right now if HomeKit thinks the light is already off, it sends no codes and the light just stays on when I leave.

There is a beta feature. Add  "allowResend":true to your commands. So that even if homebridge thinks the lights are off, it will send an off command.

This worked!  My automations work now!  Thank you.

No problem.


feat: ion-picker with labels

Feature Request
It would be really good to have labels above the columns in the ion-picker.
e.g. if you want to present the user to select days, hours and minutes. How the user should know which column is which ??
They are all just numbers. So it would be really good to have an optional header/label above each column. I guess this could be implemented quit easy and then we could use the ion-picker more often, because it is a cool component. But without the labels we cannot use it...
Ionic version:

[x] 4.x
Describe the Feature Request

Describe Preferred Solution

Describe Alternatives

Related Code

Additional Context

Thanks for the feature request. I am going to close this as this is already possible in Ionic Framework. You can use the prefix or suffix options when defining the picker columns for this.
CodePen with an example: https://codepen.io/liamdebeasi/pen/KKdeENR

pretty cool, thanks, maybe you can point that out a little bit better in the documentation, it was not obvious for me.


travis support and fix tests using reduce in Py3

You just need to log in to Travis and turn it on for the repository. You can also add the Travis badge to the README. The results are generated both for Python 2 and Python 3, you can see example on my branch: https://travis-ci.org/adrian17/ScalaFunctional/builds/53798861
Currently two tests fail on Python 3.

Heh, you beat me to it with reduce. Looks like the merge will be clean anyway.

Thanks for the Travis config, haven't used it before so didn't know it was that easy. The failing tests are related to {}.items() returning a different data structure (probably inheriting from list) instead of a plain list.

Tests passing now, just changed how the unit test was doing comparison/asserts


[Feature Request] Provide toggle for expand / close all checklists

Working with your fine plugin, I (re)visit several tags. After a certain time, I lose the synoptic view and have to close every checklist individually. A shortcut to close all would be very helpful.

This would be very handy.


Issue with links to wrong section name

This is a Bug Report

Problem:
The following documents contain the broken link which points to the wrong section name:

concepts/storage/storage-classes.md:PersistentVolumeClaim section
tasks/administer-cluster/change-default-storage-class.md:PersistentVolumeClaim documentation

Proposed Solution:
Fix the wrong section name as the below:

concepts/storage/storage-classes.md:PersistentVolumeClaim section
tasks/administer-cluster/change-default-storage-class.md:PersistentVolumeClaim documentation

Page to Update:
https://kubernetes.io/...

/language en

/assign

/kind bug


Support for more algorithms in libsodium

The current state of libsodium bindings for .NET is a mess. For example, here's the date of the last commit in each repo:

libsodium-net: 17th of November 2017
libsodium-core: 19th of March 2020
NitraLibSodium: 5th of July 2018
Andhell.Crypto: 11th of April 2019
ASodium: 17th of June 2021

Besides ASodium, which was only recently developed, all of these bindings are no longer being maintained. I would also argue that it's unlikely that ASodium will be maintained in the long-term like NSec has been. Furthermore, these implementations have awful naming in my opinion and don't employ the memory protection that NSec does. Therefore, at first glance, it seems that NSec is the best libsodium binding for .NET.
However, NSec doesn't support a lot of the algorithms available in libsodium, which is a serious problem considering that it's really the only maintained binding. I completely understand why for some of them (e.g. not supporting unauthenticated ChaCha20 to encourage AEAD use, although that's unfortunate for building custom constructions), but others should be present. For instance, as briefly discussed in #27, there's no password-based KDF (aka there's no Argon2). Several of your arguments for not adding Argon2 simply don't hold up. For the parameter selection, you could just encourage the libsodium defaults and enforce sensible lower limits for the memory size and iterations. The algorithm has received wide adoption at this point, so it frankly doesn't matter whether the RFC is in the draft stage or not. Lastly, I don't see how dealing with out-of-memory exceptions is an issue when none of the other bindings seem to consider it to be a problem.
Another algorithm that should be added is XChaCha20-Poly1305, which is again widely used at this point and a more sensible option than ChaCha20-Poly1305 in many cases. I suspect your argument for not adding this is that the RFC is again in the draft stage. However, that RFC isn't very good anyway since it specifies a smaller counter than libsodium and Monocypher. Moreover, if an algorithm is accessible in libsodium, then it's probably being used, which is what's important rather than whether or not something has an RFC, especially considering how difficult it is to write an RFC and get it past the draft stage.
Then there's no secretstream support, which would save people the hassle of implementing their own stream encryption, not to mention the mistakes that often brings. There's also no crypto_box support despite that being quite popular from what I've seen, although I can understand not including this since it does rely on XSalsa20-Poly1305. There's only HKDF support rather than support for the default KDF in libsodium (salted BLAKE2b). The recommendation for generating random bytes/numbers is to use System.Security.Cryptography.RandomNumberGenerator rather than providing simple functions for libsodium, which would save people a few lines of code. Finally, there doesn't seem to be any constant time functions, and there's no padding function.
In sum, a lot of very useful algorithms in libsodium appear to be missing without justification for their absence. I can understand wanting to keep the library small, but the lack of a password-based KDF, especially when the only one available in .NET is PBKDF2, is ridiculous and so is the fact that XChaCha20-Poly1305 is missing. The presence of most of the other functions I've discussed more or less comes down to whether or not this library is trying to prevent people from making mistakes, which is implied by the 'NSec wants you to fall into the pit of success' claim.
PS, I apologise if I've made any inaccurate claims about the library. I haven't actually used NSec besides benchmarking the HKDF implementation because it doesn't include algorithms like Argon2 and XChaCha20.

Thanks for sharing your thoughts on this topic. I agree that the state of libsodium bindings for .NET is not very satisfying: libsodium-net is dead, the development of libsodium-core seems to have faded, and I share your concerns regarding the long-term maintenance of the other forks.
NSec is maybe a bit different from the other bindings in that it’s first and foremost an attempt to provide a well-designed cryptographic API for .NET and based on libsodium only secondarily (so not really a "binding"). I agree that Argon2 and XChaCha-Poly1305 should be part of NSec. I was hoping for a faster progress to RFC for those (I’m not really sure why they got stuck), but it doesn’t seem to make much sense to keep waiting. Lower-layer primitives such as secretstream are really out of scope for NSec, however. (Although I could imagine those being used to implement some higher-level primitives in NSec provided there’s a well reviewed, preferably standardized specification.)
Given that there are still quite a few users of the ancient libsodium-net and libsodium-core packages, I was thinking if it’d make sense to maintain a compatible, "legacy" API as a NSec project (i.e., no new features but fixing bugs for people who are stuck with it). Alternatively, it would be possible to extend the internal libsodium binding that NSec is using (the Interop project) with all the missing functions and to expose that as a low-level/"use at your own risk" API (i.e., auto-generated with little to no error checking for people who know what they’re doing). Both options would mean a lot of effort for little reward, though...

I'm glad you agree. I don't know what the IETF is doing either, but from what I've seen, it doesn't seem worth the effort of making an RFC in many cases. The formatting requirements are even more complicated than APA style, and several decent ideas have stayed as drafts. Scott Arciszewski apparently got ghosted by the IETF. Standardisation is obviously important, but the process appears to be very messy.
Fair enough about keeping secretstream out of scope. A 'legacy' API and 'use at your own risk' API are interesting ideas, but you make a good point. I suppose it comes down to how many people are likely to use them.
I actually started working on my own libsodium binding called Geralt, originally just to fix the naming in libsodium-core. However, I was thinking of starting over and turning it into a misuse resistant library with only the latest algorithms. The problem is that I can't say whether I'd be able to maintain it well enough for it to be anything more than personal project. Several calls to libsodium (e.g. secretstream) also look difficult to implement, it would be more basic than NSec in terms of probably not having memory protection and just passing around byte arrays, and it wouldn't completely fill the gap since there would be no legacy algorithms.

Nice work. I’d be interested in how you’re planning to make libsodium misuse resistant (or if you’re planning to just drop everything that isn’t?).
Overall, I think it’s clear that there is a need for something besides NSec; otherwise, there wouldn’t be yet another fork of libsodium-core very couple of months. I would be happy to contribute to cleaning up that mess, e.g., by maintaining an additional API under the NSec umbrella. I guess the difficult question is how that API should look like and how to get people on board with it.
Maybe one way could be to reach out to projects with a dependency on libsodium-core or one of the other forks and try to come up with a common API proposal for a long-term successor to libsodium-core?

Nice work. I’d be interested in how you’re planning to make libsodium misuse resistant (or if you’re planning to just drop everything that isn’t?).

Thanks. I need to get back to it after some smaller projects I'm working on. The plan for that still needs to be worked out if I'm honest, but I might follow Google Tink's example. I need to look into how they handle nonces for things like ChaCha20-Poly1305, but I was thinking of offering functions with Streams as well as byte arrays for messages, which would be useful for encrypting files for example. Then I was thinking of restricting the BLAKE2b output size to 256-bit or 512-bit, enforcing 16 or 32+ MiB of RAM for the Argon2id memory size, replacing crypto_box with X25519 and XChaCha20-Poly1305, and having verify functions for BLAKE2b as a MAC. That kind of thing.
In terms of the available primitives, I probably won't bother with AES-GCM, SHA2, HMAC, scrypt, Argon2i, Poly1305, ChaCha20, XChaCha20, Salsa20, XSalsa20, XSalsa20-Poly1305, Ed25519 to Curve25519, SipHash, or AEGIS. Keeping it simple like Monocypher has done will make things easier. I might offer HKDF though because the personal size limit for BLAKE2 is strange, or I could use the message parameter for context information rather than letting the user fiddle with the personal.

Overall, I think it’s clear that there is a need for something besides NSec; otherwise, there wouldn’t be yet another fork of libsodium-core very couple of months. I would be happy to contribute to cleaning up that mess, e.g., by maintaining an additional API under the NSec umbrella. I guess the difficult question is how that API should look like and how to get people on board with it.
Maybe one way could be to reach out to projects with a dependency on libsodium-core or one of the other forks and try to come up with a common API proposal for a long-term successor to libsodium-core?

Agreed. I expect people want to stick with byte arrays but just have better naming and bugs fixed. I'd be content with that even though having memory protection is a good security strategy. Reaching out is a nice idea, but it would be time-consuming and probably difficult to get appropriate feedback.

Coming back to the original issue, support for a few more algorithms in libsodium has been added to NSec and NSec.Experimental (see the commits linked above). I'll close this issue, but please feel free to open a new issue if you think that additional algorithms should be provided.


ClassCastException in getViewBitmap()

If I set a source like this,
cropView.setImageResource(R.drawable.ic_launcher)

And, set crop portion like this,
cropView.setAspectRatio(1, 1)

And, then, get crop-info like this,
cropView.getCropInfo()

It crashes with Bitmap can't be cast to FastBitmapDrawable.

Hi, @rupinderjeet
I'm sorry. Actually this library is supporting only setImageFilePath method for image load.
setImageResource is not supported.
I need to update Usage in README.md
Thank you.

You should instead throw an exception in these methods if they aren't supported. If someone calls setImageResource throw execption to tell user to not use this method.

@rupinderjeet
OK! I will update that.


Week one?

Due to the Monday / Wednesday schedule and the labor day holiday, this course meets only once the first week (and again Thanksgiving week). I will consider tomorrow an "intro" day and wait to get more into the rhythm of M/W assignments next week? Not 100% sure about this, but thinking out lout as I start to add material.

@shiffman - I think this makes sense. Maybe it is good to assign a reading and a video/talk about ML that might be interesting for discussion?
e.g.

Viegas & Wattenberg at OpenVisConf 2016 https://www.youtube.com/watch?v=ugkfmHBW74Q
Kyle Macdonald at Kikk 2018: https://vimeo.com/304110435

Thanks, these are great! I'll consider for the specific intro README which I am moving to work on next. Feedback on the outline in #2 is welcome too!

Super - I'll take a look at #2!

Viegas & Wattenberg's description of high dimensional space at ~36:00 is so helpful! Noting this for future lessons/discussions.

@joeyklee these are excellent video suggestions I'm adding to the homework for this week in #4!


Descending ordering is not handled

Example:
class Model(TreeNode):
    class Meta:
        ordering = ("-created_at",)

generates an SQL containing (sqlite):

     WITH RECURSIVE __tree(tree_depth, tree_path, tree_ordering, tree_pk) AS
 (
         SELECT
             0 tree_depth,
             printf("\x1f%%s\x1f", id) tree_path,
             printf("\x1f%%020s\x1f", -created_at) tree_ordering, # maybe invalid SQL
             T."id" tree_pk
         FROM my_model_table T
         WHERE T."parent_id" IS NULL

         UNION ALL

         SELECT
             __tree.tree_depth + 1,
             __tree.tree_path || printf("%%s\x1f", T.id),
             __tree.tree_ordering || printf("%%020s\x1f", T.-created_at), # invalid SQL
             T."id"
         FROM my_model_table T
         JOIN __tree ON T."parent_id" = __tree.tree_pk
     )

Yes, that's true. This came up once already here https://github.com/matthiask/django-tree-queries/issues/6 but no solution exists (yet) for this.

Duplicate of #6


Error on c2tcp server and client app

Hello, with your kind guide, I built kernel 4.13.1 with your patch(linux-4-13-1-orca-c2tcp-0521.patch) and tried to run server and client app.
I set the server machine with this settings
sudo sysctl -w  net.ipv4.tcp_c2tcp_enable=1  # enable c2tcp
sudo sysctl -w net.ipv4.tcp_no_metrics_save=1 # disable tcp cache
sudo su
echo 0 > /sys/module/tcp_cubic/parameters/hystart  # disable tcp hystart
exit

sudo sysctl -w -q net.ipv4.tcp_low_latency=1
sudo sysctl -w -q net.ipv4.tcp_autocorking=0
sudo sysctl -w -q net.ipv4.tcp_no_metrics_save=1
sudo sysctl -w -q net.ipv4.ip_forward=0 # no using mahimahi

And, I've got this error.
$ sudo ./server 9001 0 150 100
[start_server] cubic
[start_server] Server is Connected to the client...
testing
[DataThread] Server is sending the traffic ...
[server-standalone.cc-CntThread-298] setsockopt: for index:0 flow_index:1 ... Protocol not available (ret1:-1)

Do I have to set the kernel of client machine same as the server?
I didn't install the kernel on client machine

Hi @limlynn,
Thanks for the comment.  The definitions of a parameter (C2TCP_ALPHA) in the new Kernel and the new Application were not synchronized and that made your Error. It is now resolved.
For the record, you only need to patch the Kernel on the Sender side. You still can enable ipv4.ip_forward (even though you don't use Mahimahi).
BTW, it seems that the GitHub's notifications are not working properly, because I didn't get notification regarding your comment. plz next time mention me directly by @Soheil-ab in your comments. This is a more reliable way!

@Soheil-ab Thank you so much. Now I am running c2tcp. Thank you. BTW, I couldn't check any udp packet (tcpdump -n udp -p 9001), but I saw a lot of tcp packet with your code(tcpdump -p 9001). Did I see it correctly?

@lim5g, np.
Correct, C2TCP is a TCP Plug-In. So, you are really sending TCP packets if you are using it {on your chosen port though}.


Is it possible to name the websites?

Love the bot! I'm planning on using this for websites all under the same domain, so it's a lot of similar links. Is it possible to title them? I could be missing that option

Ah sorry, I thought I checked everything but I found it!


Increment version for schemaregistry releases

Increment package version after release of azure-schemaregistry

API change check
API changes are not detected in this pull request.

/check-enforcer override


[Bug]: For the data archiving task, click Terminate failed

ODC version
4.3.3
OB version
no relatead
What happened?

Initiate a data archiving task of the type of Execute Now, click the Terminate button, and an error message is reported
What did you expect to happen?
Initiate a data archiving task of the type of Immediate Execution, and click the Terminate button to terminate it normally
How can we reproduce it (as minimally and precisely as possible)?
Initiate a data archiving task of the type of Execute Now, click the Terminate button, and an error message is reported
Anything else we need to know?
No response

The correct enumeration value is: TERMINATE

Fixed In Commit 4a7904b116b5803db5781b5852525883b48e91a6
------
畅晚
Thu Dec 19 09:56:45 2024 +0800


Incompatible with seaborn 0.12.X

At the end of last year, seaborn 0.12 was released. However, statworx-theme requires (as defined in the pyproject.toml) seaborn <0.12.
Is there a reason for that, or would it be possible to relax that requirement?

see https://statworx.atlassian.net/browse/IADOOP-309


[BUG] CSV file upload not reading heading row

Prerequisites

[X] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[X] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[X] Checked that your issue isn't already filed.
[X] Checked if no PR was submitted that fixes this problem.
[X] Filled in the entire issue template

Versions

PHP version: 7.2 ( VALET on MAC )
Laravel version: 5.6
Package version: 3.1

Description
I am trying to use WithHeadingRow, WithChunkReading, ShouldQueue together on my import model but because the excel import files is contain more than 3000 row of data and it got me gateway timeout.
so i add ShouldQueue to queue the import but unfortunately it not supporting .xls (from the documentation) so i save my excel files into .csv but when i tried to upload it don't read any headingRow that i put on the first row.
Steps to Reproduce
using ToModel, WithHeadingRow, WithChunkReading, ShouldQueue and upload the files using csv.
Expected behavior:
uploaded to the table with all data (around 15.000 row)
Actual behavior:
no data uploaded. at first it got undefined index for each row that i calling but i do the validation to make sure the row exist but after that it is not getting error and also not getting any data on my table
Additional Information

If this is still an issue can you reopen it and show me some more code, based on the information you already gave, I don't see why it wouldn't work.


new acoustic code - AC_AgeUnit

Currently the Individual Age in the Biotic Biology record is given in years. However we need to add the options to specify the Individual AgeUnit using a vocabulary having years and winter rings in it (Used i HERAS survey). It will be related to AC_AgeSource already in vocab.
AC_AgeUnit vocab with Y = Years, W = Winter Rings

@cekv how should I approve this?

@cekv how should I approve this?

@cekv, I think we agreed to have AC_AgeUnit vocab with Y = Years, WR = Winter Rings

@cekv, I think we agreed to have AC_AgeUnit vocab with Y = Years, WR = Winter Rings

Considering that the vocab could apply to any WGBIOP datasets, I'd recommend not to limit it to AC_

Considering that the vocab could apply to any WGBIOP datasets, I'd recommend not to limit it to AC_

As you know using AC_ is the current practise for vocabularies only used by Acoustic so until its needed for other datasets, I think we should keep to this rule, Thanks

As you know using AC_ is the current practise for vocabularies only used by Acoustic so until its needed for other datasets, I think we should keep to this rule, Thanks

agreed to implement but with the AC_ removed; as this will cause an issue down the line when it is no longer specific to acoustic.

agreed to implement but with the AC_ removed; as this will cause an issue down the line when it is no longer specific to acoustic.

@neil-ices-dk I disagree. As long as we don't have another use case then we should stick to the current systematic for the users sake. It will be easy to change at any point in time. One of the problems about having common vocabs is that another dataset which start to use the given existing vocab, migth at a term which doesn't make sense for the original dataset. Therefore we allready decided years ago to add the AC_ to specific acoustic vocabs and then relate it to other datasets vocabs instead.

@neil-ices-dk I disagree. As long as we don't have another use case then we should stick to the current systematic for the users sake. It will be easy to change at any point in time. One of the problems about having common vocabs is that another dataset which start to use the given existing vocab, migth at a term which doesn't make sense for the original dataset. Therefore we allready decided years ago to add the AC_ to specific acoustic vocabs and then relate it to other datasets vocabs instead.

i'm sorry, but it won't be easy to change once in use and semantically locked in to acoustic through AC_; this was unanimously decided at the meeting. it stands.

i'm sorry, but it won't be easy to change once in use and semantically locked in to acoustic through AC_; this was unanimously decided at the meeting. it stands.

you're right that past practice i.e. TS is a thorn in our side, but does that mean we should continue down a parallel path? Everybody is who exactly?

you're right that past practice i.e. TS is a thorn in our side, but does that mean we should continue down a parallel path? Everybody is who exactly?

We have had 3 data managers and 2 programmers in acoustic the last couple of years and apparently the reason why we have the AC_ in front, has been lost.
What happens when DATRAS wants -9 in the vocab or another dataset wants something for their need which isn't acceptable for the other datasets?
It can be easely solved by adding relations and only keep truely overarching vocabs in common like Platforms, WORMS etc.

We have had 3 data managers and 2 programmers in acoustic the last couple of years and apparently the reason why we have the AC_ in front, has been lost.
What happens when DATRAS wants -9 in the vocab or another dataset wants something for their need which isn't acceptable for the other datasets?
It can be easely solved by adding relations and only keep truely overarching vocabs in common like Platforms, WORMS etc.

I think that if we decide to take a new route to not using prefixes then it should be done for all vocabularies and not just one. I'm in principle fine with removing all prefixes for all the vocabularies used. It will removed the current flexibility between different datasets using the given vocabs - in contrast to the current approach of making relationships between the different types as seen fit.
I don't think we as such have an immediate issue in acoustic doing this i.e. to remove all the current prefixes now (if this code type isn't already occupied by another, that is).
Do any of the data managers / programmers have a view on this then please make your point(s) asap as we would like to move on.

I think that if we decide to take a new route to not using prefixes then it should be done for all vocabularies and not just one. I'm in principle fine with removing all prefixes for all the vocabularies used. It will removed the current flexibility between different datasets using the given vocabs - in contrast to the current approach of making relationships between the different types as seen fit.
I don't think we as such have an immediate issue in acoustic doing this i.e. to remove all the current prefixes now (if this code type isn't already occupied by another, that is).
Do any of the data managers / programmers have a view on this then please make your point(s) asap as we would like to move on.

AC_AgeUnit will be AgeUnit with Y = Years, WR = Winter Rings, since it is not Acoustics specific vocabulary and other projects will be using this code type in the future.


arm: fix deployment commands per review feedback

Fix for deployment related comments on #1033

//cc: @tjprescott @derekbekoe

@derekbekoe @tjprescott , please let me know whether there are other comments i should adderss


[PPP] Jun Wei - Draft

Codecov Report

Merging #250 (5e8bc80) into master (e33135c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #250   +/-   ##
=========================================
  Coverage     71.57%   71.57%
  Complexity      956      956
=========================================
  Files           120      120
  Lines          3244     3244
  Branches        441      441
=========================================
  Hits           2322     2322
  Misses          802      802
  Partials        120      120

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e33135c...5e8bc80. Read the comment docs.


Replace CMark with a pure Lean markdown renderer.

This will reduce dependencies on pure C code and also allow us more customization in the way we want to render markdown from comments.

Won't implement, we have Verso.


support extracting text from HTML files

support extracting text from HTML files using html2text

Fixed conflict in poetry.lock by updating it with the main branch.


fix: JS/TS Language Service Has Crashed 5 times in the last 5 Minutes

Type: Bug
No idea. I just got a pop-up while working on some PRs via the GH PR extension.
It said that the JS/TS extension has crashed 5+ times in the last 5 minutes and that I should probably report this as an issue.
Screenshot of the pop-up

Output of Extension Host with some stack traces that may or may not be related. (The Typescript output shows no stack traces)
2023-08-14 11:19:31.488 [info] Extension host agent started.
2023-08-14 11:19:31.815 [info] [<IP_ADDRESS>][87aac152][ManagementConnection] New connection established.
2023-08-14 11:19:32.484 [info] [<IP_ADDRESS>][ecf8ecb5][ExtensionHostConnection] New connection established.
2023-08-14 11:19:32.488 [info] [<IP_ADDRESS>][ecf8ecb5][ExtensionHostConnection] <425> Launched Extension Host Process.
2023-08-14 14:19:38.133 [warning] No ptyHost heartbeat after 6 seconds
2023-08-15 08:32:38.944 [info] [<IP_ADDRESS>][ecf8ecb5][ExtensionHostConnection] The client has reconnected.
2023-08-15 08:32:39.234 [info] [<IP_ADDRESS>][87aac152][ManagementConnection] The client has reconnected.
2023-08-15 14:30:27.828 [info] Getting Manifest... ms-azuretools.vscode-docker
2023-08-15 14:30:27.879 [info] Installing extension: ms-azuretools.vscode-docker
2023-08-15 14:30:28.345 [warning] Extension signature verification failed with error 'ENOENT': ms-azuretools.vscode-docker
2023-08-15 14:30:28.432 [info] Extracted extension to file:///home/peter/.vscode-server/extensions/ms-azuretools.vscode-docker-1.26.0: ms-azuretools.vscode-docker
2023-08-15 14:30:28.440 [info] Renamed to /home/peter/.vscode-server/extensions/ms-azuretools.vscode-docker-1.26.0
2023-08-15 14:30:28.444 [info] Extracting extension completed. ms-azuretools.vscode-docker
2023-08-15 14:30:28.454 [info] Extension installed successfully: ms-azuretools.vscode-docker
2023-08-15 14:36:55.771 [info] [<IP_ADDRESS>][5321c2d9][ManagementConnection] New connection established.
2023-08-15 14:36:56.072 [info] [<IP_ADDRESS>][f85ddad1][ExtensionHostConnection] New connection established.
2023-08-15 14:36:56.076 [info] [<IP_ADDRESS>][f85ddad1][ExtensionHostConnection] <4452> Launched Extension Host Process.
2023-08-15 14:37:04.872 [info] [<IP_ADDRESS>][5321c2d9][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
2023-08-15 14:37:04.873 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 14:37:04.874 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 14:37:04.874 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 14:37:04.919 [info] [<IP_ADDRESS>][f85ddad1][ExtensionHostConnection] <4452> Extension Host Process exited with code: 0, signal: null.
2023-08-15 14:40:45.705 [info] [<IP_ADDRESS>][510c4c06][ManagementConnection] New connection established.
2023-08-15 14:40:46.132 [info] [<IP_ADDRESS>][d953a46f][ExtensionHostConnection] New connection established.
2023-08-15 14:40:46.135 [info] [<IP_ADDRESS>][d953a46f][ExtensionHostConnection] <5691> Launched Extension Host Process.
2023-08-15 14:41:41.866 [info] [<IP_ADDRESS>][bb20e245][ManagementConnection] New connection established.
2023-08-15 14:41:42.350 [info] [<IP_ADDRESS>][3a976eaf][ExtensionHostConnection] New connection established.
2023-08-15 14:41:42.355 [info] [<IP_ADDRESS>][3a976eaf][ExtensionHostConnection] <6288> Launched Extension Host Process.
2023-08-15 15:00:43.465 [info] [<IP_ADDRESS>][bb20e245][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
2023-08-15 15:00:43.466 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 15:00:43.467 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
2023-08-15 15:00:43.467 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
2023-08-15 15:00:43.531 [info] [<IP_ADDRESS>][3a976eaf][ExtensionHostConnection] <6288> Extension Host Process exited with code: 0, signal: null.
2023-08-15 15:00:46.227 [info] [<IP_ADDRESS>][510c4c06][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
2023-08-15 15:00:46.228 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 15:00:46.228 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
2023-08-15 15:00:46.228 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
2023-08-15 15:00:46.282 [info] [<IP_ADDRESS>][d953a46f][ExtensionHostConnection] <5691> Extension Host Process exited with code: 0, signal: null.
2023-08-15 15:10:00.210 [info] [<IP_ADDRESS>][d9e79739][ManagementConnection] New connection established.
2023-08-15 15:10:00.714 [info] [<IP_ADDRESS>][456ed8dd][ExtensionHostConnection] New connection established.
2023-08-15 15:10:00.717 [info] [<IP_ADDRESS>][456ed8dd][ExtensionHostConnection] <22606> Launched Extension Host Process.
2023-08-15 15:13:27.113 [info] [<IP_ADDRESS>][d9e79739][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
2023-08-15 15:13:27.115 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 15:13:27.117 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 15:13:27.117 [error] Error: Throttler is disposed
    at r.queue (/home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:13612)
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:15183
    at /home/peter/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/out/vs/server/node/server.main.js:70:14822
    at runNextTicks (node:internal/process/task_queues:61:5)
    at listOnTimeout (node:internal/timers:528:9)
    at processTimers (node:internal/timers:502:7)
2023-08-15 15:13:27.202 [info] [<IP_ADDRESS>][456ed8dd][ExtensionHostConnection] <22606> Extension Host Process exited with code: 0, signal: null.

VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-12850HX (24 x 2419)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.61GB (8.09GB free)

Process Argv
--crash-reporter-id ea58db99-4fd5-49ef-8f73-28de6d2ad802

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu-22.04

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
12th Gen Intel(R) Core(TM) i7-12850HX (24 x 2419)

Memory (System)
15.44GB (9.99GB free)

VM
0%

Extensions (23)

Extension
Author (truncated)
Version

Bookmarks
ale
13.4.1

remote-containers
ms-
0.304.0

remote-ssh
ms-
0.102.0

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.81.0

vscode-remote-extensionpack
ms-
0.24.0

remote-explorer
ms-
0.4.1

remote-server
ms-
1.4.0

vscode-openapi
42C
4.18.6

markdown-mermaid
bie
1.19.0

package-json-upgrade
cod
2.0.0

vscode-eslint
dba
2.4.2

gitlens
eam
14.2.1

prettier-vscode
esb
10.1.0

vscode-pull-request-github
Git
0.70.0

plantuml
jeb
2.17.5

solidity
Jua
0.0.165

git-graph
mhu
1.30.0

vscode-docker
ms-
1.26.0

vscode-yaml
red
1.14.0

code-spell-checker
str
2.20.5

vscode-npm-scripts
tra
0.2.1

markdown-all-in-one
yzh
3.5.1

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30410667
py29gd2263:30792226
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30803844
2e4cg342:30602488
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
pythonfmttext:30731395
pythoncmvfstrcf:30756944
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxptcf:30805731
pythonnoceb:30805159
dsvsc013:30795093
dsvsc014:30804076
diffeditorv1:30812748

Does this reproduce in the latest VS Code insiders build with all extensions disabled?

@mjbvz I'm guessing this was fixed by subsequent releases in the meantime because I haven't seen it for the past couple of months (I'm using stable, not insiders). Thank you for checking in on it!


Enable LTO in cmake

Link time optimization a.k.a LTO is a optimization available in gcc and clang that enables optimization to be performed accross translation unit.
LTO can make the shared library and staticlly linked executable much, much smaller and probably more performant.
I have observed that LTO is able to make the shared library of SOCI smaller by 10% on average with clang 10.0.0-4ubuntu1
and lld-10.0.0 on linux x86-64:
No LTO:
408K    libsoci_core.so.4.0.1
60K     libsoci_empty.so.4.0.1
124K    libsoci_mysql.so.4.0.1
128K    libsoci_odbc.so.4.0.1
136K    libsoci_postgresql.so.4.0.1
120K    libsoci_sqlite3.so.4.0.1

With LTO:
332K    libsoci_core.so.4.0.1
56K     libsoci_empty.so.4.0.1
112K    libsoci_mysql.so.4.0.1
116K    libsoci_odbc.so.4.0.1
124K    libsoci_postgresql.so.4.0.1
108K    libsoci_sqlite3.so.4.0.1

Though the archives of static libraries become much larger due to more information is stored.
It also can make applications that staticlly linked with SOCI much smaller.
Below is a simple application that uses SOCI:
#include <soci/soci.h>
#include <soci/postgresql/soci-postgresql.h>

#include <cstdio>
#include <vector>

int main(int argc, char* argv[])
{
    try {
        soci::session sql(soci::postgresql, "dbname=postgres");

        {
            int count;
            sql << "SELECT COUNT(*) FROM sales", soci::into(count);
            std::printf("COUNT(*) = %d\n", count);
        }

        {
            std::vector<int> product_ids;
            product_ids.resize(100);

            sql << "SELECT product_id FROM sales", soci::into(product_ids);
            std::printf("Product ids:");
            for (int product_id: product_ids)
                std::printf("%d, ", product_id);
            std::puts("");
        }

        {
            soci::statement stmt = sql.prepare << "SELECT product_id FROM sales";

            std::vector<int> product_ids;
            product_ids.resize(2);

            stmt.exchange(soci::into(product_ids));
            stmt.define_and_bind();

            stmt.execute();

            std::printf("Product ids:");
            for (; stmt.fetch(); product_ids.resize(2)) {
                for (int product_id: product_ids)
                    std::printf("%d, ", product_id);
            }
            std::puts("");

            stmt.bind_clean_up();
        }
    } catch (const std::exception &e) {
        std::fprintf(stderr, "Error: %s\n", e.what());
        return 1;
    }

    return 0;
}

It is built using command
clang++ -std=c++17
              -Ofast -Wall -flto -fno-asynchronous-unwind-tables -fno-unwind-tables -fmerge-all-constants
              -I /usr/include/postgresql/ -L /path/to/soci/build/lib/
              -s -Wl,-icf=all,--gc-sections,--as-needed -Wl,--plugin-opt=O3 -fuse-ld=lld
              -lpthread -ldl -lpq -l:libsoci_core.a -l:libsoci_postgresql.a

The result is significant:
120K    static-with-lto.out
160K    static-without-lto.out

LTO is able to shrink down the executable by 25%.

However, due to unknown reason, cmake's CheckIPOSupported decides that my gcc-9.3.0-17ubuntu1~20.04 doesn't support
lto, which is confusing for me.

@vadz Hey, can you take a look at the oracle test on linux? I have no idea why test 2 have all failed with message similar to:
2: /home/travis/build/SOCI/soci/tests/common-tests.h:3908: FAILED:
2:   {Unknown expression after the reported line}
2: due to unexpected exception with message:
2:   ORA-12520: TNS:listener could not find available handler for requested type
2:   of server

Is there something wrong with mysql?

Thanks a lot for the updates! Works fine for me, and I can confirm reduction in libraries size (with matching increase in build time, but it's definitely worth it for the release/production builds). Merging, thanks again!

@vadz Hey, can you take a look at the oracle test on linux?

It's "just" a Travis problem. I've allowed failures in this build now, see #847, because I just don't know what else to do with it.


⚠ Bofrost.com has degraded performance

In 9afc1a5, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 865 ms

Resolved: Bofrost.com performance has improved in e9c82bd after 6 minutes.


Upgrade architecture graph for GeaFlow

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.东朔 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Crash when I delete an icon

Environment
Docker
Version
0.12.3
Describe the problem
Reproduce :

Switch to "Edition mode"
Click on the "Settings" button of an app
Click on "Apparance"
Click on the cross in the icon input path

Result :
Application error: a client-side exception has occurred (see the browser console for more information).
Logs
No response
Context

Please tick the boxes

[ ] I confirm that I attached the proper logs
[X] I've read the docs
[ ] I've checked for duplicate issues
[X] I've tried to debug myself

duplacate: https://github.com/ajnart/homarr/issues/1129


Support subdirectories as templates

E.g. https://github.com/thedodd/trunk/tree/master/examples/yew
Unlike cloning a repo and editing Cargo.toml, downloading a subdirectory of a repo is quite a pain. At least I don't know how to do it easily. So it would make cargo-generate a lot more useful.

Hi @Timmmm
I'm glad you're asking because this is already a supported use case.
You can read more about it in the docs
So for this given example try out:
cargo generate --git thedodd/trunk examples/yew

Aha brilliant, thank you!


add ALTER KEYSPACE to make rebuild commands work

This is a fix for the immediate problem in CASSANDRA-11687. This will not close the ticket, as the tests fails.
I'm not sure this is a long-term solution, so I've filed CASSANDRA-12296.

Thanks for the review. Merging.


Fix problem with factories in iris.util.new_axis().

It was found that adding an axis to a cube with an aux-factory had a subtle bug, which then causes errors when you copy the result :
Example:
>>> cube
<iris 'Cube' of mass_fraction_of_ozone_in_air / (kg kg-1) (model_level_number: 63; grid_latitude: 182; grid_longitude: 146)>
>>>
>>> # Presumably, something here is wrong ...
... cube2 = iutil.new_axis(cube, 'time')
>>> cube2
<iris 'Cube' of mass_fraction_of_ozone_in_air / (kg kg-1) (time: 1; model_level_number: 63; grid_latitude: 182; grid_longitude: 146)>
>>>
>>> # ... but this is what actually fails :
... cube3 = cube2.copy()
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/opt/scitools/environments/experimental/2019_01_31-1/lib/python3.6/site-packages/iris/cube.py", line 2967, in copy
    cube = self._deepcopy(memo, data=data)
  File "/opt/scitools/environments/experimental/2019_01_31-1/lib/python3.6/site-packages/iris/cube.py", line 3003, in _deepcopy
    new_cube.add_aux_factory(factory.updated(coord_mapping))
  File "/opt/scitools/environments/experimental/2019_01_31-1/lib/python3.6/site-packages/iris/aux_factory.py", line 156, in updated
    coord = new_coord_mapping[id(coord)]
KeyError:<PHONE_NUMBER>16680
>>>

The new addition to the test code should demonstrate this (fails when run against old code).

What was actually wrong is :

the dependencies within a factory must be the actual coords in the cube for cube.copy() to work..
.. because otherwise the factory dependencies don't show up in the old-new 'coord_mapping' that the copy operation constructs
.. whereas, "new_axis" returns a cube whose factory has its own independent copies of the original coords :  so that won't copy properly

Thanks @lbdreyer !
I will fix that shortly.
But I want to just hold off a little on this one, as I have since been made aware of a possibly-related problem in some user code, which seems to have a similar error ...

Following offline discussion :
Bugfix release whatsnew contributions should go in a separate block in the minor-version whatsnew documentation.
So here, moved note from a contributions file into a 'Bugs fixed in v2.2.1' section in the existing v2.2 whatsnew.
This parallels what we see in, for example, the v1.7 whatsnew bugfixes

Great, thank @pp-mo


drivers: rtc: stm32: Fixes RTC issues related to device runtime pm (previous pr #62910)

@erwango @FRASTM
(I made some mistakes when I was updating the old PR and created this new one)
When device runtime pm is enabled, Backup Domain protection is active most of the time. RTC driver need this protection to be disabled in order to set the time or calibration. Commit in this PR disables the protection in set time and set calibration functions.
In addition, another commit fixes the recently added WAIT macro which makes the set time and set calibration functions nonworking when device runtime is enabled.
I divided the original commit into 3 commits as @faloj suggested.
Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/62843

@coran21 Can you address @faloj comments ?

Otherwise LGTM

Same for me


Update dependencies

Because there was a dokka update, also regenerates documentation using the new version.

Codecov Report

Merging #2031 into master will increase coverage by 0.23%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2031      +/-   ##
============================================
+ Coverage     80.68%   80.92%   +0.23%
+ Complexity     1985     1959      -26
============================================
  Files           329      329
  Lines          5591     5635      +44
  Branches       1021     1021
============================================
+ Hits           4511     4560      +49
+ Misses          539      534       -5
  Partials        541      541

Impacted Files
Coverage Δ
Complexity Δ

...lab/arturbosch/detekt/core/processors/util/LLOC.kt
75.55% <0%> (-3.52%)
3% <0%> (ø)

...otlin/io/gitlab/arturbosch/detekt/core/Detektor.kt
75% <0%> (-2.78%)
3% <0%> (ø)

...rbosch/detekt/rules/complexity/ComplexInterface.kt
100% <0%> (ø)
15% <0%> (+1%)
:arrow_up:

...b/arturbosch/detekt/rules/complexity/LargeClass.kt
96.87% <0%> (+0.2%)
12% <0%> (+1%)
:arrow_up:

...n/kotlin/io/gitlab/arturbosch/detekt/api/Config.kt
89.58% <0%> (+0.22%)
0% <0%> (ø)
:arrow_down:

...rturbosch/detekt/rules/complexity/ComplexMethod.kt
96.55% <0%> (+0.25%)
12% <0%> (+1%)
:arrow_up:

...etekt/rules/complexity/StringLiteralDuplication.kt
95% <0%> (+0.26%)
5% <0%> (+1%)
:arrow_up:

...rbosch/detekt/rules/complexity/NestedBlockDepth.kt
93.47% <0%> (+0.29%)
5% <0%> (+1%)
:arrow_up:

...b/arturbosch/detekt/rules/complexity/LongMethod.kt
93.93% <0%> (+0.39%)
12% <0%> (+1%)
:arrow_up:

...ain/kotlin/io/gitlab/arturbosch/detekt/api/Rule.kt
93.75% <0%> (+0.41%)
13% <0%> (ø)
:arrow_down:

... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d99550d...251bb0a. Read the comment docs.

Coverage changes would be thanks to upgrading JaCoCo.


refactor: remove classes with only static functions

Codecov Report

Merging #358 (f23099d) into master (2bb9d13) will increase coverage by 0.06%.
The diff coverage is 27.27%.

@@            Coverage Diff             @@
##           master     #358      +/-   ##
==========================================
+ Coverage   34.16%   34.22%   +0.06%
==========================================
  Files          69       69
  Lines        3872     3868       -4
  Branches      698      716      +18
==========================================
+ Hits         1323     1324       +1
+ Misses       2328     2323       -5
  Partials      221      221

Impacted Files
Coverage Δ

src/routes/amt/auditLog.ts
20.00% <0.00%> (ø)

src/routes/amt/bootOptions.ts
4.49% <0.00%> (ø)

src/routes/amt/eventLog.ts
22.22% <0.00%> (ø)

src/routes/amt/generalSettings.ts
22.22% <0.00%> (ø)

src/routes/amt/hardwareInfo.ts
21.05% <0.00%> (ø)

src/routes/amt/powerAction.ts
5.79% <0.00%> (ø)

src/routes/amt/powerCapabilities.ts
6.77% <0.00%> (ø)

src/routes/amt/powerState.ts
22.22% <0.00%> (ø)

src/routes/amt/userConsent/cancel.ts
25.00% <0.00%> (ø)

src/routes/amt/userConsent/request.ts
23.52% <0.00%> (ø)

... and 11 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bb9d13...f23099d. Read the comment docs.


New command: m365 spo site membership get

Usage
m365 spo site membership get
Description
Retrieve information about default site groups' membership.
Options

Option
Description

-u, --siteUrl <siteUrl>
The URL of the site

-r, --role [role]
Filter the results to only users with the given role: 'Owner', 'Member', 'Visitor'.

Examples
Retrieves information about default site groups' owners, members, and visitors of the site.
m365 spo site membership get --siteUrl https://contoso.sharepoint.com

Retrieves information about site owners.
m365 spo site membership get --siteUrl https://contoso.sharepoint.com --role Owners

Default properties

Email
LoginName
Name
UserPrincipalName
Role

Additional Info
This command could be helpful for SharePoint administrators, It would allow getting information about membership of a site using the _api/SPO.Tenant/sites/GetSiteUserGroups endpoint, like in the SP admin page.
The benefit here is that administrators can access this information with SharePoint admin permission only, without needing site collection admin permission.

Hi @mkm17 thank you for creating this issue.
Could you give some more context about what this command actually does? What will it return?
If it lists memberships of default groups, I think that's already possible using spo web get --withGroups and spo group member list.

Hi, @milanholemans To be honest, it will retrieve the same data as in the provided examples by you. The only difference is that to execute spo web get, the current user must have permission to the web. However, when using _api/SPO.Tenant/sites/GetSiteUserGroups, a user can have 'just' SharePoint Global Admin permission.
The use case can be when there's a need to generate a report on the membership of multiple webs without direct access for current user. To address this scenario,

we can utilize an app with application permissions for all sites,
temporarily add a user as a site collection admin, or
use the _api/SPO.Tenant/sites/GetSiteUserGroups endpoint.

The similar case is mentioned here https://github.com/pnp/cli-microsoft365/issues/5882#issuecomment-1981160284
If adding a new command is not the best solution, maybe we can extend spo group member list with --asAdmin flag?
Then the command execution should cover only default groups and the execution would be like m365 spo group member list --associatedmembers --asAdmin

Hi @mkm17 thanks for clarifying. Does this endpoint only return the SharePoint groups? Could you give an example of a possible output? This would make it a bit clearer I guess.

Hi @milanholemans,
for example the GET request
https://<tenant>-admin.sharepoint.com/_api/SPO.Tenant/sites/GetSiteUserGroups?siteId='<SiteId>'&userGroupIds=[0,1,2]
returns
[
        {
            "userGroup": [
                {
                    "email"<EMAIL_ADDRESS>                    "loginName"<EMAIL_ADDRESS>                    "name": "<Display Name>",
                    "userPrincipalName"<EMAIL_ADDRESS>                }
            ]
        },
        {
            "userGroup": []
        },
        {
            "userGroup": []
        }
    ]

The first user group corresponds to Owners, the next one to Members, and the last one to visitors. As I mentioned before, the real case scenario could be generating a membership report while the user is only a SharePoint admin without access to the Site as a Site collection admin.
Of course, it's just an idea. Honestly, I've already used this scenario, so I thought it might be useful for someone else :)

hi all, sorry for coming late to the party 🙏.

@mkm17 isn't this more like a list command rather than a get command? As we are more like listing the groups along with the members not getting a single item. What do you think?
usually, we try not to modify the API response and return the result the same way as the API we use under the hood in the command, but in this case it is sooo confusing I would do that. First of all It is totally unclear that the first group returned are owners, the second are members and the third are visitors. Either we make it super clear in the docs (which not everybody reads) or we could change the response to return this as 3 objects, the first with name AssociatedOwnerGroup the second with AssociatedMemberGroup etc. So it would a bit align with spo web get command with withGroups option
in general, I don't see any risk in adding this command. It does create more opportunities for CLI to be used by an admin and the response is different than other commands. Even though it is possible to get the same info using two other commands but as @mkm17 mentioned we would still need permissions to the web which for the mentioned scenario: "Create a report with groups and members from all sites" is a kinda pain and would require for that user to have access to each web. With this new command we would have this covered.
@mkm17 for the role the allowed values are  'Owner', 'Member', 'Visitor'. but in one of the examples you use ... --role Owners . Should be Owner.

@pnp/cli-for-microsoft-365-maintainers any other feedback? on this?
I see potential in this command and I would review the spec and open it up 👍

Interesting idea @mkm17. Thanks for bringing it up. I see a use case for adding this command, especially as it's meant to be used slightly different than the existing commands that we have (ie. tenant admin who's not a site collection admin). If we're to add it, I suggest we ensure that the docs are clear when to use this command vs. the existing groups commands that Milan mentioned, and in both commands we add references to the other commands so that folks easily discover other, and maybe for them more suitable, commands.

Thanks, @Adam-it, for the recommendations. I have updated the specification accordingly :)
@waldekmastykarz , good point. I will add the information in the remarks section of the new command, as well as the 'spo web get --withGroups' and 'spo group member list' commands mentioned by @milanholemans .
Thank you all for your inputs. Do you have any other suggestions what should be included?"

I don't have any more feedback, the specs look clear to me. One small detail, include Waldek's remark in the initial spec so we don't forget it. 😉
Do you want to work on it @mkm17 or should we open it up?

yes lets open it up 💪
thanks, @pnp/cli-for-microsoft-365-maintainers  for your double check on this issue.
@mkm17 wanna take the lead on this or leave it for someone else?

@Jwaegebaert, thanks! I have added remarks to the specification of the command.
@Adam-it, yes, I can take it. If you can wait a little bit for the result, as I am already assigned to some other commands :)

Sorry for rejoining the discussion this late. In my opinion, this command should be called spo tenant site membership list. As discussed before, we try to move all admin-related commands under the spo tenant umbrella.
@pnp/cli-for-microsoft-365-maintainers do you agree?

Hi @milanholemans, ok I will change the current PR accordingly.

@milanholemans , Ok, I have updated the PR.

Sorry for rejoining the discussion this late. In my opinion, this command should be called spo tenant site membership list. As discussed before, we try to move all admin-related commands under the spo tenant umbrella.
@pnp/cli-for-microsoft-365-maintainers do you agree?

good idea. Let's do that


Open 3bot connect app button does not work on UC Browser

Repro steps

Open staging.freeflowpages.com in UC Browser
Go to login and click open 3bot connect app

Expected Result
App opens, login is possible and user is logged in on the browser
Actual Result
Open 3bot connect app button does nothing
System Info
Android 9

We can revist this on a later date, for now the user should use chrome.


Have not integrated sqoop yet?

Have not integrated sqoop yet?

Yes, the version of sqoop in Ambari is different from  the version in Hue.(Ambari-sqoop:1.x, HUE-sqoop:2.x). So I have not integrated sqoop.

May I wonder if I have sqoop2.x installed manually in HDP2.5, how to integrate sqoop in ambari-hue? I removed the 'sqoop' from app_blacklists in "package/scripts/params.py", but it doesn't work. Thanks.

Hi schwxd:
I suggest you modify the configuration for hue in Ambari.
【hue】-【Configs】-【Advanced】-【Advanced pseudo-distributed.ini】-【[sqoop]】

@schwxd
You'll need to have something like this in your config
[sqoop]
  server_url=http://SQOOP_HOST:12000/sqoop
  ## sqoop_conf_dir=/etc/sqoop2/conf

And can first check that http://SQOOP_HOST:12000/sqoop/version is accessible to be sure the server is running.
I would also recommend you see the Sqoop 5 Minute Demo as well as issue HUE-5128


input-security

The webkit feature text-prefix is missing in the feature list. I've had a hard time finding documentation on the feature, but as far as I can see it's supported in webkit (Safari/Chrome) only.
The closest I've find to "documentation" on this feature:

https://css-tricks.com/snippets/css/password-input-bullet-alternatives/
http://help.dottoro.com/lcbkewgt.php

You mention text-prefix but it looks like that's meant to be text-security?

Yes. Sorry. My bad.

Den 25. feb. 2016 kl. 05.29 skrev Alexis Deveria<EMAIL_ADDRESS>You mention text-prefix but it looks like that's meant to be text-security?
—
Reply to this email directly or view it on GitHub.

+1
Apple's doc can be found at https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266--webkit-text-security

+1
text-security is missing

+1
I think it is majorly supported and is an optimal solution for using CVV with tel type and -text-security: disc.

Available via MDN:

https://caniuse.com/mdn-css_properties_-webkit-text-security
https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-text-security

-webkit-text-security is now standardized as input-security: auto|none https://github.com/w3c/csswg-drafts/issues/2495#issuecomment-380397331
And WebKit has been implemented: https://bugs.webkit.org/show_bug.cgi?id=184510

Looks like this is going to be covered by MDN data:
mdn/browser-compat-data#12822


❓ Android build failed - it's not clear what exactly is the issue

Question
I have older RN project that is on RN: 0.63.4.
I am on a way to migrate from RNCamera to this library.
I installed "react-native-vision-camera": "^2.12.0".
buildToolsVersion = "29.0.2"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 30

But I am getting android build errors like:
> Task :app:processDebugResources FAILED
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
...
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
...
/.gradle/caches/transforms-2/files-2.1/29678a57a31f9429c3228f99a5a6aa7c/camera-extensions-1.0.0-alpha32/AndroidManifest.xml:24:5-28:15: AAPT: error: unexpected element <queries> found in <manifest>.

I don't know what to try anymore. Is there some issue with this RN version?
I don;t use expo.
What I tried
Clear build folder.
./ gradelw clean > build successfull.
Rebuilding project multiple times on real device.
VisionCamera Version
2.12.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

What is the version of your android plugin?
https://stackoverflow.com/questions/62969917/how-to-fix-unexpected-element-queries-found-in-manifest-error
based on this I tink you may need to do some android upgrades. This is not specifically an issue with this lib but that the CameraX tool is updated to support Android 11

I am current looking inside my project, I just upgraded.
in this file: android/build.gradle
I have this entry
 classpath("com.android.tools.build:gradle:4.1.2")

Somehow I missed to update that value build passed, thanks :)

@vvusts how did you fix it?. can you elaborate ?


make test results in python error

After nile init, main branch
File "/usr/local/lib/python3.7/site-packages/pytest_cairo/plugin.py", line 8, in
from pytest import Collector, Config, Parser, PytestPluginManager, StashKey
ImportError: cannot import name 'Config' from 'pytest' (/usr/local/lib/python3.7/site-packages/pytest/init.py)

Hey, @kevindarby. Unfortunately, I haven't been able to reproduce this error. Could you provide some more details?


Adding a World Clock

Project title
World Clock
Project Description
World Clock which displays the current time of different countries.
Stack:

[x] Html
[x] CSS
[x] JavaScript

Can I work on this??


Fixed in latest commit

          Fixed in latest commit

Originally posted by @tannerlinsley in https://github.com/TanStack/router/issues/619#issuecomment-1622621654
double click proble to linked, i use latest @beta108, i found no fixed up this problem

i have to keep use react-router

This not a properly formatted issue. Regardless, can’t replicate what it eludes to. Please resubmit with a CodeSandBox or stackblitz replication.


cp: fix the result of inodes are not the same when preserve links is flagged

fix https://github.com/uutils/coreutils/issues/5031

I guess you saw that your change regressed some tests

I guess you saw that your change regressed some tests

Yap I saw
So that's why I keep this PR as draft

hi @sylvestre
I am unsure whether those two failed checks are related to this PR.

Android one is failed on the boot
fuzzers one is stuck on the compiling

and please review it.
thank you 🙏🏻

Fails on android, just disable the test on android:

running 1 test
touch: /data/data/com.termux/files/usr/tmp/.tmpcQS35T/a
symlink: /data/data/com.termux/files/usr/tmp/.tmpcQS35T/a,/data/data/com.termux/files/usr/tmp/.tmpcQS35T/b
symlink: /data/data/com.termux/files/usr/tmp/.tmpcQS35T/b,/data/data/com.termux/files/usr/tmp/.tmpcQS35T/c
mkdir: /data/data/com.termux/files/usr/tmp/.tmpcQS35T/d
run: /data/data/com.termux/files/home/coreutils/target/debug/coreutils cp --preserve=links -R -H b c d
test test_cp::test_cp_issue_5031_case_3 ... FAILED

failures:

failures:
    test_cp::test_cp_issue_5031_case_3

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 2634 filtered out; finished in 0.03s

--- TRY 3 STDERR:        coreutils::tests test_cp::test_cp_issue_5031_case_3 ---
thread 'test_cp::test_cp_issue_5031_case_3' panicked at 'Command was expected to succeed.
stdout =
 stderr = cp: Permission denied (os error 13)
', tests/by-util/test_cp.rs:1438:10
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

test_cp_issue_5031_case_1 & test_cp_issue_5031_case_2 are failing too :)

what means "ut" ? thanks

what means "ut" ? thanks

Oh sorry it means unit test

Hello @sylvestre
could you do a review again while you have time?
thank you 🙇🏻♂

I'll look into them
thanks!

I realize I might have come of a bit grumpy there. I don't mean to say that this is in any way bad, just want to explore some alternatives, because I doubt that GNU is using multiple hashmaps. But if you think this is right, I'll happily be convinced :)

I realize I might have come across a bit grumpy there. I don't mean to say that this is in any way bad, just want to explore some alternatives, because I doubt that GNU is using multiple hashmaps. But if you think this is right, I'll happily be convinced :)

No worries!
I am studying this part of the GNU cp to realize how they implemented.
Thanks~

Nice, but do watch out with that. uutils cannot copy GNU for license reasons.

Hi @tertsdiepraam
I modify the code by using a simple copied_files map.
The code is straightforward right now, I think, so if you still want the comments explaining I'll do it.
BTW the test case failed on

Android / Test builds (28, default, x86)
Run the fuzzers

I don't know why please guide me.
thank you. 🙏🏻

The failures seem to be unrelated. I'll look at the code.

Much better! Thanks! I still think some comments would be nice. E.g. why do we need FileInformation. Could we do the same with inodes? And maybe a small comment explaining how the hashmap preserves the hard links.

ok I see, will do

Hey @tertsdiepraam
I added the comments as your request, I think,
if you have time please review it thanks.
BTW the Android test builds still failed and I don't know why ah

good points
let's try again on Android and FreeBSD

The problem with the freebsd failure might be here: https://github.com/uutils/coreutils/blob/844d99bdaca45720edf8da06bbaa24954983dada/tests/by-util/test_cp.rs#L10 (The ino method is part of MetadataExt)

Android is not working out is it? I'm happy you got FreeBSD to work. We can put the Android cfg back with a comment explaining why it's not working (i.e. Permission Denied).

Hi @tertsdiepraam
I really don't know why the Android test build failed.
but if there has no problem,
could this PR merge?
thank you.

So I took a long look at this PR and I think we still need to change some things. First, this seems to make the existing preserve_hardlinks code obsolete, so that should be removed. If I disable that code, I get the second issue: we then get double errors because FileInformation::from_path is then called twice. I think the copied_files.insert should be moved to copy_file and should only happen on a successful copy and not when an error happens.

Hi could you point me out how did you do the
so that should be removed. If I disable that code,

then I can reproduce myself
thank you

The function should just be removed I believe. Unless, you believe that it should still exist? As far as I could tell it didn't serve a purpose anymore, but you might be in a better position to tell. With "disabling", I just meant that I replaced
let found_hard_link = preserve_hardlinks(hard_links, &source_absolute, &dest)?;

with
let found_hard_link = false;

But for the PR it should just be removed of course.

Hi @tertsdiepraam
I tried to address your comments, please help review while you have time, thank you 🙇🏻
about the
let found_hard_link = preserve_hardlinks(hard_links, &source_absolute, &dest)?;

I think we can do an enhancement in another PR.
WDYT?

The reason that I want preserve_hardlinks to be removed is that (if I'm not mistaken) it's supposed to do the same thing as what you implemented. So your change should be to replace preserve_hardlinks rather than add something. That also means that we can't fully test your change now because it might be "helped" by the existing preserve_hardlinks. Does that make sense?

hmmm ya... that function is some kind of "protecting", "helping" me,
because that function serves a different purpose, although the name seems doing the same logic as this PR does.
I'll try what I can do to fulfill your and my purposes.

Just to be clear: I'm not doubting your solution 😄 It looks good, but we shouldn't have two functions doing sort of the same thing. Thanks for taking a look!

Hi @tertsdiepraam
I did some modifications to move the preserve links check after the handle existing dest function and add a new test case as you mentioned.
Please help review while you have time.
Thank you 🙇♂

Looks great. Do you know why GNU test: tests/cp/link-preserve.sh doesn't pass ?
fails later?

Looks great. Do you know why GNU test: tests/cp/link-preserve.sh doesn't pass ? fails later?

sorry for the late response, I re-run the test and everything seems fine.


Introduce TextButton color interaction states & fix margins

Introduces color interaction states for the TextButton control, as specified in the design file.
Light

Default
Hover
Pressed

Dark

Default
Hover
Pressed

This makes sure the padding is correct for the TextButton and that the margin is correct for both the TextButton and ContinueButton are as specified in the design file

TextButton Padding
TextButton Margin
ContinueButton Margin

ACK 3be7fda5950413229f8ed286af97e7e0625c5f4f
Changes look good and there were no qml issues when running.


New Template added for email signature

@sivaranjanidev Thanks for the PR. I'll review and merge it soon.

You may look into a few good first issues which are up for grabs.

:white_check_mark: Link to the repository


Support Laravel 5.2.

Hi @ooxif. Would it be possible to get this merged and release a 1.0.4 tag?

Hi @furey thank you very much for you help!!

Thank you!


nixpkgs: take Nixpkgs path from argument

Description
This removes the dependency on the nixpkgs channel within the modules. This can be used to override the Nixpkgs version. It is also a prerequisite for creating a Home Manager flake.

Thanks, it's just what I needed to make my current flake home-manager setup work!


Remove band-aid - opening a file in unception can cause a segfault in seemingly rare circumstances.

The bug appears very inconsistently, and I've only been able to produce it on Arch Linux. I'm unsure if the error lies within Neovim core, Lazy, unception, or elsewhere. It seems to occur more frequently when more plugins are installed, regardless of what the plugins are. If only unception is installed, I simply cannot reproduce it.
I can fairly consistently get it to occur with this config.
I've only been able to get it to occur when g:unception_delete_replaced_buffer is set to true.
Steps to reproduce:

Install unception along with some other plugins (I don't believe it really matters what they are). The config provided above can be used (though be sure to open Neovim once regularly to ensure that all of the plugins are bootstrapped/installed).
Navigate to a directory in bash.
Create a file called test.txt by running:echo 'hi' > test.txt

Run the following command:nvim -c "terminal" -c "execute feedkeys(\"invim test.txt\<CR>\")"

This simply opens a new terminal buffer, and tries to open test.txt from inside of it.
Observe segfault (occasionally).

#62 doesn't actually appear to have fixed this.

Added a simple check that appears to prevent this from occurring during normal usage. Leaving this open, because I'd like to remove the code should Neovim core get updates that fix the issue.

Note that this now means that if you have g:unception_delete_replaced_buffer set to true, and you have a single terminal split, and therefore visible in more than one window, if you try to open a file in the current window by running nvim filename, you'll now launch a nested session in one of the windows, and open a file in the other. I'm not sure there's a good way around this until the above is fixed?


More explanation about need for manual rotation steps

It is very confusing that even if it is showing "DNS record has been set correctly" and azure DNS record is linked to Frontdoor, I still need to press "Regenerate" and "Update" before every auto-rotation can proceed.
Little more explanation why FD Premium will not do it automatically would be helpful.

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

ID: 6eaf4a66-17a9-e3d7-030c-950371879569
Version Independent ID: b7bf6066-6331-0090-2222-55b10b0b7143
Content: Apex domains in Azure Front Door
Content Source: articles/frontdoor/apex-domain.md
Service: frontdoor
GitHub Login: @johndowns
Microsoft Alias: jodowns

@Andrejs4 I am afraid I am not following you.
Are you talking about any specific content from the document?
I can see is that you will be required to regenerate the TXT token and add the TXT token to the DNS provider settings only if the DNS CNAME record is not pointing to the Azure Front Door endpoint.
Since Azure DNS Zone does not support adding a CNAME to the apex domain, you are required to regenerate and add a TXT record

Yes, my question is about need to regenerate and re-add TXT record manually for apex domains.
This creates ongoing maintenance work for "automatic" certificate updates, so would be good to have in documentation some more justification why Frontdoor Premium cannot automate this (for example, if you need to explain to client)

@Andrejs4 I shall assign this thread to the author @johndowns for further review

@Andrejs4 There's an explanation towards the end of the document:
When you use an Azure Front Door-managed certificate, Azure Front Door attempts to automatically rotate (renew) the certificate. Before it does so, Azure Front Door checks whether the DNS CNAME record is still pointed to the Azure Front Door endpoint. Apex domains don't have a CNAME record pointing to an Azure Front Door endpoint, so the auto-rotation for managed certificate fails until the domain ownership is revalidated.
Please keep watching this space as there might be some changes in the future that provide some other alternatives, too.
#please-close