maestral daemon cannot be started after upgrading to 1.4.3

Maestral daemon cannot be started by the terminal command.

maestral start
error message:
! Cannot load keyring keyring.backends.SecretService.Keyring. Please relink Maestral to get a new access token.

To Reproduce
just enter the command
maestral start (or maestral gui)
The expected behavior is obvious. It is desired to start the daemon to synchronize the local files with their cloud counterparts.
System:

Maestral version: 1.4.3 (with the previous version all were OK)
OS: Ubuntu 20.04

Hm, this is already the second report which I am receiving about this but cannot reproduce it myself on an Ubuntu VM. Which version of Python are you using?

This was mine.
alton@ubuntu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.10 (Groovy Gorilla)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.10"
VERSION_ID="20.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=groovy
UBUNTU_CODENAME=groovy

alton@ubuntu:~$ python3 --version
Python 3.8.6
alton@ubuntu:~$ dpkg -l | grep -i python
ii  libpython3-dev:arm64           3.8.6-0ubuntu1                    arm64        header files and a static library for Python (default)
ii  libpython3-stdlib:arm64        3.8.6-0ubuntu1                    arm64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.8:arm64             3.8.6-1ubuntu0.2                  arm64        Shared Python runtime library (version 3.8)
ii  libpython3.8-dev:arm64         3.8.6-1ubuntu0.2                  arm64        Header files and a static library for Python (v3.8)
ii  libpython3.8-minimal:arm64     3.8.6-1ubuntu0.2                  arm64        Minimal subset of the Python language (version 3.8)
ii  libpython3.8-stdlib:arm64      3.8.6-1ubuntu0.2                  arm64        Interactive high-level object-oriented language (standard library, version 3.8)
ii  python-apt-common              2.1.3ubuntu1.3                    all          Python interface to libapt-pkg (locales)
ii  python-pip-whl                 20.1.1-2                          all          Python package installer (pip wheels)
ii  python3                        3.8.6-0ubuntu1                    arm64        interactive high-level object-oriented language (default python3 version)
ii  python3-apport                 2.20.11-0ubuntu50.5               all          Python 3 library for Apport crash report handling
ii  python3-apt                    2.1.3ubuntu1.3                    arm64        Python 3 interface to libapt-pkg
ii  python3-attr                   19.3.0-5                          all          Attributes without boilerplate (Python 3)
ii  python3-automat                20.2.0-1                          all          Self-service finite-state machines for the programmer on the go
ii  python3-blinker                1.4+dfsg1-0.3ubuntu2              all          fast, simple object-to-object and broadcast signaling library
ii  python3-certifi                2<IP_ADDRESS>-1                      all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend           1.14.2-1                          arm64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                3.0.4-7                           all          universal character encoding detector for Python3
ii  python3-click                  7.1.2-1                           all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama               0.4.3-1build1                     all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-commandnotfound        20.10.1                           all          Python 3 bindings for command-not-found.
ii  python3-configobj              5.0.6-4                           all          simple but powerful config file reader and writer for Python 3
ii  python3-constantly             15.1.0-2                          all          Symbolic constants in Python
ii  python3-crypto                 2.6.1-13.1                        arm64        cryptographic algorithms and protocols for Python 3
ii  python3-cryptography           3.0-1ubuntu0.1                    arm64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-dbus                   1.2.16-3                          arm64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                1.5.74                            all          interact with debconf from Python 3
ii  python3-debian                 0.1.37                            all          Python 3 modules to work with Debian-related data formats
ii  python3-dev                    3.8.6-0ubuntu1                    arm64        header files and a static library for Python (default)
ii  python3-distro                 1.5.0-1                           all          Linux OS platform information API
ii  python3-distro-info            0.23ubuntu1                       all          information about distributions' releases (Python 3 module)
ii  python3-distupgrade            1:20.10.14                        all          manage release upgrades
ii  python3-distutils              3.8.6-1                           all          distutils package for Python 3.x
ii  python3-dnspython              2.0.0+really1.16.0-2ubuntu1       all          DNS toolkit for Python 3
ii  python3-ecdsa                  0.15-1                            all          ECDSA cryptographic signature library (Python 3)
ii  python3-gdbm:arm64             3.8.6-1                           arm64        GNU dbm database support for Python 3.x
ii  python3-gi                     3.38.0-1                          arm64        Python 3 bindings for gobject-introspection libraries
ii  python3-gpg                    1.14.0-1ubuntu1                   arm64        Python interface to the GPGME GnuPG encryption library (Python 3)
ii  python3-hamcrest               1.9.0-3                           all          Hamcrest framework for matcher objects (Python 3)
ii  python3-httplib2               0.18.1-1                          all          comprehensive HTTP client library written for Python3
ii  python3-hyperlink              19.0.0-2                          all          Immutable, Pythonic, correct URLs.
ii  python3-idna                   2.10-1                            all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-importlib-metadata     1.6.0-2                           all          library to access the metadata for a Python package - Python 3.x
ii  python3-incremental            16.10.1-3.2                       all          Library for versioning Python projects.
ii  python3-jeepney                0.4.3-1                           all          pure Python D-Bus interface
ii  python3-jinja2                 2.11.2-1                          all          small but fast and easy to use stand-alone template engine
ii  python3-json-pointer           2.0-0ubuntu1                      all          resolve JSON pointers - Python 3.x
ii  python3-jsonpatch              1.25-3                            all          library to apply JSON patches - Python 3.x
ii  python3-jsonschema             3.2.0-0ubuntu2                    all          An(other) implementation of JSON Schema (Draft 3 and 4) - Python 3.x
ii  python3-jwt                    1.7.1-2ubuntu2                    all          Python 3 implementation of JSON Web Token
ii  python3-keyring                21.3.0-1                          all          store and access your passwords safely
ii  python3-launchpadlib           1.10.13-1                         all          Launchpad web services client library (Python 3)
ii  python3-lazr.restfulclient     0.14.2-2build1                    all          client for lazr.restful-based web services (Python 3)
ii  python3-lazr.uri               1.0.5-1                           all          library for parsing, manipulating, and generating URIs
ii  python3-ldb                    2:2.1.4-2                         arm64        Python 3 bindings for LDB
ii  python3-lib2to3                3.8.6-1                           all          Interactive high-level object-oriented language (lib2to3)
ii  python3-markdown               3.2.2-2                           all          text-to-HTML conversion library/tool (Python 3 version)
ii  python3-markupsafe             1.1.1-1                           arm64        HTML/XHTML/XML string library for Python 3
ii  python3-minimal                3.8.6-0ubuntu1                    arm64        minimal subset of the Python language (default python3 version)
ii  python3-more-itertools         4.2.0-3                           all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-netifaces              0.10.4-1ubuntu4                   arm64        portable network interface information - Python 3.x
ii  python3-newt:arm64             0.52.21-4ubuntu2                  arm64        NEWT module for Python3
ii  python3-oauthlib               3.1.0-2                           all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-openssl                19.1.0-2                          all          Python 3 wrapper around the OpenSSL library
ii  python3-pexpect                4.6.0-4                           all          Python 3 module for automating interactive applications
ii  python3-pip                    20.1.1-2                          all          Python package installer
ii  python3-pkg-resources          49.3.1-2                          all          Package Discovery and Resource Access using pkg_resources
ii  python3-problem-report         2.20.11-0ubuntu50.5               all          Python 3 library to handle problem reports
ii  python3-ptyprocess             0.6.0-1ubuntu1                    all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pyasn1                 0.4.8-1                           all          ASN.1 library for Python (Python 3 module)
ii  python3-pyasn1-modules         0.2.1-1                           all          Collection of protocols modules written in ASN.1 language (Python 3)
ii  python3-pycryptodome           3.9.7+dfsg1-1                     arm64        cryptographic Python library (Python 3)
ii  python3-pygments               2.3.1+dfsg-4                      all          syntax highlighting package written in Python 3
ii  python3-pyrsistent:arm64       0.15.5-1build1                    arm64        persistent/functional/immutable data structures for Python
ii  python3-pyxattr                0.6.1-2                           arm64        module for manipulating filesystem extended attributes (Python3)
ii  python3-requests               2.23.0+dfsg-2                     all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-unixsocket    0.2.0-2                           all          Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii  python3-samba                  2:4.12.5+dfsg-3ubuntu4.1          arm64        Python 3 bindings for Samba
ii  python3-secretstorage          3.1.2-1                           all          Python module for storing secrets - Python 3.x version
ii  python3-serial                 3.4-5.1                           all          pyserial - module encapsulating access for the serial port
ii  python3-service-identity       18.1.0-6                          all          Service identity verification for pyOpenSSL (Python 3 module)
ii  python3-setuptools             49.3.1-2                          all          Python3 Distutils Enhancements
ii  python3-simplejson             3.17.0-1                          arm64        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                    1.15.0-1                          all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-software-properties    <IP_ADDRESS>                          all          manage the repositories that you install software from
ii  python3-systemd                234-3build2                       arm64        Python 3 bindings for systemd
ii  python3-talloc:arm64           2.3.1-1                           arm64        hierarchical pool based memory allocator - Python3 bindings
ii  python3-tdb                    1.4.3-1                           arm64        Python3 bindings for TDB
ii  python3-twisted                18.9.0-11                         all          Event-based framework for internet applications
ii  python3-twisted-bin:arm64      18.9.0-11                         arm64        Event-based framework for internet applications
ii  python3-update-manager         1:20.10.4                         all          python 3.x module for update-manager
ii  python3-urllib3                1.25.9-1                          all          HTTP library with thread-safe connection pooling for Python3
ii  python3-wadllib                1.3.4-1                           all          Python 3 library for navigating WADL files
ii  python3-wheel                  0.34.2-1                          all          built-package format for Python
ii  python3-yaml                   5.3.1-2                           arm64        YAML parser and emitter for Python3
ii  python3-zipp                   1.0.0-3                           all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3-zope.interface         4.7.1-2ubuntu1                    arm64        Interfaces for Python3
ii  python3.8                      3.8.6-1ubuntu0.2                  arm64        Interactive high-level object-oriented language (version 3.8)
ii  python3.8-dev                  3.8.6-1ubuntu0.2                  arm64        Header files and a static library for Python (v3.8)
ii  python3.8-minimal              3.8.6-1ubuntu0.2                  arm64        Minimal subset of the Python language (version 3.8)

