[tool_crash] WebDriverException

Command
flutter drive --driver=test/integration_test/app_test.dart --target=test/integration_test/app_test.dart -d web-server --browser-name=chrome --web-port=4444

Steps to Reproduce

...
...
...

Logs
WebDriverException
#0      InferSessionHandler.parseCreateResponse (package:webdriver/src/handler/infer_handler.dart:97:7)
#1      AsyncRequestClient.send (package:webdriver/src/common/request_client.dart:96:32)
<asynchronous suspension>
#2      createDriver (package:webdriver/async_core.dart:62:19)
<asynchronous suspension>
#3      WebDriverService.startTest (package:flutter_tools/src/drive/web_driver_service.dart:155:19)
<asynchronous suspension>
#4      DriveCommand.runCommand (package:flutter_tools/src/commands/drive.dart:323:30)
<asynchronous suspension>
#5      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1389:27)
<asynchronous suspension>
#6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#7      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#8      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
<asynchronous suspension>
#9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
<asynchronous suspension>
#11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:119:9)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>

[✓] Flutter (Channel stable, 3.19.6, on Microsoft Windows [Version 10.0.22631.3447], locale en-US)
    • Flutter version 3.19.6 on channel stable at C:\Users\mofad\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (2 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✗] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[✗] Visual Studio - develop Windows apps
    ✗ Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] VS Code (version 1.88.1)
    • VS Code at C:\Users\mofad\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.86.0

[✓] Connected device (4 available)
    • Windows (desktop) • windows    • windows-x64    • Microsoft Windows [Version 10.0.22631.3447]
    • Web Server (web)  • web-server • web-javascript • Flutter Tools
    • Chrome (web)      • chrome     • web-javascript • Google Chrome 124.0.6367.63
    • Edge (web)        • edge       • web-javascript • Microsoft Edge 124.0.2478.67

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 3 categories.

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 6c4930c4ac86fb286f30e31d0ec8bffbcbb9953e
Plugins
device_info_plus-9.1.2
file_picker-5.5.0
file_selector_linux-0.9.2+1
file_selector_macos-0.9.3+3
file_selector_windows-0.9.3+1
flutter_inappwebview-5.8.0
flutter_keyboard_visibility-6.0.0
flutter_keyboard_visibility_linux-1.0.0
flutter_keyboard_visibility_macos-1.0.0
flutter_keyboard_visibility_web-2.0.0
flutter_keyboard_visibility_windows-1.0.0
flutter_plugin_android_lifecycle-2.0.19
flutter_secure_storage-5.1.2
flutter_secure_storage_linux-1.2.0
flutter_secure_storage_macos-1.1.2
flutter_secure_storage_web-1.1.2
flutter_secure_storage_windows-1.1.3
gal-2.3.0
gal_linux-0.1.0
image_picker-1.0.8
image_picker_android-0.8.9+6
image_picker_for_web-3.0.3
image_picker_ios-0.8.9+2
image_picker_linux-0.2.1+1
image_picker_macos-0.2.1+1
image_picker_windows-0.2.1+1
integration_test
irondash_engine_context-0.5.2
printing-5.12.0
restart_app-1.2.1
super_native_extensions-0.8.5
url_launcher-6.2.6
url_launcher_android-6.3.1
url_launcher_ios-6.2.5
url_launcher_linux-3.1.1
url_launcher_macos-3.1.0
url_launcher_web-2.3.0
url_launcher_windows-3.1.1
video_player-2.8.6
video_player_android-2.4.13
video_player_avfoundation-2.5.7
video_player_web-2.3.0

Closing this as a duplicate of https://github.com/flutter/flutter/issues/137640


Add Garena

Closes #299

I messed things up on the first commit, but fixed on the second, will be alright on squash


Add the ability to hide a nested within a group.

Is your feature request related to a problem?
We have a use case in which we are grouping multiple component variants by using the # @!group  tag.
We want the ability to hide certain previews within this group so that do not show in Lookbook but we can still use the preview file for testing purposes.
Currently adding the @hidden label while in a group does not hide the preview.
Describe the solution you'd like
When the @hidden label is provided within a preview nested in a group, it hides the preview.

Hey @cody-clio, thanks for this - this is actually a bug, hidden scenarios should definitely be hidden in groups as well as outside of them.
I'll take a look into it and get it fixed up as soon as I can, should be reasonably straightforward. I'll let you know how I get on.

@cody-clio okay so I've looked into this and pushed up a fix so that hidden scenarios within a group are no longer shown in that group.
However they are not currently accessible via their URL (unlike hidden scenarios that are not part of a group). They should be - but it's a bit of a bigger job to get that working because currently the URL->preview lookup doesn't look "inside" groups, and it's unfortunately a little tricky to change that behaviour thanks to a few poor design decisions on my part!
As the full fix will take a little longer I thought I'd at least push up this partial fix first. Once the next release is out I'll close this issue and open another one specifically to track "hidden scenarios within groups are not accessible via their URL" and I'll try and get to it as soon as I can.

I've just released v2.1.0 with the first half of this fix (and created another issue to track the second part, linked above) so I'm going to go ahead and close this down now.


LXDE black screen on Xenial

$ sudo sh /media/removable/crouton/bin/edit-chroot -all
name: xenial
encrypted: no
Entering /media/removable/crouton/chroots/xenial...
crouton: version 1-20160206234800~master:daa872a0
release: xenial
architecture: amd64
xmethod: xorg
targets: keyboard,extension,lxde-desktop,lxde
host: version 7647.84.0 (Official Build) stable-channel swanky
kernel: Linux localhost 3.10.18 #1 SMP Thu Feb 18 00:27:11 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /media/removable/crouton/chroots/xenial...

Please describe your issue:
Although Xenial seemed stable even through power cycles, (running off a USB 3.0 128GB Lexar S45 key), and I began migrating to it, I have recently found that after a few minutes of idleness (or working in ChromeOS, switching to the Crouton VT screen finds it just black and the whole system becomes unresponsive.
If known, describe the steps to reproduce the issue:
Initially when the build seemed stable I was running it with just the lxde target. Recently I...

...added additional targets - don't know why x11 is listed twice BTW or if this matters

$ sudo more /media/removable/crouton/chroots/xenial/.crouton-targets
keyboard
x11
xorg
x11
audio
core
extension
lxde-desktop
lxde
gtk-extra
post-common

...installed but then removed profile-sync-daemon
Added my user to the 'serial' group and started using the distro's Arduino IDE.

It's hard to think of anything else going on which could create the problem, although I've put a few packages in the chroot - e.g. Arduino, Google Earth, Google Chrome, Chromium, Geany, Webstorm, Komodo Edit.
Since I experienced the problem I tried removing xscreensaver and light-locker - assuming it was somehow to do with bad sleeping behaviour. However, this did not cure the problem.

I've confirmed that the screen blanking and host hanging issue doesn't appear with a Trusty chroot deployed in the same way (also on external USB within the same crouton installation on the same SWANKY platform). I've switched back to Trusty running on the external key and migrated my home folder there for now.
However, within the xenial chroot I believe that xscreensaver is launched by the corresponding line in /etc/xdg/lxsession/LXDE/autostart so I've reinstalled xscreensaver and removed the autostart line instead (I guess there might be complications from the session autostart trying to run a binary which isn't there, and hopefully this should prevent any screensaver logic from kicking in after waking from a long sleep cycle).
Will try a long sleep cycle again overnight in xenial to see if the system can remain stable with this lightly modified configuration.
Happy to experiment with other changes or gather whatever logs people think would be relevant for diagnosing the Xenial issue. Ideally I'd migrate to Xenial when it is released to cover the next LTS cycle.

I'm not sure what Xenial is, but I might have the same problem. (with Unity). I updated my chrome os, and ran into a strange problem where my chroot was taking forever to log in. I found it was just stuck on a black screen and then after about 45 seconds it would load. And then signing out was taking a similarly long time. So I updated the chroot, it gave me an error. So to sign in I get a script like this:
chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/trusty...
A chroot setup script still exists inside the chroot.
The chroot may not be fully set up.
Would you like to finish the setup? [Y/n/d] y
Preparing chroot environment...
Installing target core...
Preparing environment...
Preparing software sources...
 They have been ignored, or old ones used instead.
Ensuring system is up-to-date...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
i965-va-driver va-driver-all vdpau-va-driver
The following packages will be upgraded:
coreutils gir1.2-javascriptcoregtk-3.0 gir1.2-webkit-3.0
google-chrome-stable initramfs-tools initramfs-tools-bin libgraphite2-3
libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libpam-modules
libpam-modules-bin libpam-runtime libpam0g libtiff5 libtiff5:i386 libva1
libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-3.0-0
libwebkitgtk-3.0-common linux-libc-dev linux-libc-dev:i386 openjdk-7-jre
openjdk-7-jre-headless r-base r-base-core r-base-dev r-base-html r-cran-nlme
r-doc-html r-recommended tzdata tzdata-java
33 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 134 MB of archives.
After this operation, 2587 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
i965-va-driver libva1 r-base-core r-cran-nlme r-base r-recommended
r-base-dev r-doc-html va-driver-all r-base-html
E: There are problems and -y was used without --force-yes
Failed to complete chroot setup.
The chroot setup script may be broken. Your chroot is not fully configured.
Removing the chroot setup script. You may want to update your chroot again.
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP Thu Mar 10 03:29:27 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=74b79f02-a964-1b40-82c8-ae6626237ec2/PARTNROFF=1 hashtree=PARTUUID=74b79f02-a964-1b40-82c8-ae6626237ec2/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=daded2d9d3644f197505201d56a2ddf01f8b227a salt=cd55aed31c3cbd618dab65efa24b5031df860779666f252d59f05277f75771aa" noinitrd vt.global_cursor_default=0 kern_guid=74b79f02-a964-1b40-82c8-ae6626237ec2 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Mar 25 20:02:57 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
Error executing command as another user: Not authorized
This incident has been reported.
crouton: version 1-20160206234800~master:daa872a0
release: trusty
architecture: amd64
xmethod: xorg
targets: keyboard,touch,unity,extension
host: version 7834.60.0 (Official Build) stable-channel samus
kernel: Linux localhost 3.14.0 #1 SMP Thu Mar 10 03:29:27 PST 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
No Chromium OS X server is available.
Cannot open /sys/class/tty/tty0/active: No such file or directory
Error: target STRING not available
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) AIGLX: Suspending AIGLX clients for VT switch
I'm currently logged in, but something is not quite right. It is too slow to start and log out.

