fix: fixed up azure key vault behaviour to work with complex and simple secret types

Hi @chrismellard. Thanks for your PR.
I'm waiting for a jenkins-x or todo member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign rajdavies
You can assign the PR to them by writing /assign @rajdavies in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/ok-to-test
/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jstrachan
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jstrachan]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

@chrismellard: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pr
b8f6119264cbb74132d85e59ff493c1705b1e039
link
/retest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


perf(nuxt)!: return island earlier in renderer

🔗 Linked issue

📚 Description
Hey :wave: This PR makes island returned earlier in the nitro renderer. render:html won't be called anymore for islands as we have render:island hook

Yes this is intended. render:html feels more adequate to only hook for pages while render:island hook for islands.
As an example, html validator would validate twice the island in SSR.
There's also @nuxt/devtools that adds some additionnal scripts we don't want to be duplicated (by the page and the island). This is currently not going client-side but with a future PR for head manipulation with islands, we need to isolate a maximum islands to avoid having duplicated tags injected into the DOM


Added flex column on playideas list item

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
Plays ideas are shown in different place on the card on the /ideas pages.
We can fix this by adding a flex properties to the .list-items class
and use flex-grow/shrink on the childs.
Fixes #1209
Type of change
Added some little css in the file.
Please delete options that are not relevant.

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Compared the screen before change and after change and tested on screen resizing.
Checklist:

[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots or example output

@supminn can you please review this?


Suggestion: Emit an event when an item is selected from the dropdown

Suggestion: Might be useful to emit an event when an item is selected from the dropdown (which contains info like the denotation character, value etc.) - this would make it easy to parse the text.
Happy to help implement this with some pointers / help.
EDIT:
I realize my suggestion was not very clear.. so here's the use case I'm describing. I'm using this module in combination with ngx-quill-editor in an Angular project. What I want to achieve is, when an item from the dropdown is selected, its info should be available in my Angular component so that it can be parsed before sending to the server.
Not sure if this is a more relevant suggestion in the other repo.

Closing this issue. I was able to implement the functionality using the quill editor's delta values.


Issue With Login Screen PLugin

Type
Incorrect behavior
Operating System
Windows
OS Version
WIndows 10
Bug description
Login Screen always shows as black background after using Login Screen plugin, regardless of how I try to change settings. Off or on, it does the same thing. Toggling the setting only temporarily fixes. Closing and opening Runelite reverts back to black background.
Screenshots or videos

RuneLite version
RuneLite version: <IP_ADDRESS>
Launcher version: 2.6.4
Logs
client.log
launcher.log

Does this issue continue if you open Runelite with the Runelite (safe mode) shortcut found in your Windows start menu?

It does not!

Chances are this is caused by some hub plugin you've installed then.

After some investigating, I have found this is due to the "RL Immersive" Resource Pack. Thank you!


Missing snd_pcm_sw_params_set_timestamp_type

Hi @diwic!
I'm currently implementing RustAudio/cpal#397 for ALSA and noticed that the aforementioned function is missing both from alsa and alsa-sys. Here's the docs for the function:
https://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___s_w___params.html#ga912bad749f6317000eede607bb0bc935
This is required in order to allow CPAL to request timestamps of type SND_PCM_TSTAMP_TYPE_MONOTONIC_RAW.
Perhaps we can acquire this missing function by regenerating the bindings? I began work on regenerating the bindings a few months back at the CPAL repo not realising alsa-sys was moved here. During that process, I documented the command used to generate the bindings here:
https://github.com/RustAudio/cpal/pull/375/files#diff-fada08261a16e31b4cb0bdcc88a4662f
At least this way we can keep deps low (by not relying on bindgen at build time and avoiding problems like RustAudio/cpal#383) but still provide an easy way to regenerate bindings as required.
What are your thoughts?

I'm afraid this is not as easy as it sounds. I tried recreating the bindings using the command you provided, and there are quite a few problems:

Bindgen replicates the entire of libc into the bindings, causing conflicts between libc and alsa (e g, now pollfd is defined in both crates).
Bindgen creates data for the current architecture, i e, a header generated on an amd64 and one generated on armhf will not look the same. There is a flag --sizet-is-usize that fixes one of those issues but I'm a bit scared that something else will fall through.
Also, there is quite a few things to change in alsa-rs (250 errors, but a lot of them looked like the same in different places, so probably fixable by find-and-replace).

Bindgen replicates the entire of libc into the bindings, causing conflicts between libc and alsa (e g, now pollfd is defined in both crates).

Ahh yes I remember running into this now. It should be possible to blacklist certain items from being generated, but I'm unsure how much control is provided over this in bindgen and how much work is involved to do this.

Also, there is quite a few things to change in alsa-rs (250 errors, but a lot of them looked like the same in different places, so probably fixable by find-and-replace).

We might be able to avoid some of these by removing the rustified enum flag - the results may match more closely to the existing generated bindings without it, though I'm uncertain.

@mitchmindtree Still, given how it looks, it must have been generated using bindgen at some point. Maybe I can find some command line switches that gets rid of most of the alsa-rs errors, as well as most of the libc stuff it generates as well. The whitelisting switches look hopeful.
This probably won't be finished today so feel free to submit PR's that add the functions and types manually as an interim solution.

Okay, already down to 41 errors, this is looking promising 🙂

@mitchmindtree So actually this wasn't as hard as it looked like! I've pushed commits to both alsa-sys and alsa-rs now, hopefully implementing what you're looking for. Would you like to take the code for a spin before I release new versions of them?

Thanks @diwic! It looks like I can compile alsa and alsa-sys master with cpal and call the set_tstamp_type method successfully :+1:
That said, it's hard to tell if the new method is working or not as I can't manage to produce a valid timestamp on my system :sweat_smile: I'll discuss this further at rustaudio/cpal#397.


Merge classes across API levels

Reduces code size
We want consistently named methods across time anyways

Mooting - I've decided the jni-android-sys megacrate is a bad idea.  Instead, macros will generate local definitions.


A demo case for single column thermodynamics

This PR contains the code needed to run a single-column demonstration of the model thermodynamics, following the forcing from Maykut and Untersteiner (1971). It also includes some minor fixes in the two thermodynamics routines and tests thereof (ThermoWinton and ThermoIce0).
TODO (and will be put into separate issues):

The tests show issues with the Winton thermodynamics (also present in Lagrangian neXtSIM) - but this should be addressed in a separate PR.

We now set qia as the non-solar ice-atmosphere heat flux, but qow is still the total heat flux. For consistency's sake, this should also be the non-solar flux (this should also help with the coupling).

This depends now on issue #320 and PR #322

This PR/branch is now a total mess. It seems that everything of note is already in the june23_demo branch now, but there's things here that are not yet in develop.

Removing myself as a reviewer, as I authored several of the changes in this PR.

To be merged after #389 better dynamics

How do I run the test case?

./nextsim --config-file config_column.cfg
The June '23 demo and the netCDF files that drive it are certainly something we need to discuss, but not directly relevant to this PR.

Unfortunately, this test doesn't produce diagnostic output anymore! @timspainNERSC and I will have to figure out why.

Unfortunately, this test doesn't produce diagnostic output anymore! @timspainNERSC and I will have to figure out why.

To avoid cases of double output at the start of a run, I changed the logic of ConfigOutput to only output when the timestep time and output time exactly match. This means that ConfigOutput::start must occur on a valid TS. Since this is all integer logic it shouldn't be a problem.


How to test inference time FPS?

thx for your nice work! I'm wondering what's the meaning of 'time'.And how could i calculate the FPS by your log information, thx a lot!

I know that,thx


In readme, "bottom" should be "below"

"above | right | bottom | left" should be "above | right | below | left"

Was fixed here https://github.com/littlebits/react-popover/commit/ef7dffe907bcc3e10ff0a9759e24880b53bbe129#diff-7bd4a925c695c2eb0eced3872b9b965f.
How did you determine otherwise, am I missing something? Thanks.


flutter_news_template version solving failed

Steps to reproduce
I followed the steps here to generate a news template app and I ran into a problem running the app for the first time. Same following this video.
Actual results
run command flutter pub get
flutter pub get
Resolving dependencies... (8.9s)
Note: vm_service is pinned to version 13.0.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because no versions of hotreloader match >3.0.6 <4.0.0 and hotreloader >=3.0.3 <3.0.5 depends on vm_service >=6.0.1
  <9.0.0, hotreloader >=3.0.3 <3.0.5-∞ or >3.0.6 <4.0.0 requires vm_service >=6.0.1 <9.0.0.
And because hotreloader >=3.0.5 <3.0.6 depends on vm_service >=6.0.1 <10.0.0 and hotreloader 3.0.6 depends on vm_service
  >=6.0.1 <12.0.0, hotreloader ^3.0.3 requires vm_service >=6.0.1 <12.0.0.
And because every version of flutter_test from sdk depends on vm_service 13.0.0 and shelf_hotreload >=1.2.0 depends on
  hotreloader ^3.0.4, flutter_test from sdk is incompatible with shelf_hotreload >=1.2.0.
And because every version of daily_globe_api from path depends on dart_frog ^1.0.1 which depends on shelf_hotreload
  ^1.3.0, flutter_test from sdk is incompatible with daily_globe_api from path.
So, because daily_globe depends on both daily_globe_api from path and flutter_test from sdk, version solving failed.

Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

[✓] Flutter (Channel stable, 3.19.0, on macOS 14.3.1 23D60 darwin-arm64, locale en-IL)
    • Flutter version 3.19.0 on channel stable at /Users/anan.sadiya/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (6 days ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/anan.sadiya/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (4 available)
    • Anan’s iPhone (mobile) • 00008101-000658E43468001E            • ios            • iOS 17.3.1 21D61
    • iPhone 15 (mobile)     • B54E7274-78BF-44F4-95F0-E0D43A1ED9D6 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 121.0.6167.85

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

• No issues found!

Thanks for the report. I can reproduced this issue as well.
After finishing Template configuration step, cd to project directory or open it in IDE, execute flutter pub get, and can see the issue.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.0 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (2 days ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.86.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 121.0.6167.160
    ! Error: Browsing on the local area network for iPad. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

• No issues found!

[!] Flutter (Channel master, 3.20.0-10.0.pre.49, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.20.0-10.0.pre.49 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f2eea969f7 (4 hours ago), 2024-02-19 17:41:24 -0500
    • Engine revision e96c18b6c5
    • Dart version 3.4.0 (build 3.4.0-155.0.dev)
    • DevTools version 2.33.0-dev.6
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.86.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.82.0

[✓] Connected device (4 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D                         • android-arm64  • Android 11 (API 30)
    • iPhone (mobile)  • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop)  • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome                                   • web-javascript • Google Chrome 121.0.6167.184

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

! Doctor found issues in 1 category.

我遇到了相同的问题。
本地环境：

Dart SDK version: 3.3.0 (stable) (Tue Feb 13 10:25:19 2024 +0000) on "windows_x64"

Flutter 3.19.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision bae5e49bc2 (9 days ago) • 2024-02-13 17:46:18 -0800
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1

运行报错：

flutter pub get
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Resolving dependencies... (1.9s)
Note: vm_service is pinned to version 13.0.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because hotreloader >=3.0.3 <3.0.5 depends on vm_service >=6.0.1 <9.0.0 and hotreloader >=3.0.5 <3.0.6 depends on vm_service >=6.0.1 <10.0.0, hotreloader >=3.0.3 <3.0.6 requires vm_service >=6.0.1 <10.0.0.
And because hotreloader >=3.0.6 <4.1.0 depends on vm_service >=6.0.1 <12.0.0, hotreloader >=3.0.3 <4.1.0 requires vm_service >=6.0.1 <12.0.0.
And because every version of flutter_test from sdk depends on vm_service 13.0.0 and shelf_hotreload >=1.2.0 depends on hotreloader ^3.0.4, flutter_test from sdk is incompatible with shelf_hotreload >=1.2.0.
And because every version of my_news_api from path depends on dart_frog ^1.0.1 which depends on shelf_hotreload ^1.3.0, flutter_test from sdk is incompatible with my_news_api from path.
So, because my_news depends on both my_news_api from path and flutter_test from sdk, version solving failed.

Hi @anansadiya94, I did some tests using Flutter 3.19.0 and it seems that the issue doesn't occur anymore, probably because the dependencies have newer versions now.
Can you try again?

Hi @matiasleyba, while I'm no longer encountering the previous error, I'm still unable to run the application on a simulator.
After running:
flutter run \
  --flavor development \
  --target lib/main/main_development.dart

I had this error:
Error: CocoaPods's specs repository is too out-of-date to satisfy dependencies.
To update the CocoaPods specs, run:
  pod repo update

So what I did:
flutter clean && flutter pub get && cd ios/ && pod install  && cd ..

I had this error:
[!] CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":
  In snapshot (Podfile.lock):
    Google-Mobile-Ads-SDK (= 10.9.0, ~> 10.9.0)

  In Podfile:
    google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 1.0.0, which depends on
      Google-Mobile-Ads-SDK (~> 10.11.0)

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `Google-Mobile-Ads-SDK` inside your development pod `google_mobile_ads`.
   You should run `pod update Google-Mobile-Ads-SDK` to apply changes you've made.

So what I did:
pod update Google-Mobile-Ads-SDK

And then:
flutter clean && flutter pub get && cd ios/ && pod install  && cd ..
flutter run \
  --flavor development \
  --target lib/main/main_development.dart

And now I'm getting this error:
Launching lib/main/main_development.dart on iPhone 15 in debug mode...
Running pod install...                                           2,750ms
Running Xcode build...
Xcode build done.                                           44.3s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:146:9: Error: No
named parameter with the name 'notGCed'.

Could not build the application for the simulator.
Error launching application on iPhone 15.

Any idea how to fix it?

@anansadiya94 same issue. how to fix it?

@anansadiya94 Can you provide the output of flutter doctor -v ?

@matiasleyba
Running: flutter clean && flutter pub get && cd ios/ && pod repo update  && cd ..

Try `flutter pub outdated` for more information.
Updating spec repo `goinstant-pods-specs-public`
Updating spec repo `master`
  $ /usr/bin/git -C /Users/anan.sadiya/.cocoapods/repos/master fetch origin --progress
  remote: Enumerating objects: 15658, done.
  remote: Counting objects: 100% (5903/5903), done.
  remote: Compressing objects: 100% (1598/1598), done.
  remote: Total 15658 (delta 4275), reused 5645 (delta 4221), pack-reused 9755
  Receiving objects: 100% (15658/15658), 3.89 MiB | 1.41 MiB/s, done.
  Resolving deltas: 100% (8974/8974), completed with 903 local objects.
  From https://github.com/CocoaPods/Specs
     85a85200ee26..4122646fa7e2  master     -> origin/master
  $ /usr/bin/git -C /Users/anan.sadiya/.cocoapods/repos/master rev-parse --abbrev-ref HEAD
  master
  $ /usr/bin/git -C /Users/anan.sadiya/.cocoapods/repos/master reset --hard origin/master
  HEAD is now at 4122646fa7e2 [Add] JXCategoryView 1.6.3
Updating spec repo `trunk`

And then running:
flutter run \
  --flavor development \
  --target lib/main/main_development.dart

Result:
Launching lib/main/main_development.dart on iPhone SE (3rd generation) in debug mode...
Running pod install...                                             13.8s
Running Xcode build...
Xcode build done.                                           44.8s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:146:9: Error: No
named parameter with the name 'notGCed'.

Could not build the application for the simulator.
Error launching application on iPhone SE (3rd generation).

flutter doctor -v
Result:
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.4 23E214 darwin-arm64, locale en-IL)
    • Flutter version 3.19.0 on channel stable at /Users/anan.sadiya/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision bae5e49bc2 (6 weeks ago), 2024-02-13 17:46:18 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/anan.sadiya/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.87.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

[✓] Connected device (3 available)
    • iPhone SE (3rd generation) (mobile) • 28F5CC7B-3C29-402A-B2BB-7D7FF939DF28 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-17-4 (simulator)
    • macOS (desktop)                     • macos                                • darwin-arm64   • macOS 14.4 23E214
      darwin-arm64
    • Chrome (web)                        • chrome                               • web-javascript • Google Chrome
      123.0.6312.59
    ! Error: Browsing on the local area network for iPhone. Ensure the device is unlocked and attached with a cable or
      associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
    ! Error: Browsing on the local area network for Anan’s iPhone. Ensure the device is unlocked and attached with a cable
      or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

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

• No issues found!

@anansadiya94  Thanks for providing the logs, unfortunately, I have not been able to reproduce the problem on my end, but it is clear that you have a problem with dependencies, can you try dart pub cache clean ?
Try `flutter pub outdated` for more information.

And then running:
flutter run \
  --flavor development \
  --target lib/main/main_development.dart

Result:
  --flavor development \
  --target lib/main/main_development.dart
Connected devices:
iPhone 15 (mobile)     • B54E7274-78BF-44F4-95F0-E0D43A1ED9D6 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2
(simulator)
iPhone 15 Pro (mobile) • BECEC04B-7B56-4799-B517-6DEADA3C3596 • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-2
(simulator)

No wireless devices were found.

[1]: iPhone 15 (B54E7274-78BF-44F4-95F0-E0D43A1ED9D6)
[2]: iPhone 15 Pro (BECEC04B-7B56-4799-B517-6DEADA3C3596)
Please choose one (or "q" to quit): 1
Launching lib/main/main_development.dart on iPhone 15 in debug mode...
Running Xcode build...
Xcode build done.                                           54.1s
Failed to build iOS app
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/leak_tracker_testing-2.0.3/lib/src/leak_testing.dart:146:9: Error: No
named parameter with the name 'notGCed'.

@matiasleyba let me know if I can do anything else to fix the issue.

Update!, issue solved by upgrading flutter.

flutter upgrade --force
dart pub cache clean
flutter pub get
flutter run --flavor development --target lib/main/main_development.dart

Thanks for helping @matiasleyba, feel free to close this issue if you have nothing to add.
@synstin give it a try, hope it will solve the issue in your end too.


Title: Anagram Counter

Which pre-existing JavaScript project will you be working on?
Adding a javasript project.
Describe your enhancement/improvement
The user can enter any word and the site will return all the valid anagrams.
Anything you need to say to the Reviewers
No response
Add any other context or relevant screenshots about the enhancement here.
No response

Hey, should I think of some other js project that can be added?


Request code always -1

The activity is always returning a request code of -1. I've tried using logcat and Toast but it seems that the onCreate() function of FileChooserActivity doesn't even post the toast or logcat message.
I'm so confused because the GUI launches, so onCreate() must be executing. Included my code for starting the activity and dealing with the results.

It's meant to be resultCode, not request code. Sorry about thag

Solved:
make sure you have included
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
in you manifest file as well as a run-time permission checker which can ask the user for permission:
//check permissions
    public boolean checkPermissionExtertalStorage() {
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
            int result = getApplicationContext().checkSelfPermission(Manifest.permission.READ_EXTERNAL_STORAGE);
            return result == PackageManager.PERMISSION_GRANTED;
        }
        return false;
    }

    //permission dialog
    public void requestPermissionExtertalStorage() throws Exception {
        try {
            ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.READ_EXTERNAL_STORAGE},
                    REQUEST_CODE);
        } catch (Exception e) {
            e.printStackTrace();
            throw e;
        }
    }
```


小伙子可以啊，同南通人，加油~~

牛逼啊，小伙子

Thank you. But next time please don't open an issue for this. Sending an email will be better.

And, please use English in issues.


[go_router] Location with param breaks on Flutter web on refresh

Steps to Reproduce
I found an issue with go_router on web when you use a route like this
  GoRoute(
    path: '/page/:page',
    builder: (context, state) => Page(number: state.params["page"] ?? "1"),
  ),

Navigation works fine when starting from root, but when you try to refresh the page it's broken and the error message in the screenshot below appears.
Expected results: Route loads just fine
Actual results: Error message saying Refused to execute script from 'http://localhost:8000/page/main.dart.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Please check out the code sample for details.
I ran it with following command
flutter run -d chrome --profile --web-renderer  canvaskit --web-port 8000

Flutter 3.7
GoRouter 6.0.1

Code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
// ignore: depend_on_referenced_packages
import 'package:flutter_web_plugins/url_strategy.dart';

void main() {
  usePathUrlStrategy();

  runApp(MyApp());
}

final routes = [
  GoRoute(
    path: '/',
    builder: (context, state) => const Page(
      number: "1",
    ),
  ),
  GoRoute(
    path: '/page/:page',
    builder: (context, state) => Page(number: state.params["page"] ?? "1"),
  ),
];

class MyApp extends StatelessWidget {
  final _router = GoRouter(
    routes: routes,
    redirect: (context, state) async {
      print(state.location);
    },
  );

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routeInformationProvider: _router.routeInformationProvider,
      routeInformationParser: _router.routeInformationParser,
      routerDelegate: _router.routerDelegate,
    );
  }
}

class Page extends StatelessWidget {
  const Page({Key? key, required this.number}) : super(key: key);
  final String number;

  @override
  Widget build(BuildContext context) {
    return Center(
        child: Column(
      mainAxisSize: MainAxisSize.min,
      children: [
        Text("Page $number"),
        ElevatedButton(
            onPressed: () {
              final next = (int.tryParse(number) ?? 1) + 1;
              context.go("/page/$next");
            },
            child: Text("Next"))
      ],
    ));
  }
}

Logs
(base) ➜  flutter_application_1 flutter run -d chrome --profile --web-renderer  canvaskit --web-port 8000 --verbose
[  +12 ms] executing: sysctl hw.optional.arm64
[   +9 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: [/Users/user/Library/Flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] b06b8b2710955028a6b562f5aa6fe62941d6febf
[        ] executing: [/Users/user/Library/Flutter/] git tag --points-at b06b8b2710955028a6b562f5aa6fe62941d6febf
[  +28 ms] Exit code 0 from: git tag --points-at b06b8b2710955028a6b562f5aa6fe62941d6febf
[        ] 3.7.0
[   +8 ms] executing: [/Users/user/Library/Flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/stable
[        ] executing: [/Users/user/Library/Flutter/] git ls-remote --get-url origin
[  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +24 ms] executing: [/Users/user/Library/Flutter/] git rev-parse --abbrev-ref HEAD
[  +29 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[        ] executing: sw_vers -productName
[  +20 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.6.1
[        ] executing: sw_vers -buildVersion
[  +28 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21G217
[        ] executing: uname -m
[   +6 ms] Exit code 0 from: uname -m
[        ] arm64
[  +20 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +29 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +20 ms] executing: sysctl hw.optional.arm64
[   +7 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[        ] executing: /usr/bin/arch -arm64e xcrun xcodebuild -version
[ +157 ms] Exit code 0 from: /usr/bin/arch -arm64e xcrun xcodebuild -version
[   +1 ms] Xcode 13.4.1
           Build version 13F100
[  +30 ms] Skipping pub get: version match.
[  +92 ms] Generating /Users/user/Projects/delete/flutter_application_1/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +87 ms] Launching lib/main.dart on Chrome in profile mode...
[  +44 ms] generated_plugin_registrant.dart not found. Skipping.
[   +1 ms] Compiling lib/main.dart for the Web...
[   +3 ms] Initializing file store
[  +11 ms] web_entrypoint: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
/Users/user/Library/Flutter/packages/flutter_tools/lib/src/build_system/targets/web.dart}
[   +1 ms] Skipping target: gen_localizations
[   +3 ms] web_static_assets: Starting due to {}
[  +31 ms] web_static_assets: Complete
[  +10 ms] web_entrypoint: Complete
[   +1 ms] dart2js: Starting due to {}
[   +2 ms] compiling dart code to kernel with command "/Users/user/Library/Flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev
/Users/user/Library/Flutter/bin/cache/dart-sdk/bin/snapshots/dart2js.dart.snapshot --libraries-spec=/Users/user/Library/Flutter/bin/cache/flutter_web_sdk/libraries.json
--native-null-assertions -Ddart.vm.profile=true -DFLUTTER_WEB_AUTO_DETECT=false -DFLUTTER_WEB_USE_SKIA=true -o
/Users/user/Projects/delete/flutter_application_1/.dart_tool/flutter_build/50b524e63efe77992fa0d6301a5151ef/app.dill --packages=.dart_tool/package_config.json --cfe-only
/Users/user/Projects/delete/flutter_application_1/.dart_tool/flutter_build/50b524e63efe77992fa0d6301a5151ef/main.dart"
[+18492 ms] dart2js: Complete
[ +395 ms] web_release_bundle: Starting due to {}
[  +72 ms] web_release_bundle: Complete
[ +358 ms] web_service_worker: Starting due to {}
[ +166 ms] web_service_worker: Complete
[ +155 ms] Persisting file store
[   +3 ms] Done persisting file store
[   +8 ms] Compiling lib/main.dart for the Web... (completed in 19.7s)
[  +39 ms] Using Google Chrome 109.0.5414.119

[  +89 ms] executing: sysctl hw.optional.arm64
[   +7 ms] Exit code 0 from: sysctl hw.optional.arm64
[        ] hw.optional.arm64: 1
[   +9 ms] Found ARM Chrome installation at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome, forcing native launch.
[ +523 ms] [CHROME]:
[        ] [CHROME]: DevTools listening on ws://<IP_ADDRESS>:58441/devtools/browser/16b6e7ea-4ada-495b-9b98-59c05f12b9d2
[ +771 ms] 🔥  To hot restart changes while running, press "r" or "R".
[        ] For a more detailed help message, press "h". To quit, press "q".

Analyzing flutter_application_1...
No issues found! (ran in 1.2s)

(base) ➜  flutter_application_1 flutter doctor -v
[!] Flutter (Channel stable, 3.7.0, on macOS 12.6.1 21G217 darwin-arm64, locale en-JP)
    • Flutter version 3.7.0 on channel stable at /Users/user/Library/Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b06b8b2710 (6 days ago), 2023-01-23 16:55:55 -0800
    • Engine revision b24591ed32
    • Dart version 2.19.0
    • DevTools version 2.20.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/user/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio Preview.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.74.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.58.0

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        • android-arm64  • Android 12 (API 32) (emulator)
    • iPhone 12 Pro Max (mobile)  • 1B4868C4-7D39-44F2-964C-33A651D719B9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-5 (simulator)
    • macOS (desktop)             • macos                                • darwin-arm64   • macOS 12.6.1 21G217 darwin-arm64
    • Chrome (web)                • chrome                               • web-javascript • Google Chrome 109.0.5414.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.
(base) ➜  flutter_application_1

It is also happening to me, and it is not related to go_router because it also happens to me with beamer for example. Reviewing the flutter.js code, to calculate the main.dart.js path, it is concatenated to window.location which causes the error.
https://github.com/flutter/flutter/blob/15cd00f1ed126e5b5c036e2cb6a7373b2df5ba52/packages/flutter_tools/lib/src/web/file_generators/flutter_js.dart#L92

I created another issue with more details of what seems to me to be the root of the problem. https://github.com/flutter/flutter/issues/119492

I confirmed it is working again on current master, thank you @leynier and @darshankawar 🙇

For anyone else coming across this, I posted a fix for this here: https://github.com/flutter/flutter/pull/118684#issuecomment-1416542939


Add options to set tolerances inside MIGraphX driver

MIGraphX verification by default uses normalized RMS error as the basis for the verification.
This PR adds some logic to allow migraphx to do "np.allclose" type of elementwise verification using atol and rtol.
This elementwise verification is disabled for now since it requires tuning tolerances for various tests and also may require changing QA's or other projects CI test procedures.
PR also includes changes to consistently pass "gold" or "expected" results as the second argument for "verify_range()" calls.
default RMS tolerance inside driver is set to 0.001 which IMO is high for FP32 compared to what we had earlier.  Need better defaults
Helps resolving but doesn't close it: https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/issues/2156

Design should in general be simple. Rather than trying to anticipate programmer errors

We want to make the API as safe as possible, as it will save hours/days trying to debug subtle issues. Leveraging the type system to aid in safety checks is a simple a straightforward way to achieve this.

the whole code base of C/C++ and Linux & Windows is prone to such programming errors

Sure, but I dont think mimicking code bases full of bugs and vulnerabilities is a good choice.

Anticipating User errors is necessary when destructive.

I dont see why safety must be limited "destructiveness"(which is not really well defined). Nor do I see this kind of "destructive"-only safety talked about among C++ experts.

And here we are trying to anticipate subtle corner case of allclose()!

Of course, we dont want to loose lots of time from such subtle corner cases. Especially, since this is used in verification it can interfere with our ability to find or reduce accuracy issues.

I dont see why safety must be limited "destructiveness"(which is not really well defined). Nor do I see this kind of "destructive"-only safety talked about among C++ experts.

Paul, perhaps you could refer us examples where C++ libraries have been crafted for guarding against switching the order of parameters of a function. This is not even a guideline for MISRA or AUTOSAR.
Or perhaps provide reference to such an article on the Internet..
Thanks.

Make interfaces easy to use correctly and hard to use incorrectly.

(Thanks, Paul for the links.)
We have a specific math issue here on two identical items. Perhaps we should be comparing these two items in both orders, and flagging out the differences if any that exceed the tolerance from either case.

Perhaps we should be comparing these two items in both orders, and flagging out the differences if any that exceed the tolerance from either case.

Its best to use the magnitude from the golden data to compute relative difference.

Its best to use the magnitude from the golden data to compute relative difference.

The example of numpy.py.html is instructive enough to show why two vectors give a 'false' result, and 'true' result with a very slight variation in the values:
np.allclose([1e10,1e-7], [1.00001e10,1e-8])
False

np.allclose([1e10,1e-8], [1.00001e10,1e-9])
True

Imagine a test-vector few thousand entries long!
I doubt a tester is creating a golden-data set with some specific criterion for its relative difference -- that is a huge burden on a tester to understand the statistical nature of a vector of input data and be mindful of the subtlety involved in using numpy.allclose().
This comparison utility should always hide such subtle issues, as this is an implementation detail; Just compare the two vector both ways and flag an error from either case -- and which anyways is not an issue, except some subtle cases, as numpy.allclose documentation alludes to.
Thanks.

I doubt a tester is creating a golden-data set with some specific criterion for its relative difference

Yea I dont think so either. This is not something they need to be concerned about, they should only be concerned with the correctness of the golden data.

This comparison utility should always hide such subtle issues, as this is an implementation detail;

We do hide these details. The user just needs to tell the function which is the expected data. Then we use that to determine the magnitude for the difference. We dont care about the magnitude of the test data since it could not be correct anyways.

Yea an in those cases we would be incorrectly flagging test data that is within the acceptable tolerance.

We should avoid giving false positives -- trivially achievable by just doing two comparisons. One or few extra lines of code! Thanks.

We should avoid giving false positives -- trivially achievable by just doing two comparisons

I dont see how it would be a false positive.


Provide a correlation id for tracking journey to apm traces

Having the synthetics journey add somethings that can be captured by apm agents would be helpful to tie these information sources together.
For example having 3 levels of metadata:
group: app-a
agent: actual-agent-identifier
uuid: the unique id for this synthetic journey
Would allow filtering on groups of agents working together, all runs by a particular agent, or a unique journey into the apm portion of observability to identify the actual traces that serviced this journey.  From the apm traces the trace.id could be correlated to logs and from the hostname of the infrastructure running the code to metrics of what serviced the applications.  The reverse journey should also be possible metrics/logs->apm->synthetic journeys.

Closing this issue as its covered by #265 #245


indexOf -> includes

includes is now available in most of the modern browsers. Let's use it instead of ugly indexOf

Thanks for PR but it is an explicit goal to support older browsers. We generally don't take changes that make only us feel better :-). We could take this with a fallback if there was a real benefit to using the new API, but since they're equivalent, we'll keep using indexOf. Cheers!

(If we changed that then the next person would send a PR to change it back in a few months. I'm open to changing examples to use ES2015 runtime APIs in a couple of years.)


feature-request/question: bypass exclusive (only) tests on CI

Prerequisites

[x] Checked that your issue hasn't already been filed by cross-referencing issues with the faq label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with: node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend avoiding the use of globally installed Mocha.

Description

It there an existing flag, or something planned in the roadmap to force all tests to run, regardless of the .only on some tests ?
Additional Information
sometime developers might forget the .only on a specific suite or single test, then after the push, the CI will pass, even the reviewer can miss it, if too much line of code to read, so all lights green until goprod. Regressions if happen, will be notice very late.
Have someone already dealt with that kind of issue ?

If you use --forbid-only options in the CI, the tests will be failed when developers pushed tests with only.


[Bug] Options menu fixes

[x] Vsync has been pushed underneath other text.
[x] Game Volume and Music Volume sliders are not aligned.

I had sworn I had fixed the Vsync alignment, my bad.


Runtime build support

There are two types of Vue builds. One is the standalone and the other is the runtime.  Unless I'm mistake vue-router doesn't support the runtime build.
As far as I can tell, none of the examples use the runtime render function.
I tried using vue-router with the runtime build and the DOM was blank where the page was suppose to be rendered.

Hi, thanks for filling this issue.
Vue-router supports runtime-build, it's using in-dom template that's not supported. We're sorry for any misleading information in the docs or examples, and we're currently fixing them. Thank you for you patience.


[2.0 beta] Errors thrown from loader-runner not caught/handled

Bug report
2.0.0-beta.3 w/ wp 2.1.0-beta.20
Issue arised after upgrading to wp > 2.1.0-beta.15 & extract-text-webpack-plugin@beta.
Current behavior:
Errors thrown from loader-runner do need seem to be caught, which causes webpack -w to exit. They do (still) get caught when not using the plugin. Example:

[...]\node_modules\loader-runner\lib\LoaderRunner.js:90
throw e;
^
TypeError: Cannot read property '[...]\node_modules\extract-text-webpack-plugin' of null
[...]

Expected/desired behavior:
Error message ("Can't resolve...") in red, without exiting the watch process (like before).
Reproduce
Point to an invalid path in an url(...) rule.

Not quite sure if this could help. Stumbled upon this exact issue and had knocked off a bit smelly workaround (npm i -D git+ssh://git@github.com/Steinpilz/extract-text-webpack-plugin.git#type-error-investigations).

Cool, will check it out, thanks! (Though I expect will be (properly) fixed in codebase soon anyways.. :))

1 here with beta.3...

Is there any implemented workaround yet?

@valery-vitko's workaround seems to work for me.

This seems related to #211.

@valery-vitko thank you for the workaround! It was driving me crazy that the dev-server would stop running because of my typos.
The npm command you supplied didn't work for me, this did (in case anyone else runs into that):
npm i -D github:Steinpilz/extract-text-webpack-plugin.git#type-error-investigations

Could you please send this in as a pull request?
That would be great!

@Zyphrax, yes, no problem - #242

Great, thank you!

Closing. This seems to be no issue anymore in latest beta.


Fix IE memory leaks with dynamic script injection

This PR has been rebased with the latest master and version 0.43.5

ci.test


Make framework assemblies private.

The Prig framework managed assemblies Urasandesu.NAnonym, Urasandesu.Prig.Framework should be private(They shouldn't be in GAC). If we don't do that, unintended assembly neutralization is occurred by the test execution engine of Visual Studio, and also an internal error of .NET runtime - e.g. Exception Code: 0xc0000005 - is occurred.
The entry point of the test execution engine is marked by LoaderOptimizationAttribute with LoaderOptimization.MultiDomainHost. This acts to load the assemblies that are in GAC to the neutral domain if available.
When assemblies are loaded to the neutral domain, their JIT results are shared and static field is validated every accessing time. This is problem for Prig, because the core utility class LooseCrossDomainAccessor is promised that any static fields is validated only once in their domain.
The only way to prohibit loading assemblies to the neutral domain is to make the assemblies private.

To handle private assemblies, I'm going to enhance prig command as follows:
Installation
CMD C:\> prig install -help
INSTALLER OPTIONS
Specify options to install as a target package of Prig.

==== EXAMPLE 1 ====
CMD C:\> prig install NUnit -source "C:\Program Files (x86)\NUnit 2.6.3\bin"

This command installs NUnit as a target packages of Prig. NUnit is located at "C:\Program
Files (x86)\NUnit 2.6.3\bin", so you have to specify the directory path.

:
   -help                Display help message.

   -package arg         Package to install. Currently, there is no convention,
                        but easy to understand and globaly identified naming is
                        recommended. It is better to apply the package name
                        same as Chocolatey or NuGet.
                        This option is mandatory.

   -source arg          Package location to install. If its path contains any
                        spaces, you shall surround with "(double quotes).
                        This option is mandatory.

CMD C:\>

List
CMD C:\> prig list -help
LISTER OPTIONS
Specify options to list the packages that Prig installed as targets.

==== EXAMPLE 1 ====
CMD C:\> prig list NUnit -localonly

This command lists the packages that Prig installed as the method replacement targets. Pac
kages are filtered by the name "NUnit".

:
   -help                Display help message.

   -filter arg          Filter to list. It is used as partial matching term,
                        and also the case is ignored. If this option is not
                        specified, the command enumerates all installed
                        packages.

   -localonly           Indicates the search location is local only. In current
                        version, this option is ignored if specified.

CMD C:\>

Update
CMD C:\> prig update -help
UPDATER OPTIONS
Specify options to upgrade a package.

==== EXAMPLE 1 ====
CMD C:\> prig upgrade NUnit -delegate "C:\Users\User\AdditionalDelegates\ThreeOrMoreRefOut
Delegates\bin\Release\ThreeOrMoreRefOutDelegates.dll"

This command upgrades the package to use additional delegates for a method replacement wit
h NUnit. Also you have to specify the -delegate option because the delegates is contained
in ThreeOrMoreRefOutDelegates.dll

:
   -help                Display help message.

   -package arg         Specify the packages to upgrade by semicolon delimited
                        format. `all` indicates applying same upgrade option to
                        all installed packages.

   -delegate arg        A configuration for upgrade. This option adds the
                        assembly that contains the indirection delegates. If
                        its path contains any spaces, you shall surround with
                        "(double quotes).

CMD C:\>

Uninstall
CMD C:\> prig uninstall -help
UNINSTALLER OPTIONS
Specify options to uninstall a package from Prig.

==== EXAMPLE 1 ====
CMD C:\> prig uninstall NUnit

This command uninstalls NUnit from Prig.

:
   -help                Display help message.

   -package arg         Package to uninstall. You have to specify the package
                        name that is same as when installed. However, the case
                        is insensitive.
                        This option is mandatory.

CMD C:\>

Fixed at https://github.com/urasandesu/Prig/releases/tag/v2.0.0-alpha04


Incorrect syntax highlight when a keyword is followed by a tagged string.

VSCode Version: 1.40.2
OS Version: Windows 7

Steps to Reproduce:

Type

return`tagged string`; // no space between return and backtick.

the keyword return is highlighted as part of the string instead of a keyword.

When a space is inserted after return, however, the syntax highlight would work as expected.

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

Confirmed with latest grammar version. Example valid code that is highlighted incorrectly:
const a = () => {
	return`tagged string`;
};


[WIP] Remove skip connections for MLP module

This pull request resolves #555 .
The pull request is in progress.
The details of the pull request:
Removed the addition of skip connections for MLP during the search.

Coverage decreased (-0.2%) to 93.527% when pulling 006e857bbec4bda33082b5ee32e6cc0c4d5c2edd on remove-skip-mlp into 96ab09d4138ff8da694c54d24fc334e683d569ad on master.


Update HEAD_REF for libimobiledevice-win32 projects

For all the libimobiledevice-win32 related projects, the head ref (the branch which includes MSVC support) should be msvc-master, and not master.

LGTM, thanks for the PR!


Uninstaller leaves .pdb files behind

Hey @kike-garbo, I just tested the installer quickly and uninstalling leaves .pdb files behind, e.g. C:\Users\will\AppData\Roaming\Autodesk\Revit\Addins\2017\RhinoInside.Revit\RhinoInside.Revit.pdb

Installer do not install pdb files.
Originally the project where configured to "install" the Revit addon on each build.
I changed this, now Release configuration relay on the real installer to do that.
If you remove those files, and as long as you don't build in Debug, you should not have more PDB files in the installation folder.

You're right 🤦♂. Thanks!


wrong failure output when compare arrays

When:
[] > test
  assert-that > @
    * 1 2 3
    $.equal-to
      * - 1 -2

then:
Expected: <[Lorg.eolang.Phi;@3bd323e9> equal to value but: was <[Lorg.eolang.Phi;@4ff8d125>

This can only be done after creating array.to-string method in EO


Add Hindi Discourse Analysis Natural Language Inference Dataset

Dataset Card for Hindi Discourse Analysis Dataset
Table of Contents

Dataset Description

Dataset Summary
Supported Tasks
Languages

Dataset Structure

Data Instances
Data Fields
Data Splits

Dataset Creation

Curation Rationale
Source Data
Annotations
Personal and Sensitive Information

Considerations for Using the Data

Social Impact of Dataset
Discussion of Biases
Other Known Limitations

Additional Information

Dataset Curators
Licensing Information
Citation Information
Contributions

Dataset Description

HomePage : https://github.com/midas-research/hindi-nli-data
Paper : https://www.aclweb.org/anthology/2020.aacl-main.71
Point of Contact : https://github.com/midas-research/hindi-nli-data

Dataset Summary

Dataset for Natural Language Inference in Hindi Language. Hindi Discourse Analysis (HDA) Dataset consists of textual-entailment pairs.
Each row of the Datasets if made up of 4 columns - Premise, Hypothesis, Label and Topic.
Premise and Hypothesis is written in Hindi while Entailment_Label is in English.
Entailment_label is of 2 types - entailed and not-entailed.
Entailed means that hypotheis can be inferred from premise and not-entailed means vice versa
Dataset can be used to train models for Natural Language Inference tasks in Hindi Language.

Supported Tasks and Leaderboards

Natural Language Inference for Hindi

Languages

Dataset is in Hindi

Dataset Structure

Data is structured in TSV format.
train, test and dev files are in seperate files

Dataset Instances
An example of 'train' looks as follows.
{'hypothesis': 'यह एक वर्णनात्मक कथन है।', 'label': 1, 'premise': 'जैसे उस का सारा चेहरा अपना हो और आँखें किसी दूसरे की जो चेहरे पर पपोटों के पीछे महसूर कर दी गईं।', 'topic': 1}

Data Fields

Each row contatins 4 columns - premise, hypothesis, label and topic.

Data Splits

Train : 31892
Valid : 9460
Test : 9970

Dataset Creation

We employ a recasting technique from Poliak et al. (2018a,b) to convert publicly available Hindi Discourse Analysis classification datasets in Hindi and pose them as TE problems
In this recasting process, we build template hypotheses for each class in the label taxonomy
Then, we pair the original annotated sentence with each of the template hypotheses to create TE samples.
For more information on the recasting process, refer to paper https://www.aclweb.org/anthology/2020.aacl-main.71

Source Data
Source Dataset for the recasting process is the BBC Hindi Headlines Dataset(https://github.com/NirantK/hindi2vec/releases/tag/bbc-hindi-v0.1)
Initial Data Collection and Normalization

Initial Data was collected by members of MIDAS Lab from Hindi Websites. They crowd sourced the data annotation process and selected two random stories from our corpus and had the three annotators work on them independently and classify each sentence based on the discourse mode.
Please refer to this paper for detailed information: https://www.aclweb.org/anthology/2020.lrec-1.149/
The Discourse is further classified into "Argumentative" , "Descriptive" , "Dialogic" , "Informative"  and  "Narrative" - 5 Clases.

Who are the source language producers?
Please refer to this paper for detailed information: https://www.aclweb.org/anthology/2020.lrec-1.149/
Annotations
Annotation process
Annotation process has been described in Dataset Creation Section.
Who are the annotators?
Annotation is done automatically by machine and corresponding recasting process.
Personal and Sensitive Information
No Personal and Sensitive Information is mentioned in the Datasets.
Considerations for Using the Data
Pls refer to this paper: https://www.aclweb.org/anthology/2020.aacl-main.71
Discussion of Biases
No known bias exist in the dataset.
Pls refer to this paper: https://www.aclweb.org/anthology/2020.aacl-main.71
Other Known Limitations
No other known limitations . Size of data may not be enough to train large models
Additional Information
Pls refer to this link: https://github.com/midas-research/hindi-nli-data
Dataset Curators
It is written in the repo : https://github.com/midas-research/hindi-nli-data that

This corpus can be used freely for research purposes.
The paper listed below provide details of the creation and use of the corpus. If you use the corpus, then please cite the paper.
If interested in commercial use of the corpus, send email to<EMAIL_ADDRESS>If you use the corpus in a product or application, then please credit the authors and Multimodal Digital Media Analysis Lab - Indraprastha Institute of Information Technology, New Delhi appropriately. Also, if you send us an email, we will be thrilled to know about how you have used the corpus.
Multimodal Digital Media Analysis Lab - Indraprastha Institute of Information Technology, New Delhi, India disclaims any responsibility for the use of the corpus and does not provide technical support. However, the contact listed above will be happy to respond to queries and clarifications.
Rather than redistributing the corpus, please direct interested parties to this page
Please feel free to send us an email:

with feedback regarding the corpus.
with information on how you have used the corpus.
if interested in having us analyze your data for natural language inference.
if interested in a collaborative research project.

Licensing Information
Copyright (C) 2019 Multimodal Digital Media Analysis Lab - Indraprastha Institute of Information Technology, New Delhi (MIDAS, IIIT-Delhi).
Pls contact authors for any information on the dataset.
Citation Information
    @inproceedings{uppal-etal-2020-two,
    title = "Two-Step Classification using Recasted Data for Low Resource Settings",
    author = "Uppal, Shagun  and
      Gupta, Vivek  and
      Swaminathan, Avinash  and
      Zhang, Haimin  and
      Mahata, Debanjan  and
      Gosangi, Rakesh  and
      Shah, Rajiv Ratn  and
      Stent, Amanda",
    booktitle = "Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing",
    month = dec,
    year = "2020",
    address = "Suzhou, China",
    publisher = "Association for Computational Linguistics",
    url = "https://www.aclweb.org/anthology/2020.aacl-main.71",
    pages = "706--719",
    abstract = "An NLP model{'}s ability to reason should be independent of language. Previous works utilize Natural Language Inference (NLI) to understand the reasoning ability of models, mostly focusing on high resource languages like English. To address scarcity of data in low-resource languages such as Hindi, we use data recasting to create NLI datasets for four existing text classification datasets. Through experiments, we show that our recasted dataset is devoid of statistical irregularities and spurious patterns. We further study the consistency in predictions of the textual entailment models and propose a consistency regulariser to remove pairwise-inconsistencies in predictions. We propose a novel two-step classification method which uses textual-entailment predictions for classification task. We further improve the performance by using a joint-objective for classification and textual entailment. We therefore highlight the benefits of data recasting and improvements on classification performance using our approach with supporting experimental results.",
}

Contributions
Thanks to @avinsit123 for adding this dataset.

Could you also run make style to fix the CI check on code formatting ?

@lhoestq completed and resolved all comments.


Build and attach to release using GH Actions

See recipes
https://github.com/MichaelCurrin/code-cookbook/tree/master/recipes/ci-cd/github-actions/workflows/build-release-assets

Not needed with the publish flow


Problem building on iOS - RN 0.60.5

Hey guys!
I have the following problem when trying to build my project:

after some building, he doesn't build anymore.
There is no different code than when starting a project with "react-native init example". I just installed some packages.
I already deleted the node_modules, Podfile.lock, already ran pod install, update. It worked, but stopped out of the blue, without making any changes to the code.
sorry my english, I used the translator, lol.
Can someone help me?
ps: i’m using .xcworkspace.
React Native version:
System:
OS: macOS 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
Memory: 5.61 GB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
npm: 6.10.2 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
Android SDK:
API Levels: 28, 29
Build Tools: 29.0.1
System Images: android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.4 AI-183.6<IP_ADDRESS>92245
Xcode: 11.0/11A420a - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
react-native-cli: 2.0.1
package.json:
{
"name": "estudante",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "react-native start",
"test": "jest",
"lint": "eslint ."
},
"dependencies": {
"apisauce": "^1.1.1",
"prop-types": "^15.7.2",
"react": "16.8.6",
"react-native": "0.60.5",
"react-native-agora": "^2.9.0-alpha.1",
"react-native-camera": "^3.4.0",
"react-native-elements": "^1.2.0",
"react-native-gesture-handler": "^1.4.1",
"react-native-image-crop-picker": "^0.25.2",
"react-native-image-picker": "^1.1.0",
"react-native-masked-text": "^1.13.0",
"react-native-material-textfield": "^0.12.0",
"react-native-modal": "^11.3.1",
"react-native-paper": "^2.16.0",
"react-native-reanimated": "^1.2.0",
"react-native-vector-icons": "^6.6.0",
"react-navigation": "^4.0.5",
"react-navigation-drawer": "^2.2.1",
"react-navigation-stack": "^1.8.0",
"react-navigation-tabs": "^2.5.3",
"react-redux": "^7.1.1",
"redux": "^4.0.4"
},
"devDependencies": {
"@babel/core": "7.6.0",
"@babel/runtime": "7.6.0",
"@react-native-community/eslint-config": "0.0.3",
"babel-jest": "24.9.0",
"eslint": "6.4.0",
"jest": "24.9.0",
"metro-react-native-babel-preset": "0.54.1",
"react-test-renderer": "16.8.6",
"redux-devtools": "^3.5.0"
},
"jest": {
"preset": "react-native"
}
}
Podfile:
platform :ios, '9.0'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
target 'estudante' do
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/React'
pod 'React-DevSupport', :path => '../node_modules/react-native/React'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-RCTWebSocket', :path => '../node_modules/react-native/Libraries/WebSocket'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-agora', :path => '../node_modules/react-native-agora'
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
pod 'react-native-image-picker', :path => '../node_modules/react-native-image-picker'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
target 'estudanteTests' do
inherit! :search_paths
end
use_native_modules!
end
target 'estudante-tvOS' do
target 'estudante-tvOSTests' do
inherit! :search_paths
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
targets_to_ignore = %w(React yoga)
if targets_to_ignore.include? target.name
target.remove_from_project
end
end
end

Have you did pod install in the ios folder?

@javierdac , yes.

I can confirm this. I am trying to build a release but I'm getting an error. When building in debug mode, then it works.
The error that I'm getting is:
Undefined symbols for architecture x86_64:
  "YGConfig::YGConfig(int (*)(YGConfig*, YGNode*, YGLogLevel, char const*, __va_list_tag*))", referenced from:
      _YGConfigNew in libYoga.a(Yoga.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The result of my react-native info command:
$ react-native info
info Fetching system and libraries information...
System:
    OS: macOS 10.14.6
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Memory: 60.99 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.3 - ~/.nvm/versions/node/v10.16.3/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.11.2 - ~/.nvm/versions/node/v10.16.3/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 26, 27, 28, 29
      Build Tools: 27.0.3, 28.0.3, 29.0.2
      System Images: android-28 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: ^16.9.0 => 16.9.0
    react-native: ^0.61.1 => 0.61.1
  npmGlobalPackages:
    react-native-cli: 2.0.1


Add configmixin and compilemixin

Signed-off-by: shiyu22<EMAIL_ADDRESS>

Codecov Report

Merging #1463 (d407eab) into main (a713ea2) will increase coverage by 0.07%.
The diff coverage is 82.45%.

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

@@            Coverage Diff             @@
##             main    #1463      +/-   ##
==========================================
+ Coverage   67.98%   68.06%   +0.07%
==========================================
  Files         309      314       +5
  Lines       17716    17884     +168
  Branches     2897     2938      +41
==========================================
+ Hits        12045    12172     +127
- Misses       4855     4880      +25
- Partials      816      832      +16

Impacted Files
Coverage Δ

towhee/functional/mixins/faiss.py
69.23% <ø> (ø)

towhee/utils/numba.py
33.33% <33.33%> (ø)

towhee/functional/mixins/compile.py
77.46% <77.46%> (ø)

towhee/engine/operator_registry.py
77.19% <100.00%> (+3.11%)
:arrow_up:

towhee/functional/data_collection.py
86.86% <100.00%> (+0.09%)
:arrow_up:

towhee/functional/mixins/__init__.py
100.00% <100.00%> (ø)

towhee/functional/mixins/config.py
100.00% <100.00%> (ø)

towhee/utils/git_utils.py
49.41% <0.00%> (-1.21%)
:arrow_down:

towhee/dataframe/dataframe.py
73.10% <0.00%> (-1.05%)
:arrow_down:

towhee/models/lightning_dot/bi_encoder.py
50.98% <0.00%> (ø)

... and 5 more

Continue to review full report at Codecov.

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

/lgtm
/approve


Support AsyncFileManager

@cailiang9 This feature has been merged in main branch with https://github.com/jupyter/nbclassic/pull/172
You can close this if it works for you. Thx.


Review after date expiry is upcoming for user: richrace

Hi there
The user @richrace has its access for this repository maintained in code here:
https://github.com/ministryofjustice/github-collaborators/blob/main/README.md#github-external-collaborators
The review_after date is due to expire within one month, please update this via a PR if they still require access.
If you have any questions, please post in #ask-operations-engineering on Slack.

Thanks @AntonyBishop yes Rich will be finishing with us at that time.

Thanks @bagg3rs


true

undefined

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


⚠ Quirk Club Argentina (Payment Gateway) has degraded performance

In 2ffffd2, Quirk Club Argentina (Payment Gateway) (https://us-central1-quirkclub-dev.cloudfunctions.net/api/check/payment-gateway-ml) experienced degraded performance:

HTTP code: 200
Response time: 7557 ms

Resolved: Quirk Club Argentina (Payment Gateway) performance has improved in f252aaa.


Error Unzipping zip file

I'm using phnonegap 4 , having problem unziping with error  "decompress error". any solution ? it is ok to use other plugin to unzip the file so the zip file is not corrupted .

Hello,
You should be a little more specific about the error, It could be anything from a missing params in the plugin call to a lack of permissions in the target (where to put the unzip files)
Do you have any log track (just the part that fail) or anything else that could point to a more specific issue ?


layernorm_extra in mbart

❓ Questions and Help
What is your question?
Hi,
In  args namespace of mBART25 we can find the following parameter: layernorm_extra=True
What is exactly this parameter about? I can't find it anywhere in the source code.

Hi, I have the same question. Thanks in advance for your help!

It got renamed to this: https://github.com/pytorch/fairseq/blob/master/fairseq/models/bart/model.py#L289


Unknown Desktop Environment i3

If i currently run the Rapid-Photo-Downloader on my Archlinux System with Python 3.10 i got an error in the showinfm Package.
It gives me the following Exception:
Traceback (most recent call last):
  File "/home/kev/.local/lib/python3.10/site-packages/showinfm/system/linux.py", line 784, in linux_desktop
    return LinuxDesktop[env]
  File "/usr/lib/python3.10/enum.py", line 440, in __getitem__
    return cls._member_map_[name]
KeyError: 'i3'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 33, in <module>
    sys.exit(load_entry_point('rapid-photo-downloader==0.9.27', 'gui_scripts', 'rapid-photo-downloader')())
  File "/usr/bin/rapid-photo-downloader", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.10/site-packages/raphodo/rapid.py", line 147, in <module>
    from raphodo.folderpreviewmanager import FolderPreviewManager
  File "/usr/lib/python3.10/site-packages/raphodo/folderpreviewmanager.py", line 30, in <module>
    from raphodo.folderspreview import FoldersPreview, DownloadDestination
  File "/usr/lib/python3.10/site-packages/raphodo/folderspreview.py", line 47, in <module>
    import raphodo.generatename as gn
  File "/usr/lib/python3.10/site-packages/raphodo/generatename.py", line 40, in <module>
    from raphodo.preferences import DownloadsTodayTracker
  File "/usr/lib/python3.10/site-packages/raphodo/preferences.py", line 287, in <module>
    class Preferences:
  File "/usr/lib/python3.10/site-packages/raphodo/preferences.py", line 294, in Preferences
    photo_download_folder=platform_photos_directory(),
  File "/usr/lib/python3.10/site-packages/raphodo/storage.py", line 530, in platform_photos_directory
    if linux_desktop() == LinuxDesktop.wsl2:
  File "/home/kev/.local/lib/python3.10/site-packages/showinfm/system/linux.py", line 786, in linux_desktop
    raise Exception("The desktop environment {} is unknown".format(env))
Exception: The desktop environment i3 is unknown

Fixed in 0.9.28. See https://github.com/damonlynch/rapid-photo-downloader/issues/44


Make scrape_all_contacts(), send_message_containing_url_to_their_own_chatroom() and send_message_containing_url_to_their_own_chatroom_to_all_contacts()

Useful
scrape_all_contacts():  get a list of all contacts
Just for Fun: use scrape_all_contacts() and send_message_to_number() for following functions
https://github.com/Tithibots/tithiwa/blob/7cef0e13b6ab6f8050060bb3cbaad0f59f79c19e/tithiwa/contact.py#L29
send_message_containing_url_to_their_own_chatroom(number):
send_message_containing_url_to_their_own_chatroom_to_all_contacts()

https://github.com/Tithibots/tithiwa/blob/7cef0e13b6ab6f8050060bb3cbaad0f59f79c19e/tithiwa/group.py#L113-L130
That's how we can go through all chats
And do a similar things to go through all contacts.

HINT: When we open contacts it sends requests containing mobile numbers.


Connect to the SAP HANA Cockpit

Tutorial URL: https://developers.sap.com/tutorials/haas-dm-connect-hana-cockpit.html
The steps and screenshots seems to be outdated.
Now the default user is DBADMIN, not SYSTEM and the screenshot of instance state looks not like on the screenshots

This tutorial covers SAP Cloud Platform, SAP HANA Service in Cloud Foundry.  What you are referring to is actually a completely separate service called SAP HANA Cloud.  Both products are still offered by SAP. Its not so much that this tutorial is out of date as much as it is simply designed for a completely different product (but both based upon HANA). We will be adding some more tutorials soon for the new SAP HANA Cloud and perhaps we will update some of these to switch them over from the SAP Cloud Platform, SAP HANA Service in Cloud Foundry to the SAP HANA Cloud. In fact if you are looking for a tutorial on the new HANA Cloud, might I suggest this tutorial: https://developers.sap.com/tutorials/hana-trial-advanced-analytics.html


refactor parameter cluster plotting

Remove the specific *clusters.m plot functions.
Replace this with a generic cluster plot function for 1 or 2 dimensions

Now we just have one clusterPlot.m rather than lots of model specific files. However, we still need to refactor this a bit.

Now we just have one clusterPlot.m rather than lots of model specific files. This has significantly reduced code required to create a new model. clusterPlot.m now dispatches out to plot1Dclusters or plot2Dclusters. This can be refactored at some other point, but we've achieved the aim of not having to write a cluster plotting function for every new model we want to write.


Dev-Setup: Syntax highlighting for angular templates

As the vscode-team notes, this will require a vscode-plugin. In particular we have two options here:

lit-html
angular2-inline (that also works with angular-1.x)

for both of these we'd need to change the code: for angular2-inline we need to move the template declarations to the return statements of the components, for lit-html all template strings need to be prefixed with html (e.g. [1]) thus turning them into tagged template literals, which requires adding the babel-plugin plugin-transform-template-literals as well as a dummy html-function, that just passes on the string uneditedly, to our builds.
Neither of these seems clean to me, however it would avoid bugs like the one @sigpie had to deal with where a long tag just wasn't closed properly and angular failed silently.
[1]:
html`<p>example</p>`

i am not fond of either of the solutions as they require code changes/refactorings, yes they might avoid silent fails which are very annoying (as seen in the aforementioned case) but for now i think we cant afford another refactoring

i will close this issue, our dev-team already uses vs-code plugins to support exactlythat without having to change the code (afaik), @peacememories can you add the plugins + urls for said plugins within this issue


Redux oidc callback called twice

Hi!
I have an issue please help me with this. The issue is my callback component is running twice when signinRedirect. Please find the following link. Question on stackoverflow
Am i doing something wrong? Please assist me as soon as possible. thank you in advance.

I've answered on SO. Let's have the discussion there.


Issues with lists/sets in 0.19

Howdy!
First off, thanks guys for all the effort in pushing 0.19 out soo fast. I've been following along and just finished moving some working 0.12 TF code over to terragrunt but am encountering an issue with using functions or expressions on sets/lists.
I have encountered the following errors:
Error: Invalid function argument

  on local.tf line 26, in locals:
  24:
  25:
  26:     var.tgw_route_propagation_cidrs
  27:
    |----------------
    | var.tgw_route_propagation_cidrs is "[\"<IP_ADDRESS>/8\",\"<IP_ADDRESS>/12\",\"<IP_ADDRESS>/16\"]"

Invalid value for "sets" parameter: a set or a list is required.

Error: Invalid index

  on tgwa.tf line 10, in resource "aws_ec2_transit_gateway_route_table_propagation" "tgw_propagation":
  10:   transit_gateway_route_table_id = var.tgw_route_table_ids_to_propagate[count.index]
    |----------------
    | count.index is 20
    | var.tgw_route_table_ids_to_propagate is "[\"tgw-rtb-xxxxxxxxxxxxxxxxx\"]"

This value does not have any indices.

Files referenced:
# tgwa.tf:0
resource "aws_ec2_transit_gateway_vpc_attachment" "this" {
  subnet_ids         = [module.vpc.public_subnets[0]]
  transit_gateway_id = var.tgw_id
  vpc_id             = module.vpc.vpc_id
}

resource "aws_ec2_transit_gateway_route_table_propagation" "tgw_propagation" {
  count = length(var.tgw_route_table_ids_to_propagate)
  transit_gateway_attachment_id  = aws_ec2_transit_gateway_vpc_attachment.this.id
  transit_gateway_route_table_id = var.tgw_route_table_ids_to_propagate[count.index]
}

# local.tf:24
locals {
  public_tgw_propagation_routes = setproduct(
    module.vpc.public_route_table_ids,
    var.tgw_route_propagation_cidrs
  )
}

# terragrunt.hcl
inputs = {
  tgw_route_propagation_cidrs = ["<IP_ADDRESS>/8", "<IP_ADDRESS>/12", "<IP_ADDRESS>/16"]
  tgw_route_table_ids_to_propagate = ["tgw-rtb-xxxxxxxxxxxxxxxxx"]
}

Note: The module.vpc being referenced is the terraform-aws-vpc module.
Without digging too deep into this, I suspect it might have to do with how the values are being interpolated. I've tried this with the new "for" expressions as well and encountered similar errors. I have tested the code with just terraform 0.12 prior to moving to terragrunt 0.19 and it worked, if that helps.

I think it's a side effect of converting input to env vars for terraform.
It's like double conversion: in inputs the variables have types, then they get converted to env vars like
TF_VAR_tgw_route_propagation_cidrs='["<IP_ADDRESS>/8", "<IP_ADDRESS>/12", "<IP_ADDRESS>/16"]'

and then terraform converts them back assigning the right type, which I assume string by default.
You didn't show the variables declaration, but it appears, you just need to set the type in the variable declaration like so:
variable "tgw_route_propagation_cidrs" {
  type = set(string)
}

or
variable "tgw_route_propagation_cidrs" {
  type = list(string)
}

Makes sense. Based on my understanding of what you said, I guess it was working before without terragrunt because terraform was able to infer the correct type? I will double check tomorrow when I get back in the office that it works and I can close this issue. Thanks!

Yes, because if you have it set in a .tfvars file, then terraform correctly guesses the type.

+1 on @ekini's idea. We pass the variables using env vars, and Terraform most likely needs you to specify a type to parse those env vars correctly. Let us know if that works!

That definitely fixed the issue. Thanks guys!

I am facing the same issue and this does not seems to help me.
my inputs
inputs={
  mgmt_private_ips = [
    "<IP_ADDRESS>",
    "<IP_ADDRESS>",
    ]
}

variable
variable "mgmt_private_ips" {
  type = list(string)
}

And I am trying to aaceess the first element from its index
 private_ip             = element(var.mgmt_private_ips,1)

and also as
 private_ip             = var.mgmt_private_ips[1]

Whats the issue i can't pinpoint it.


Remove WebViewDialog from BaseFragmentActivity

There's no reason for this to be in our base activity.
Functionality is not changed, just moved to an independent activity.
Fixes: https://openedx.atlassian.net/browse/MA-2093

@BenjiLee ?

This seems okay. :+1:


Command line tool to run StyleCopAnalyzers on a solution

It would be nice to have a command line utility that runs the StyleCopAnalyzers analyzers on a solution (code fixes considered later).
StyleCopTester [options] <Solution>

By default, all analyzers which are enabled by default run. The following options are avaliable for [options]:

Option
Meaning

/all
Run all StyleCopAnalyzers analyzers, including ones that are disabled by default

/id:<id>
Enable analyzer with diagnostic ID <id> (when this is specified, only this analyzer is enabled)

:memo: A primary purpose of this tool is testing performance with both the sampling and instrumenting profilers. The Test Explorer in Visual Studio 2015 does not currently provide enough ability to configure profiling methods for unit tests, and running inside the IDE introduces significant variance due to the editor environment, hence the need to create this as a command line tool.

I thought this was already assigned to me. grabbed


Revolver.settings are already a sequence

right?

Yep, thanks. AFAIR that's left over from a long gone version of sbt which required the seq() wrapper.


bug: Items not listed in the market

Prerequisites

[X] I have searched for existing issues that already report this problem, without success.

Script Version
1.1.7
Platform
Webapp
Current Behavior
I am facing issues with the sell function, items are not listed on the market, they are sent to the transfer list. When I try to list them using the "Re-list FUTBIN" or "List for FUTBIN" buttons, they don't seem to work. Unable to manually list them through the webapp. I am using the 1.1.7 version.
I have tried this on Chrome and brave browser, and it does not work on either.
Expected Behavior
items bought using the autobuyer to be transferred to the list and be listed in the market based on the parameters set. Items should be able to be listed/re-listed based on the futbin market prices, the buttons have not been working for me.
Steps to Reproduce
Autobuyer funciton in the webapp, set buying parameters as 90% futbin price, toggle the futbin price, in the sell function, turn on the futbin price toggle. set the parameters to 100% futbin price. Run the autobuyer, the function buys the players and sends them to the transfer list, but they are not active listings. When the "Transfers" tab is opened, hit the list/re-list using FUTBIN buttons says "successfully listed" but that never happens. I am able to access the app on my phone and relist them individually, or via the console for the desired prices.
Additional Information
No response

what was the card you were trying to list for futbin?

I ran the autobuyer to buy gold commons, and sell them for futbin price(none of the cards in the transfer list were working).

I am having the same problem. I thought it was a soft ban, but when I entered the game and wanted to list it, I could do it.

@KroJen , were you able to list in webapp?, softban do not carry in game, so even if you have softban in game, you can buy and list

@KroJen , can you give me an example player which causes this issue?

@chithakumar13 All gold non-rare cards. I collect gold non-rare for 700 and sell a lot. That's why I thought it might be a soft ban. I can't give an example of a card specifically. I think selling too many can cause this. My transfer list is always full.

@chithakumar13 I used the same parameters to buy the common gold players. and sell them using the futbin prices. Using the same buttons Krojen listed.

This seems like a futbin ban, since you are selling a lot you will eventually hit the futbin limit and they ban your ip for 24 hours.
Nothing can be fixed from the bot side, either list it manually or wait for the futbin to remove the ban and try again


Changed every xrange() to range() for compatibility with Python 3

Even though it's not an iterator in Python 2, the lists are pretty small, and used for testing. No big performance penalties I guess.

Thanks for your contribution!


[cURL] PATCH requests

Extension
https://www.raycast.com/jonathangiardino/curl
Description
HTTP PATCH requests
Who will benefit from this feature?
No response
Anything else?
No response

Hi @TiptoHub,
I just pushed the update in PR #4310.
Once the PR is merged you should see the update!

@raycastbot close this issue


When property pane is in Non-Reactive mode, the validation function should only fire when clicked on "Apply"

Right now, no matter if in reactive or non-reactive mode, the validation function fires after the delay set in in the deferredValidationTime property (or the default 200 ms if the property is not set)
When in non-reactive mode, if the validation function fired only after the user clicked on "Apply", it would save a lot of unnecessary function calls, especially if the validation function is making an HTTP request somewhere (e.g. talking to SharePoint)

My code for this is located here if it helps:
https://github.com/vman/SPFx-Web-part-property-validator

This should be fixed in Drop 2

Looks like the issue is still present in Drop 2. Here is the code I have tried with:
https://github.com/vman/Drop-2-Validations

Hello @vman ,
Thanks for the feedback. I understand the problem with validation triggering on every key stroke. We have come up with a new feature which allows the developer to trigger the validation on blur(and also on focus). This new feature will soon be shipped, within a week or two.
Here are the two apis validateOnFocusOut and validateOnFocusIn.
Does this suffice your need for now? I know this is not triggering the validation on 'Apply' button click but definitely more helpful. Let us know your opinion.

Hello, @vman - Since I did not hear anything from you, I am closing the issue now. Please feel free to re-open it if you think the issue needs our further attention.
Thanks!

Hi @srideshpande sorry I missed your message earlier. Thanks for the reply! I will have a look at it and get back to you on this.

@srideshpande this works really well now. Great stuff!

@srideshpande I want to prepare some my custom code to manage other activities on apply. Can i do that? anything is available to execute on apply button?


Reduce number of packages in core

See for example: https://github.com/wyvertux/wyverkiss
See for example: https://github.com/glasnostlinux/glasnost

implemented on testing branch.

Implemented on testing branch.

Currently in testing.