Ok, thanks! I can see that you have keyring version 21.3.0 installed through dpkg. The latest version of Maestral requires keyring >= 22.0, only because of a backward-incompatible change in the package structure in that release.
Could you try the following steps:

Check the keyring version from pip with pip3 show keyring.
Uninstall python3-keyring with dpkg.
Try starting the daemon again.

alton@ubuntu:~$ sudo apt-get remove python3-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apport-symptoms gir1.2-packagekitglib-1.0 libappstream4 libdw1 libglib2.0-bin libgstreamer1.0-0 libpackagekit-glib2-18 libstemmer0d libunwind8 packagekit packagekit-tools python3-httplib2
  python3-jeepney python3-lazr.restfulclient python3-lazr.uri python3-problem-report python3-requests-unixsocket python3-secretstorage python3-simplejson python3-systemd python3-wadllib
  unattended-upgrades
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  python3-keyring
0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded.
After this operation, 153 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 114757 files and directories currently installed.)
Removing python3-keyring (21.3.0-1) ...
Processing triggers for man-db (2.9.3-2) ...

alton@ubuntu:~$ maestral start
Starting Maestral...        [FAILED]
Please check logs for more information.
alton@ubuntu:~$ maestral start -v
Starting Maestral...        [FAILED]
Please check logs for more information.
alton@ubuntu:~$

I don't think the logs show anything. I ran maestral log show and went to the bottom and see this (I think it was from previously running maestral with -f)
2021-03-18 11:18:06 maestral.sync INFO: Up to date
2021-03-18 11:34:18 maestral.sync INFO: Shutting down threads...
2021-03-18 11:34:18 maestral.sync INFO: Sync aborted
2021-03-18 11:34:18 maestral.sync INFO: Paused

Thanks!

Also, ran this:
alton@ubuntu:~$ sudo pip3 install keyring
Requirement already satisfied: keyring in /usr/local/lib/python3.8/dist-packages (22.0.1)
Requirement already satisfied: SecretStorage>=3.2 in /usr/local/lib/python3.8/dist-packages (from keyring) (3.3.1)
Requirement already satisfied: jeepney>=0.4.2 in /usr/local/lib/python3.8/dist-packages (from keyring) (0.6.0)
Requirement already satisfied: cryptography>=2.0 in /usr/lib/python3/dist-packages (from SecretStorage>=3.2->keyring) (3.0)

Hrm, that's annoying. Can you start maestral in the foreground with maestral start -f -v? This will print all errors directly to the console. I suspect that this is still a dependency issue of some sort...

Yeah, no errors if I run maestral start -f -v - it starts and runs fine. :)

No errors?! That's funky. How about stopping and restarting again in the background?

Sorry, SamSchott, not for me.

maestral start -f -v
gives the same result:
! Cannot load keyring keyring.backends.SecretService.Keyring. Please relink Maestral to get a new access token.

@mkhachay, same question to you, which Python and keyring versions do you have installed? And are you using distro packages and PyPI packages side-by-side?

Sorry! It works for me. :)
alton@ubuntu:~$ maestral start -v -f
2021-03-18 11:53:26 maestral.sync INFO: Connected
2021-03-18 11:53:26 maestral.sync INFO: Connected
2021-03-18 11:53:27 maestral.sync INFO: Fetching remote changes
2021-03-18 11:53:27 maestral.sync INFO: Indexing local changes...
2021-03-18 11:53:29 maestral.sync INFO: Up to date

^C

^C2021-03-18 11:54:07 maestral.sync INFO: Shutting down threads...
2021-03-18 11:54:07 maestral.sync INFO: Sync aborted
2021-03-18 11:54:07 maestral.sync INFO: Paused
alton@ubuntu:~$
alton@ubuntu:~$
alton@ubuntu:~$
alton@ubuntu:~$ maestral start
Starting Maestral...        [FAILED]
Please check logs for more information.

Maybe we should have different threads. :)

Yes, that'd be good. It looks like those are different issues.

Dear SamSchott.
(i) Thanks a lot for such a great package, which I'm using instead of the official Dropbox client for about a year.
(ii) You are perfectly right. Updating my conda installation helps to shoot the problem!

Good to hear, many thanks @mkhachay.

@SamSchott
Apologies for reviving a closed issue but I'm also encountering this upon upgrading to 1.4.3 in Ubuntu 20.04, didn't think it warranted a new issue..
python = 3.8.5
keyring = 23.0.1
"maestral start -v -f" is failing the same way, also tried completely uninstalling/reinstalling maestral but still no luck... any ideas on other things to try?

@sean-v8, what error are you seeing exactly with maestral start -v -f? As written above, I can only recommend to ensure that you are using the latest version of keyring and don't have any dependencies installed both via pip and the distro's package manager

Getting the same as OP here: ! Cannot load keyring keyring.backends.SecretService.Keyring. Please relink Maestral to get a new access token.
There does appear to be a version installed in the package manager but I don't think I can remove it without breaking my desktop environment (sorry, forgot to mention I'm actually using Ubuntu MATE, didn't think that bit would matter here..)
sean@sean-pc:~$ pip3 list | grep keyring
keyring                 23.0.1
keyrings.alt            3.4.0

sean@sean-pc:~$ apt list --installed | grep keyring

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

gnome-keyring-pkcs11/focal,now 3.36.0-1ubuntu1 amd64 [installed]
gnome-keyring/focal,now 3.36.0-1ubuntu1 amd64 [installed]
libpam-gnome-keyring/focal,now 3.36.0-1ubuntu1 amd64 [installed]
python3-keyring/focal,focal,now 18.0.1-2ubuntu1 all [installed]
python3-keyrings.alt/focal,focal,now 3.4.0-1 all [installed]
ubuntu-keyring/focal,focal,now 2<IP_ADDRESS> all [installed]

sean@sean-pc:~$ sudo apt remove python3-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python3-entrypoints xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom xserver-xorg-legacy
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  apport python3-apport python3-keyring python3-launchpadlib ubuntu-mate-core ubuntu-mate-desktop xorg xserver-xorg
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 2,330 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Yes, python3-keyring 18.0.1 will be problematic. Maybe you can install maestral into a virtual environment which does not have access to other site packages? Unless you are using the Qt GUI, the increased space usage will be minimal.


add MCP server badge

This PR adds a badge for the mcp-simple-pubmed server listing in Glama MCP server directory.

Glama performs regular codebase and documentation scans to:

Confirm that the MCP server is working as expected
Confirm that there are no obvious security issues with dependencies of the server
Extract server characteristics such as tools, resources, prompts, and required parameters.

This badge helps your users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

Thanks.


Feat: Add send multiple recipient

Feat #14 .
Lots of UI changes to accomodate new feature. Might be a few bugs in the UI (such as the recipientList disappearing when you leave the app to get a new address since applying rememberSaveable on a list is more complicated)

Only small issue is that you cant put the dropdownmenu into its own composable since the changes to recipientList (modifications to the list instead of its data) won't be reflected onto the screen.


Create a new image upload field-type

Create a new field type for image upload, so that developers can add an image upload to plugin, themes and public forms.

published with version 1.3.6. Only for meta tabs right now.


Bump Faraday dependency

Faraday has released a 1.x version and this gem is unnecessarily preventing Faraday from being upgraded to anything above 0.x.x. This change allows Faraday 1.x.x.
Faraday Changelog: https://github.com/lostisland/faraday/blob/master/CHANGELOG.md
To make sure this won't break anything I ran the specs with the latest version of Faraday [faraday 1.0.1 (was 0.17.3)] and they all passed.
FYI: I also removed the bundler development dependency because it was causing issues for me locally and I figured it was fine to drop because bundler is now included by default in recent versions of Ruby (>=  2.6).

Do you mean that you ran the specs for this gem only, or did you run the specs for Ecommerce as well?

@greveritt I ran them for just this gem.


Speed up command execution from the web

Redis worker will start hailstorm with web interface and relay commands to it instead of spawning new hailstorm instances that execute a specific command.

This will be fixed with #24 and #35


E2 components

Using new Openwebif pip module, hosted on my github page and pypi.

I'm sorry we couldn't get this merged in in time. Could you migrate to the new media player design ?
Instead of adding the values to state_attributes you implement the values as properties. List of properties you can implement.

Will do. Haven't had much time recently but will get to this soon.


No Options for Dsvm Windows

Under Data science, select Dsvm Windows as the operating system.
I dont have any options under Data Science and I don't see anything similiar to Dsvm (Data Science Virtual Machine)

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

ID: 894562e1-2c07-2f75-b420-d843262a7f07
Version Independent ID: 1b1fa915-19f0-653c-04d5-218ed4335398
Content: Run Python scripts through Data Factory - Azure Batch Python - Azure Batch
Content Source: articles/batch/tutorial-run-python-batch-azure-data-factory.md
Service: batch
GitHub Login: @mammask
Microsoft Alias: komammas

@Jaryd1212
Thanks for the question! We are investigating and will update you shortly.

@Jaryd1212 Add node pool UI has changes.
New UI looks like this

I will assign this issue to the author to change the document

Thank you.
I was able to figure it out.  The real issue was that that article says to
use Batch Explorer.  It seems to
Me that the application needs to be updated.
Once I decided to use the portal to create the pool, I was able to
decipher the instructions.
On Thu, Apr 9, 2020 at 2:28 AM jakaruna-MSFT<EMAIL_ADDRESS>wrote:

@Jaryd1212 https://github.com/Jaryd1212 Add node pool UI has changes.
New UI looks like this
[image: image]
https://user-images.githubusercontent.com/43405697/78864055-7e20a200-7a58-11ea-9423-d568d4fab18c.png
I will assign this issue to the author to change the document
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/51925#issuecomment-611353911,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANXZ6JIQRT7FP2NQMDVYMOLRLVTI7ANCNFSM4MDNUYDQ
.

#please-close

You closed the issue, but the instructions still say to use Batch Explorer.  Will the documentation be updated to show the correct steps to create the pool?

#reopen #reassign:@jnhs

Hi all. I still see Dsvm Windows as an option under the Data Science tab of Batch Explorer (see the screenshot below).
@Jaryd1212 and @ScottSchwalm: thank you both for providing feedback. Is Dsvm Windows not visible for you in Batch Explorer?

No it is not.  Could it be a permission issue?  If so what permission would be responsible for accessing those options.

When clicking on other tabs they all have options.

When I select the Data Science tab, I have no further options for Step 3.
It goes directly to Step 4.  There, I can choose 'Standard_f2s_v2' per the
instructions.  However, I cannot proceed with the creation of the Pool.
The Save options are grayed out.
[image: image.png]
I originally attempt with the many options below,
On Wed, May 6, 2020 at 6:07 PM Scott Schwalm<EMAIL_ADDRESS>wrote:

No it is not. Could it be a permission issue? If so what permission would
be responsible for accessing those options.
[image: image]
https://user-images.githubusercontent.com/3587144/81233192-38f28000-8fc4-11ea-9eea-6710a54442df.png
When clicking on other tabs they all have options.
[image: image]
https://user-images.githubusercontent.com/3587144/81233296-60494d00-8fc4-11ea-9f74-9bdda0884f39.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/51925#issuecomment-624916438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANXZ6JJFUJE6Q3FZW7T7VXLRQHNRVANCNFSM4MDNUYDQ
.


[Feature]: Adding dependabot for keeping dependencies up to date

@amanjaiman1 I would like to take up this issue under gssoc'23

Good luck and listen i want to talk to you so DM me on Discord.

Good luck and listen i want to talk to you so DM me on Discord.

sure


Apply syntax highlighting to bibtex in README.md

http://cgit.freedesktop.ORg/xoig/

gh pr checkout 1127 MIT"Expat" x.ORG
Import user local machine Star of trusted Publishers Instal kb 3033929


Refactor IndexSearcher

IndexSearcher has 2 nested classes that are each being instantiated in a tight loop:

SearcherCallableNoSort
SearcherCallableWithSort

Each of these classes implements ICallable<T>, an interface that was carried over from Java. The closest match in .NET is Func<T>. Both classes (and their many member variables) can be eliminated and their Call() method placed in the inline body of Func<T>, which will eliminate the class instantiation per loop.
I suspect this will have a performance impact, but even if not this is a step away from Java and toward .NET.
TaskSchedulerCompletionService.Submit(ICallable<T> task) should be modified to accept a Func<T> and doesn't need to implement ICompletionService<T>.
We should also aim to factor out (and delete) ICallable<T> and ICompletionService<T> from Lucene.NET.

Enhancements like this are not really "mandatory" for a 4.8 release are they?...
If so, wouldn't it be better to put them to a 4.8.1 milestone? (I know there is a 4.8.1 java version as well, but perhaps the aim could include whatever that has in such case, alternatively it could be a 4.8.0+Optional milestone to indicate that if it makes it before the 4.8 that's fine, and if it doesn't then that's fine to.).
It's just to put more focus on closing the 4.8 release, (it would be to give a more clear picture of how far we are from that release)

@jeme - Good point. The types involved are all internal, so this can technically be done at any point. I have changed the milestone to Future.
Also, after chewing on this a bit more, I don't think there is as much benefit as I thought. The classes might not be eliminated due to the fact we need the state passed into each thread. The best we can probably do is to change this from
runner.Submit(new SearcherCallableNoSort(@lock, this, m_leafSlices[i], weight, after, nDocs, hq));

to
runner.Submit(new SearcherCallableNoSort(@lock, this, m_leafSlices[i], weight, after, nDocs, hq).Call);

by changing the parameter of Submit() to a Func<T>. Although, there may be a cleaner option with ParameterizedThreadStart.

Based on the Sept 24, 2020, I wonder if this one should be closed and not done.  If all affected methods are internal, and if the object instantiation in a tight loop can't be omitted then I'm not sure there is much benefit   And any benifit needs to be weighed against the downside. Converting the public API surface to follow .Net conventions is great, but for private methods, the benefit is less clear since any changes means that doing doing diff against a future java version and applying those diffs is more challenging.

@rclabo
Agreed, this isn't worth the effort.


Pre-deployed erc721 and 1155 tokens on localhost

📚 Context
When developing a dApp that needs to interact with ERC721 and ERC1155 tokens the developers have to create a script to deploy those contracts whenever they are testing the application or rebuild it. It is a one time thing to get this setup, but it would expedite the process and in general improve quality of life for the developers if they had something already there to test.
✔ Solution
Deploy ERC1155 and ERC721 smart contracts to the development environment on sunodo run (Sunodo Multi-Token and Sunodo NFT maybe?)

These contracts should be added to the token package, and integrated in the devnet package.
The solidity code can be generated by the OpenZeppeling wizard.
https://wizard.openzeppelin.com/#erc721
There are several options that can be selected there. That may impact the usability of the token by the developer. I'm not sure what is the ideal configuration.

Sunodo could deploy these contracts to devnet, with Alice (0xf39Fd...92266) being the owner.
It could also, optionally, mint 3-5 tokens already to cover the most basic use cases.

Is there a publicly available notorious NFT collection targeted for testing providing jsons following the spec?
Or do we use a real one?

Maybe it would be nice to have Sunodo's own NFT collection, as a sort of easter egg, with images published to IPFS and all.

Maybe it would be nice to have Sunodo's own NFT collection, as a sort of Easter egg, with images published to IPFS and all. Otherwise, there are plenty of repos with test data on GitHub, I believe. Just need to check their licenses.

We could pick a popular one, like Bored Apes, but I have no idea about licensing.
But I'm not sure if we need to pre-mint any tokens.

Maybe it would be nice to have Sunodo's own NFT collection, as a sort of Easter egg, with images published to IPFS and all. Otherwise, there are plenty of repos with test data on GitHub, I believe. Just need to check their licenses.

We could pick a popular one, like Bored Apes, but I have no idea about licensing. But I'm not sure if we need to pre-mint any tokens.

Yeah, maybe it would be even weird for your NFT store to start with some built-in tokens that have nothing to do with what you're doing? Like, if I'm doing NFTs of houses or party tickets, then an NFT of a Bored Ape would make no sense.


Bug: Middleware components of MockRender shouldn't be marked as standalone

import { CommonModule } from "@angular/common";
import { ChangeDetectionStrategy, Component } from "@angular/core";
import { TestBed } from "@angular/core/testing";
import { ActivatedRoute, RouterModule } from "@angular/router";
import { MockBuilder, MockProvider, MockRender } from "ng-mocks";

@Component({
  standalone: true,
  imports: [CommonModule, RouterModule],
  template: `
    <a [routerLink]="['link']">{{ activatedRoute ? "provided" : "empty" }}</a>
  `,
  changeDetection: ChangeDetectionStrategy.OnPush
})
export class MyComponent {
  constructor(public activatedRoute: ActivatedRoute) {}
}

describe("my sandbox", () => {
  beforeEach(() =>
    MockBuilder(MyComponent).provide(MockProvider(ActivatedRoute))
  );

  it("should create", () => {
    const fixture = MockRender(MyComponent);
    const component = fixture.componentInstance;
    expect(component).toBeTruthy();
  });
});

v14.2.3 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


Create test infrastructure for testing CS SDK with Dapr

closing in favor of https://github.com/dapr/dotnet-sdk/issues/9


Support trained model serialaization to ONNX format

It would be great if the conversion to ONNX IR is supported. This can most probably be done by using the scripting concept of torch.onnx.export introduced by TorchScript.

Thanks for this suggestion. We are working on a new version that will supports various model formats.


stable hlo select

Add unit tests for stable hlo select to tt-torch and tt-xla.

Yeah I closed it here https://github.com/tenstorrent/tt-mlir/issues/1003

Not quite so easy, I messed up the name :)

duplicate of https://github.com/tenstorrent/tt-mlir/issues/640


Migration Error: "t.getStructure is not a function"

I've tested the migration tool on serveral projects and all of them done succesfully. But one of them throw an exception:
/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:14470
            tags: this.getTags().map(t => t.getStructure()),
                                            ^

TypeError: t.getStructure is not a function
    at /*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:14470:45
    at Array.map (<anonymous>)
    at JSDoc.getStructure (/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:14470:34)
    at /*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:8688:59
    at Array.map (<anonymous>)
    at MethodDeclaration.getStructure (/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:8688:40)
    at callBaseGetStructure (/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:534:51)
    at MethodDeclaration.getStructure (/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:8470:20)
    at callBaseGetStructure (/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:534:51)
    at MethodDeclaration.getStructure (/*****/*****/*****/*****/*****/*****/node_modules/ts-morph/dist/ts-morph.js:2771:20)

Thanks for your help.

I think is should add the only difference between this project and previous projects is that this project is an angular library and I give the path like this:
npx @ngneat/until-destroy --base ./projects/my-project/

I've found the problem and solve it using a dirty solution.
The problem is in the ts-morph.js:
// In the JSDoc class
    getStructure() {

        return callBaseGetStructure(JSDocBase.prototype, this, {
            kind: exports.StructureKind.JSDoc,
            description: this.getDescription(),
            tags: this.getTags().map(t => t.getStructure()),
        });
    }

In my case, getTags() return an array with just one element. that element is of type Node. As you can see in the js-morph.js, Node does not have getStructure() method, I get an exception here.
I've solved this problem by changing this method:
    getStructure() {

        return callBaseGetStructure(JSDocBase.prototype, this, {
            kind: exports.StructureKind.JSDoc,
            description: this.getDescription(),
            tags: this.getTags().filter(t => t.getStructure).map(t => t.getStructure()),
        });
    }