Seen occasional issues... #3130 helps a bit, but then I always get "No session for pid zyx", and only after I press a random key (otherwise the screen in black).
Lots of scary splats in dmesg too:
[72378.368684] systemd-logind[11706]: Failed to enable subscription: Launch helper exited with unknown return code 1
[72378.368710] systemd-logind[11706]: Failed to fully start up daemon: Input/output error
[72378.385192] systemd-logind[11711]: Failed to enable subscription: Launch helper exited with unknown return code 1
[72378.385222] systemd-logind[11711]: Failed to fully start up daemon: Input/output error
[72383.605030] systemd-logind[12020]: Failed to enable subscription: Launch helper exited with unknown return code 1
[72383.605060] systemd-logind[12020]: Failed to fully start up daemon: Input/output error

Ok, so lxde is a bit broken, probably something to do with policykit, and first starts as black string. Pressing any key, then clicking Ok on the "no session for pid xyz" then leads to a functional lxde.

lxde is my goto desktop so I've been dealing with this for a while.
I get the 'no session' error and pressing any key or clicking ok moves on to the desktop.
I didn't know if this was an upstream bug or not so I took the lazy route and ignored it.
I'll let you know if https://github.com/dnschneid/crouton/pull/3130 helps when I update.

lxsession has a built-in polkit agent, and that is unfortunately trying to find its logind session. Which doesn't work, because after trusty logind depends on systemd running :(

I am trying once again to run crouton with LXDE (I gave up after SD mounts were failing through suspend/resume cycles). However, the same issue remains.
There seemed to be an upstream issue resolved here... https://ubuntuforums.org/showthread.php?t=2178645 ...but the config file change looks like it forces the PAM session to be required, which would never work on crouton given no systemd I imagine. @smibarber were you able to map out any options for preventing this issue?

Hi everyone, after some hacks and slash I think I found a solution/workaround for this long-standing issue. First of all, the problem has nothing to do with LXDE nor its polkit agent lxpolkit, but rather the way policykit daemon of new systems (Xenial, Artful, Bionic, Stretch, Sid/Buster) are bound to systemd. And the problem manifests itself in the way that you cannot use graphical applications that require admin privileges like Synaptic, or mount USB.
Here are two reasons of the problem in my understanding:
R1 The Polkit daemon (package policykit-1) and its libraries were hard-compiled to systemd, so it requires a running systemd to check the authenticity of processes (eg. if they are invoked from a valid user session).
R2 Systemd refuses to run unless it has PID 1, so it cannot be executed inside chroot. Interestingly, we can see a broken logind daemon running inside chroot (the exact process id can be found with ps -fax | grep logind): it has no session, nor active user. For example,
loginctl list-sessions

returns a broken message, or an empty list.
So my workaround contains two parts which fixe R1 and R2 respectively. The second part of fixing R2 is optional, but it will allow the desktop environment (LXDE, XFCE, etc.) to properly create their session.
Note: I used Xenial, but at least I tested the first part and made it work (with some tweaks because of missing packages from the official repository) for Stretch, Buster/Sid, and Bionic.
PART I
We will recompile and install policykit-1 packages for non-systemd. Thus,  the polkit daemon will have to communicate with another dbus service called ConsoleKit to checking the user-session validity.
1. Enter chroot and prepare a folder for compilation:
mkdir build-policy-1
cd build-policy-1
apt-get source policy-1

this should download some files and a source folder named policy-1-<version> (the exact <version> depends on your system), enter that source folder:
cd <name of the source folder>

2. Open debian/rules file in a text editor (eg. vim, nano, gedit) and look for the lines that set SYSTEMD_CONFIG_FLAG at the begining. Mines are:
ifeq (linux,$(DEB_HOST_ARCH_OS))
  SYSTEMD_CONFIG_FLAG = --enable-systemd
else
  SYSTEMD_CONFIG_FLAG = --disable-systemd
endif

Then add # in front of each line except the one with --disable-systemd:
#ifeq (linux,$(DEB_HOST_ARCH_OS))
#  SYSTEMD_CONFIG_FLAG = --enable-systemd
#else
   SYSTEMD_CONFIG_FLAG = --disable-systemd
#endif

3. (optional step) Open debian/control, under "Package: policykit-1", there should be a mention of consolekit with option [!linux-any], remove the "!" in that option to add consolekit to the dependency of this policykit-1 build.
4. Prepare build environment and dependencies
sudo apt-get install dpkg-dev
sudo apt-get build-dep policy-1

5. Make new .deb packages
dpkg-buildpackage -uc -us

this should create new packages outside the source folder.  We are interested in only 3 of them:
policykit-1-<version>.deb,
libpolkit-backend-1-0_<version>.deb, and
libpolkit-gobject-1-0_<version>.deb.
6. Install consolekit (if not yet installed) and the custom built packages
sudo apt-get install consolekit
sudo dpkg -i <full name of the policykit-1 package created>
sudo dpkg -i <full name of the libpolkit-1-backend package created>
sudo dpkg -i <full name of the libpolkit-1-gobject package created>

On Buster/Sid, Artful or Bionic, you will not have access to ConsoleKit, but you can download it and two of its dependences libck-connector0 and libpam-ck-connector from another/older distribution to install with "dpkg -i" instead, eg. I tested Bionic with the consolekit package (+ its dependences) from Stretch and it works.
7. Mark the custom packages to protect them from future updates
sudo apt-mark hold policykit-1
sudo apt-mark hold libpolkit-backend-1-0
sudo apt-mark hold libpolkit-gobject-1-0

8. Exit and relog to chroot to test the system. In a chroot terminal,
ck-list-sessions

should give the detail of your session. Then admin privilege applications should now work properly if you have a polkit agent installed and (auto-)started for your desktop environment. For example, in XFCE I installed lxpolkit (replacing the default gnome one) and there is an option to enable it in: Applications > Settings > Sessions and Startup > Startup applications.
Still, the session record of the system does not work properly yet, eg.
loginctl list-sessions

is probably broken, or running
echo $XDG_SESSION_ID

inside a terminal of the desktop environment would still return an empty string.
PART II
We will revert the chroot to sysv instead of systemd.
1. On Xenial, I don't have access to sysvinit-core package from the repository, so I downloaded the .deb package from Debian [Stretch] instead. The file name looks like sysvinit-core_<version>.deb. You should find it by googling "sysvinit-core debian stretch".
2. Remove the conflicting packages:
sudo apt-get purge --remove --auto-remove systemd-sysv
sudo apt-get purge --remove --auto-remove upstart-sysv

This will probably prompt a warning message of a harmful action since we will remove "init" package. But we will replace it with sysvinit-core anyway, and we are not booting the whole machine to the chroot, so no harm. Just follow the instruction, typing "Yes, do as I say!".
3. Install sysvinit-core and protect it from future update
sudo apt-get install <full name of the sysvinit-core package downloaded>
sudo apt-mark hold sysvinit-core

4. Exit and relog to chroot test to the new system:
loginctl list-sessions

should give you a proper list now (mine has 3 items in it), and inside a terminal of a desktop environment
echo $XDG_SESSION_ID

should give you a non-empty string (mine is "c3" for session3).
Completing this part actually fixes an issue I have with xfce4-power-manger 1.4.4 on Stretch that does not load (it seems this user service communicates with logind on dbus to acquire permissions).


Add possibility select and change system language

System should be translated into multiple languages and there should be a possibility to choose change current language.
Default language could be english, disregarding any detection mechanisms.
Maybe, it would be a good idea to store language choice and use that in the future.

It seems that language choice should still be stored somewhere and picked up by the system. This is important for cases of refresh being made. This is not the intended flow, but that could easily happen. In cases like that, the language should be picked up and used.
There does not seem to be any need to deal with that ourselves as all of it should be possible by using Storage possibility that is provided by library itself: https://angular-translate.github.io/docs/#/guide/10_storages
If for some reason we would need to only allow sessionStorage to be used with fallback to cookieStorage, then it should either be done as an extension to the library itself and loaded (should be very easy to convert localStorage implementation into sessionStorage) or use some custom callback function with determinePreferredLanguage as shown here: https://angular-translate.github.io/docs/#/guide/07_multi-language
The latter approach would require for the app to also update the storage when language is changed and load the data from storage if available.


Historical dates (A.D. and B.C. in a single timeline) do not sort properly

Historical dates using B.C. and A.D. do not render or sort correctly. Support for this would be much appreciated.
Current workaround:
Date parser regex: (?<yearBC>-?[0-9]*)BC-(?<year>-?[0-9]*)-(?<month>-?[0-9]*)-(?<day>-?[0-9]*)
Date parser group priority: yearBC,year,month,day
Date display format: {day}/{month}/{year}{yearBC}

