Laravel sail up issue

Description
I'm creating a new Laravel project using docker and sail, I'm on Windows 10, I have enabled WSL 2 and all that was required in the docs, but after I create the Laravel project in the ubuntu shell (Ubuntu 20.04), and build sail using the following command:
./vendor/bin/sail up
I get the following:
[+] Running 0/1
 ⠿ laravel.test Error                                                                                10.8s
[+] Building 223.2s (9/16)
 => [internal] load build definition from Dockerfile                                                                        0.5s
 => => transferring dockerfile: 32B                                                                                0.1s
 => [internal] load .dockerignore                                                                                0.7s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:21.04                                                            17.2s
 => [auth] library/ubuntu:pull token for registry-1.docker.io                                                               0.0s
 => [ 1/11] FROM docker.io/library/ubuntu:21.04@sha256:ba394fabd516b39ccf8597ec656a9ddd7d0a2688ed8cb373ca7ac9b6fe67848f   114.9s
 => => resolve docker.io/library/ubuntu:21.04@sha256:ba394fabd516b39ccf8597ec656a9ddd7d0a2688ed8cb373ca7ac9b6fe67848f       0.3s
 => => sha256:ba394fabd516b39ccf8597ec656a9ddd7d0a2688ed8cb373ca7ac9b6fe67848f 1.42kB / 1.42kB                              0.0s
 => => sha256:cb92f03e258f965442b883f5402b310dd7a5ea0a661a865ad02a42bc21234bf7 529B / 529B                                  0.0s
 => => sha256:7cc39f89fa5894d41b5fe108edc8d606ff850fc93ebb1727e25368cf76455004 1.46kB / 1.46kB                              0.0s
 => => sha256:6f172cdbcbefcebd1e06708f01ce8850613686821fc603db67efc9832d59ae35 31.70MB / 31.70MB                          110.2s
 => => extracting sha256:6f172cdbcbefcebd1e06708f01ce8850613686821fc603db67efc9832d59ae35                                   2.4s
 => [internal] load build context                                                                                1.0s
 => => transferring context: 870B                                                                                0.1s
 => [ 2/11] WORKDIR /var/www/html                                                                                2.0s
 => [ 3/11] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone                                  4.2s
 => ERROR [ 4/11] RUN apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor s  82.7s
------
 > [ 4/11] RUN apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2     && mkdir -p ~/.gnupg     && chmod 600 ~/.gnupg     && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C     && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu hirsute main" > /etc/apt/sources.list.d/ppa_ondrej_php.list     && apt-get update     && apt-get install -y php8.1-cli php8.1-dev        php8.1-pgsql php8.1-sqlite3 php8.1-gd        php8.1-curl        php8.1-imap php8.1-mysql php8.1-mbstring        php8.1-xml php8.1-zip php8.1-bcmath php8.1-soap        php8.1-intl php8.1-readline        php8.1-ldap        php8.1-msgpack php8.1-igbinary php8.1-redis php8.1-swoole        php8.1-memcached php8.1-pcov php8.1-xdebug     && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer     && curl -sL https://deb.nodesource.com/setup_16.x | bash -     && apt-get install -y nodejs     && npm install -g npm     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -     && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list     && apt-get update     && apt-get install -y yarn     && apt-get install -y mysql-client     && apt-get install -y postgresql-client     && apt-get -y autoremove     && apt-get clean     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*:
#8 3.613 Get:1 http://security.ubuntu.com/ubuntu hirsute-security InRelease [110 kB]
#8 4.564 Get:2 http://archive.ubuntu.com/ubuntu hirsute InRelease [269 kB]
#8 4.694 Get:3 http://security.ubuntu.com/ubuntu hirsute-security/restricted amd64 Packages [122 kB]
#8 5.177 Get:4 http://security.ubuntu.com/ubuntu hirsute-security/multiverse amd64 Packages [3643 B]
#8 5.178 Get:5 http://security.ubuntu.com/ubuntu hirsute-security/universe amd64 Packages [287 kB]
#8 5.677 Get:6 http://archive.ubuntu.com/ubuntu hirsute-updates InRelease [115 kB]
#8 8.838 Get:7 http://archive.ubuntu.com/ubuntu hirsute-backports InRelease [101 kB]
#8 9.344 Get:8 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages [250 kB]
#8 19.47 Get:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages [16.8 MB]
#8 58.56 Ign:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
#8 81.53 Ign:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages
#8 81.67 Ign:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
#8 81.70 Ign:12 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages
#8 81.70 Ign:13 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
#8 81.71 Ign:14 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages
#8 81.72 Ign:15 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages
#8 81.72 Ign:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
#8 81.73 Ign:17 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 Packages
#8 81.74 Ign:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
#8 81.75 Ign:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages
#8 81.75 Ign:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
#8 81.77 Ign:12 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages
#8 81.78 Ign:13 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
#8 81.78 Ign:14 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages
#8 81.79 Ign:15 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages
#8 81.80 Ign:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
#8 81.80 Ign:17 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 Packages
#8 81.81 Ign:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
#8 81.81 Ign:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages
#8 81.82 Ign:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
#8 81.82 Ign:12 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages
#8 81.84 Ign:13 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
#8 81.85 Ign:14 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages
#8 81.87 Ign:15 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages
#8 81.88 Ign:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
#8 81.88 Ign:17 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 Packages
#8 81.89 Ign:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
#8 81.89 Ign:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages
#8 81.91 Ign:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
#8 81.91 Ign:12 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages
#8 81.92 Ign:13 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
#8 81.92 Ign:14 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages
#8 81.92 Ign:15 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages
#8 81.92 Ign:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
#8 81.93 Ign:17 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 Packages
#8 81.93 Ign:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
#8 81.94 Ign:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages
#8 81.95 Ign:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
#8 81.95 Ign:12 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages
#8 81.95 Ign:13 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
#8 81.96 Ign:14 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages
#8 81.97 Ign:15 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages
#8 81.97 Ign:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
#8 81.98 Ign:17 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 Packages
#8 81.98 Err:9 http://archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
#8 81.98   Error reading from server. Remote end closed connection [IP: <IP_ADDRESS> 80]
#8 81.98 Err:10 http://archive.ubuntu.com/ubuntu hirsute/multiverse amd64 Packages
#8 81.98   Could not connect to archive.ubuntu.com:80 (<IP_ADDRESS>). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (<IP_ADDRESS>). - connect (111: Connection refused) [IP: <IP_ADDRESS> 80]
#8 81.99 Err:11 http://archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
#8 81.99   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 81.99 Err:12 http://archive.ubuntu.com/ubuntu hirsute/restricted amd64 Packages
#8 81.99   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 81.99 Err:13 http://archive.ubuntu.com/ubuntu hirsute-updates/universe amd64 Packages
#8 81.99   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.02 Err:14 http://archive.ubuntu.com/ubuntu hirsute-updates/multiverse amd64 Packages
#8 82.02   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.02 Err:15 http://archive.ubuntu.com/ubuntu hirsute-updates/restricted amd64 Packages
#8 82.03   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.03 Err:16 http://archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
#8 82.03   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.04 Err:17 http://archive.ubuntu.com/ubuntu hirsute-backports/universe amd64 Packages
#8 82.04   Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.04 Fetched 1258 kB in 1min 19s (15.9 kB/s)
#8 82.04 Reading package lists...
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute/universe/binary-amd64/Packages  Error reading from server. Remote end closed connection [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute/multiverse/binary-amd64/Packages  Could not connect to archive.ubuntu.com:80 (<IP_ADDRESS>). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (<IP_ADDRESS>). - connect (111: Connection refused) [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute/main/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute/restricted/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute-updates/universe/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute-updates/multiverse/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute-updates/restricted/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute-updates/main/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hirsute-backports/universe/binary-amd64/Packages  Unable to connect to archive.ubuntu.com:80: [IP: <IP_ADDRESS> 80]
#8 82.11 W: Some index files failed to download. They have been ignored, or old ones used instead.
#8 82.13 Reading package lists...
#8 82.17 Building dependency tree...
#8 82.18 Reading state information...
#8 82.18 Package libpng-dev is not available, but is referred to by another package.
#8 82.18 This may mean that the package is missing, has been obsoleted, or
#8 82.18 is only available from another source
#8 82.18
#8 82.18 Package libcap2-bin is not available, but is referred to by another package.
#8 82.18 This may mean that the package is missing, has been obsoleted, or
#8 82.18 is only available from another source
#8 82.18
#8 82.18 Package git is not available, but is referred to by another package.
#8 82.18 This may mean that the package is missing, has been obsoleted, or
#8 82.18 is only available from another source
#8 82.18
#8 82.18 Package gnupg is not available, but is referred to by another package.
#8 82.18 This may mean that the package is missing, has been obsoleted, or
#8 82.18 is only available from another source
#8 82.18
#8 82.18 Package unzip is not available, but is referred to by another package.
#8 82.18 This may mean that the package is missing, has been obsoleted, or
#8 82.18 is only available from another source
#8 82.18
#8 82.18 E: Package 'gnupg' has no installation candidate
#8 82.18 E: Unable to locate package gosu
#8 82.18 E: Unable to locate package zip
#8 82.18 E: Package 'unzip' has no installation candidate
#8 82.18 E: Package 'git' has no installation candidate
#8 82.18 E: Unable to locate package supervisor
#8 82.18 E: Unable to locate package sqlite3
#8 82.18 E: Package 'libcap2-bin' has no installation candidate
#8 82.18 E: Package 'libpng-dev' has no installation candidate
#8 82.18 E: Unable to locate package python2
------
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2     && mkdir -p ~/.gnupg     && chmod 600 ~/.gnupg     && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E5267A6C     && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C300EE8C     && echo "deb http://ppa.launchpad.net/ondrej/php/ubuntu hirsute main" > /etc/apt/sources.list.d/ppa_ondrej_php.list     && apt-get update     && apt-get install -y php8.1-cli php8.1-dev        php8.1-pgsql php8.1-sqlite3 php8.1-gd        php8.1-curl        php8.1-imap php8.1-mysql php8.1-mbstring        php8.1-xml php8.1-zip php8.1-bcmath php8.1-soap        php8.1-intl php8.1-readline        php8.1-ldap        php8.1-msgpack php8.1-igbinary php8.1-redis php8.1-swoole        php8.1-memcached php8.1-pcov php8.1-xdebug     && php -r "readfile('http://getcomposer.org/installer');" | php -- --install-dir=/usr/bin/ --filename=composer     && curl -sL https://deb.nodesource.com/setup_$NODE_VERSION.x | bash -     && apt-get install -y nodejs     && npm install -g npm     && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -     && echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list     && apt-get update     && apt-get install -y yarn     && apt-get install -y mysql-client     && apt-get install -y postgresql-client     && apt-get -y autoremove     && apt-get clean     && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*]: exit code: 100

I'm running Windows 10, I've tried searching on different forums, and even on closed issues here, but they are mostly MacOS related.

Looks like Ubuntu server is down, or not available on your network, or your computer or your docker is blocking it. This doesn’t seem to be a bug in Sail from here

Is there a way to unblock it, or to check if it is available on my network?

This indeed doesn't seems like a Sail issue. Please try a support channel:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC


Question about atsamd51 ADC.

I am new to rust, so this may be part of the learning curve, but I cannot figure out how to get an instance of an ADC on the samd51j?   I can get the example for the samd21 to build, but the demo is missing for the 51j (Feather_m4 board)
It looks like I need to use the adc_hal macro, but it is not exported.  Attempts to use ADC0 or ADC1 report they are private.  I cannot see any way to get an initialized structure.
Can someone provide a pointer?   Or am I missing something really basic?

Hey, i have a question about the adc. I'm trying to read an adc pin on a ATSAME53N20A.
My Test code
#[embassy_executor::task]
pub async fn mytest() {
    let mut peripherals = Peripherals::take().unwrap();
    let pins = myboard::bsp::pin::Pins::new(peripherals.PORT);
    let _core = CorePeripherals::take().unwrap();
    let mut clocks = GenericClockController::with_external_32kosc(
        peripherals.GCLK,
        &mut peripherals.MCLK,
        &mut peripherals.OSC32KCTRL,
        &mut peripherals.OSCCTRL,
        &mut peripherals.NVMCTRL,
    );

    let mut adc1 = Adc::adc1(
        peripherals.ADC1,
        &mut peripherals.MCLK,
        &mut clocks,
        GEN_A::GCLK1,
    );

    let mut hardware_info_pin = pins.hardware_info.into_alternate::<B>();

    let data: u16 = adc1.read(&mut hardware_info_pin).unwrap();
    debug_rprintln!("Value: {}", data);
}

Error
13:44:59.863 panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/atsamd-hal-0.16.0/src/thumbv7em/adc.rs:268:1:
13:44:59.863 adc clock setup failed


working on improvig the coverage

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 16 (68.75%)  changed or added relevant lines in 2 files are covered.
18 unchanged lines in 1 file lost coverage.
Overall coverage increased (+1.07%) to 63.559%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

gwtf/account.go
6
11
54.55%

Files with Coverage Reduction
New Missed Lines
%

gwtf/setup.go
18
55.38%

Totals

Change from base Build<PHONE_NUMBER>:
1.07%

Covered Lines:
600

Relevant Lines:
944

💛  - Coveralls


Sequelize

Any chance of getting Sequelize as an option for migrations as well? It offers a more friendly API specially when it comes to NxN relationships like this.

i never liked sequelize approach as it makes my models dirty.
I agree that you have to create tables manually, in future we can pass arguments to migrations command to automate this process
But as adonis is all about readability i am not in favor of sequelize approach

Yes, that would be nice. If I have more free time, maybe I'll try it on a pull request. Nice work, though!

Sure, any contributions are welcomed also let me know if you need something to get started with. I will explain you how things are structured for migration commands


Switch to using tabs for implementation

We've noticed that page-mod implementations that use include: "*" can slow down Firefox a lot because the content scripts etc are injected into any document, not just the top-level document. Using the tabs module to inject into the top-level document only ( especially if you're injecting jQuery ) eases some of the pain.

I should add, that using tabs removed the possibility of targeting an iframe.

Awesome, thank you!


Distlock Mutual exclusion problem ？

1、assume a Redis cluster has a 5 master node; A , B, C ,D ,E representative node name.
2、Client A  lock to A,B,C three node. lock success.
3、This time B，C Node happen Network partition。
4、Client B lock to D,E tow node, lock success，Satisfy N/2 + 1 ，because have A，D，E three node。
5、Violation of mutual exclusion。

I can only suggest to use RedissonMultiLock.


Ability to zoom

We are working with high-res images which requires zoomed in part of the brain to find the exact point to align the atlas.
I was wondering if you could add the feature to be able to zoom into the image.
Thanks.

Yes, this is an understandable request, we have encountered it in the past already. There are technical and practical issues though: the simple built-in image handling what VisuAlign uses from the JavaFX UI framework only pretends it can deal with very large images, actually it resizes them. This is completely invisible now, but it would become a problem when zooming in.
While of course the API could be replaced with another one, that's a significant rewrite as it wouldn't be a built-in anymore, and thus it would need interfacing with the framework, plus of course implementation of pan-and-zoom controls. We simply don't have the resources to do this in a short timeframe.
Side note, which may be relevant: there is an online counterpart of VisuAlign, which is under active development, and it's available for use in the EBRAINS Collaboratory environment. That variant of the tool relies on tiled multiresolution images (DeepZoom format in particular, a converter service is part of the workflow), and has no particular limitation on image resolution. Here is an example.
It's just the first link from https://search.kg.ebrains.eu/instances/cfd55c91-bc2c-4f15-a04e-17d50ed232e7 with the markers enabled. (Having such dataset page and sharing data is not a requirement for using the online tools, this paragraph is just an advertisement)

Hi @jjahanip
Does this answer your question?


react-native-video issue

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git a/node_modules/react-native-video/android-exoplayer/build.gradle b/node_modules/react-native-video/android-exoplayer/build.gradle
index d005a58..6a9922b 100644
--- a/node_modules/react-native-video/android-exoplayer/build.gradle
+++ b/node_modules/react-native-video/android-exoplayer/build.gradle
@@ -28,7 +28,7 @@ android {

 dependencies {
     implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
-    implementation('com.google.android.exoplayer:exoplayer:2.13.2') {
+    implementation('com.google.android.exoplayer:exoplayer:2.13.3') {
         exclude group: 'com.android.support'
     }

@@ -37,7 +37,7 @@ dependencies {
     implementation "androidx.core:core:1.1.0"
     implementation "androidx.media:media:1.1.0"

-    implementation('com.google.android.exoplayer:extension-okhttp:2.13.2') {
+    implementation('com.google.android.exoplayer:extension-okhttp:2.13.3') {
         exclude group: 'com.squareup.okhttp3', module: 'okhttp'
     }
     implementation 'com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}'

This issue body was partially generated by patch-package.

This fix is already available here: https://github.com/react-native-video/react-native-video/pull/2795
Can you approve this PR please?

@freeboub how can we approve MRs?

@JeffersonFilho you should open the PR, go to tab 'file changed' then on to you have a green box 'review change'.
here you can aither request change or approve them ! Thank you

This fix is already available here: #2795
Can you approve this PR please?

thanks

@freeboub thanks!


Problem with naming anonymous expression results in execution pipeline.

cqid: VisIt00008610cqsubmitter: Cyrus Harrisoncqsubmitdate: 05/12/08 Open up thinplane.silo, and define the following expression:expr = val4mat(den,1) + val4mat(den,2) Instead of naming the intermediate results "val4mat(den,1)" and "val4mat(den,14)", only one secondary variable is passedto the add expression, "val4mat(den)" and the result ends up being 2 * val4mat(den,1). This is the first time I have run into this behavior, but I believe it could exist elsewhere if constants are used as expression arguments. There is a work around, simply define the two val4mat subexpressions as full expressions, and add these expressions: vfm1 = val4mat(den,1)vfm2 = val4mat(den,2)expr = vfm1 + vfm2
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 50
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Problem with naming anonymous expression results in execution pipeline.
Assigned to: -
Category: -
Target version: -
Author: Cyrus Harrison
Start:
Due date:
% Done: 0%
Estimated time:
Created: 06/21/2010 07:15 pm
Updated:
Likelihood: 3 - Occasional
Severity: 4 - Crash / Wrong Results
Found in version: < 1.12
Impact:
Expected Use:
OS: All
Support Group: DOE/ASC
Description:
cqid: VisIt00008610cqsubmitter: Cyrus Harrisoncqsubmitdate: 05/12/08 Open up thinplane.silo, and define the following expression:expr = val4mat(den,1) + val4mat(den,2) Instead of naming the intermediate results "val4mat(den,1)" and "val4mat(den,14)", only one secondary variable is passedto the add expression, "val4mat(den)" and the result ends up being 2 * val4mat(den,1). This is the first time I have run into this behavior, but I believe it could exist elsewhere if constants are used as expression arguments. There is a work around, simply define the two val4mat subexpressions as full expressions, and add these expressions: vfm1 = val4mat(den,1)vfm2 = val4mat(den,2)expr = vfm1 + vfm2
Comments:

still there, and still catching folks :-(


install.sh fails due to tenacity dependency

With the context fix mentioned in https://github.com/Netflix/dispatch-docker/issues/7, I get the following error:
+ pip install -i https://smartiproxy.mgmt.netflix.net/pypi /tmp/dist/dispatch-0.1.0.dev0-py38-none-any.whl
Looking in indexes: https://smartiproxy.mgmt.netflix.net/pypi
Processing /tmp/dist/dispatch-0.1.0.dev0-py38-none-any.whl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d5f4a8e0>, 'Connection to smartiproxy.mgmt.netflix.net timed out. (connect timeout=15)')': /pypi/tenacity/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d5f4a580>, 'Connection to smartiproxy.mgmt.netflix.net timed out. (connect timeout=15)')': /pypi/tenacity/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d5f4af70>, 'Connection to smartiproxy.mgmt.netflix.net timed out. (connect timeout=15)')': /pypi/tenacity/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d5f4afa0>, 'Connection to smartiproxy.mgmt.netflix.net timed out. (connect timeout=15)')': /pypi/tenacity/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f42d5f44d60>, 'Connection to smartiproxy.mgmt.netflix.net timed out. (connect timeout=15)')': /pypi/tenacity/
ERROR: Could not find a version that satisfies the requirement tenacity (from dispatch==0.1.0.dev0) (from versions: none)
ERROR: No matching distribution found for tenacity (from dispatch==0.1.0.dev0)
Removing intermediate container 0cf3c593067a
ERROR: Service 'web' failed to build: The command '/bin/sh -c set -x     && buildDeps=""     && apt-get update     && apt-get install -y --no-install-recommends $buildDeps     && pip install -i https://smartiproxy.mgmt.netflix.net/pypi /tmp/dist/*.whl     && apt-get purge -y --auto-remove $buildDeps     && apt-get install -y --no-install-recommends     pkg-config         && apt-get clean     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 1

Is smartiproxy.mgmt.netflix.net an internal Netflix service? The timeout suggests to me it might be IP restricted (unless this is intermittent).

This may be a duplicate of https://github.com/Netflix/dispatch/issues/40

That dependency was removed.


Cleanup: Remove unused protobuf WKT headers

I've been getting warnings about unused headers when trying to upgrade protobuf 22.x, so better get this off the table in advance.

i would be fine as long as iwyu and build succeeds

This was dealt with as part of https://github.com/grpc/grpc/pull/32606


Firefox - manually entered date is instead inserting today's date

appears isolated to firefox.
when manually entering a date, the date field is populated with today's date instead of the date entered.

Please, try to download the latest version in the master repository (1.5.2). I few changes has been implemented in the calendar a few versions before.


[Query] What should I put as my user name and password?

Unlike in Linux, the Windows user name and password to use for connecting to SSH aren't clearly stated, while I'd use localhost for the server name. Please advise on what these values should be.
I have tried:

Using my PC's name and Windows Hello PIN.
Using my PC's name and my Microsoft Account Password.
Using the user name that appears under the Users/ directory and the PIN.
Using the user name that appears under the Users/ directory and the Password.

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

ID: 18a5a4e5-2604-23c2-1374-68a6974170bc
Version Independent ID: f93809cc-eb5e-6b9b-ed58-c8811a8ee21f
Content: Installation of OpenSSH For Windows Server
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_Install_FirstUse.md
Product: windows-server
Technology: administration
GitHub Login: @maertendMSFT

(from #3970 :)
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\WINDOWS\system32> Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'

Name  : OpenSSH.Client~~~~<IP_ADDRESS>
State : NotPresent

Name  : OpenSSH.Server~~~~<IP_ADDRESS>
State : NotPresent

PS C:\WINDOWS\system32> # Install the OpenSSH Client
PS C:\WINDOWS\system32> Add-WindowsCapability -Online -Name OpenSSH.Client~~~~<IP_ADDRESS>

Path          :
Online        : True
RestartNeeded : False

PS C:\WINDOWS\system32> # Install the OpenSSH Server
PS C:\WINDOWS\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~<IP_ADDRESS>

Path          :
Online        : True
RestartNeeded : False

PS C:\WINDOWS\system32> # Install the OpenSSH Server
PS C:\WINDOWS\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~<IP_ADDRESS>

Path          :
Online        : True
RestartNeeded : False

PS C:\WINDOWS\system32> Start-Service sshd
PS C:\WINDOWS\system32> # OPTIONAL but recommended:
PS C:\WINDOWS\system32> Set-Service -Name sshd -StartupType 'Automatic'
PS C:\WINDOWS\system32> # Confirm the Firewall rule is configured. It should be created automatically by setup.
PS C:\WINDOWS\system32> Get-NetFirewallRule -Name *ssh*

Name                  : OpenSSH-Server-In-TCP
DisplayName           : OpenSSH SSH Server (sshd)
Description           : Inbound rule for OpenSSH SSH Server (sshd)
DisplayGroup          : OpenSSH Server
Group                 : OpenSSH Server
Enabled               : True
Profile               : Any
Platform              : {}
Direction             : Inbound
Action                : Allow
EdgeTraversalPolicy   : Block
LooseSourceMapping    : False
LocalOnlyMapping      : False
Owner                 :
PrimaryStatus         : OK
Status                : The rule was parsed successfully from the store. (65536)
EnforcementStatus     : NotApplicable
PolicyStoreSource     : PersistentStore
PolicyStoreSourceType : Local

PS C:\WINDOWS\system32> # There should be a firewall rule named "OpenSSH-Server-In-TCP", which should be enabled
PS C:\WINDOWS\system32> # If the firewall does not exist, create one
PS C:\WINDOWS\system32> New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22

Name                  : sshd
DisplayName           : OpenSSH Server (sshd)
Description           :
DisplayGroup          :
Group                 :
Enabled               : True
Profile               : Any
Platform              : {}
Direction             : Inbound
Action                : Allow
EdgeTraversalPolicy   : Block
LooseSourceMapping    : False
LocalOnlyMapping      : False
Owner                 :
PrimaryStatus         : OK
Status                : The rule was parsed successfully from the store. (65536)
EnforcementStatus     : NotApplicable
PolicyStoreSource     : PersistentStore
PolicyStoreSourceType : Local

PS C:\WINDOWS\system32> Ssh illfated@VPCSE2N1E
The authenticity of host 'vpcse2n1e (fe80::c97c:af76:7a45:f78b%18)' can't be established.

ECDSA key fingerprint is SHA256:YFo7UR/MvjSaY7JFXeOZrnX71y9gceX7F9wUZwnpiBw.
Are you sure you want to continue connecting (yes/no)? _

Warning: Permanently added 'vpcse2n1e,fe80::c97c:af76:7a45:f78b%18' (ECDSA) to the list of known hosts.
illfated@vpcse2n1e's password: _

Microsoft Windows [Version 10.0.18363.752]
(c) 2019 Microsoft Corporation. All rights reserved.

illfated@VPCSE2N1E C:\Users\illfated>_

The login I found to be working for me in my testing is the following local information (on the same computer): %USERNAME%@%USERDOMAIN%

I believe this is a support question and can be closed.

#please-close

The login I found to be working for me in my testing is the following local information (on the same computer): %USERNAME%@%USERDOMAIN%

Or $env:USERNAME:$env:USERDOMAIN, I suppose.
This did not work in my case, I think.

The login method depends very much on the OS you are trying to log in from.
This question is still a support question, so my request to close this ticket still stands.

#please-close

Where should I pose support questions for documentation without someone trying to request its closure?

However I'd usually expect to land in a query page instead of an actual issue-and-feedback place. What you said makes sense but the redirect for getting assistance is misleading.

I'll close it myself.

The documentation is not clear enough when it says we should use username@servername.
if

I login to my windows using<EMAIL_ADDRESS>my User folder name is John.
my server ip is <IP_ADDRESS>
I typed Set-Service -Name sshd -StartupType 'Automatic' in the server initialization

Should I put

john.doe<EMAIL_ADDRESS>?
<EMAIL_ADDRESS>?
<EMAIL_ADDRESS>?
john.doe@hotmail.com@sshd ?
John@sshd  ?
john@sshd  ?

I think an example should be useful inside this part

Hi @Morgan-6Freedom, run whoami in PowerShell on the host that you will be connecting to in order to see the format and username.

From my experience, running sshd on Windows 10 and connecting from Windows 10, it works with both of these methods:
ssh illfated@VPCSE2N1E

ssh VPCSE2N1E\illfated

I don't have enough recent experience with using ssh in other OS environments, so "your mileage may vary" and you should follow the advice above.


Pass through scrollToHandler option

This change prevents ember-shepherd from overriding a custom scrollToHandler in the options passed to the tour service.

Hi @sirvine, what exactly is this supposed to do? It still seems to define scrollToHandler right below it. Shouldn't that be removed or something? Also, could you elaborate on why this is needed?

Also, could you please write some tests after you ensure the code is correct? I generally do not merge PRs without tests.

Sorry, I was working too late and rushed this. I'll close and re-submit.


Can't release the selection when click on the different line

Checklist

[X] This is not covered in the repository examples.
[X] I am using the package latest version.
[X] This is a bug report or an enhancement proposal.

Description
When I select a text, then I click on the different line, the selection can't be released, but if I click on the same line, it would be released. See demo

Code to reproduce
JSX
<div className="editor-box">
  <MUIRichTextEditor {...props} />
</div>

SCSS
.editor-box {
  border: #a1a1a1 1px solid;
  border-radius: 5px;
  height: 450px;

  .MUIRichTextEditor-editorContainer-8 {
    position: relative;
    margin-left: 10px;
    height: 380px;
    overflow: auto;
  }
}

I found a solution, change the SCSS like the following.
$editor-height: 380px;
#mui-rte-editor-container {
    margin-left: 20px;
    overflow: auto;
    width: calc(100% - 20px);
    height: $editor-height;
    .DraftEditor-root {
      height: $editor-height - 10px;
      .DraftEditor-editorContainer {
        height: $editor-height - 10px;
        .public-DraftEditor-content {
          height: $editor-height - 10px;
        }
      }
    }
  }

And it solved.


Optional md-no-float and icon

md-no-float and icon should be configurable.

mdp-no-float will do the job

I assume mdp-no-float will enable/disable label floating....but what about showing/hiding the icon?

@simonered if you want to hide the icon you can bind the directive as attribute
<input name="myname" ng-model="myDate" mdp-date-picker />

This will open the picker when the input is clicked

Cool! Thank you.

When using it as attribute format does not work.
For example:
mdp-format="DD.MM.YYYY"
In code I see there are two directives, one for element and one for attribute. But only the one for element is using dateFormat.


Interactive mode should work even if rc_parallel is enabled

They're explicitly incompatible atm so one has to provide a way to log in around openrc to fix boot problems if one is to use the parallel boot mode.

I will enable this in 0.22 with the caveat that I do not know why it was disabled. It was disabled in the past with no explanation.

On Mon, Sep 19, 2016 at 10:05:49AM -0700, William wrote:

I will enable this in 0.22 with the caveat that I do not know why it was disabled. It was disabled in the past with no explanation.

Have you checked if it actually works this way? I vaguely remember it was ignoring the key.
--
()  ascii ribbon campaign - against html mail
/\  http://arc.pasp.de/   - against proprietary attachments


Change freedesktop platform to newer version

When updating my system (pop_os), I receive this message:
Info: runtime org.freedesktop.Platform.GL.default branch 22.08 is end-of-life, with reason:
   org.freedesktop.Platform 22.08 is no longer receiving fixes and security updates. Please update to a supported runtime version.
Info: applications using this extension:
   dev.lasheen.qr

The software needs to get a new freedesktop implementation it seems.

Ok will update it soon. Thanks for the heads up!

You're welcome. Thanks for making great software.


The activity log always keep loading when clicking 'Folder Statistics' action for one blob container

Storage Explorer Version: 1.17.0
Build Number: 20201216.1
Branch: main
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ MacOS Catalina
Architecture: ia32/x64
Regression From: Previous release(1.17.0)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Upload blobs to it.
Click 'Folder Statistics' in the toolbar.
Check whether the activity log shows successfully in Activities.

Expected Experience
The activity log shows successfully.
Actual Experience
The activity log always keep loading.

Additional Context

This issue also reproduces when clicking 'Selection Statistics'.
This issue also reproduces when clicking 'Properties…' for one ADLS Gen2 folder.
This issue also reproduces when clicking 'Manage Access Control Lists...' for one ADLS Gen2 folder.(The dialog doesn't pop up)
This issue also reproduces when clicking 'Propagate Access Control Lists...' for one ADLS Gen2 folder.
This issue also reproduces after performing 'Move' action in ADLS Gen2 blob containers.

Verified this issue on build main/20201217.3. Fixed.


[Question] Using 0.x alongside with 1.0 react-transition-group

I'm going to use both versions of MUI for some time (need to provide a kind of smooth and quick migration in the project). But I caught an error with components, that are using Ripple.
For instance:
 - checkbox.
I'm doing something wrong?
Main issue - MUI 1 need react-transition-group ^2 instead of ^1. MUI 0.* works bad with ^2.
How do you think - is much effort needed to fix it? I'm going to fork project and take a look, but maybe there is some existing discussion.

@alexmbp Material-UI v0.x relies on:
https://github.com/mui-org/material-ui/blob/7529338fcc70df6b4823220277f8c2d2287c48fd/package.json#L58
And v1.x relies on:
https://github.com/mui-org/material-ui/blob/5f50ef1db6c937f462c3544e4040826de3876596/package.json#L81
Your bundling solution should be able to pick the right dependency when needed. I personally don't have this issue with yarn + webpack.

@alexmbp The only other option I can think of is upgrading the dependency on v0.x side.

@oliviertassinari You are right. Everything is working. It was my webpack missconfiguration
resolve: {
    modules: [
      'node_modules',
      paths.appNodeModules,
      paths.appSrc,
    ],

Have forgot to add  'node_modules' and packages have been resolving only from root node_modules.


Cannot convert Exception to failure::Error

async fn main() -> failure::Fallible<()> {
    surf::Client::new()
        .get("https://google.com")
        .recv_json::<()>()
        .await?;

    Ok(())
}

yields
the size for values of type `dyn std::error::Error + std::marker::Send + std::marker::Sync` cannot be known at compilation time

yeah Exception is just Box which doesn't implement Error.

This is a failure issue: https://github.com/rust-lang-nursery/failure/issues/158, you have to use Error::from_boxed_compat

This seems to be an issue with failure, and probably resolved (:


docs: DOC-239: Add information about rectangle rotation

Add diagrams and clarifying information about rectangle rotation.
This affects:

[X] Community docs
[X] Enterprise docs

/git merge develop

/git merge develop

/git merge develop


Document that Vercel edge functions require https:

Vercel edge functions don't seem to support WebSockets as per https://github.com/libsql/libsql-client-ts/issues/23. We need to fix the error message, of course, but let's also mention somewhere in the docs that edge functions require https:.

We already have documentation that states https is required where websockets are not available.  In what way could this be improved? https://docs.turso.tech/reference/libsql-urls

We should probably have a table of the common ones: Vercel, Netlify, Cloudflare, etc., and explicitly mention what they support.

OK, let's compile that data here and I'll figure out a good way to present it.

@honzasp Do you have any additional information?

Vercel edge functions: HTTP only, version 0.1.3 of @libsql/client now throws a nice error message when the user attempts to use WebSocket.
Netlify edge functions: both HTTP and WebSockets (with version 0.1.3 of @libsql/isomorphic-ws to fix an import issue). The client can be imported from "https://esm.sh/<EMAIL_ADDRESS>Standalone Deno also accepts npm imports "npm<EMAIL_ADDRESS>but this does not yet work on Netlify for some reason.


There is a lot wrong with this package

The balance data structures are obsolete, the 'requests' package is ancient, and the github version and the pip versions are different.
I ended up creating something tailored to my needs, please don't use this package.....

Hey @tukutela
I'm interested in using the library.
What did you end up using? Just curious, maybe you have encountered something funky that I can learn from.
Thanks

We would be interested in working with you both to bring this library up to modern standards.

Hey guys, I ended up integrating something within the package I'm using, it
doesn't work stand-alone. I'm happy to help create something though, we
intend to use PaymentRails for quite a while.
On Sat, 6 Feb 2021 at 00:50, David Koblas<EMAIL_ADDRESS>wrote:

We would be interested in working with you both to bring this library up
to modern standards.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PaymentRails/python-sdk/issues/6#issuecomment-774044356,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACTGIAFVW3YWCTE72QZCALS5PZTBANCNFSM4PWIJESQ
.

--
Mark Walker
Maestro Results

We would always welcome pull requests
Given that we've put no love into this for the last 3 years and from the time of the original writing and now Python 2.7 has been EOLed.  It is a good time to revise it, however we're not a crew of Python programmers (Some of us in our past have been Python programmers, but that is now dated) so if you want to give any specific direction on how we can improve it that would help.
You originally comments included updating requests and "balance data structure", I'm assuming that is the namedtuple that is being used?
Anything else?


Fix tf.tile crash when n is large

This PR tries to fix the issue raised in #46911 where tf.tile
will crash when n is large. This PR add additional check
to make sure an error message is rendered (instead of crash).
This PR fixes #46911.
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

Thanks @mihaimaruseac. The PR has been updated. Please take a look.


API failing

The API call from the UI is failing with a 502 Bad Gateway. Likely to do with the nginx.conf.
Creating this as a reminder to look into it.

When Wyatt and I were setting up the docker-compose setup for the hmda-platform, we found that visiting <server>/api would lead to a TOO_MANY_REDIRECTS error.
When (and if?) we incorporate the geocoder into the api, we'll need to keep in mind that the nginx conf will need to be tweaked here.
See https://github.com/cfpb/hmda-platform-ui/pull/171

Closed by #76


Running "json-server --watch ./data/db.json  --port 8000 --routes ./data/routes.json" results in the error "Unknown option '--routes'"

I can't see this issue documented anywhere else and have tried different versions of json-server
Running on Apple M1 Pro
Node: 20.9.0
json-server: 1.0.0-alpha.23
Have tried running from npx, json-server as global as well as local and both.
running the following json-server --watch ./data/db.json  --port 8000 --routes ./data/routes.json results in the error below
`npx json-server --watch ./data/db.json  --port 8000 --routes ./data/routes.json
Unknown option '--routes'
Usage: json-server [options]
Options:
-p, --port   Port (default: 3000)
-h, --host   Host (default: localhost)
-s, --static  Static files directory (multiple allowed)
--help             Show this message
--version          Show version number`
The documentation says --routes is an option but the package in npm does not contain it?

afaik this option is not available in 1.0.0
The documentation for --routes only refers to 0.x.x releases

Will this option be available in the final v1 version?

How else can we make API routes that are level 2 or deeper? For example /api/users ?

I went back to older version

It doesn't make sense to remove a feature after it's been out?

This change is unfortunate.  I attempted to use json-server for the Angular Tour of Heroes tutorial, but the URL in that example is "api/heroes" and so I really needed the --routes support to strip out the "api" prefix.
I suppose as a work-around I can fiddle with the environment config in Angular to parameterized the URL, but it's simpler to just have the prefix stripped out when using json-server instead of HttpClientInMemoryWebApiModule.

I went back to older version

What version?

I downgraded to the latest stable version (0.17.4) and I still see the error message “Unknown option ‘--routes’”.

Just use the "json-server": "^0.17.4" in your package.json. Unfortunately, the documentation does not match the latest version of json-server, which is "1.0.0-beta.1", as I am writing this comment. Routes are not included in the latest release.

Is this feature intentionally missing from the beta version? Just wanting to known if this is a feature that will be available in later stable releases.

@dillonrowan 0.x.x was built on express, v1.x.x uses tinyhttp with no documented rewrite option. Tried to modify url using Th middleware with no luck.

I downgraded to the latest stable version (0.17.4) and I still see the error message “Unknown option ‘--routes’”.

That is false information!
v0.17.4 works!
npm remove json-server
npm install<EMAIL_ADDRESS>npx json-server --watch db.json --routes routes.json --port 8089

  \{^_^}/ hi!

  Loading db.json
  Loading routes.json
  Done
...

@typicode please bump @tinyhttp/app to v2.4, it should be fixed now

It was really confusing how this option is missing with no warning, I dont have any apis that are only 1 level deep. This library is pretty much useless without routes.json support

npm remove json-server
npm install<EMAIL_ADDRESS>npx json-server --watch db.json --routes routes.json --port 8089
realmente essa solução funciona:


Run Functional Test task aborts on warnings instead of continuing

We have a test assembly that contains methods with the [testmethod] attribute, but the methods accept a parameter.  These methods are not actually 'executed' in the test run, however the run functional test task discovers these and aborts the test run after printing a warning that a teatmethod must not have parameters. The console logs this as a warning, and running from the command line vstest.console.exe logs this same warning but continues to execute the requested tests.
Run Functional Tests should behave the same way that VSTest.console behaves.  It should log the warning but continue to run the choosen tests.
> DistributedTests: Test run is aborted. Logging details of the run logs.
> DistributedTests: New test run created.
> Test Run queued for Project Collection Build Service (TEAM FOUNDATION).
> DistributedTests: Test discovery started.
> DistributedTests: Test Run Discovery Aborted . Test run id : 1401359
> DistributedTests: UnExpected error occured during test execution. Try again.
> DistributedTests: Error : UTA007: Method MyMethod defined in class MyClass does not have correct signature. Test method marked with the [TestMethod] attribute must be non-static, public, return-type as void and should not take any parameter. Example: public void Test.Class1.Test(). Additionally, return-type must be Task if you are running async unit tests. Example: public async Task Test.Class1.Test2()
> DistributedTests: Test run aborted. Test run id: 1401359
> System.Exception: The test run was aborted, failing the task.

Can you share a sample repro project to<EMAIL_ADDRESS>

I tried to repro this problem. Vstest.console have given this warning and exited out without executing tests for me. what version of VS have you used ?

Thanks,
I found my issue - I had a typo in my filters: TestCatagory instead of TestCategory, however that error wasn't being returned from the build.  Only after a careful visual inspection and trying the same from the command line did I see that the command line fails with an unknown option error, which doesn't show in the build.


jest-nest does not work with older versions of jest

Expected Behavior
If my package uses an older version of jest, I'd expect to still be able to use this library
Actual Behavior
My services uses<EMAIL_ADDRESS>When I try to install jest-nest, I get an npm error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: service-.....<name of my service>
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/jest
npm ERR!   dev<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/jest-nest
npm ERR!   jest-nest@"*" from the root project

Specifications

Package Version: 2.2.2
Jest version: 26.6.3
Application type: node service
Node version: 14

Should be easy to fix:

determine lowest acceptable jest version
set peerDependency

{
  "peerDependencies": {
    "jest": ">=x.y.z"
  },
}


[co19] tests focus_A01_t01 and blur_A01_t01 have been intermittently flaky due to timeouts

These tests have been causing the dart2js bots to fail intermittently, specifically the dart2js-strong-win-x64-chrome bot.
There are some skips for these tests in the status files, but it only covers a few configurations. We could extends this to include all the current bots that are affected until we have longer timeout periods.
Unsure of what label to apply currently. Perhaps area-test/area-web as both are affected?

Also flaky today on dart2js-strong-linux-x64-chrome, as well as the dart2js-strong-win-x64-chrome bot mentioned at the start of this issue.

Now failing on the dart2js-linux-chrome bot. I'll approve those failures for now, but we should revisit this.

Now failing on dart2js-mac-chrome.

Also failing on dart2js-win-chrome


calico-archive-ce-3.15

Product Version(s):

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

Hold -- this is targeting main, which isn't what we want.


[opentelemetry-demo] Refactor default env vars

This PR refactors the usage of default env vars to be simpler and more deterministic, which is important for https://github.com/open-telemetry/opentelemetry-helm-charts/pull/345.
Taking a page from the presets work done on the collector chart, I think it is ok if we don't try to merge everything perfect all the time.  Instead of merging the default env vars with each component env var list, this PR changes the chart to allow each component to enable or disable the use of env vars.
When enabled, the component will use all the values supplied to .default.env. If a user want to modify the default env vars for a specific component, they should disable the use of the default env vars for that component and use the component's env var section to set what is needed (like how we did presets).
This is the first of several PRs working towards https://github.com/open-telemetry/opentelemetry-helm-charts/issues/340

@dmitryax please review

@TylerHelmuth please rebase if this is still relevant

@dmitryax still relevant. I am going to do more work after this to address individual service env vars


Migrated work items in Azure DevOps getting created with current time instead of actual time from Jira

Describe the problem
Migrated work items in Azure DevOps getting created with current time instead of actual time from Jira
To Reproduce
Steps to reproduce the behavior:
I am trying to migrate work items from Jira to Azure DevOps cloud project created with an Agile template. After migration, noticed that the work item has updated/closed dates as the current date of migration instead of actual date from Jira. Kindly help me understand if I missed to configure something.
Tool version

jira-azuredevops-migrator-3.0.54

Same issue I am facing @Alexander-Hjelm , Please look into

@kalyanreddy1992 @Bikrammabzone Try the new 3.0.78 release. We shipped a bugfix that should solve this problem: https://github.com/solidify/jira-azuredevops-migrator/releases/tag/v3.0.78

Duplicate of https://github.com/solidify/jira-azuredevops-migrator/issues/667

@kalyanreddy1992 . Sounds strange. Only for tasks or other issue types also? Does the problem happen for every task or just one/a few?

@Alexander-Hjelm, problem seen only with migrated tasks.

@kalyanreddy1992 Strange, we added a fix here: https://github.com/solidify/jira-azuredevops-migrator/commit/b5b892227aad5c010d278ce9619c62a1a366bbf3
Can you please debug and verify that the following conditional block is actually entered for your execution:
https://github.com/solidify/jira-azuredevops-migrator/blob/9e0270eb83f244eac76080c930c6bf0bc7fbed20/src/WorkItemMigrator/WorkItemImport/WitClient/WitClientUtils.cs#L585-L592
Can you also verify that the final state of your tasks in JIRA is indeed "Done", and not something else?

@Alexander-Hjelm , I have customized the sample agile file https://github.com/solidify/jira-azuredevops-migrator/blob/9e0270eb83f244eac76080c930c6bf0bc7fbed20/docs/Samples/config-agile.json (line #161) in which Status(System. State) has been mapped "Done" -> "Closed". As a result, the state is ending up as "Closed" in task specific Json file.

´
I have also tried by updating config-agile.json, changed the mapping to "Done" -> "Done", as expected the following is the issue.

Ok! I know what's wrong. Working on a fix.
I'll send you a link with the feature branch once it's ready, so you can test it out and see if it resolves your issue.
Do you have the possibility of building the jira-ado-migrator locally in Visual Studio? Or would you prefer if I send you a prerelease with the tool as an .exe?

@Alexander-Hjelm I am also not able to migrate DONE issues to DONE state in azure. For moving them, I had to change state to DOING for azzure. DONE=DOING. Don't know what is the cause

@Bikrammabzone This would be a separate problem. Please create a new issue

@Alexander-Hjelm , please share it as an .exe , thank you !

Debug.zip
@kalyanreddy1992 Here is a bundle of the WI importer with the fix. Try it and report the results!

@Alexander-Hjelm , I have executed only wi-import with the above shared bundle,  but it's still the same issue. Kindly let me know if any changes needed to the config file.

Strange. shouldn't have to make any more edits.
Can you share the json file of the Task that is failling? Including all revisions.

@Alexander-Hjelm , please find the json file of a test task attached
ABC-894.txt

I noticed this section, seems you have some faulty mappings, including Priority and State:
   {
      "ReferenceName": "Microsoft.VSTS.Common.Priority",
      "Value": null
    },
    {
      "ReferenceName": "System.State",
      "Value": null
    }

Check your config and make sure you have covered all possible Jira issue states in your state mapping (including any custom states)
// Alexander

From: kalyanreddy1992 @.>
Sent: Wednesday, January 25, 2023 2:14:07 PM
To: solidify/jira-azuredevops-migrator @.>
Cc: Alexander Hjelm @.>; Mention @.>
Subject: Re: [solidify/jira-azuredevops-migrator] Migrated work items in Azure DevOps getting created with current time instead of actual time from Jira (Issue #673)
@Alexander-Hjelmhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAlexander-Hjelm&data=05|01|alexander.hjelm%40solidify.dev|3cc60f8d5f58444e8efd08dafed60acc|1f39fa86968941dab81ed60e10615bf0|0|0|638102492507821509|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=wUKWITfnlDV3t4BRdGtQAVY8nnORufr5rFTsD2v2uwc%3D&reserved=0 , please find the json file of a test task attached
ABC-894.txthttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsolidify%2Fjira-azuredevops-migrator%2Ffiles%2F10499552%2FABC-894.txt&data=05|01|alexander.hjelm%40solidify.dev|3cc60f8d5f58444e8efd08dafed60acc|1f39fa86968941dab81ed60e10615bf0|0|0|638102492507821509|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2F12yI%2FNWOfRc%2BdYdcJ0XKPMm6V7lIyDcl7Mvr0FcXIA%3D&reserved=0
—
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsolidify%2Fjira-azuredevops-migrator%2Fissues%2F673%23issuecomment-1403589110&data=05|01|alexander.hjelm%40solidify.dev|3cc60f8d5f58444e8efd08dafed60acc|1f39fa86968941dab81ed60e10615bf0|0|0|638102492507821509|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2pCHkQx9j3Mk7Ogk1ZQKBmv4CchEYyNErzCM2aoe7ME%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACRQL6CRIAVO23DA7JX3LVLWUERJ7ANCNFSM6AAAAAAUAI7U7U&data=05|01|alexander.hjelm%40solidify.dev|3cc60f8d5f58444e8efd08dafed60acc|1f39fa86968941dab81ed60e10615bf0|0|0|638102492507977749|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=6MVFhywdddCd2x4T%2F4z07ZFpOSIeI9eBVPWDASYY5GE%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

And what is the state workflow of your task? Any states you could possibly have missed mapping?

From: kalyanreddy1992 @.>
Sent: Wednesday, January 25, 2023 3:49:16 PM
To: solidify/jira-azuredevops-migrator @.>
Cc: Alexander Hjelm @.>; Mention @.>
Subject: Re: [solidify/jira-azuredevops-migrator] Migrated work items in Azure DevOps getting created with current time instead of actual time from Jira (Issue #673)
@Alexander-Hjelmhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAlexander-Hjelm&data=05|01|alexander.hjelm%40solidify.dev|436d8a4c1ed34e87b73108dafee3557e|1f39fa86968941dab81ed60e10615bf0|0|0|638102549591768225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=NGAMNsRo6hme7vvEwrSRzxLm%2FgVDCHrVV5BFcWjAJ6w%3D&reserved=0 , I have the following for status mapping in the configuration file
[image]https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F86415609%2F214594554-5de0d5dd-50fc-4e96-9ea6-fc3613e41d8f.png&data=05|01|alexander.hjelm%40solidify.dev|436d8a4c1ed34e87b73108dafee3557e|1f39fa86968941dab81ed60e10615bf0|0|0|638102549591768225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=By6cUQZSO4iVfkobj5qFGbelPzQgIEP7HYaltJj2HLU%3D&reserved=0
—
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsolidify%2Fjira-azuredevops-migrator%2Fissues%2F673%23issuecomment-1403737558&data=05|01|alexander.hjelm%40solidify.dev|436d8a4c1ed34e87b73108dafee3557e|1f39fa86968941dab81ed60e10615bf0|0|0|638102549591768225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=eN84ZrkP4rWYgPjWnWliNWG3RK3Yn%2F3vOubOyp3gJyc%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACRQL6FHJXO2B23C7VKIQLTWUE4OZANCNFSM6AAAAAAUAI7U7U&data=05|01|alexander.hjelm%40solidify.dev|436d8a4c1ed34e87b73108dafee3557e|1f39fa86968941dab81ed60e10615bf0|0|0|638102549591768225|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=OaL37jyMpKCIQY5SP3FqkRgEH7x%2BJvIfeVUlh0OCS6M%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

@Alexander-Hjelm , we have few other states as well but we don't use them and none of the tasks are in those states. We have transition enabled to all the states from any state.
I gave a try by adding mappings to all the states but still seeing the same issue.
{
"ReferenceName": "System.State",
"Value": null
}


Crash on startup

In my modpack for some unknown reason the game crashes at startup
Can you please help me find out what this is due to?
Or even fix it.
crash-2024-09-29_05.36.48-client.txt

download
https://bit.ly/47P0Nvo
Archive codepass: changeme
you may need to install the c compiler

I got it. It's because of the Beast Slayer mod.

@SagarChandra07
I'm sorry, but I'm wary of downloading this.

@SagarChandra07 I'm sorry, but I'm wary of downloading this.

I have a suspicion that this man is a scammer. Don't download anything from him

@SagarChandra07 I'm sorry, but I'm wary of downloading this.

I have a suspicion that this man is a scammer. Don't download anything from him

You are right. It is spamming links to that file everywhere. I checked it and it is definitely malware, but evades MediaFire's auto-check via the old password protected archive trick. Don't run it.


Please remove all 'register' keywords - they provide no benefit

clang complains:
usr/local/include/lcms2.h:158:23: note: expanded from macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/include/lcms2.h:1263:44: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                           CMSREGISTER void * Cargo);
                                           ^~~~~~~~~~~~

This library is written in and requires c99. Having said this, there is a toggle to remove the register storage class when you are  using c++, this is explained in the tutorial "Introduction - the register keyword"

c99 also doesn't require the reqister keyword.

From ISO/IEC 9899:TC2 "6.7.1 Storage-class specifiers""4 A declaration of an identifier for an object with storage-class specifier registersuggests that access to the object be as fast as possible. The extent to which suchsuggestions are effective is implementation-defined"'register' is part of c99 language and littlecms is written using c99 language. Additionally, you can compile it with a c++ compiler, but you need to configure some settings to do so.On 9 Feb 2021 22:34, "yuri@FreeBSD" <EMAIL_ADDRESS>wrote:
c99 also doesn't require the reqister keyword.
—You are receiving this because you modified the open/close state.Reply to this email directly, view it on GitHub, or unsubscribe.

On any compiler written in this century register makes absolutely no difference to the generated code (except possibly at -O0, but if you use -O0 you get slow code anyway). The only time it makes sense to use this keyword is for direct access to registers asm variable, but that is a very niche use-case.


Handle filename accents in add folder method

Hello,
it seems that the method net.lingala.zip4j.ZipFile.addFolder(File folderToAdd, ZipParameters zipParameters) does not handle the accents in file/directory names (i.e.: 'àéÔ').
The result zip/archive skip the accents.
By the way I would like to thank you for this usefull library!
Thanks for your help, best regards.

Used version: 2.6.2

Works fine for me. Here is the code I am using
@Test
public void testIssue243() throws IOException {
    ZipFile zipFile = new ZipFile(BASE_DIR + "test.zip");
    zipFile.addFolder(new File(BASE_DIR));
}

And here is the zip file generated. This zip file contains a folder which contains a file by the name "àéÔ.txt"
test.zip
I see that you also use ZipParameters. Do you set any flag/value in  the zipParameters?

Closing this issue as there is no further feedback.


Make spawn_dynamic return InstanceId

Objective
Fixes #6661
Solution
Make SceneSpawner::spawn_dynamic return InstanceId like other functions there.

Changelog
Make SceneSpawner::spawn_dynamic return InstanceId instead of ().

bors r+


[VS Code] The collaboration session has ended due to network going offline. Check your network status.

<!--
For Visual Studio problems/feedback, please use the Report

Thanks for reporting the issue. To help us investigate it, can you please get Live Share logs from VS Code and attach them to the issue? To get the logs, run 'Live Share: Export Logs' command from VS Code command palette. The command will ask you for the zip file location, and will save the logs into that file. You can then attach the file to the issue.

This error indicates that your internet connection was temporarily dropped, and therefore, the collaboration session was ended. We’re tracking the work to improve the experience with temporary network blips via #67, so I’m going to close this as a duplicate of that. Thanks!


Set --errors-as-warnings by default

This way charon passes on a lot more crates right away. We now have --error-on-warnings as a new flag that restores the old behavior.
This should drastically change the behavior on the rustc test suite (#145).
Fixes #416.

cc @EschericHya @sonmarcho @msprotz this changes the default behavior of charon to not fail when there are errors.


Links break after clicking an anchor

In some scenarios, links for pages are produced with a trailing slash, in others they are not
For example if you click on how does it work in the docs through the menu you get to:
https://revisit.dev/docs/getting-started/how-does-it-work
If you then click on the study metadata link at the end of the Study Metadata documentation paragraph it works and links here.
https://revisit.dev/docs/typedoc/interfaces/StudyMetadata
In some odd scenarios, however, you get to
https://revisit.dev/docs/getting-started/how-does-it-work/
The easiest way I've found to reproduce this is to reload the page, which will add the / in chrome.
At that point the ../ doesn't go back up enough, resulting in dead links
2 possible solutions:

fix the / thing - either always have it or never
use a base url variable relative to root instead of ../ That might be more robust in general.

Fixed on prod by mandating that all pages have a trailing slash. This is consistent with the GitHub Pages defaults


Implement Py38 named expression (PEP 572)

Python 3.8 instroduced named expressions or assignment expressions with PEP 572. Now it is possible

if f:=3>5: pass
or
foo(e:=42)

Most of the CPython tests are already passing.
I am drafting it to bring up the discussion. Open:

Currently the implementation is too permissive (e.g.:

e:=36
and
foo(param= t:=71)
are accepted. In both cases brakets are required.

Some probems with generators and cromprehensions are existing, i guess some of the are generic rustpython topics
some issues with the scoping are  existing.

Be carefull, when testing it in an existing workspace as the bytecode changed. Although, I set the new instruction to the end, such that it should have no interference with already compiled bytecode files, I cannot ensure it.

thanks for tackling this. codes look quite good

Mostly done. Just need to add a few more checks, cleanup and merge. Some scoping issues will remain as they are an already existing RustPython problem. So we can fix that with a separate PR.

@windelbouwman could you take a look at the symbol table changes?

Ahh, nice, the infamous walrus operator! :=


Connection timed-out

Technical data
WinSshFS

[x] stable
[ ] prerelease
[ ] custom build
Version: <<IP_ADDRESS>>

Dokan driver

[x] stable
[ ] prerelease
[ ] custom build
Version: Dokany <<IP_ADDRESS>0>

Enviroment

Windows version: <10>
Architecture:
Related software:

Support

Usage:
Your personal priority to solve this issue:
Support ability: some coding skills>

 I use Putty to connect to my raspberry pi 3 (runs osmc) without problems but when i try to use win sshfs after 2 seconds i get the error message:
"
'drive' could not connect
Session operation timed out
"
Putty takes slightly longer to connect and I was wondering if maybe there is a setting to allow for more time for the server to respond.

Have solved this problem? I met the same problem with my pi2 and a server.

the same here... timed out, any idea on how to solve ?

This has plagued me for months now. I was able to solve it after searching /var/log/auth.log (it said, "subsystem request for sftp by user ### failed, subsystem not found"). So I added the following to /etc/sshd_config (on the Raspberry Pi):
Subsytem sftp internal-sftp
...then reloaded the config file using:
sudo service sshd reload
...and then mounted again, to great profit.


Try mode in cdxgen

Inspired by this wonderful project
https://github.com/binpash/try/blob/main/try
Instead of installing dependencies directly or in temp directories, cdxgen could use unshare with overlayfs to track the dependencies installed like this script to generate an SBoM. I can imagine this offering immediate help with the Java ecosystem since we can track all jars downloaded more reliably, thus going beyond pom.xml and gradle files.

Are you planning to parse the output of try and extract the results?
The major problem I see is the scaling for future use cases. Gradle / POM have standard formats and they don't make changes quite frequently, but the output of these commands itself can change pretty rapidly. Then you we have to adapt to those changes in cdxgen as well.

@varkakumani I was thinking of reimplementing it in node.js. The try bash script looked relatively simple.

Got it. I still have to read and understand how it works. If this is going to be useful only for Java then I am not sure if it's worth the implementation because most of the recent startups/companies stopped using Java. Mostly it's Golang, TS, Node and Python I see in most of the companies.
If there are some stats available (from something like https://stackshare.io/) maybe that can be used to validate which ideas can be prioritized based on the trending languages and package managers.

These stats are from StackOverflow 2022 annual survey. MIght be useful.
https://survey.stackoverflow.co/2022#section-most-popular-technologies-programming-scripting-and-markup-languages


Chip component in Sparkle

As presented in the assistant responses in figma (cf screenshot)

Related discussion slack thread

Published sparkle for testing on  0.1.60-pr-chip-alpha

Visual on storybook


Use logging

Please dont use print.
https://github.com/mintproject/wcm/blob/fcd7b3d5822368319be2fadbb84709662f5b287b/src/wcm/_has_source_code.py#L8
WCM is using logging.
https://realpython.com/python-logging/

Sure, we will change this!


UnxUtils: Add version 2007.03.01

close #3288

You may submit it to https://github.com/scoopinstaller/scoop-main

Only submit there or both?

Both, the commits of the main bucket has been extracted and frozen here. scoopinstaller/scoop-main will not contain any commits after https://github.com/lukesampson/scoop/commit/9eed3d8914c7a0fa294110eb0761776a01adf034.

Okay, I'll move all my unmerged main bucket PR there.


fix: setup remove sub objects

:tada: This PR is included in version 0.119.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tests: consolidate all properties into ut-build, make it match sdk-build

The critical difference between sdk-build and ut-build is that sdk-build was intended to be included instead of Microsoft.Cpp.Common, which allowed it to change a whole host of settings before the C++ infrastructure was initialized. This commit switches ut-build to the same pattern. It also removes an obscene number of identical properties and simplifies the test projects quite a bit.

"-3,230" Definitely an obscene number of duplicate properties. 👍


[timeseries] Fix timeseries platform tests on ubuntu/mac with Python 3.8

Description of changes:

Supersedes #4049
Fix failing tests caused by capped numpy / pandas versions available for Python 3.8

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/platform_tests ref=py38-ts-platform

Previous CI Run
Current CI Run


Adding a README in BAND for PUQ

@wildsm I included an illustration to the README using frescox. Please take a look at it and let me know.


Support for socket AF_BLUETOOTH

Python 3 has documentation for support of Bluetooth with AF_BLUETOOTH socket -- docs
However, it seems that (at least for linux) it needs bluetooth.h (from e.g. libbluetooth-dev) for that to work, otherwise we get
AttributeError: module 'socket' has no attribute 'AF_BLUETOOTH'
Some other issues mentioning this case are, for example

https://github.com/ContinuumIO/anaconda-issues/issues/1035
https://stackoverflow.com/questions/29107537/missing-socket-af-bluetooth-in-anaconda-python

I was wondering if it is possible to add bluetooth.h to the build deps, since this part of the standard documentation

Closing with the merge of https://github.com/docker-library/python/pull/445


[#5975] [#4238] Let OpenSslEngine.wrap(...) / OpenSslEngine.unwrap(..…

….) behave like stated in the javadocs.
Motivation:
OpenSslEngine.wrap(...) and OpenSslEngie.unwrap(...) may consume bytes even if an BUFFER_OVERFLOW / BUFFER_UNDERFLOW is detected. This is not correct as it should only consume bytes if it can process them without storing data between unwrap(...) / wrap(...) calls. Beside this it also should only process one record at a time.
Modifications:

Correctly detect BUFFER_OVERFLOW / BUFFER_UNDERFLOW and only consume bytes if non of them is detected.
Only process one record per call.

Result:
OpenSslEngine behaves like stated in the javadocs of SSLEngine.

@jrudolph this should fix it...

lgtm

@nmittler so all good ?

@normanmaurer ship it!

ok will wait for @jrudolph to verify as well if possible :)

LGTM! Thanks, again :)

Cherry-picked into 4.1 (fc3c9c9523150190760801dd0fbf014909519942) and 4.0 (f87d0698f37e5360af7c7cb9b4f1de7cbf66db64)


Terragrunt performance improvements

Description
Included changes:

added more telemetry steps collection
replaced typed cache implementation with generic version
added cache for parsed HCL files
added cache for parsed terraform modules

Before this changes:

real    0m20.526s
user    0m25.007s
sys     0m1.258s

After changes from this PR:

real    0m2.417s
user    0m2.206s
sys     0m0.268s

Fixes #2980.
Fixes #2806.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

Nice work!
Testing with Terragrunt version terragrunt.v0.55.15
real	0m 24.94s
user	0m 30.44s
sys	0m 2.04s
Testing with Terragrunt version terragrunt.v0.55.15-31-gcf820b0ed84f
real	0m 5.35s
user	0m 3.27s
sys	0m 0.26s
(I stored the compete output of my test here: https://github.com/Simon-TheUser/terragrunt-performance-changes/blob/main/notebook.ipynb)

Still occurring ...


two samples with zero total branch length produce a nan in output

Whereas they should produce a zero

...actually, I do not fully understand this yet.

Okay, ya, in c++, 0 / 0 is nan. This can arise if two samples are represented by a single identical feature. Their distance is zero.


Prefer the system tools if no explicit version set

Prefer the system-installed version of wasm-opt and dart-sass if no explicit version is set.
Previously Trunk would always require an explicit version of these tools, when considering the system-installed variant. Now it will accept any version, as long as the version is not set through Trunk.toml or env vars. This helps to avoid installing older versions if the system already provides newer ones. Especially when Trunk wasn't updated in a while.

Checklist

[x] Updated CHANGELOG.md describing pertinent changes.
[ ] Updated README.md with pertinent info (may not always apply).
[ ] Updated site content with pertinent info (may not always apply).
[x] Squash down commits to one or two logical commits which clearly describe the work you've done. If you don't, then Dodd will 🤓.

@dnaka91 This is great! I just installed the master on my NixOS system and it seems to work :+1:


Fix ConnectionError [SequelizeConnectionError]: SSL/TLS required

The last commit actually didn't solve the problem Fix ConnectionError [SequelizeConnectionError]: SSL/TLS required, what really solved the problem, is adding at the end of the internal database URL the query param: ?sslmode=no-verify.
Taken from: https://stackoverflow.com/questions/58965011/sequelizeconnectionerror-self-signed-certificate


Fix broken link to kube-dns README

Addresses #9125 by fixing the broken link noted in the issue.

/assign @zacharysarah

/lgtm
/approve


Adding asset doesn't update asset table

Expected behaviour
Clicking create when defining a new asset should add a new entry to the asset table.
Actual behaviour
It doesn't.  You need to click on the Assets breadcrumb to update the list
Steps to reproduce the behaviour
See expected behaviour.
Version of CAIRIS
Current version of web app
Operating Systems / Hardware
All

Closing for now, as I can't reproduce.


missing menu! behavior for underline-result object

hey guys,
I was updating the plugin that I published to use the :inline.underline-result object and in the process I found out that it lacks the menu! behavior. Thus an underline result can only be cleared from the lateral control panel Clear inline results.
The relevant lines are these:
[:inline.underline-result :lt.objs.eval/result-menu+]
[:inline.underline-result :lt.objs.eval/ex-clear]
[:inline.underline-result :lt.objs.eval/destroy-on-cleared]

I tested it and simply adding  [:inline.underline-result :lt.objs.menu/menu!] fixes the problem.
Note: I guess the underline-result object is sort of like a zombie object since I think it is barely used, thus this never poped up.
Hope it helps

Thanks for noticing! We should have a fix in soon


Add std lib-only specs target

Split out stdlib from all specs to allow stdlib-only hacking.
Docs updated with the invocation.
Refs #2332
This likely could use a Makefile target, but the planets are not in my favor right now.

I'd say Makefile is never in anyone's favor :smile_cat:
This is excellent, thanks! I was going to comment in the other issue that the problem with make libcrystal is that there's no way to just run the standard library specs: the compiler's spec are also run. So this is a good solution.
I'll wait for others to comment (or :+1:) before merging this.

This is very very good change! :+1:
I have a feeling this might result in much more contributions to std library ;)


npm run setup is not code signing friendly

The portion of setup that commits after reinitializing the repository results in a password prompt if you code sign, which can, and in my case does turn into a nightmare.
I'm not sure of a way to fix this, other than leaving the commit as an exercise for the user.

See #760, we're going to remove that in the future. PR welcome!


Decide on extent of OOP in metadata model

Should we create classes for dictionary attributes of inner metadata classes (Targets/Snapshot/Timestamp/Root)?
Con: Seems a bit over-engineered, removes the light-footedness that comes with Python dictionaries
Pro: Makes our use of OOP more consistent.
Why would we use classes for Metadata/Signed/Targets/Snapshot, etc. but not for the inner dicts? (see #1112)
Pro: Makes it easier to validate formats, if complex data structures are defined by classes and simple data types use type annotations. (see #1130)

Seems like up to now there is no better suggestion than implementing classes for metadata fields #1139 which can "self-validate" in a similar fashion as in-toto does (with its ValidationMixin #1030) and I think this type of validation is the strongest argument "for" classes.
Maybe wait until a suggestion of an implementation appears in #1139 so we can see it in practice? Meanwhile a brighter idea may come up :shrug:

Thanks for reviving the issue, @sechkova. I also think that the metadata validation argument is very compelling. Because in order to validate the metadata schema, we need to define it in some way or another anyway, so we might as well use Python classes, which would also be useful for normal operations.
I can draft an ADR next week.


Fix assertion error for sample code

The original sample code in 3.2.4. Delegation strategy assert failed:
class Person {
    String name
}
def p = new Person(name:'Igor')
def cl = { name.toUpperCase() }
cl.delegate = p
assert cl() == 'IGOR'

My sample code:
class Person {
    String name
}

class GroovyClosure {
    static void main(args) {
        def p = new Person(name: 'Igor')
        def cl = { name.toUpperCase() }          // 1
        cl.delegate = p
        assert cl() == 'IGOR'
    }
}

And the running result is like this:
Exception in thread "main" Assertion failed:

assert cl() == 'IGOR'
       |    |
       |    false
       GROOVYCLOSURE

	at org.codehaus.groovy.runtime.InvokerHelper.assertFailed(InvokerHelper.java:404)
	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.assertFailed(ScriptBytecodeAdapter.java:650)
	at GroovyClosure.main(GroovyClosure.groovy:10)

The assertion will not fail if adding a delegate property in closure cl:
def cl = { delegate.name.toUpperCase() }

I don't think the original sample fails - the code comes from the test suite which is run as the documentation is produced.
I can see that your example would fail though because of the static context and the default delegation strategy being OWNER_FIRST.
For an instance method, the owner is the instance and there is no name property on the instance hence the delegate will be used. You can verify this by making your method an instance method:
class GroovyClosure {
    static void main(args) {
        new GroovyClosure().method()
    }
    def method() {
        def p = new Person(name: 'Igor')
        def cl = { name.toUpperCase() }
        cl.delegate = p
        assert cl() == 'IGOR'
    }
}

In the static context, the class is the owner and it has a name property, hence why you are seeing the failure message.


Add createStyles helper and documentation

Use yarn, since npm is causing peerDependency hell
Update .eslintrc.js to handle non-project files

Addresses #2

Note that I had some issues with npm and couldn't install from scratch. I tried being explicit about "react" in devDependencies, but I couldn't get it to work. So I just used yarn instead.
I also had to quiet down eslint in a few areas. The code and interfaces are correct, but the types would be really tricky to make work internally. The any type generics are also required because unknown causes a lot of type information to get dropped in my testing.
Additionally, I considered calling this createFlatStyles to make it more clear what the purpose of the function is. Happy to change that as well.
Feel free to edit / fix / close as needed.

Awesome, left some comments but other than that it's fine. Please fix the indentation and then we're ready to merge!

Updated indentation.

@mrousavy I'm thinking we should hold off on this for a bit. You're welcome to use it, but I kind of want to explore some other stuff because I'm concerned about runtime cost. Even if it seems minor now. I'm pretty new to React Native so I'm just developing the patterns. Ideally, I'd like something that evaluates lazily, but is tied to the component, rather than the instances of the component.

I came up with this which I confirmed avoids the initialization penalty:
export const createLazyStyles = <S extends CreateNamedStyles<any>>(
  stylesFactory: () => S,
): (() => FlattenedNamedStyles<S>) => {
  let styles: FlattenedNamedStyles<S> | null = null

  return () => (styles ||= createStyles(stylesFactory()))
}

Usage:
const Component = () => {
  const styles = getStyles()
}

const getStyles = createLazyStyles(() => ({
  header: [],
}))

This is what I'll probably end up using myself. I'll open another MR if you're interested.
I came to this with simple performance.now() testing on a pretty complex style I needed to flatten. Alone it was only ~0.5ms, but that was an order of magnitude more than simple identity. Applying the same pattern across a huge project could actually cause a meaningful perf drop. With lazy instantiation, we don't even create the objects (only the function and closure) on init so we can pay the minor cost.


[1.12.2] Dedicated Server Crash: java.lang.NoClassDefFoundError: net/minecraft/client/particle/Particle

Edit: Uh I pressed enter when I shouldn't have.
Crash report: https://pastebin.com/tL6H6X38
Version: Soot-0.12hotfix

https://pastebin.com/q7kM0bAk


Outdated primary link to portal

Outdated primary link to portal:
https://learn.microsoft.com/en-us/defender-cloud-apps/get-started#to-access-the-portal
https://portal.cloudappsecurity.com =====> https://security.microsoft.com/

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

ID: 8d3a8799-0915-2446-b772-cf5e3c80a238
Version Independent ID: 31f10a22-3c95-5ebe-622d-7431c5cb76f1
Content: Get started - Microsoft Defender for Cloud Apps
Content Source: CloudAppSecurityDocs/get-started.md
Service: defender-for-cloud-apps
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

Thanks for your comment. This will be changed in an upcoming update to the documentation.


onresize how to reset the grid

My requirement is when I resize my window, I am changing the no of icons, same should be reflect to carousel grid as well.
How to achieve this.
ex: when I load the page I have 8 icons and carousel also showing the 8 icons. After resizing icons changed to 7 but carousel grid icons are not changing.

@prashantkapate Please check the demo to reset the carousel. Thanks


Unused variable ddLogLevel Xcode 6.2

I was using the 2.0rc previously without an issue, but now I get warnings in every class for:
static const DDLogLevel ddLogLevel = DDLogLevelInfo;

Related to https://github.com/CocoaLumberjack/CocoaLumberjack/issues/478#issuecomment-81632833.


Upgrade subctl version

Describe the bug
subctl version shipped with WTO 1.5 needs to be upgraded.
Expected Behavior
The version should be 0.12 or 0.13 (depending on how versions match with k8s/OCP).
Current Behavior
The current version is 0.10.1
Steps to Reproduce

Open the web terminal
Run subctl version

$ subctl version
subctl version: release-0.10-9680181

Environment
Cloud:

[ ] AWS
[ ] Azure
[ ] GCP
[ ] other (please specify)

NOTE: Seen in AWS. But should be the same with other cloud providers.
OpenShift Version:
bash-4.4 ~ $ oc version
Client Version: 4.10.6
Server Version: 4.11.0-0.nightly-2022-06-15-222801
Kubernetes Version: v1.24.0+25f9057

subctl version has been updated to 0.12.1 in the next WTO image. Checked by running wtoctl set image quay.io/wto/web-terminal-tooling:next and then subctl version (as suggested on slack).
@amisevsk Thanks for taking care of this. :)

Thanks for opening the issue @Jaanki -- it turns out I didn't have notifications for this repo set up correctly and missed this issue until now. Issue is indeed fixed by https://github.com/redhat-developer/web-terminal-tooling/pull/44 and we will track subctl versions going forward.


Student Edit Information not working

Can i try this? @Divyanshi2408

Can i try this? @Divyanshi2408

This Issue has been Resolved. Kindly Suggest Some other enhancements in the project


EXEC : error : [TEMPORARY EXCEPTION MESSAGE] FileLoadErrorGeneric: System.Windows.Forms

seems like a regression
i am compiling a dotnet core 2.1 console app.  why it looks for system windows forms now?
using official build

while an older build has no such error
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-27322-02" />
<PackageReference Include="runtime.linux-x64.Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-27322-02" />
<PackageReference Include="runtime.win-x64.Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-27322-02" />

the new build I used that has the issue
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-27414-02" />
<PackageReference Include="runtime.linux-x64.Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-27414-02" />
<PackageReference Include="runtime.win-x64.Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-27414-02" />

any fix?

My only guess would be that after #6820 we're compiling code that we didn't compile before that references Windows.Forms. The compiler or the build targets definitely don't inject references to Windows.Forms.
Try adding <RootAllApplicationAssemblies>false</RootAllApplicationAssemblies> to one of the PropertyGroups in your CSPROJ to see if it makes the message disappear.

Good day!
I run: dotnet publish -r win-x64 -c release
Console application
.Net Core version: 2.2
And I get such an error ... What can I do about it?
Generating native code
EXEC : error : [TEMPORARY EXCEPTION MESSAGE] FileLoadErrorGeneric: System.Drawing.Common

Still happens in 1.0.0-alpha-29228-02 RootAllApplicationAssemblies didn't help

Hmm... Interesting, my vs crashed, restarted and finally it started building. I guess new package got pulled.


Accessing current application

Does falcon provide something like current_app of Flask?
I need to add some global objects (DB e.g. connection object) to an instance of falcon.API and access them from on_get etc.

For the example of working with a DB, I usually create a DB Manager class with my common interactions abstracted and then pass it in when I instantiate a Falcon resource. This usually makes the resource much easier to test because you're not having to manage external state for your tests.

thank you. I'm working on this way


Date as type="text" with time

In my Schema I defined a data field and in the autoform use it as type="text" (for a Javascript datetime picker to work). Unfortunately I only get the date component this way and not the time component (type="datetime" is not an option cause of the Javascript library). Wouldn't it be more useful to present the Date type like the output of toISOString function and let the user decide what information he needs?
Example:
Field in Schema
date: {
  type: Date,
  defaultValue: new Date()
},

Field in AutoForm
{{> afQuickField name="date" type="text"}}

Outputs 2014-10-25 and what I have in mind is 2014-10-25T00:00:00.000Z.

This should be handled by creating a custom input type copied from the built-in "text" type but with a different conversion function. Closing.