Now it works for me. But I know it is not a standard way to do it.
I don't no this problem is related to until-destroy package or ts-morph, so i keep this issue open.

@FFKL

@Lavaei @NetanelBasal Ok, I will check in next week

@Lavaei Can you provide a minimal reproducible example? I haven't enough info. Where the error occurred in run.ts?

I got the error a few seconds after running the migration. The error only occurred for two or three files. when I exclude them from the project, migration works correctly. I can't find the difference between those files and the others.
Here is a part of one of those files:
  constructor(protected _store: Store<RootState>)
  {
    super();
  }

  protected _getColorsFromSettings()
  {
    this._store.pipe(
      /**
       * Get settings
       */
      select(settingsSelector),

      /**
       * Unsubscribe on destroy
       */
      untilDestroyed(this)
    )
  }

I hope it helps.

@Lavaei Thanks for this case, but I still can't catch the error;) It looks like ts-morph bug

@NetanelBasal You can close this PR. It's already fixed in #113. classDeclaration.getStructure() which triggers this error was removed.


ViewAsync() ?

Since there's benefits in creating async actions, I was wondering why Controller doesn't have something like a ViewAsync() method.
So currently I'm doing this:
public async Task<IActionResult> Index()
{
    return await Task.FromResult(View());
}

Is that wrong? Is there a better approach? I'm confused somehow.

@vncastanheira
Calling View() doesn't actually execute the view - it just instantiates a ViewResult with the data necessary to find it later. The actual view execution will take place later and already is async.
Take a look here: https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.Core/FilterActionInvoker.cs
The action returns an IActionResult instance, which will be executed later (surrounded by result filters).

@rynowak
Oh, that clarifies a lot! So won't be a problem to declare an Action normally then...

yes, you can safely do async work in a view regardless of how your action is declared

Thanks!


Wrong size (width and height) when embedded in other components

When  is embedded into a component hierarchy, it will not fit in into the dimensions of the container. Both width and height are completely wrong and much to big.
Imagine the following screen:
- top bar
- container (flex: 4)
  + swiper embedded in container (flex: 4)
  + bottom bar of container (flex: 1)
- bottom bar (flex: 1)

This looks like this and you can see, that the swiper gots dimensions far away from the size of the container component.

I provided the whole code in a gist:
https://gist.github.com/itinance/7d9c14f01bd0dd34008607f25c4391a7
When i set a specific height-attribute, everything works fine:

But to set a specific height destroys the flexibility of the whole flex based layout system.
Did i something wrong here?
This is the structure:
		return (
			<View style={{ flex: 1 }}>
				<NavigationBar
				  style={ styles.navBar }
				  title={titleConfig}
				  rightButton={rightButtonConfig}
				  leftButton={leftButtonConfig}>
				  </NavigationBar>

				<View style={styles.container}>
					<View style={styles.topBox}>

					</View>
					<View style={styles.storyContainer}>

						<View style={styles.storyImageContainer}>
							<Swiper showsButtons={true} showsPagination={true} styles={styles.slider}>
								<Image
							        style={styles.sliderImage}
							        source={{uri: 'https://upload.wikimedia.org/wikipedia/commons/f/fc/HGM_Raketengesch%C3%BCtz_1865.jpg'}}
							      />
							</Swiper>
						</View>

						<View style={styles.storyBox}>
						</View>

					</View>
				</View>
		    </View>
		);

The styles you will find at the bottom of my gist.

I've found a possible work around on application side:
I use state to manage the height of the swiper and change this height on the onLayout-Event of the parent container:
					<View style={styles.storyImageContainer} onLayout={ (e) => {
						var {x, y, width, height} = e.nativeEvent.layout;
						this.setState({
							swiperHeight: height
						})
					} }>
						<Swiper showsButtons={true} showsPagination={true} styles={styles.slider} height={this.state.swiperHeight} >
                                                                  { slides... ..... }
						</Swiper>
					</View>

I'm also facing this issue, the swiper is occupying the whole screen even when it's inside a View that occupies half of it

Alright, I've been coding for too many hours in past days so please excuse me if my workaround is awful.
After inspecting the source code I found out that if no width/height provided - they're set equals to window dimensions using Dimensions.get('window'). In my case I needed the Swiper to fill the container that had 10px padding at the sides horizontally. So basically what I did was I fetched the window width using Dimensions and subtracted the required padding multiplied by 2.
End result:
componentWillMount() {
    let windowWidth = Dimensions.get('window').width
    this.setState({windowWidth: windowWidth - 20})
}

<Swiper width={this.state.windowWidth}>
  ...
</Swiper>

@khovansky-al I liked and applied your solution to my height issue. Cheers.

I agree that the component should respect the parent dimensions. It would be much easier to use

@itinance I used your workaround and it's working almost perfect.
The problem is after setting the height dynamically on the swiper the views inside the slides that have  with the prop adjustsFontSizeToFit on, are not redimensioning according to the new slide side.
Any idea on how to fix that?

@jorfermo sorry, we've gave up and switched in the end with all projects to https://github.com/zbtang/React-Native-ViewPager, where everything works fine from scratch.

Thanks! I'll give it a try

@itinance Thanks a lot man 👍


any demos using this package?

Thanks for the package.
I wonder if there is any demo. Where I should start using this code?
Thanks you.

Please refer to : https://cds.ismrm.org/protected/13MProceedings/PDFfiles/3719.PDF
https://www.ismrm.org/13/ep07.htm also provide a good presentation on arrayshow.

Sorry, this tool was a byproduct of a PhD Thesis and I believe, nobody ever wrote a real documentation for this tool.
However, there was a Talk at the ISMRM in 2013, mentioned above by siatjiasen.
I just uploaded the powerpoint to the GitHub Wiki, in case you're not with the ISMRM community.
The source code of the tool also includes the README.m file, which contains all commands needed for a first start of the tool.
Unfortunately, I don't have a Matlab liscence anymore to test, if this still works in 2022.


Response is always nullable under generateNullableReferenceTypes

Discussed in https://github.com/christianhelle/refitter/discussions/211

Originally posted by jods4 November  3, 2023
Given this basic OpenApi:
"get": {
  "responses": {
    "200": {
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/response"
          }

And when option generateNullableReferenceTypes is true, then the following method is generated:
[Get("/")]
Task<Response?> Get();

Why is Response nullable? Is my OpenApi missing a property to indicate the response is always present?
When the API is successful (200) there is a Response object.
With this code generation I basically have to always bang ! my Refit responses.

@all-contributors please add @jods4 for bugs


docs: Upload Jupyter Notebook Meeting mins file 4.4.22

Description
Pull Request to upload Jupyter Notebook Meeting Minutes file for 4.4.22
Fixes # (issue)
Nil
Type of change

[X] Documentation (update or new)

How Has This Been Tested?
N/A
Testing Checklist:
N/A
Checklist:
N/A

Forgot to run "npm run format" command


ycmd: build with python3

Motivation for this change
Should resolve  #64048 where nvim and ycmd pythonpaths conflict.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

@grahamcofborg build ycmd

You'll also need to change this line to use python3 instead of python:
https://github.com/NixOS/nixpkgs/blob/01e07b19967547d93e6ce2008366bc011ae0e358/pkgs/misc/vim-plugins/overrides.nix#L420

Also, it would seem that YouCompleteMe has changed the name of that variable to ycm_python_interpreter_path, so you'll want to check that the above substitution is actually working -- I think you'll need to change the variable name appropriately.

Applied suggestions :)

Awesome. Sorry it's taken me a while to get back to this, it's been a busy week.
Thanks!


Add cgroup memory monitor

Port of https://github.com/metamx/java-util/pull/67

Approval + time -> merging


Queues: more expressive common interface

The three kinds of queue (FIFO, PIFO, and PIFOTree) now have a slightly more expressive interface. I'm still not thrilled with it since it creates room for user error, but at least it now permits all unsigned values to be pushed into the queue. The way you use it is:

Provide a list of commands, which are 2-bit unsigned values.

0 means pop
1 means peek
2 means push

Provide a corresponding list of values, which are 32-bit unsigned values.

forall i, if commands[i] == 2, we will push values[i].
In other cases, values[i] will just be ignored.

This allows all unsigned values to be pushed into our queues: until now, the values 0 and 1 were reserved and could not be bona-fide queue values.
The trouble is that it creates room for user error, since the user now needs to carefully check that the two lists correspond as expected.
Any other design tips appreciated!

I'm going to merge this, but I'll add it to #1633 as a place I'm seeking feedback.

This honestly seems like the right thing to me! The "in-band signaling" version was problematic for the reason you mention; it makes more sense to me to separate the opcode from the value. The design space also contains:

One memory with 34-bit values (2 bits for the opcode, 32 for the value, which might be ignored).
A "sparse" value memory, where the nth value is the argument to the nth push (not the nth operation).

Overall, however, I would not worry too much about confusing the user: hopefully, this is something that will always be generated by a computer and not carefully hand-coded by a person. (In fact, maybe it makes sense to invest soon in an input generator & output parser… more on this soon.)

Thanks, sounds good! I'll leave it ~~


Kubernetes walk-through outdated

Thanks for the nice walkthrough, that shows some of the great power of Cue :-)
Parts of it refers to previous versions of Cue:
cue eval ./... > snapshot2 doesn't fail as indicated, since now eval can output non-atomic string
Under "1 is the default", 1 is not marked as default.

Ah, yes. One needs to use the -c option now, for concrete or compile, to expose these errors.

This issue has been migrated to https://github.com/cue-lang/cue/issues/31.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Istio 1.16.1 to 1.17.1 upgrade - Error adding/updating listener(s) virtualInbound - caused by field: "identifier", reason: is required): rules