Hi @April-Gras, sorry for the late response. Attached is a sample vault. It has 3 notes. One for BC and 2 for AD.
If you're open to suggestions, my thought on fixing it would be to allow for the date to be negative. Depending on the sign, the user could define a string to append to the year when displayed. So if the year were negative, a user could define a string "B.C." or if positive, "A.D."
Thanks for making this awesome plugin!
date-sample.zip

https://github.com/April-Gras/obsidian-auto-timelines/assets/1866440/aa153243-1c05-41a8-8d5f-b575e05a19c4
Hey @dfields16,
Version 0.8.0 is out and available as of now.
You can now set condition based formats to any token. I included a little video of how to achieve B.C. and A.D. like you wanted to.
Hope you like the update and find some use out of it

Thanks @April-Gras for the awesome work and instruction video. I just tried it out and it works great!
Have a great day!


Proposal: Convert live scrape integration test failures to warnings.

Currently, running TEST_ALL=1 npm run test:integration fails if any live scrape fails.
If any code change touches scrapers whose live scrape is failing, that branch will fail as well (even if it's for something unrelated, like adding comments, or adding a maintainer).
While it's good to keep focusing on and fixing things that are broken, I don't feel it's realistic to have a branch CI run fail if the scrape fails ... there is a difference between a single component failing (a source) vs a real failure (eg in the core code), and having this as a gate could result in CI becoming annoying and irrelevant.
With this change, failures are printed as warnings at the end of a test run, eg
⚠  6 Warnings:
 Warning: Live au crawl failed: Error: Crawl returned status code: 500
 Warning: Live au-nsw scrape failed: AssertionError [ERR_ASSERTION]: items for date 2020-05-15 not found
 Warning: Live au-sa scrape failed: AssertionError [ERR_ASSERTION]: Cases are not reasonable
 Warning: Live cn crawl failed: Error: Crawl returned status code: 404
 Warning: Live gb-eng crawl failed: Error: Crawl returned status code: 403
 Warning: Live us-ut crawl failed: Error: Crawl returned status code: 403

Discussion welcome!

Merging this, I feel it's the right thing to do.  At the moment this hasn't hit us, but it may in the future.


[Machine Learning] A dive in Stock Market Prediction with Step-by-Step Implementation.

Topic Suggestion
A dive in Stock Market Prediction with Step-by-Step Implementation.
Proposed article introduction
Predictions and analyses of the stock market are among the most challenging tasks. In addition to the market's volatility, there are many other dependent and independent factors that affect the market's value of a certain stock as well. Because of these unknowns, no stock market expert can accurately predict when the market will rise or collapse.
As a result, the most recent advances in market research and Stock Market Prediction have started to include machine learning and its powerful algorithms.
We will discuss this in detail in this tutorial.
Key takeaways

Introduction to Stock Market Prediction
Problem statement for Stock Market Prediction
Program Implementation
Creating a Training Set and a Test Set for Stock Market Prediction
Data Processing For LSTM
LSTM Prediction

Article quality
This will be a detailed article and an easy one to allow all kinds of readers to grasp the article's concept. I will write a unique article that adds value beyond other official docs and to the rest of EngEd
References
N/A

I have already published an article about the topic: https://www.section.io/engineering-education/stock-price-prediction-using-python/
Please feel free to suggest an alternate topic to explore. 🚀


Avoid repeated open for one single file and simplify object reader API on the sync part

Which issue does this PR close?

Closes #.
Rationale for this change

The extra chunk semantic introduced in ObjectReader introduces irrelevant file format details to object stores and incurs needless complexity.
Repeated open one single file brings unnecessary overhead.

What changes are included in this PR?

ObjectReader API simplification.
Avoid repeated open for one single file in the LocalObjectStore.

Are there any user-facing changes?

Yes. The ObjectReader API.

Cc @alamb @matthewmturner @seddonm1 @tustvold @rdettai to gather more input as this PR may affect your work.

the API change you suggest here is not just a simplification, it breaks the way we can currently parallelize the ObjectStore. You are replacing fn sync_reader(&self) -> Result<Box<dyn Read + Send + Sync>> which takes an immutable ref and can thus be called in parallel from different threads into fn set_limit(&mut self, limit: usize) which requires an exclusive reference and a Mutex lock that blocks the entire ObjectReader at each operation.

Yes, I'm aware of parallelizing ability the current API exposed out, however, it's hard to express or fully get utilized in the current execution plan: how should I trigger the current parallel chunk fetch while maintaining single-partition sterilization read? Instead, we have PartitionedFile abstraction that can be extended with file slicing ability.
/// A single file that should be read, along with its schema, statistics
/// and partition column values that need to be appended to each row.
pub struct PartitionedFile {
    /// Path for the file (e.g. URL, filesystem path, etc)
    pub file_meta: FileMeta,
    /// Values of partition columns to be appended to each row
    pub partition_values: Vec<ScalarValue>,
    // We may include row group range here for a more fine-grained parallel execution
}

for example, by enabling parquet scan with row groups ability https://github.com/apache/arrow-rs/pull/1389, we could utilize the above PartitionedFile's last comment with real ranges when we want a finer-grained fetch and execution. And in order to control the parallelism of FileSan execution, we could just tune a 'max_byte_per_split' configuration, and partition all input files into Vec<Vec, each Vec<PartitionedFile> could be summed up to the 'max_byte_per_split' size, from many individual parquet files, or one big slice from one big parquet file.

just to be sure I understand you correctly: if we used PartitionedFile for the file slicing, you would obtain parallelism by creating multiple ObjectReader instances?
In the case we don't want one  ObjectReader instance to be distributed accross threads, file_reader() should stop returning Arc<dyn ObjectReader> and return an owned object (Box<dyn ObjectReader>). This would allow you to cut out the mutex.

Yes, exactly!

I think I may also need to tune chunk_reader in parquet a little bit, since it also imposes immutability:
impl ChunkReader for ObjectReaderWrapper {
    type T = Self;

    fn get_read(&self, start: u64, length: usize) -> ParquetResult<Self::T>

I also think we should try to avoid forcing mutex at the api level to avoid its overheads.

In order to change ChunkReader to &mut self to cut of Mutex, it seems I need to change the full code path along parquet reading. Since they all share an immutability interface.

What if we only use Arc and call get_mut? This is similar to what's happening with FileSource in the parquet crate. In the long run though, I feel like it might be worth looking into getting rid of the ChunkReader abstraction in the Parquet crate entirely and replace with Read + Seek.

I'm afraid I've not had time to follow along here, but I have a draft PR that moves to an async parquet reader and doesn't use ChunkReader. So if that part is causing problems, I can maybe look to get that PR in sometime next week?

I cannot do Arc<RefCell<dyn ObjectReader>> since RefCell is not sync. Which is imposed by ChunkReader:
pub trait ChunkReader: Length + Send + Sync

343 | impl ChunkReader for ObjectReaderWrapper {
    |      ^^^^^^^^^^^ `RefCell<(dyn ObjectReader + 'static)>` cannot be shared between threads safely
    |
    = help: the trait `Sync` is not implemented for `RefCell<(dyn ObjectReader + 'static)>`
    = note: required because of the requirements on the impl of `Sync` for `Arc<RefCell<(dyn ObjectReader + 'static)>>`

I'm not sure I could remove Sync from ChunkReader, but I can try it first.

If @tustvold can help get rid of the chunkreader in the short run, then I think that would be the best route forward.

I cannot do Arc<RefCell> since RefCell is not sync. Which is imposed by ChunkReader:

Do we really need RefCell here? Could we just use Arc::get_mut instead?

I'm afraid not. 😬
Arc::get_mut needs self to be mutable reference.
    pub fn get_mut(this: &mut Self) -> Option<&mut T> {

but not the case in ChunkReader:
pub trait ChunkReader: Length + Send + Sync {
    type T: Read + Send;
    /// get a serialy readeable slice of the current reader
    /// This should fail if the slice exceeds the current bounds
    fn get_read(&self, start: u64, length: usize) -> Result<Self::T>;
}

FWIW I don't have a strong opinion on this one way or the other (as we have our own ObjectStore reader implementation in IOx for the time being). Maybe @tustvold has some thoughts

I intend to pick up #1617 tomorrow and so I might have some more thoughts then, but some initial thoughts:

ObjectStoreWrapper has perhaps surprising behaviour with respect to the read position, a call to read (and/or seek) can side-effect on clones
https://doc.rust-lang.org/std/fs/struct.File.html#method.try_clone might provide another option, although it shares the same pain as above w.r.t shared interior mutability. The parquet crate uses this https://github.com/apache/arrow-rs/blob/master/parquet/src/util/io.rs for better or worse
I agree that query parallelism is better handled at a higher level, e.g. in PartitionedFile, vs introducing internal parallelism for row groups within ParquetExec
The ChunkReader abstraction used by parquet is extremely confusing, probably not something we want to replicate, and something I may actually remove in the future - https://github.com/apache/arrow-rs/issues/1163
The async parquet exec PR as currently written moves away from using the ChunkObjectReader, etc... plumbing in favour of using the tokio io traits directly and so will likely fix this issue - https://github.com/apache/arrow-datafusion/pull/1617/files#diff-4b6766123d48840a81a799938d38bffd72dde49603e0a3fd9d3c0b5b46d2d224R54

In short I think this is working around a slightly funky API exposed by the parquet crate, and to be honest I'd rather fix this API and/or move to the async reader API which doesn't share the same funky.

Thanks @tustvold for the detailed analysis. ❤
We already have a workaround for the repeated open issue in the HDFS object store. And I'm changing the object reader API here to avoid future object reader implementations falling into the pitfall of repeated open unintentionally.
I really like the idea of getting rid of ChunkReader APIs and using an async parquet exec. I expect we could also achieve file-handle reuse for the async reading path on top of tokio async io. And I think we could remove this API:
    /// Get reader for a part [start, start + length] in the file
    fn sync_chunk_reader(
        &self,
        start: u64,
        length: usize,
    ) -> Result<Box<dyn Read + Send + Sync>>;

totally since it's misuse-prone and only used by Parquet exec in your #1617 as well.


Valid Contract Compilation Not Creating Valid ABI Schema

Describe the bug
when I compile contracts from OpenZepplin it compiles but gives an error of: Not a Valid ABI Schema Cairo v2
To Reproduce
Steps to reproduce the behavior:
compile the Cairo file with dependencies below on version 2.6.3 using 'compile project'
Expected behavior
Should compile with ABI types
Cairo files
[dependencies]
starknet = "2.6.3"
openzeppelin = { git = "https://github.com/OpenZeppelin/cairo-contracts.git", tag = "v0.13.0" }

#[starknet::contract]
mod MyToken {
    use openzeppelin::token::erc20::{ERC20Component, ERC20HooksEmptyImpl, interface};
    use starknet::ContractAddress;

    component!(path: ERC20Component, storage: erc20, event: ERC20Event);

    #[abi(embed_v0)]
    impl ERC20Impl = ERC20Component::ERC20Impl<ContractState>;
    #[abi(embed_v0)]
    impl ERC20CamelOnlyImpl = ERC20Component::ERC20CamelOnlyImpl<ContractState>;
    impl ERC20InternalImpl = ERC20Component::InternalImpl<ContractState>;

    #[storage]
    struct Storage {
        #[substorage(v0)]
        erc20: ERC20Component::Storage,
        // The decimals value is stored locally
        decimals: u8
    }

    #[event]
    #[derive(Drop, starknet::Event)]
    enum Event {
        #[flat]
        ERC20Event: ERC20Component::Event
    }

    #[constructor]
    fn constructor(
        ref self: ContractState,
        decimals: u8,
        initial_supply: u256,
        recipient: ContractAddress,
    ) {
        // Call the internal function that writes decimals to storage
        self._set_decimals(decimals);

        // Initialize ERC20
        let name = "MyToken";
        let symbol = "MTK";

        self.erc20.initializer(name, symbol);
        self.erc20._mint(recipient, initial_supply);
    }

    #[external(v0)]
    impl ERC20MetadataImpl of interface::IERC20Metadata<ContractState> {
        fn name(self: @ContractState) -> ByteArray {
            self.erc20.name()
        }

        fn symbol(self: @ContractState) -> ByteArray {
            self.erc20.symbol()
        }

        fn decimals(self: @ContractState) -> u8 {
            self.decimals.read()
        }
    }

    #[generate_trait]
    impl InternalImpl of InternalTrait {
        fn _set_decimals(ref self: ContractState, decimals: u8) {
            self.decimals.write(decimals);
        }
    }
}

Starknet Remix Plugin details

Using default Starknet plugin with cairo v2.6.3
Devnet Environment

Host system (please complete the following information):

macOS
Arc Browser

The problem was in the starknet-abi-form. It wrongly validated contract ABI. I think this problem was resolved in this PR


Fixes setup.

The same problem in dev branch

Yes, i did it quickly to 1st fix the master branch (which was at the same stage as the dev branch). So, see #954, we need to merge master in dev.

Before good to merge in master #954, just to remove an unused service, what i forgot to do.

Then merge master in dev.


Licensing?

Hello, I am requesting information/clarification on the licensing for this project and if it can be used commercially.
I don't see any license called out, so by default it doesn't appear anyone can legally use the code base for any reason..
Thanks!

You can use it. I don't care.

@hkicko it's still useful to avoid any misconception.
You can easily add one from a template: just go to Insights -> Community Standards -> License -> choose MIT license in your case and commit !

Done.


Fixed the typo in non - template pod acquisitions

Fixes : #46319

Deployment preview : https://deploy-preview-46320--kubernetes-io-main-staging.netlify.app/docs/concepts/workloads/controllers/replicaset/#non-template-pod-acquisitions

Latest update on the issue:
Please refer to this issue comment. The issue suggests a trivial edit and several other subjective edits that don't significantly improve the quality of the Kubernetes documentation, IMO.
Note to other wranglers and approvers: If you feel that there is a significant change in the readability/quality of documentation, please feel free to go ahead and remove the hold on the PR + accept the triage on the issue.

/close
Issue is closed. However, we'd welcome a start-to-finish editorial review (as in, read through the Markdown source and propose fixes) of the existing content about ReplicaSet.


Some deleted repos are still in the search index

Searching for ridedott shows this result, which does not exist:

The repo was renamed here:
https://github.com/google/devlibrary/commit/4535f56a3bb155849b90e2d3a125793449db8e06
This causes logs like this when they are accessed:

Search behavior changed and this is no longer an issue.


Remove some seemingly obsolete recipes

Remove the following recipes:

selecting changed files
running tasks in series
exporting tasks
running shell commands
specifying a CWD
splitting tasks in files
using a config file

The explanations are in the commit messages.
This is of course very subjective and some removals may be too extreme. What do you think? This is in preparation for #2164. Also, does it make sense to still have Browserify recipes?

@silvenon perfect! I agree with all these removals and their reasonings! I will "rebase and merge". Thank you for following the conventional commit pattern, too!


Organizing and documentation

Added

Documentation folder
Changed imports
"human" species names
better type annotations

Package tests failed with 503 - that's ignorable for now.


AttributeError: Can't pickle local object 'http_server..serve'

Gave this a spin on Windows with Python 3.5.2 and am getting the following errors:
C:\Users\Johannes\Documents\projects\trytls>trytls https python stubs\python3-urllib\run.py
platform: Windows
runner: trytls 0.2.1 (CPython 3.5.2, OpenSSL 1.0.2h)
stub: python 'stubs\python3-urllib\run.py'
 PASS support for TLS server name indication (SNI) [accept badssl.com:443]
 PASS expired certificate [reject expired.badssl.com:443]
 PASS wrong hostname in certificate [reject wrong.host.badssl.com:443]
 PASS self-signed certificate [reject self-signed.badssl.com:443]
 PASS SHA-256 signature [accept sha256.badssl.com:443]
 PASS 1000 subjectAltNames [accept 1000-sans.badssl.com:443]
 PASS incomplete chain of trust [reject incomplete-chain.badssl.com:443]
 PASS Superfish CA [reject superfish.badssl.com:443]
 PASS eDellRoot CA [reject edellroot.badssl.com:443]
 PASS DSDTestProvider CA [reject dsdtestprovider.badssl.com:443]
 PASS protect against Apple's TLS vulnerability CVE-2014-1266 [reject www.ssllabs.com:10443]
 PASS protect against the FREAK attack [reject www.ssllabs.com:10444]
 PASS protect against the Logjam attack [reject www.ssllabs.com:10445]
 PASS protect against FREAK attack (test server 1) [reject cve.freakattack.com:443]
 PASS protect against FREAK attack (test server 2) [reject cve2.freakattack.com:443]
Traceback (most recent call last):
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Johannes\AppData\Local\Programs\Python\Python35-32\Scripts\trytls.exe\__main__.py", line 9, in <module>
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\site-packages\trytls\runner.py", line 235, in main
    if not run(command, bundle):
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\site-packages\trytls\runner.py", line 186, in run
    for test, res in collect(args, tests):
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\site-packages\trytls\runner.py", line 101, in collect
    with env() as test:
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\site-packages\trytls\bundles\https.py", line 123, in local
    with http_server(certdata, keydata) as (host, port):
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\site-packages\trytls\bundles\https.py", line 110, in http_server
    process.start()
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\process.py", line 105, in start
    self._popen = self._Popen(self)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\context.py", line 212, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\context.py", line 313, in _Popen
    return Popen(process_obj)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\popen_spawn_win32.py", line 66, in __init__
    reduction.dump(process_obj, to_child)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\reduction.py", line 59, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'http_server.<locals>.serve'

C:\Users\Johannes\Documents\projects\trytls>Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\spawn.py", line 100, in spawn_main
    new_handle = steal_handle(parent_pid, pipe_handle)
  File "c:\users\johannes\appdata\local\programs\python\python35-32\lib\multiprocessing\reduction.py", line 81, in steal_handle
    _winapi.PROCESS_DUP_HANDLE, False, source_pid)
OSError: [WinError 87] The parameter is incorrect

Additional note:
Would be great to add to the documentation that you need openssl on the path.

Thanks for the report! I created pull requet #197 that potentially fixes this. I say "potentially" because I don't have a Windows setup handy, but I managed to reproduce the issue by forcing the multiprocessing start method to spawn.
The root cause was the fact that trytls.bundles.https.http_server uses the multiprocessing module to run code in a separate process. This was fine in Unix, where multiprocessing creates the subprocesses by forking. On Windows the subprocesses are spawned, and the worker function/callable needs to be picklable, which it wasn't. Heres an simplified example demonstrating this on Python 3.5:
>>> import pickle
>>>
>>> def outer():
...     def inner():
...         pass
...     pickle.dumps(inner)
...
>>> outer()
Traceback (most recent call last):
  ...
AttributeError: Can't pickle local object 'outer.<locals>.inner'

#197 hoists the function to the module top level, which should take care of the problem.
I also created ticket #198 about needing openssl on the path.

Closed by #197.


Audit pen & touch interaction works on top of just mouse

All PowerToys should work with the touch and pen, not only mouse.  #8975 is prompting this
Any new issue should be logged.
Touch

[ ] Settings
[ ] Color picker
[ ] FancyZones Editor
[ ] FancyZone
[ ] SVG Preview pane
[ ] Markdown Preview pane
[ ] Image Resizer
[ ] Keyboard Manager
[ ] PowerRename
[ ] PowerToys Run
[ ] Shortcut Guide

Pen

[ ] Settings
[ ] Color picker
[ ] FancyZones Editor
[ ] FancyZone
[ ] SVG Preview pane
[ ] Markdown Preview pane
[ ] Image Resizer
[ ] Keyboard Manager
[ ] PowerRename
[ ] PowerToys Run
[ ] Shortcut Guide

What about touchpad gestures e. g. the zoom gesture? Should we track this stuff here too?

What about touchpad gestures e. g. the zoom gesture? Should we track this stuff here too?

i'd log that, if relevant against touch.

i'd log that, if relevant against touch.

i'd log that, if relevant against touch.

Please take a look at issue 5368.

i'd log that, if relevant against touch.

Please take a look at issue 5368.

I'm thinking #9033 is also related. (that issue's title could use a bit of an update)

I'm thinking #9033 is also related. (that issue's title could use a bit of an update)


Sticky tooltips

Use case: The user would like to copy something from the tooltip. Copying is currently impossible because text cannot be selected from the tooltip.
An alternative behaviour should be provided: the user clicks a mark instance and the tooltip becomes sticky, i.e., it doesn't move, update, or disappear before the user either: clicks somewhere outside the tooltip or clicks an X icon that appeared to the upper right corner of the tooltip. However, this behavior may be undesirable when a custom click handler has been registered and thus, an option for disabling the behavior should be provided. The default behavior could depend on whether a custom click handler has been registered or not.

The click-to-stick behavior is used in the latest Observable Plot. Looks nice: https://twitter.com/mbostock/status/1661814647354449920


When the dropdown menu is displayed upwards there is a blank space.

1.- It is required to have assigned minimumInputLength = 1;
2.- Open the menu and select an option.
3.- Back open the menu, find another option.
4.- A blank space appears. (

It is necessary that the dropdown menu be displayed towards the top.
Occurs on the select2 page: https://select2.org/data-sources/ajax

I can confirm this bug.
Additionally, I can report, that once the menu has opened that way, it never will appear below the input field anymore.

This seems to be duplicate of #4614


✨ LLM : LIVE-4018 : Braze content cards

🛠  First step to setup Content card in LLM

lint

🛠  Update files Architecture + Add dynamic Content in the app's Store

🚚 Move files

revome unsed attribute

🛠 Rework Braze with hook

📝 Description
Content cards LIVE-4018
❓ Context

Impacted projects: ledger-live-mobile ui:native
Linked resource(s): ``

✅ Checklist

[ ] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

What is the difference between CardA and CardB ?

CardA vs CardB @nparigi-ledger  😊

We are aware that the names are too generic but it is difficult to name them


Do we have to delete the PiSSA adapter after save_pissa_as_lora

System Info
peft v0.11.1
torch 2.3.0
linux
Who can help?
@BenjaminBossan
Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder
[X] My own task or dataset (give details below)

Reproduction
I want to use the pissa adapter for other tasks after saving the model, but I cannot continue using the fine-tuned model.
https://github.com/huggingface/peft/blob/076561bbd32ce8cd649ba4ec05cbc592cf2dd1c6/src/peft/peft_model.py#L253-L276
Expected behavior
The PiSSA adapter can remain for further use.

Okay, so if I understand correctly, you would like to skip the line self.delete_adapter(adapter_name)  so that you can continue working with that adapter. I haven't thought about this use case. I can't quite remember if this was discussed with the PiSSA authors, but probably that line was included to avoid keeping two adapters in memory. But I see how this can be annoying.
Right now, the only way to really continue with this adapter is to reload the model, but I think we could make the change and if users want, they can delete the adapter themselves. Pinging @tokenizer-decode since they had some thoughts around this topic as well.

sure, a typical case is to evaluate the model after we save and convert the pissa adapter. Regarding the issue of maintaining two adapters in memory, should we delete the initial_adapter instead of the pissa adapter?

I think the simplest approach that would work for you is just to comment out self.delete_adapter(adapter_name) line.

Regarding the issue of maintaining two adapters in memory, should we delete the initial_adapter instead of the pissa adapter?

If you want the use all of your memory, sure you can do that. I did not try that tbh, but since save_mutated_as_lora reloads the initial adapter, that should work just fine.
Regarding @BenjaminBossan

Right now, the only way to really continue with this adapter is to reload the model, but I think we could make the change and if users want, they can delete the adapter themselves.

Sure. But the only way for user to talk to save_mutated_as_lora is through save_pretrained. If this is necessary, you can just pass another option to save_pretrained such as delete_initial_adapter. But you know my stance on adding other options to save_pretrained :).

sure, a typical case is to evaluate the model after we save and convert the pissa adapter.

You could first evaluate and then save the model, but I would also prefer first saving and then evaluating, just in case the process crashes during evalluation.

Regarding the issue of maintaining two adapters in memory, should we delete the initial_adapter instead of the pissa adapter?

True. Honestly, I think I'd prefer not deleting any adapter and leaving this up to the user to decide. It does require more memory if the adapter is not deleted, but it doesn't change peak memory.

Sure. But the only way for user to talk to save_mutated_as_lora is through save_pretrained. If this is necessary, you can just pass another option to save_pretrained such as delete_adapter. But you know my stance on adding other options to save_pretrained :)

Yes, I agree that we should not add more options there.

Not stale, I hope that I can work on this soon.

I created a PR to fix this: #1933. Hopefully I can a release soon and I thought it would be good to get this in before that, as technically, it's a breaking change.


duplicate topics in topic list

bad join somewhere leads to duplicate topics in the topic list on index page
this leads to duplicate key on refresh or expire

local database issue


[Feature request] Allow negative filtering by labels

Hi. I think it would be convenient if runn had more flexibility in filtering runbooks.
## examples
runn run path/to/**/*.yml --label !foo
runn run path/to/**/*.yml --label '!foo and !bar'

However, I am aware that introducing negative operator into the current label option can be troublesome. If possible, it might be better to introduce a new option that allows users to freely filter using the expr syntax.
## examples
runn run path/to/**/*.yml --filter '!labels.foo and !labels.bar'

runn run path/to/**/*.yml --filter '!labels.foo' --filter '!labels.bar'
#  converted to  => (!labels.foo) and ('!labels.bar)

runn run path/to/**/*.yml --filter '!labels["foo"]' --filter '!labels["bar"]'
#  converted to  => (!labels["foo"]) and ('!labels["bar"])

@h6ah4i Thank you for your request!
Could your requirements be met with features such as #935?


It doesn't scroll using any external magic keyboard