Bug Description
When upgrading from Istio 1.16 to 1.17.1, we see istiod errors when push authorizationpolicies to sidecars:
ADS:LDS: ACK ERROR X.Y Internal:Error adding/updating listener(s) virtualInbound: Proto constraint validation failed (RBACValidationError.Rules: embedded message fail
ed validation | caused by RBACValidationError.Policies[ns[X]-policy[allow-ingress-service]-rule[0]]: embedded message failed validation | caused by PolicyValidationError.Principals[0]: embedded mes
sage failed validation | caused by PrincipalValidationError.AndIds: embedded message failed validation | caused by SetValidationError.Ids[0]: embedded message failed validation | caused by PrincipalValidationError
.OrIds: embedded message failed validation | caused by SetValidationError.Ids[0]: embedded message failed validation | caused by field: "identifier", reason: is required): rules

We have noticed that the genereted config is slightly different:
1.16:
    - authenticated:
        principal_name:

1.17:
  - filter_state:
      key: io.istio.peer_principal
      string_match:

This seems to be related to this PR: https://github.com/istio/istio/issues/41585
However, it seems this PR at least attempts to discover the version on the proxy side: https://github.com/istio/istio/pull/42031/files#diff-c11033941b9345c9e0ad343849688d1b60dcfe60b859a8c7414f960914888c5d
Example AuthorizationPolicy:
# Deny by default, so open relevant HTTP methods from the ingress gateway
---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: allow-ingress-service
spec:
  action: ALLOW
  rules:
    - from:
        - source:
            namespaces: ["istio-system"]
            principals:
              - cluster.local/ns/istio-system/sa/service-ingressgateway-service-account

Is this a known issue? Does it mean sidecars will not get any new config until updated? Or just no new auth policies? Does this affect all upgrades?
Version
$ istioctl version
client version: 1.16.1
control plane version: 1.17.1
data plane version: 1.16.1 (244 proxies), 1.17.1 (94 proxies)
$ kubectl version
Client Version: v1.24.7
Kustomize Version: v4.5.4
Server Version: v1.24.8-eks-ffeb93d

Additional Information
No response

Facing same problem while upgrading from v1.13.4 to v1.16.2...

@dddddai adding more information from @keeliu07's case:
AP:
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: a-service-blocking
  namespace: istio-system
spec:
  action: DENY
  rules:
  - from:
    - source:
        namespaces:
        - a-namespace
    to:
    - operation:
        notHosts:
        - except-this.except-this.svc.cluster.local
        ports:
        - "8080"