It work fine on desktop and any device but if I attach the magic keyboard to the iPad PRO, it doesn't scroll anymore by doing the 2 fingers gesture. It works fine on the Mac Book Pro magic keyboard.
Testing it on the Microsoft surface, same issue, it doesn't work.
There must be an event not catched.
Regards

Same problem

Any updates?

Please notice this vue plugin is only wrapper for https://github.com/mdbootstrap/perfect-scrollbar/ and all question related scroll logic should be addressed  there

Changed to using Observer in GSAP and got this issue fixed.


SailBugfix: Fix write mask for SIP

The current Miralis implementation can only modify the SIE field, whereas the RISC-V implementation can also modify the UEIE and USIE fields.

Similarly for the user-space interrupt things we can get away by constraining misa to not have the N-bit, rather than add support for user-space interrupts everywhere.

I will close for now, let's re-open if updating misa does not fix the issue.


startcli command has stopped working after chromeos update

Tried updating my chroots and tried installing a new one named test. Output on running sudo startcli -n test. (Same as for the other chroots)
Entering /mnt/stateful_partition/crouton/chroots/test...
Couldn't get a file descriptor referring to the console
Unmounting /mnt/stateful_partition/crouton/chroots/test...

Output of croutonversion
crouton: version 1-20150430123324~master:90ad47ff
release: stretch
architecture: amd64
targets: cli-extra
host: version 6812.75.2 (Official Build) stable-channel peppy
kernel: Linux localhost 3.8.11 #1 SMP Tue Apr 14 18:57:27 PDT 2015 x86_64 GNU/Linux
freon: yes

.

startcli no longer works with 'freon', you can use enter-chroot.

startcli needs to be modified to spit out an error and suggest enter-chroot when launched on Freon.

What is freon exactly? I prefer startcli so I'm not dependent on any chromeos windows, but from the replies I gather that's history now.
Perhaps I'll just hop into a TTY with ctrl-alt -> to start a chroot there with enter-chroot.

@Kareeeeem - You could also add the 'xiwi' target and then run your terminal in a window, full-screen, or in a tab - sudo startxiwi -n test [xterm|guake|...]

startcli needs to be modified to spit out an error and suggest enter-chroot when launched on Freon.

pie https://github.com/dnschneid/crouton/pull/1712

@DennisLfromGA Are you going to fix this? I looked at startcli and all I can think of is really echo something like:
"startcli has been deprecated, please use enter-chroot instead"

Thanks for the quick fix :)


Added ipfs-forum to apps

What kind of PR is this?
Select only one to speed up review/approval; i.e., don't lump an addition and a removal into a single PR.

[x] Adding something new to awesome-ipfs
[ ] Editing something already listed on awesome-ipfs
[ ] Removing something from awesome-ipfs
[ ] Something else (if so, please explain in the "Additional details" section below)

Pre-submit checklist
Please confirm ALL of the following before submitting your PR.

[x] This PR includes only one addition, removal, or edit.
[x] I edited the /data directory instead of the README.md.
[x] I reviewed the content policy and the and the IPFS Community Code of Conduct to ensure my submission meets the requirements.
[x] I have followed the CONTRIBUTING.md guidelines.

Additional details
Is there anything else we should know about this PR?

My ipfs-forum is a forum based on ipfs.You can create discussions and post opinons through this website.If you are in a network-restricted area, you can still read others'  discussions.All the discussions will be updated automaticly by ipfs .
For new additions: What is your project's current size/reach?

12 users
For new additions: What is your project's potential size/reach?

1 million users
For new additions: How critical is IPFS to your project?

[x] Essential
[ ] Somewhat critical
[ ] Useful, but not critical

For new additions: What core goal(s) does your project address?

[ ] Big-data solutions
[ ] Freedom from corporate/government interference
[ ] Data integrity
[ ] Dev tools or other ways to enable developers
[ ] Disaster resilience/recovery
[ ] File storage/retrieval
[ ] File streaming
[ ] Permanent archiving
[ ] Self-sovereign identity
[ ] Platforms that utilize consensus, reputation, or incentivization
[x] Other (please list) people can talk with others in the network

Is anything about IPFS blocking your project?

@andrew, can you please take a look when you are able?

@andrew, can you please take a look when you are able?

@ReForum-ipfs I can't seem to get your forum to load, is it still online?

@ReForum-ipfs I can't seem to get your forum to load, is it still online?

@andrew ,it seems that the textile ipfs server has problems,but now ,it can be visited successfully

@andrew ,it seems that the textile ipfs server has problems,but now ,it can be visited successfully


chore: migrate normal cases

Summary

Checklist

[ ] Tests updated (or not required).
[ ] Documentation updated (or not required).

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#6336  👈
#6335
#6318
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @LingyuCoder and the rest of your teammates on  Graphite

!test-ng

!test-ng


CI for forks always fails

because only you have permission to push to Docker Hub. We should have the push only happen on merge.

The trick in #14 didn't work.  This could be solve by switching to GitHub registries and pushing to the requester's local registry.

Combination of https://github.com/shivupa/cclib-ci/pull/26 and https://github.com/shivupa/cclib-ci/pull/24 works on this but I think the current conditionals aren't sufficient.


Make dependency type default to build

See original issue on GitLab
In GitLab by [Gitlab user @sstriker] on Jul 8, 2018, 18:09
Background
.bst files are verbose for the common case of dependencies.
I am seeing .bst files that look like
depends:
- filename: a.bst
  type: build
- filename: b.bst
  type: build
...
- filename: z.bst
  type: build

Task description
Make the dependency type default to build, to reduce verbosity

In GitLab by [Gitlab user @juergbi] on Jul 8, 2018, 18:21
Changing the default value would break backward compatibility. We could consider introducing build-depends, though.

In GitLab by [Gitlab user @sstriker] on Jul 9, 2018, 08:37
[Gitlab user @juergbi] Either that or a project.conf option to configure the default type, if not specified.  I like your option better though.

In GitLab by [Gitlab user @jonathanmaw] on Aug 7, 2018, 10:47
assigned to [Gitlab user @jonathanmaw]

In GitLab by [Gitlab user @jonathanmaw] on Aug 7, 2018, 10:48
Assigned to self while I consider how to implement this.

In GitLab by [Gitlab user @tristanvb] on Aug 7, 2018, 11:25
I also like [Gitlab user @juergbi]'s suggestion to use build-depends, if we add that; we should also have runtime-depends I think, for API symmetry, and also because it's less wordy to express.

In GitLab by [Gitlab user @jonathanmaw] on Aug 9, 2018, 11:26
created branch 463-make-dependency-type-default-to-build

In GitLab by [Gitlab user @jonathanmaw] on Aug 10, 2018, 15:04
created branch 463-make-dependency-type-default-to-build-2

In GitLab by [Gitlab user @jonathanmaw] on Aug 10, 2018, 15:04
mentioned in merge request !633

In GitLab by [Gitlab user @jonathanmaw] on Aug 14, 2018, 12:53
closed via merge request !633

In GitLab by [Gitlab user @jonathanmaw] on Aug 14, 2018, 12:53
mentioned in commit 9d074d7f08b7dad81a126969645701cfbd3a0807


Support for angular 5

Is there a plan to support angular 5? When installing with npm, a warning shows up.

+1

Thanks for opening the issue.  Yes, the library will be rebuilt and re-pinned to Angular 5.  I haven't had time yet but it is a priority for the near future.

Try this. forked and modified version for Angular 5. https://github.com/karclouds/Angular5-Toaster

I think as a workaround if you just import BrowserAnimationsModule then it should work for now
I had an issue where the text was not showing on the toast until I hover over it
after adding BrowserAnimationsModule to my import the issue seems to disappear.
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';


What are the recovered DOW and report fixed effects

and how do these compare to what was simulated?

Is this something which was resolved by the work here so far @seabbs @jessalynnsebastian?
My understanding of the question:
Are there figures or analysis comparing the simulated day of week and report date fixed effects to the posteriors which were recovered by the model? In the first instance this could be a figure, further down the line could use scoring rules.
Background context that would be interesting to know from you is the extent to which these parameters have any policy implication themselves, or this check is only a check and really the target here is nowcast performance.

I think this can be closed and was just meant to be something I'd report back to Sam & Katie with in a meeting. I don't have any nice plots for it, but the line of code to recover the relevant coefficients is in here - https://github.com/CDCgov/cfa-respnet-nowcasting-daily/blob/c7e31e6d532c7c1e6e97427d6aaae98ca77eebe7/R/Simulated Data Analysis/plot_rslts.R#L103-L105
Also - I think part of the context for this issue was that we were struggling with the hardcoded hazard method and were trying to diagnose what was wrong. Since that method hardcodes the coefficient for "not_report_day" to be -20, we wanted to see what that coefficient/the DOW coefficients were estimated to be when not hardcoded. I don't think this was helpful in solving the problem, because we saw what we expected to see: I think non-reporting day DOW coefficients were being estimated at -5 or something like that.

Seems good to close to me!
For the non hardcoded hazard model, if it's still of interest, there could be a feature implementing a diagnostic that checks the non-reporting day DOW are all less than or equal to some value. Perhaps this model is only itself used as a diagnostic in the first place though.


Update gensymbol

Fix a symbol in lapackobjs2d.

Should we just remove the symbols from lapackobjs2d because it is already in lapackobjs2s?

I think it should stay exactly as it is now. What are you trying to fix here ?

I was trying to add some LAPACK symbols for quadruple precision in LBT (https://github.com/JuliaLinearAlgebra/libblastrampoline), and our script to generate the symbols in our library depends on this script.
When I copy-pasted this block of symbols (lapackobjs2d), I found that this one was the only one starting with s*, so I thought it was a typo.

I see, thanks - certainly an oddity in the Reference LAPACK but not a typo. (Note also that neither the Reference implementation nor OpenBLAS currently supports quadruple precision, though OpenBLAS has some stubs from the early days of GotoBLAS that could mislead one into thinking they are implemented. But you probably know that)

Reference-LAPACK can be easily compiled in quadruple precision with gfortran and some compiler-dependent flags, but the issue is that we don't have a standard prefix for real and complex routines in quadruple precision.
The idea was to keep the s*, d*, c*, and z* symbols untouched and still be able to link our library with a quadruple-precision BLAS/LAPACK backend.
A Makefile can be found in Reference-LAPACK:
https://github.com/Reference-LAPACK/lapack/blob/9128e2051a922c3889e3c1fccaf4ce0d230b2785/INSTALL/make.inc.gfortran-quad#L4

Will it require a lot of work to simply compile the 'generic' C kernels in quadruple precision and use the q* / x* symbols?
It could be great for prototyping and testing.
We don’t ask to be officially supported by OpenBLAS.

Tentative fix now available as #4976 - adding EXPRECISION=1 should provide "long double" Q and X functions alongside their usual float/double/complex counterparts when compiling with GCC for the "GENERIC" or any optimized x86_64 target.
This may also be possible with LLVM but I have not tried yet - also the resurrected functions are compile-tested only so far, which means only the GENERIC target can reasonably be expected to function correctly.
Note also that the quad-precision functionality is limited to the respective BLAS functions and does not carry over to any LAPACK in the same build. Changing that would probably require massive code duplication at build time and preprocessing to replace the appropriate Q/X prefixes into function names, similar to how the recently implemented combined int32/int64 build works in Reference-LAPACK. (I have not even ported that one into a public OpenBLAS yet)


unused test file in tests

there is an unused server.test.md file in the tests dir
not sure what its there for, seems like it has a lot of redundant tests

Yes, I can see that it is all commented. Maybe we can delete it


Re-Check COPY over LAN

Got stuck at ths point on one test run ... after source had completly transferrred the chain and the target was waiting more than 6 hours to continue-

.

Tested this successfully by copying from an RPi4 to Ubuntu VM. Also restarting the copy worked after a connection break.

Found the problem in a change I did to the boostrap service.

Process needs to be retested with latest dev branch.

I wonder if the same issue caused the syncing problem with electrs: https://github.com/rootzoll/raspiblitz/issues/2548
continuing the tests.

re-test worked. closing issue for release.


Add plasticparcels

Insert URLs to the project here: https://github.com/OceanParcels/plasticparcels

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All new projects listed will be posted on our Mastodon channel.

@michaeldenes @erikvansebille


Celo Alfajores Wallet should be submitted to the App Store

Expected Behavior
The Celo Alfajores Wallet should be submitted to the App Store.
Current Behavior
The Celo Alfajores Wallet hasn't been submitted to the App Store.

The iOS app is now available on the App Store.
https://apps.apple.com/us/app/celo-alfajores-wallet/id1482389446


Make an example of a project proposal

Angela, you're handling this yourself??

@bart-jay yes

okay, in case you need some assistance. I am available.


www/nginx: handle vts socket state

Hi
Handle possible remaining vts socket  after nginx start failure
ref. https://github.com/opnsense/plugins/pull/3374

Merged, thanks!

Thanks!)