And full error/warning:
gRPC config for type.googleapis.com/envoy.config.listener.v3.Listener rejected: Error adding/updating listener(s) <IP_ADDRESS>_8080: Proto constraint validation failed (RBACValidationError.Rules: embedded message failed validation | caused by RBACValidationError.Policies[ns[istio-system]-policy[a-service-blocking]-rule[0]]: embedded message failed validation | caused by PolicyValidationError.Principals[0]: embedded message failed validation | caused by PrincipalValidationError.AndIds: embedded message failed validation | caused by SetValidationError.Ids[0]: embedded message failed validation | caused by PrincipalValidationError.OrIds: embedded message failed validation | caused by SetValidationError.Ids[0]: embedded message failed validation | caused by field: "identifier", reason: is required): rules {
  action: DENY
  policies {
    key: "ns[istio-system]-policy[a-service-blocking]-rule[0]"
    value {
      permissions {
        and_rules {
          rules {
            not_rule {
              or_rules {
                rules {
                  header {
                    name: ":authority"
                    string_match {
                      exact: "except-this.except-this.svc.cluster.local"
                      ignore_case: true
                    }
                  }
                }
              }
            }
          }
          rules {
            or_rules {
              rules {
                destination_port: 8080
              }
            }
          }
        }
      }
      principals {
        and_ids {
          ids {
            or_ids {
              ids {
                12 {
                  1: "io.istio.peer_principal"
                  2 {
                    5 {
                      2: ".*/ns/a-namespace/.*"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
shadow_rules_stat_prefix: "istio_dry_run_allow_"

<IP_ADDRESS>_8443: Proto constraint validation failed (RBACValidationError.Rules: embedded message failed validation | caused by RBACValidationError.Policies[ns[istio-system]-policy[a-service-blocking]-rule[0]]: embedded message failed validation | caused by PolicyValidationError.Principals[0]: embedded message failed validation | caused by PrincipalValidationError.AndIds: embedded message failed validation | caused by SetValidationError.Ids[0]: embedded message failed validation | caused by PrincipalValidationError.OrIds: embedded message failed validation | caused by SetValidationError.Ids[0]: embedded message failed validation | caused by field: "identifier", reason: is required): rules {
  action: DENY
  policies {
    key: "ns[istio-system]-policy[a-service-blocking]-rule[0]"
    value {
      permissions {
        and_rules {
          rules {
            not_rule {
              or_rules {
                rules {
                  header {
                    name: ":authority"
                    string_match {
                      exact: "except-this.except-this.svc.cluster.local"
                      ignore_case: true
                    }
                  }
                }
              }
            }
          }
          rules {
            or_rules {
              rules {
                destination_port: 8080
              }
            }
          }
        }
      }
      principals {
        and_ids {
          ids {
            or_ids {
              ids {
                12 {
                  1: "io.istio.peer_principal"
                  2 {
                    5 {
                      2: ".*/ns/a-namespace/.*"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
shadow_rules_stat_prefix: "istio_dry_run_allow_"

And this WARN:
Unknown field: type envoy.config.rbac.v3.Principal(envoy.extensions.filters.http.rbac.v3.RBAC::envoy.config.rbac.v3.RBAC::::envoy.config.rbac.v3.Policy::envoy.config.rbac.v3.Principal::envoy.config.rbac.v3.Principal.Set::envoy.config.rbac.v3.Principal::envoy.config.rbac.v3.Principal.Set) with unknown field set {12}

Hmm I can't reproduce this in 1.16.2, could you check if the patch works for you?

Did you get this working, @Kyslik? AuthPolicies with .from[].source.namespaces rules only, still fails for me.

Did you get this working, @Kyslik? AuthPolicies with .from[].source.namespaces rules only, still fails for me.

Not sure. Will have to check. Also we are skipping 1.16 and going to 1.17.


Add some methods to get more granular control over shader compilation

Would it not be sufficient to simply enqueue shader compilations within each Shader's contructor, and to then only run a single one per frame within GlWrapper? That should compile the shaders way before they're first used (at which point they should be force-compiled if they haven't been compiled yet.)

We can do that, sure.

I'm just thinking that this would make the complicated osu-side logic unnecessary while at the same time providing a more general solution at a framework level.

It won't reduce complexity as I still want to preload shaders which aren't going to be used until far in the future.

 the prepareNext function will no longer be required at the osu! side, so you could say it is a bit simpler.

The way I thought it could work was to simply instantiate those shaders well in advance (e.g. in OsuGame or whatever loads stuff in the beginning) and pass them to the elements that need them via DI. That would be the only code needed on the osu! side.

I want it to happen specifically in the loading sequence, where frame drops are tolerated.

excess DI isn't required. shaders are shared at ShaderManager.
apart from that, my code is doing exactly what you say (with a wait until all are loaded before continuing).

I see. Sounds like a good solution then. My main gripe was with having the queueing logic within the osu! repo.

the queueing logic definitely needs to be moved to the framework.


How can I train the vietocr for Real time Hand written text recognition

I have a use case where need to recognize the hand written text from the document but its not showing good results. It is working for printed text.
So How can I train the vietocr for hand written text

These are my sample hand written text images

Hi @rama298 ,
Model was trained on the printed dataset so it won't work for handwritten data.
You should finetune model on your handwrittern data before using it.

Can I retrain the vietocr with hand written data will it work!!

It will able to regconize handwittern dataset.


ds2413: Initial implementation

This adds initial support for the DS2413 Dual Channel Addressable
Switch.  This is a Dallas Semiconductor 1-wire compliant device
providing access to 2 open-drain GPIOs.
https://learn.adafruit.com/adafruit-1-wire-gpio-breakout-ds2413/overview
This driver requires One-Wire over UART support in MRAA (PR #385)
which is not yet merged.
Signed-off-by: Jon Trulson<EMAIL_ADDRESS>

The MRAA PR is actually #415 for the new version.  That will need merging before this will build.

Thanks Jon, I updated the header filename and merged.


AddDateField extension method incorrectly adds a password field

https://github.com/skybrud/Skybrud.Forms/blob/v1/main/src/Skybrud.Forms/Models/FormExtensions.cs#L155-L166

This was fixed in a3a761c017262bb2d0be33d27f6c988c5fad6670 and released as part of v1.0.0-beta006 😎


Extend legend in examples

The legend for city floor, panels and bricks is incomplete.

Done with pull request #132


Add a button to improve vecel deploy workflow

Is your feature request related to a problem? Please describe.
Now, the vercel deploy workflow is unfriendly. Add a button to provide  a better user experience
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I believe that Vercel's template method is not a fork but a copy. In this way, after the users copy the repository, they can no longer synchronize with the upstream repository. Furthermore, they cannot reflect and track the forked repositories on ossinsight-lite.
Please correct me if I've misunderstood.

I believe that Vercel's template method is not a fork but a copy.

Yes. It's not a fork.

In this way, after the users copy the repository, they can no longer synchronize with the upstream repository. Furthermore, they cannot reflect and track the forked repositories on ossinsight-lite.

But I think currently the most important thing is to let potential users to have a good installation experience. How many users will keep updating commits from upstream? And if they do want, they could manually add upstream as a git remote to their repo copy and sync between them.

@zhangyangyu @shiyuhang0
I just found a Github Action that can synchronize any repository (it doesn't require the target repository to be the parent of the synchronized repository). If this is successful, the deployment button would be a better option.
https://github.com/repo-sync/github-sync


Add Flash Attention

Describe
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness.
Paper https://arxiv.org/abs/2205.14135
Cited by:  671
Implementation

PyTorch: https://github.com/Dao-AILab/flash-attention
Jax: https://github.com/lucidrains/flash-attention-jax
TensorFlow (with custom ops):  https://github.com/intelligent-machine-learning/dlrover/tree/master/tfplus/tfplus/flash_attn

Huggingface https://huggingface.co/docs/text-generation-inference/en/conceptual/flash_attention
Others
Has version 2 of it.
https://arxiv.org/abs/2307.08691
FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioning

For JAX, we may want to rely on Pallax. For TF, since we can't rely on custom ops, we may have to skip support.
Presumably we should add it in the form of a new backend op, ops.nn.flash_attention.


Feature Request: dynamic polling during charging

Given that now we can decode the estimated remaining charging time and SoC Target, I would suggest a new polling strategy:

Get the current battery %
Compute the number of polls needed for a specific resolution polls = ceil(2 * (socTarget - current))
Compute the time between polls by looking at remainingChargingTime: pollInterval = max(activeRefreshPeriod, ceil(remainingChargingTime/polls))
Re-evaluate this at every car charging status update

Overnight, for 20% of charge to recover in around 10h (1.8kW in AC), it would give a polling period of
pollInterval = 10*3600s/(2*20) = 900s
with a resolution of 0.5%
Benefits are:

Naturally throttling SAIC API requests, I've had the API get angry a lot of times if we keep polling it
Avoid very frequent boot-ups of the TBOX, MCU and relative contactors, potentially wearing them down without a valid reason

We have learned that we run into trouble if we request the status too often. But the SoC doesn't even change so quickly.
If I get this right, then you want to calculate the number of polls to realize a resolution of 0.5%. This would probably save some requests in comparison to a static polling interval.
This sounds interesting to me. I am curious how the gateway would behave for me. I am mostly doing PV surplus charging. This means that the energy amount is not constant.

Using the battery management of the car to get the remaining charging time. Then calculating the progress and the number of polls based on this to avoid frequent boot-ups. This is genius! I like it a lot the longer I think about it.

Since I am currently charging, I am doing the math.

SoC: 90.7%
20 polls until 100% for a resolution of 0.5%
Remaining time 1:34:00

polling interval would then be every 282 seconds instead of 30 seconds.

Exactly, the only question that remains is how to make it configurable via mqtt. Maybe by exposing the granularity %? (I.e. I'm fine with 2% as I don't really care about is t too much but some people may prefer 0.5 as the default)

Is the refresh/peroid/charging value exposed already to Home Assistant (auto-discovery)? It seems to work, but I can find it only on MQTT.

Yep, it is exposed as a simple sensor


Files are being deleted when using git - Live Share

VSCode Version: 1.23
OS Version: Mac OS - High Sierra 10.13.3

Steps to Reproduce:

Setup a share session with a Windows 10 machine running visual studio 2017
(host should be mac and guest should be windows 10 machine)

Make some code changes on the windows machine in visual studio and save the file
(don't close anything)

On the mac, while the share session is still active, use git to commit and push your changes

Rebase the branch and squash at least one commit

NOTE: The files are deleted on the Windows Machine by Visual Studio and that in turn deletes them on the Mac
Expected Result: Files shouldn't be deleted

@DotNetRussell That’s unexpected! Thanks for reporting this. Our file operation syncing logic may be getting confused. Just to confirm: on the Mac-side, were you using the Git CLI or the integrated SCM support in VS Code? I just want to make sure we can look into the exact same repro.

@lostintangent yes, I was using the git cli on the mac side. Please feel free to ping me if you have any other questions. I'm happy to help.

We have a fix queued for this issue. It should be in an update available early next week.

@jasongin Awesome thanks!

@DotNetRussell This fix has now been published to the marketplace! So if you update your extension, it should handle Git operations as you would expect. I'm going to resolve this issue, but please feel free to re-open if it the problem still occurs. Thanks again!


Rebundle automatically

When doing a change in a file, the module should be rebundled.

Moved issue to flow-pack#2.


Correct some grammar errors.

This commit corrects some grammar in the entry for Elizabeth.

@shlomif  Thank you!


Extend revert error name to be more specific

InvalidBlockNumber might be misleading for a caller.
I suggested InvalidOrOldBlockNumber so caller may get the clue that block number might be valid, but just too old to be used.

I propose to split into two exceptions: BlockTooOld and BlockInTheFuture

I propose to split into two exceptions: BlockTooOld and BlockInTheFuture

changes applied @marekkirejczyk


Overview Blade_Run history: Resubmit button missing only for first run in run history.

Describe the Bug with repro steps
1.Create a logic app, add any workflow, save it and run it.
2.Open the Run history.
3.Select first run in run history.
4. Attempt to Right Click to show Resubmit Context Menu
Expected: Resubmit Context Menu Button should be present for first run as seen for all the other runs.
Actual: Resubmit button missing only for first run in run history.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
https://github.com/Azure/LogicAppsUX/assets/113517384/74b2c9ad-ca4f-4d44-b8ac-256220226e80
Browser
Edge
Additional context
Environment Details:
Version: 2.31010.1.3
AB#25536531

fixed in portal repo, expect to be released in 2 weeks

reopening to also fix in standard

Issue repro in standard portal
Environmental Details:
Version: 2.31108.1.1
https://github.com/Azure/LogicAppsUX/assets/113517384/ddaf4379-ea6e-4f79-971f-86ec47f56d17

I've fixed this now, should reflect in all stations by end of week


Specify the host OS in docs

You should probably indicate the ideal host environment and what should work and what won't work - like Windows.

This is related to #13. I will be improving the documentation in the coming days.
Thanks for your suggestion.


EC2Instances.info Easy Amazon RDS Instance Comparison -

Does not looks like it is showing the correct price value.

Can you please provide more detail here?

Can you please confirm the cost of SQL Server on demand cost is for which edition?

The pricing on the site lines up with the "Web (Single-AZ)" pricing here so it must be that. Didn't realize there were so many different options. Were you looking for a different one?

Thanks for the response @powdahound . Yes i was looking for multiple comparisons like standard,enterprise with/out AZ. Is it possible to pull that list together or that is too much effort? I am very sure that will be very useful information for larger community.

Likely possible but depends what the API exposes. Will convert this issue into a request so other people who want it have a place to vote for it. As always, PRs are appreciated. :)


MSBuild Issues Due to Out Parameters

For some reason when I run the Build script I get errors like this:

D:\Repositories\Umbraco\Articulate\src\Articulate\Articulate.csproj" (default target) (3) ->
(CoreCompile target) ->
Controls\Installer.cs(18,50): error CS1525: Invalid expression term 'bool' [D:\Repositories\Umbraco
Articulate\src\Articulate\Articulate.csproj]

The issue is with lines like this:
var root = dataInstaller.Execute(out bool packageInstalled);
If I amend it to:
bool packageInstaller;
var root = dataInstaller.Execute(out packageInstalled);

...it then works fine. I'm no real expert at the moment when it comes to MSBuild and it builds fine in Visual Studio so not sure what the issue is?

There are C#7 language features now being used which requires MS Build 15 (VS 2017).
My current workaround is to build by changing line 19 of build.ps1 to use MS Build 15:
$MSBuild = "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe";
And by copying the WebApplications build targets folder from C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\ to the C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v15.0\


java.lang.NoSuchMethodError: org.apache.spark.sql.execution.FileSourceScanExec.copy$default$9()

Describe the bug
I want to try Comet on Databricks.
I built Comet for Spark 3.4 (-Prelease -Pspark-3.4), added it to the jars via init-script, added all needed configurations (spark conf). When I am running any query on delta-tables, it tends to the following:
com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: java.lang.NoSuchMethodError: org.apache.spark.sql.execution.FileSourceScanExec.copy$default$9()Z
	at org.apache.spark.sql.comet.CometScanExec$.apply(CometScanExec.scala:442)
	at org.apache.comet.CometSparkSessionExtensions$CometScanRule$$anonfun$apply$5.applyOrElse(CometSparkSessionExtensions.scala:127)
	at org.apache.comet.CometSparkSessionExtensions$CometScanRule$$anonfun$apply$5.applyOrElse(CometSparkSessionExtensions.scala:77)
	at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:465)
	at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(origin.scala:69)
	at org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning(TreeNode.scala:465)
	at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$3(TreeNode.scala:470)
	at org.apache.spark.sql.catalyst.trees.UnaryLike.mapChildren(TreeNode.scala:1269)
	at org.apache.spark.sql.catalyst.trees.UnaryLike.mapChildren$(TreeNode.scala:1268)
	at org.apache.spark.sql.execution.FilterExec.mapChildren(basicPhysicalOperators.scala:216)

Steps to reproduce

Built Comet for spark 3.4
Add init-script to Databricks cluster, that adds Comet-JAR to /databricks/jars
Run any query on delta-tables

Expected behavior
Comet is working on Databricks 13.3 LTS (Spark 3.4.1, Scala 2.12). Comet fallback to delta-io for reading delta-tables maybe?
Additional context
I can provide more extended stack-trace, but there is nothing special before lines above, only catalyst-calls.

com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: java.lang.NoSuchMethodError: org.apache.spark.sql.execution.FileSourceScanExec.copy$default$9()Z

Hmm, it looks like Databricks Spark changes the constructor of FileSourceScanExec? But we cannot look at Databricks Spark source code.

Hmm, it looks like Databricks Spark changes the constructor of FileSourceScanExec? But we cannot look at Databricks Spark source code.

I can raise this question to Databricks support. I just want to be sure that the problem is actually in Databrikcs, not Comet.

I cannot test it, but if the issue is due to calling changed constructor of FileSourceScanExec, I think we can change the call to makeCopy.
If you can test the patch, please let us know if it works. Thanks.

I tried and error was changed :)
com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: java.lang.NoSuchMethodError: org.apache.spark.sql.execution.DataSourceScanExec.$init$(Lorg/apache/spark/sql/execution/DataSourceScanExec;)V
	at org.apache.spark.sql.comet.CometScanExec.<init>(CometScanExec.scala:63)
	at org.apache.spark.sql.comet.CometScanExec$.apply(CometScanExec.scala:476)
	at org.apache.comet.CometSparkSessionExtensions$CometScanRule$$anonfun$apply$5.applyOrElse(CometSparkSessionExtensions.scala:127)
	at org.apache.comet.CometSparkSessionExtensions$CometScanRule$$anonfun$apply$5.applyOrElse(CometSparkSessionExtensions.scala:77)
	at org.apache.spark.sql.catalyst.trees.TreeNode.$anonfun$transformDownWithPruning$1(TreeNode.scala:465)
	at org.apache.spark.sql.catalyst.trees.CurrentOrigin$.withOrigin(origin.scala:69)

I have zero ideas whats wrong with this Databricks Runtime... I was able to run Comet on DBR 12.2 LTS (Spark 3.3.2) and got another, GLIBC/Native related problem. So, it looks like the problem is only in DBR 13.3...

Databricks support told me that DBR 13.3 should be fully compatible with all the public API of OSS Spark, but I guess that they backported some patches from 3.5. I will check PRs and changes to try to understand what could they backported...

Hmm, as the proposed patch can fix the original error:
com.databricks.backend.common.rpc.SparkDriverExceptions$SQLExecutionException: java.lang.NoSuchMethodError: org.apache.spark.sql.execution.FileSourceScanExec.copy$default$9()Z

I think they definitely change the constructor signature of FileSourceScanExec.
For org.apache.spark.sql.execution.DataSourceScanExec, I suspect that it is same reason. But this error looks harder to workaround.

BTW, is the Scala version matched between DBR and Comet?

DBR 13.3 uses 2.12.15; Comet uses 2.12.17... May the problem be here? I can try to build comet with 2.12.17, just change in one line in pom.xml


v0.2.0 breaks support for Deno versions prior to 1.17

Not sure how much of a priority backwards compatibility is in Deno land; but recently ran into an issue with this package on a bot that I have running in 'production' on AWS Lambda. I've uploaded the deno runtime binary some time ago and noticed today that it crashes on importing this package due to an unexpected assert statement(emoji.ts:4). I see that import assertions were added in Deno 1.17 and am certain the used runtime binary is from before that.
As Deno is quickly evolving I wouldn't want to advice against using newer features, but perhaps worth mentioning that this is a breaking change in the readme?
Note: in a node stack this would usually mean that the required node version is updated in the package.json. What would the node equivalent of locking a package to a Deno version be? The closing argument on https://github.com/denoland/deno/issues/3155 suggests that authors write some sort of prompt manually?

Oh shoot this wasn't an intentional deprecation; side effect of changing all.ts -> all.json.
I had switched to json, because it seemed like a more generic way to store large object blobs.
I didn't realize that import assertion was a new feature. 100% my fault.
I wonder if it's better to mention breaking change somewhere, or better to revert that part of the change to generating a .ts file...

Could make change like:
https://github.com/denosaurs/emoji/compare/main...bpevs:emoji:json-ts
?


Merge v2.0.0 changes to master

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Fix readme: better docker command align to improve readability

Codecov Report

Merging #46 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master     #46   +/-   ##
========================================
  Coverage      6.59%   6.59%
  Complexity        3       3
========================================
  Files             9       9
  Lines           182     182
  Branches         12      12
========================================
  Hits             12      12
  Misses          170     170

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 eec1803...8f19f21. Read the comment docs.

makes sense, thanks!


Automate Generation of QueryParser to C#

The Lucene team is using a tool called javacc to generate the main business logic behind the query parsers. If we had a similar tool it could help:

Speed up the process of porting/upgrading QueryParser
Reduce the number of bugs in these modules caused by doing it manually
Most importantly, QueryParser could potentially be generated without using exceptions for control flow

The javacc tool uses a configuration file as input and creates java code as output. Here are some examples of those configuration files:

https://github.com/apache/lucene-solr/blob/releases/lucene-solr/4.8.1/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParser.jj
https://github.com/apache/lucene-solr/blob/releases/lucene-solr/4.8.1/lucene/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj

This has not been fully researched, but there are at least 2 potential ways we could approach this:

Find a similar tool to javacc in .NET that supports similar options that were used in javacc, and create a converter tool to change the javacc configuration into a configuration that the .NET tool supports.
Do a direct port of javacc to C#, and fix its logic to use a more efficient control flow mechanism than exceptions (perhaps goto would be the most direct replacement).

It seems according to this document that using a port of javacc should be our first choice because of the performance benchmarks of the resultant code. And certainly that would eliminate the risk of having a .NET tool not support an option that we need either now or for some future version of Lucene.
JIRA link - [LUCENENET-620] created by nightowl888

I looked into this a bit last night, and the situation is less than ideal. To augment/update the original two possibilities in the original issue from 2019 with some other ideas (items 3+ below):

Find a similar tool to javacc in .NET that supports similar options that were used in javacc, and create a converter tool to change the javacc configuration into a configuration that the .NET tool supports. This does not seem to exist, as far as I can tell.
Do a direct port of javacc to C#, and fix its logic to use a more efficient control flow mechanism than exceptions (perhaps goto would be the most direct replacement). While possible, this is quite a large undertaking, as javacc even builds its own parser itself. I do not think this amount of effort is worth it, especially given that the queryparser jj files have only seen a few minor updates in the last 10ish years.
Convert the javacc syntax to ANTLRv4, like I did with Expressions.JS in #996. This is a significant undertaking though, as javacc syntax is not directly comparable to ANTLR. It's also fairly risky, as there might be subtle incompatibilities in the parsing that are not caught by our tests. It also has the potential for having worse performance (or better performance, who knows) - but we won't know until the work is done. And then it would be a divergent syntax that would be difficult to port future fixes to.
An idea I had last night is that I could add a build task library to my JavaToCSharp project, and instead of trying to automate building the jj file (or porting to ANTLR), we could automate converting the generated Java code from Lucene into C#, treating Java as an intermediate language for this purpose. I tested that the 4.8 generated QueryParser.java file converts successfully, although it has a few warnings I'd need to look into. If we could automate this as part of the build via a msbuild task (like the Antlr4BuildTasks project), that could be a good middle ground. I'll spend a few mental cycles on seeing if this is feasible and worth doing. One possible downside of this is we'd lose possible opportunity for optimizations of the code, unless someone wants to contribute the ability to add rewriting plugins to JavaToCSharp.
Leave it as-is and keep porting the generated code by hand (or converting one-off as needed with JavaToCSharp).

At this point, I don't know if it makes sense to try to attempt this for 4.8, and that porting work is already done. I think we can revisit this for the next post-4.8 release, so I'm moving this back to the Future milestone for now.

At this point, I don't know if it makes sense to try to attempt this for 4.8, and that porting work is already done. I think we can revisit this for the next post-4.8 release, so I'm moving this back to the Future milestone for now.

@paulirwin - Actually, out of all of the packages, this one is the least "done".

There are still many culture aware APIs that we are calling that we probably shouldn't be.
There is no way to localize the error messages like there was in Lucene. We had that, but I ripped out the NLS error message resources long time ago. Maybe it is time to have a look at using localized satellite assemblies, which might be a better option in .NET.

While having no TryParse and having it throw exceptions to loop back to the prior position in a string are also pretty bad, query strings don't tend to be too long, so it is probably okay for this use case.
But fixing it so it doesn't throw exceptions just to loop back would be much easier if we generated the code for the query string grammar rather than hand porting it like this.

But fixing it ... would be much easier if we generated the code for the query string grammar rather than hand porting it like this.

I wanted this to be feasible, as I think it's a good goal. And I wish that were "easier," but see my comment above. None of these automated approaches are particularly easy. The generated files are only ~750 lines of Java each, compared to how many thousands of lines and hours of porting javacc, or having ANTLR syntax that does not match upstream, or having to add rewriting and build task support to JavaToCSharp. javacc is not a trivial syntax to implement a generator for, unfortunately. I could envision easily spending hundreds of hours on this problem, just to save myself one or two fewer orders of magnitude by just updating the generated code by hand (including even getting it up to date as of 10.0 for the next release). This is compounded by the chicken-and-egg problem of needing to know what our desired generated code would look like with those exception and i18n changes you mention above, before we know how to write a generator for it, at which point we might as well hand-port the first version of that anyways, regardless of if we automate it or not.
Of note, the Lucene team commits their generated Java code to the repo, so it will be easy to do diffs to see what changed, if we want to continue to hand-port it in the future.
If we decide to update the generated code manually to factor in the requested changes above, I think we can split that off as its own issue, since that would be separate from "Automate Generation of QueryParser to C#." And that seems like a reasonable thing to include in 4.8.

The requested changes weren't part of the generated code, so we are talking about 2 different things. Given your input, I think that doing this at a later point makes sense if we even do it at all.
After working with the implementation of the BCL parsers, it seems like a far better approach to use spans for something like this. Basically, go back to requirements and change the whole approach on how it is done. But that is a lot of work and we should probably wait until later.

Regarding error message localization, honestly, in this day and age, if one really wanted them translated, they could catch the exception and then use an LLM to translate the message to the language(s) of their choice. That may be too pragmatic of a solution, but it would work. :-)

Well, that is the problem. Catching the exceptions are required. The only way to display them to a user is to first catch them and then show the message. .NET parsers usually have a TryParse so you don't have to catch anything - you just put it into your decision logic. If there were some type of error code returned that the user could make sense of, the user could then hook into their own localization code rather than having it baked into the design in some obscure way.
But, it doesn't have that. I see your point though, Ron. As long as we keep doing things the wrong way and throwing the exception, there is not much point in doing the localization because the user has the chance to intervene (since they are forced to catch an exception anyway). But the exception is a problem carried over from Java where it is considered acceptable to catch an exception for control flow, which is not the case in .NET.
Even if we did a cheesy hack and caught the exceptions for the user just to give them a TryParse method, it would at least fix the API and take the responsibility of catching the exceptions away from them. We could then clean it up later without breaking the API.


add login window support to capture password

Add login window support to capture password and use instead of prompting.

JIT user creation while at it?

Shortname based on partial UPN
Admin privileges either always (some boolean like CreateAdminUsersByDefault, maybe default to true) or for specified AAD groups (CreateAdminByGroupMembers, array of strings which would be AAD object identifiers for groups).
CreateStandardByGroupMembers so that even if CreateAdminUsersByDefault is set to true, members of these groups are created as standard.
Verify user groups upon each login and add/remove admin privileges based on settings.
Detect macOS updates and remediate login window settings accordingly (updates are known to break login window plugins).

the base issue has been implemented. please file individual issues for ones that are not implemented and you still want.


The markdown for the "hint" option of the widgets does not work

Hi! In Common widget options, in hint option say:

[...] Accepts markdown for bold, italic, strikethrough, and links.

But this not work. Example with links:

Also happens with bold, italic and strikethrough.

This is fixed in v3.4.2.


Num lock weirdness with remoteapp

I'm experiencing some weird num lock behavior with remoteapp.
When connecting to the remote app, it behaves as if num lock is off at the time of connection.  If I connect with num lock off, then it behaves as expected. But if I connect with num lock on, then I get inverse behavior between my local desktop and the remote app--in the remote app numpad keys act like arrows with numlock on and numbers with num lock off.  Also caps lock has no effect on remote apps.  Regular sessions work fine.
I am using windows server 2008.  Can anyone reproduce?

same problem with the 1.0 version of freerdp: inverse behaviour about the num lock key,
the remote server is windows server 2008, I can reproduce the bug with virtualbox ( arch linux ) and a linux installation on a PC

no feedback, closing


make monitor outputs gibberish characters (like wrong buad rate)

This happens on both Linux and Windows; baud rate is set in makemenu to the default 115200.
I compiled and flashed an unmodified version of esp-idf-template.
I connected a FT231X onto the external UART0 pins and typed some characters into the monitor app all of which showed up fine.

If your board is equipped with a 26MHz crystal, you need to modify your sdkconfig (by running make menuconfig). By default, XTAL frequency is set to 40MHz.

Yep, that was it; thanks!


Could not save data

**Server thread/ERROR Could not save data noobanidus.mods.lootr.data.AdvancementData@110dcb6e
27.04 23:07:00 [Server] INFO java.io.FileNotFoundException: ./HOBOCRAFT/data/lootr/Lootr-AdvancementData.dat (No such file or directory)**
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.open0(Native Method) ~[?:?]
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.open(FileOutputStream.java:293) ~[?:?]
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.(FileOutputStream.java:235) ~[?:?]
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.(FileOutputStream.java:184) ~[?:?]
27.04 23:07:00 [Server] INFO at net.minecraft.nbt.NbtIo.m_128944_(NbtIo.java:64) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.world.level.saveddata.SavedData.m_77757_(SavedData.java:40) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.world.level.storage.DimensionDataStorage.m_164865_(DimensionDataStorage.java:161) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
27.04 23:07:00 [Server] INFO at net.minecraft.world.level.storage.DimensionDataStorage.m_78151_(DimensionDataStorage.java:159) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.level.ServerLevel.m_8806_(ServerLevel.java:714) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.level.ServerLevel.m_8643_(ServerLevel.java:693) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_129885_(MinecraftServer.java:536) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_195514_(MinecraftServer.java:561) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:834) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:668) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at java.lang.Thread.run(Thread.java:833) [?:?]
27.04 23:07:00 [Server] Server thread/ERROR Could not save data noobanidus.mods.lootr.data.AdvancementData@43491c51
27.04 23:07:00 [Server] INFO java.io.FileNotFoundException: ./HOBOCRAFT/data/lootr/Lootr-ScoreData.dat (No such file or directory)
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.open0(Native Method) ~[?:?]
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.open(FileOutputStream.java:293) ~[?:?]
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.(FileOutputStream.java:235) ~[?:?]
27.04 23:07:00 [Server] INFO at java.io.FileOutputStream.(FileOutputStream.java:184) ~[?:?]
27.04 23:07:00 [Server] INFO at net.minecraft.nbt.NbtIo.m_128944_(NbtIo.java:64) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.world.level.saveddata.SavedData.m_77757_(SavedData.java:40) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.world.level.storage.DimensionDataStorage.m_164865_(DimensionDataStorage.java:161) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at java.util.HashMap.forEach(HashMap.java:1421) ~[?:?]
27.04 23:07:00 [Server] INFO at net.minecraft.world.level.storage.DimensionDataStorage.m_78151_(DimensionDataStorage.java:159) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.level.ServerLevel.m_8806_(ServerLevel.java:714) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.level.ServerLevel.m_8643_(ServerLevel.java:693) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_129885_(MinecraftServer.java:536) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_195514_(MinecraftServer.java:561) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:834) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:668) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258) ~[server-1.18.1-20211210.034407-srg.jar%23227!/:?]
27.04 23:07:00 [Server] INFO at java.lang.Thread.run(Thread.java:833) [?:?]
27.04 23:22:48 [Server] Server thread/WARN Can't keep up! Is the server overloaded? Running 4403ms or 88 ticks behind

What version of Lootr & Minecraft is this?

It's mc 1.18.1
The lootr version is 1.18-<IP_ADDRESS>
On Wed, Apr 27, 2022, 8:01 PM Jon @.***> wrote:

What version of Lootr & Minecraft is this?
—
Reply to this email directly, view it on GitHub
https://github.com/noobanidus/Lootr/issues/97#issuecomment-1111590749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY5R27JBQLSIHW4ONMDXORTVHHIOTANCNFSM5UQWLDWQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yep, my bad.
I bumped the version and everything but never actually released it -- or perhaps the build failed for some reason and I didn't notice.
Releasing Lootr-1.18.2-<IP_ADDRESS> now, and I'll make sure everything is backported to Lootr-1.18.0-1.15.51 and release that shortly.
Temporary workaround: Go into your server's data folder and create a lootr folder. This should prevent that crash from occurring.

thank you for such a quick response.


Roll engine e69319216729..6bd0ef3dfede (3 commits)

git@github.com:flutter/engine.git/compare/e69319216729...6bd0ef3dfede
git log e69319216729..6bd0ef3dfede --no-merges --oneline
2019-10-09<EMAIL_ADDRESS>dart analysis of tests, cleanup (flutter/engine#13033)
2019-10-09<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from cknsi... to QIjex... (flutter/engine#13041)
2019-10-09<EMAIL_ADDRESS>Roll src/third_party/skia e27a503a0a21..76826fc91c0a (9 commits) (flutter/engine#13040)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5536200047198208

Commit queue failed; closing this roll.


Update README.md

Hi,
This small PR adds a button to get your app on F-Droid. You can later add a button for Google Play the same way :
[<img src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png"       alt="Get it on Google Play"       height="80">]()
It also adds a link to get the latest APK from the Releases Section.
You can now eventually add the fdroid and/or f-droid tags that will appear on the right side of the repo.

Thanks for the suggestion, I was thinking about the fdroid button :).


KMeans OOP

Based on https://github.com/intel/scikit-learn-intelex/pull/1634.
Needs to merge https://github.com/oneapi-src/oneDAL/pull/2796 first.
This PR intends to take KMeans algorithm out of preview namespace. The changes proposed:

KMeans out of preview
add sparsity support for KMeans
add sparsity support for basic statistics
reduce number of deselected tests for KMeans

/intelci: run

I know its a draft, but this is a note for my future review: please enable all k_means GPU tests (i.e. remove from deselected_tests) and see what passes. This will be necessary to pull this code out of preview.

/intelci: run

/azp run CI

/intelci: run

/azp run CI

/intelci: run

With the pull in of #1737, please remove this line in your PR https://github.com/intel/scikit-learn-intelex/blob/main/sklearnex/tests/test_patching.py#L136

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

Please also re-enable tests with GaussianMixture and BayesianGaussianMixture under GPU since they are failing due to lack of KMeans GPU support in deselected_tests.yml

/intelci: run

Job with relavant changes in oneDAL http://intel-ci.intel.com/ef2ed706-d31d-f1b8-adb9-a4bf010d0e2e

Job with relavant changes in oneDAL http://intel-ci.intel.com/ef2ed706-d31d-f1b8-adb9-a4bf010d0e2e

Looks like conformance fails (would it be addressed by sparse support PR?) and examples fail

Job with relavant changes in oneDAL http://intel-ci.intel.com/ef2ed706-d31d-f1b8-adb9-a4bf010d0e2e

Looks like conformance fails (would it be addressed by sparse support PR?) and examples fail

Example fails can be addressed, but the conformance test may need to be added to deselected list. Possibly some numerical instability, On 1e-100 tolerance one algo takes 1 iteration longer.

I have an idea about this PR, I would like to know your opinions @md-shafiul-alam @ethanglaser @Alexsandruss @icfaust @napetrov @syakov-intel
Some work on the preview Kmeans fixes has already been done.
Is it possible in short time to address some comments from the review, apply these changes to master and leave Kmeans in preview as before. So that users can already use the updated version of our kmeas, at least from the preview, but already in the upcoming release? We can continue working on moving out these Kmeas from preview in the next iteration.
PS have not yet deeply reviewed, but already see some good comments from @ethanglaser. Thank you!

/azp run CI

/azp run CI

/intelci: run

/intelci: run

/intelci: run

@md-shafiul-alam
Thank you for the active development here!
I just would like to ask before do review if it is ready?
If this is still under development, please make it as a draft and feel free to make it ready for review and request reviewers when it comes.

@md-shafiul-alam Thank you for the active development here! I just would like to ask before do review if it is ready? If this is still under development, please make it as a draft and feel free to make it ready for review and request reviewers when it comes.

Sure, thanks. I will make it a draft for now.

/intelci: run

Private ci job: http://intel-ci.com/ef54fb5c-c8c2-f177-a360-a4bf010d0e2e

/intelci: run

/intelci: run

@md-shafiul-alam thank you for the huge work done!
We are very close to the finish. Let's try to address the last comments and we are ready to go

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

/intelci: run

The private CI warnings are not related.