Move non-aiida related packages to the direct dependencies of aiidalab

The AiiDA plugins remain in the Pipfile, which is used by pipenv to
generate the complete environment to be put in requirements.txt.
The dependencies specified in the requirements.txt file are further set
as 'aiida' extra dependencies. The direct dependencies of aiidalab package
are moved to install_requres.

I think my proposed solution to the circular definition I complained about in my review is to define all extras actually within the setup.py (potentially by parsing a setup.json) and then placing them in the Pipfile with those extras, i.e.: aiidalab = {editable = true, path = ".", extras=['aiida']}
The Pipfile should then only contain that one line within the packages.
Finally, using this approach we use the Pipfile only to determine a complete consistent environment (work-around pip limitations), but not really to declare dependencies, so we could remove the Pipfile from the repository completely and instead determine the requirements.txt (lockfile) using pip-tools directly:
$ pip-compile > requirements.txt

Please confirm if this is correct:

If I want to setup my own AiiDAlab instance I will just pip install aiidalab.
If I want to install many likely required dependencies I use pip install aiidalab[aiida].
For aiidalab-docker-stack we continue to use the requirements.txt.

My original intention was to use pip install aiidalab[aiida] to install the complete environment, but this doesn't work as I expected, unfortunately. The problem is, for example, if you say bokeh>=1.4 in install_requires and in requirements.txt you put bokeh==1.4.0, then pip installs the version 2.2.1, which basically means the bokeh dependency set in extras_require is kind of ignored (or just has a lower priority).
So I think the way you proposed to handle this makes more sense. So I'm going to implement this.


constrastive loss

Hi!
Thank you for the excellent work and publicly available code.
I would like to know how to get a metric that show the out of sync of video and audio on sample? For example, in this paper, the guys display AV offset, Min dist and Confidence. http://www.robots.ox.ac.uk:5000/~vgg/publications/2016/Chung16a/chung16a.pdf

Hi!
Thank you for the excellent work and publicly available code.
I would like to know how to get a metric that show the out of sync of video and audio on sample? For example, in this paper, the guys display AV offset, Min dist and Confidence. http://www.robots.ox.ac.uk:5000/~vgg/publications/2016/Chung16a/chung16a.pdf

Even I am also trying to find same. Any update on this issue?

@Maxfashko @omcar17 Thank you for your attention ... I did not investigate that in my paper. The paper you brought up does a great job with a simple metric. However, my approach simply shows out of sync is happening between a pair of audio-visual streams.

Hello, when I run the program, there is a format error. How to solve it?

@yang929604665  @astorfi This is because the np is not writable, and in the recent version of dlib, it may cause this error.
Just add the following code above the Error line 99 detections = detector(frame,1):
frame.setflags(write=True)

I had the same problem bofore, and fixed by adding this.

@Xiaokeai18 Thank you for your suggestion. Can you add a pull request?


memberof filter problem

Hey @tituspijean !
Here is a first issue I have with my new LDAP config on beta-12.
My Base_dn is memberof=cn=talk,ou=groups,dc=foo,dc=foo
My ldap receives a bad request with the second = of the memberOf filter, which is interpreted as a \3D (?!) :
cannot find entry: "uid=ornano,memberOf=cn\3Dtalk,ou=groups,dc=foo,dc=foo
Without memberOf, if I give others basic filters, it's working fine. But I will have to apply a filter, as I want that only users who are members of our talk ldap group can access to flarum.
Thanks again !

Indeed, something like memberof=cn=... will not work. Whatever between an equal sign and the next comma will be expected to be text. So your second equal sign is transliterated into its corresponding code.
If you don't use cn, can you try the following? (frankly I am not sure it will work)
memberof=talk,ou=groups,dc=foo,dc=foo
I will look into adding filters this weekend.

OK, thanks for the explanation !
Indeed, memberOf=talk does not work

Hi @Ornanovitch, I have just created a test release (v0.1.0-beta.12-1) with the filter feature added.
The user discovery flow is: LDAP -> Filter -> UID with base DN. Hopefully they cascade without any issue.
I have no means to test it, so can you report if it is working on your side?

Hi @tituspijean, thanks for starting to work on this improvement !
I'd be happy to test it in a few days, I let you know how it's working asap :)

I have successfully tested the filter on my side, everything seems alright. Do not hesitate to reopen if you have any issue.

Hey @tituspijean, sorry for the long time before reaction !
I just tested your improvements, but I have a problem : whatever I put in the filter field, the controller returns This user is not allowed to log in. but when I watch into the ldap logs, it doesn't even queries my ldap server... When I enter the old config (without filter), it queries my ldap without problem.
Can you tell me how you did your test ?

I use YunoHost as server, which can assign permissions (ie groups) to users. I my tests, with the following filter, only users with the flarum.login permission could log in with LDAP.
(&(objectClass=posixAccount)(permission=cn=flarum.login,ou=permission,dc=yunohost,dc=org)
Based on your previous comments, I guess your filter should be something like:
(&(memberOf=cn=talk,ou=groups,dc=foo,dc=foo)`
(again, I am not a pro at LDAP'ing, so sorry if I mislead you)

Thank you very much, it was a simple syntax mistake :)
It works like a charm ! I have an other little issue which doesn't concerns filter, so I'm gonna open a new issue for this.
Thanks again, great work !


Cannot see my co-developers page. He cannot see mine.

Upon starting up Live Share, I can view my co-developer's name, and can see that he is in my session. I can also see the name of the page he's currently viewing, but we can't collaborate at all. I can't see the page he's working on, and he can't see mine. We've looked up many tutorials and nobody seems to have this issue.

Hey @Pojo267, sorry about the issues you're having. Are there any logs you could attach to this issue?

Closing this due to inactivity and lack of actionable details. Please re-open if you're still experiencing this problem. Thanks!


Allow umccrise germline to use somatic normal bam file

And worked around error when putting a url in a comment
Update ts expressions
Example workflow here: wfr.635ad835b09f41b3adeb2b90b8f53e02
Copy normal bam from somatic directory if it doesnt exist in germline dir
The germline basename might not always be the same as the somatic basename. Hence collect the basename from the replay json.
These versions of umccrise do NOT contain jq so instead install locally if thats the case.
Find the normal bam by searching for _normal.bam
Assume normal bam is index.
Hard link bam and bam index from somatic directory to germline directory using the germline basename determined by the output-file-prefix attribute

This is needlessly complicated, will resort back to getting the prefix from just the name of the replay json rather than needing to ingest it

Works with wfr.aa4a70a0a6e9498ba3e69c256d0aecfb


Metric Depth Values

Hello, I'm trying to get metric values from depth maps. Is that something that is possible? I've looked into metric depth anything, but not sure I completely understand the process.
Thanks in advance

Hi, our metric depth model produces the depth prediction in meters. You can directly use the predicted values.

But i have observed that the depth maps produced from inference are normalised disparity maps , how to get the metric depth valued from them .


Support unnamed requirements in uv add

Summary
Support unnamed URL requirements in uv add. For example, uv add git+https://github.com/pallets/flask.
Part of https://github.com/astral-sh/uv/issues/3959.

I'm not 100% sure about all the CLI arguments here, would appreciate a more thorough review. For example, I didn't add --only-binary because that doesn't seem very useful.

Moved to https://github.com/astral-sh/uv/pull/4326 (switched to a local branch).


Data Table - Add option for single select radio group

Single select would behave like radio buttons where you can only select one row in the table. Multi-select is how it works now. This isn't a variant in SLDS but we need it on IoT. Maybe we keep the styling the same and just remove the top "select all" checkbox.
Added recently
https://lightningdesignsystem.com/components/data-tables/

@kevinparkerson What do you think about the following props proposal for this issue?
		/**
		 * `multiple` or `single` selection of rows. This used to be a boolean. `selectRows` without text will result in `multiple` row selection in order to be backward compatible.
		 */
		selectRows: PropTypes.oneOfType([
			PropTypes.bool,
			PropTypes.oneOf(['multiple', 'single']),
		]),


Use the default project_tld ddev.site instead of "" in the global_config.yaml

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?
When https://github.com/drud/ddev/issues/2746 has landed project_tld: "" was added to ~/.ddev/global_config.yaml and project files got a commented out # project_tld: ddev.site line. As a user it isn't clear, if you only take a look at the global_config.yaml, if the tld entered needs to be wrapped in quotation marks and if it is necessary to prepend a period.
Describe your solution
Things could be more self explanatory by simply changing the entry in ~/.ddev/global_config.yaml from project_tld: "" to project_tld: ddev.site utilizing the default tld domain. that way the user directly sees the syntax for the tld active and  globally applied per default. and that way the active tld would be visible at any given timen.
the only caveat with my suggestion @rfay pointed out on discord is that you have to be careful in case you are changing the global project_tld . ddev sets the default (project_tld: DdevDefaultTLD = "ddev.site") in
https://github.com/drud/ddev/blob/af1918778c56f789568951437f0a7b6ed4b15752/pkg/nodeps/values.go#L109
and then compares the constant DdevDefaultTLD with ProjectTLD in
https://github.com/drud/ddev/blob/5049bdfb0a2dadf1185c63972d2e238cd2120969/pkg/ddevapp/config.go#L103-L106
Describe alternatives
No response
Additional context
I've posted the idea in a comment in an already merged and closed pull request a few days ago (https://github.com/drud/ddev/pull/4218#issuecomment-1270770198). thought it would be easier to follow and track if a dedicated issue is created now instead appending the followup in an already closed pull request.

Really easy and really reasonable. Prioritized.


'Screen saver options...' dialog won't open properly

iMac (27-inch, Late 2013), OS X Yosemite 10.10.5 (14F1021)

@peterstnsz Did you get the preference window to open correctly?

Waited a few months, no reply, so closing.


[ENH] dunder pipelines sklearn estimator support

This PR extends pipeline composition dunders of classifier and transformer pipelines such that sklearn transformers can be directly passes as parts of the chain, e.g.,
my_trafo * StandardScaler() * my_clf is possible.
The behaviour in this case is:

first, the sklearn transformer is wrapped in TabularToSeriesAdapter
then, the expression is parsed with the wrapped transformer (now a sktime transformer) instead of the original one

This should make pipeline construction easier - although the default setting of TabularToSeriesAdaptor can cause problems if too naively applied in TSC.
Conditional on the following PR:

#2208, which is used for checking whether other is an sklearn transformer

14 days rule merge


can't change chain status after vm.rollfork()

Component
Forge
Have you ensured that all of these are up to date?

[ ] Foundry
[ ] Foundryup

What version of Foundry are you on?
forge 0.2.0 (56dc746 2022-08-26T00:04:23.353510521Z)
What command(s) is the bug in?
forge test
Operating System
Linux
Describe the bug
Hi, I found this bug while using fore test to reproduce an hack.
forkId = vm.createFork(url, 14595905);
vm.selectFork(forkId);
vm.startBroadcast(0x1c5dCdd006EA78a7E4783f9e6021C32935a10fb4);
beanexp = new BeanExploit();

There is two step for my work, the first step is in block hight 14595905, this step worked successfully.
The second step is in block hight 14602789, I use vm.rollfork() to change block number.
vm.rollFork(14602789);
// some change chain status codes

Unfortunately, it doesn't work properly. And forge test throw EvmError: Revert.
And I change my code to just query chain data. It can works successfully.
vm.rollFork(14602789);
uint112 r1;
(,r1, )= IUniswapV2Pair(0x87898263B6C5BABe34b4ec53F22d98430b91e371).getReserves();
console.log(r1);

Due to the error message is simpler, it is difficult for me to find the cause of the error.
Thanks.

@joshieDo is this currently supported with broadcasting or are we waiting for https://github.com/foundry-rs/foundry/pull/2541 ?

right, broadcasting is not supported until #2541 is merged.
And to be honest, i'm not entirely sure what would happen in a script, if you'd broadcast stuff [on a fork] and then try to rollFork

If I use vm.startPrank, what will happen?


return simple true response

Summary
Cloud export compliance introduced a better return type for subscribeCloudSubscription but the corresponding callers needed updating. Reverting the return type to a simple true until we fix this all the way.
Ticket Link
https://mattermost.atlassian.net/browse/MM-50723
Release Note
Issue this fixes is not yet released to prod, so no release note.
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Cherry pick is scheduled.


import works fine, but can't run: c = Camera() # initialize a camera

I'm getting this error:
about to init
pyc count:
1
libusb: error [darwin_reenumerate_device] USBDeviceReEnumerate: device not opened for exclusive access

It works when I run the python file in my terminal, but not when I run it in VScode. Im guessing it's a permission thing but I don't really code so idk.


Unable to use SP.SOD.registerSod and SP.SOD.executeFunk after SPFx webpart loaded (SP2016)

[x] Bug
SharePoint 2016.
Default master page.
Unable to use SP.SOD.registerSod and SP.SOD.executeFunс after SPFx webpart loaded (SP2016).
Exception:  Unexpected anonymous AMD define

We had a same issue.
we get this AMD issue when we load botchat.js on click event. Generally it works, but when the page contains any of the spfx web part, this conflict occurs.
Below are the reasons we couldn't add external library in spfx web parts.

If this some external library we would have loaded in SPFx web part.
Though we can add this botchat library we had lot of customization in it.
We want to use bot globally. There might be a place where spfx webpart is not there. So we cant give bot reference in webpart.

Please suggest a way to fix this.
Thanks in Advance.


WIP: ENH: spatial.transform.Rotation added improper rotations

What does this implement/fix?

This extends the scipy.spatial.transform.Rotation class to handle improper rotations.
Additional information

This is a very rough sketch for the purposes of discussing ideas, rather than a concrete attempt at implementation.  Docstrings, tests, and other things are missing, so please do not review it yet.
@nmayorov I have fleshed out my proposal in #10617

I have to say that I don't like how it comes off.
Basically it adds some "burden" flags which says that we have a combination of rotation and reflection. I also think that we should be able to use as_rotvec (and others) to extract rotation vector from the rotation without reflection. Overall it seems that something is not quite right with it.
I'm inclined to think that this addition is marginally useful and somewhat confusing. Perhaps it should be implemented within a more general framework of transform (to be designed), which can include rotations, translations and reflections. As an idea --- a general Transform can be broken down into Rotation, Translation and Reflection (which contains boolean flags, hmm) and can be represented as 4x4 matrix for homogeneous coordinates transformation. Maybe it is even a viable design, it's interesting to try it.
If you are interested, I suggest that you develop this PR a little bit farther and see how it goes. I believe we will get a better idea how reasonable is to support "improper rotations" in this manner.

Thanks for the review @nmayorov.
I will close this PR for now.  The list of methods which are incompatible with improper rotations is quite long, and also includes the new reduce method.  The Transform class seems like it will be a  better home.


GTM google tag assistant is not connecting

@slawekkolodziej Thanks for the solve https://github.com/superside-oss/partytown-gtm-plugin/issues/3 for issue earlier that we were facing.
I have installed the new version, and we were not getting any error on the console or the postMessage error, but GTM is not connecting.
repo : https://github.com/RenuSuresh/next-spofity
I have deployed the changes here. https://main--visionary-daifuku-766501.netlify.app/, however it is not connecting locally as well.
Could you please help.

I looked at the code in the linked repository. It seems that the issue is on your side. You did not follow setup instructions described in the README file. Your code injects GTM snippet through plain <script type="text/partytown"> but it should use provided <GTMScript> component.


[CLI] local controller error

Description
Running my sweep with a local controller creates the following error
Violation 1. Additional properties are not allowed ('controller' was unexpected)
Wandb features
https://gitbook-docs.wandb.ai/guides/sweeps/advanced-sweeps/local-controller
I run the sweep with --controller flag
wandb sweep --controller sweep-config.yaml
Environment

Ubuntu 18
wandb version 0.12.1
Python Version: 3.8.0

Hi @tobiascz, can you please share your sweep config?
I tried this with 0.12.1 with the following config, and can't reproduce:
description: sweep local bayes

# Training script to run
program: train-dummy.py

# Method can be bayes, random, grid
method: bayes

# default is cloud based controller
controller:
  type: local

# Metric to optimize
metric:
  name: loss_metric
  goal: minimize

# Parameter space to search
parameters:
  epochs:
    value: 27
  variance:
    value: 5
  sleep:
    value: 2
  base:
    values: [10,15,20]
  increment:
    values: [0.1,0.2,0.3]
  direction:
    values: [-1,0.1,1]

I also tried this without the controller section and it also worked fine.
On Mon, Aug 30, 2021 at 6:11 PM tobiascz @.***> wrote:

Description
Running my sweep with a local controller creates the following error
Violation 1. Additional properties are not allowed ('controller' was
unexpected)
Wandb features
https://gitbook-docs.wandb.ai/guides/sweeps/advanced-sweeps/local-controller
I run the sweep with --controller flag
wandb sweep --controller sweep-config.yaml
Environment

Ubuntu 18
wandb version 0.12.1
Python Version: 3.8.7

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wandb/client/issues/2615, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAVEFYFJM6GQBVZQMZOTMPTT7QT3XANCNFSM5DDAFCXA
.

--
Danny Goldstein
http://astro.caltech.edu/~danny

`program: /data/tobicz/opera/train_sample_fe.py
command:

/home/tobicz/.conda/envs/torch/bin/python
${program}

project: test_project
method: grid #bayes
metric:
goal: maximize
name: max_metric
parameters:
test_param:
distribution: categorical
values:
- 64
- 128
- 512
- 2048
`

Hi @tobiascz,
I can't reproduce:
(wandb-3.6) danielgoldstein@Daniels-MBP tobiascz % cat sweep-config-local.yaml

program: /home/tobicz/project_name/train_sample_fe.py
command:
  - /home/tobicz/.conda/envs/torch/bin/python
  - ${program}

project: test_project
method: grid #bayes
metric:
  goal: maximize
  name: max_metric
parameters:
  test_param:
    distribution: categorical
    values:
      - 64
      - 128
      - 512
      - 2048
(wandb-3.6) danielgoldstein@Daniels-MBP tobiascz % wandb --version
wandb, version 0.12.1
(wandb-3.6) danielgoldstein@Daniels-MBP tobiascz % wandb sweep --controller sweep-config-local.yaml
wandb: Creating sweep from: sweep-config-local.yaml
wandb: Created sweep with ID: c3erksj3
wandb: View sweep at: https://wandb.ai/dannygoldstein/test_project/sweeps/c3erksj3
wandb: Run sweep agent with: wandb agent dannygoldstein/test_project/c3erksj3
wandb: Starting wandb controller...
Sweep: c3erksj3 (grid) | Runs: 0

How did you install the library? From pip, or from the git repository?

simply using pip
pip freeze | grep wandb
wandb==0.12.1

Hi @tobiascz, I just tried running against local v0.9.42 and was able to reproduce. Please upgrade to v0.9.43. That will fix it for you.