fastlane sigh action does not include apple cert when regenerating development profiles

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When using fastlane sigh to regenerate development profiles, it will remove all apple certificates and only include iOS certificates on the new development profiles
eg.
fastlane sigh --development -a com.company.App -u<EMAIL_ADDRESS>--team_id XXXXXXXXX --skip_certificate_verification --skip_install --provisioning_name='Universal iOS Development' --force --template_name 'Special Service (Dev)' -q "Universal_iOS_Development.mobileprovision" -o provision
will create a development profile that only include all the account iOS certs, and leaving all apple certs out of the new profile.
Command executed
fastlane sigh --development -a com.company.App -u<EMAIL_ADDRESS>--team_id XXXXXXXXX --skip_certificate_verification --skip_install --provisioning_name='Universal iOS Development' --force --template_name 'Special Service (Dev)' -q "Universal_iOS_Development.mobileprovision" -o provision
Complete output when running fastlane, including the stack trace and command used
[21:23:41]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile

+-------------------------------------+--------------------------------------+
|                          Summary for sigh 2.129.0                          |
+-------------------------------------+--------------------------------------+
| development                         | true                                 |
| app_identifier                      | com.company.App                  |
| username                            |<EMAIL_ADDRESS>                 |
| team_id                             | XXXXXXXXX                           |
| skip_certificate_verification       | true                                 |
| skip_install                        | true                                 |
| provisioning_name                   | Universal iOS Development            |
| force                               | true                                 |
| template_name                       |Core Service (Dev)       |
| filename                            | Universal_iOS_Development.mobilepro  |
|                                     | vision                               |
| adhoc                               | false                                |
| developer_id                        | false                                |
| ignore_profiles_with_different_name | false                                |
| skip_fetch_profiles                 | false                                |
| platform                            | ios                                  |
| readonly                            | false                                |
+-------------------------------------+--------------------------------------+

[21:23:43]: Starting login with user<EMAIL_ADDRESS>[21:23:44]: Successfully logged in
[21:23:44]: Fetching profiles...
[21:23:44]: Found 1 matching profile(s)
[21:23:44]: Recreating the profile
[21:23:45]: Creating new provisioning profile for 'com.company.App' with name 'Universal iOS Development' for 'ios' platform
[21:23:46]: Downloading provisioning profile...
[21:23:46]: Successfully downloaded provisioning profile...
/Users/myname/Universal_iOS_Development.mobileprovision

Environment

 ✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.6

Ruby
2.2.4

Bundler?
false

Git
git version 2.17.2 (Apple Git-113)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.13.6 (17G3025)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.129.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
2.3.5

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.8.1

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.4

tty-cursor
0.5.0

tty-spinner
0.8.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.6

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.1.0

simctl
1.6.5

jwt
2.1.0

uber
0.0.15

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

multi_json
1.12.1

signet
0.11.0

memoist
0.16.0

os
0.9.6

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.2.7

digest-crc
0.4.1

google-cloud-storage
1.15.0

emoji_regex
0.1.1

libxml-ruby
3.0.0

psych
2.0.8

generated on: 2019-08-21

This appears to be because sigh uses
      when 'ios', 'tvos'
        if profile_type == Spaceship.provisioning_profile.Development
          certificates = Spaceship.certificate.development.all

and Spaceship.certificate.development.all in turn filters certs using
types = [CERTIFICATE_TYPE_IDS.key(self)]

thus returning only the old-style "iOS Development" certs.
There's two general ways I see to fix this:

Update Spaceship.certificate.development.all and Spaceship.certificate.mac_development.all to also include AppleDevelopment certs.

Update sigh (and anywhere else that matters) to merge the list from Spaceship.certificate.apple_development.all into the certs list for development profiles.

... then repeat either for AppleDistribution certs as well.


Support number with kmg suffix

Like iperf3
 -n, --bytes     #[KMG]    number of bytes to transmit (instead of -t)

[KMG] indicates options that support a K/M/G suffix for kilo-, mega-, or giga-

go run cmd/main.go --upload-bytes=50m --download-bytes=1g --server-address=x.x.x.x


Things you should know about open source before you use it

@Aryamanz29 Hello Supervisor/ Mentor, Can I start working on this issue I just created? 😅

Hey , Please Don't spam with create same issues over again. You've already been assigned 2 issues try to complete that first


Cluster size for moco v2 + CLD seems to be too big?

Hi,
Thanks for this interesting work. When I was running the training script for moco v2 + CLD, I observed that the effective batch size (64=512/8) is actually smaller than the cluster size you assigned (120). This makes the clustering trivial, e.g. every example is one cluster. Can I confirm that this is not a bug? Or did I run it in the wrong way?

Hi Chengxu, thanks for your interest in our work! For the selection of cluster size, we have provided some discussions in the paper. The answer is based on our discussion in the paper and some new information, hope it can answer your question: The ideal number of groups depends on the level of instance correlation, the number of classes, and the mini-batch size. Figure 3 in the paper shows that for high-correlation dataset Kitchen-HC, CLD is best when the number of groups is close to the number of classes, i.e., 10, although CLD still outperforms NPID/MoCo at 80 groups. For ImageNet, the instance correlation is low. Also, the number of classes of 1,000 is much larger than the batch size our 8 GPUs can afford. Therefore, we just choose the largest number of groups possible. We expect continuous gain with more groups and larger batches afforded by more GPUs. We also tried some local experiments with a much larger batch size on a very small network, we observed consistent performance gains. Recently, I also saw some papers that tried to avoid this problem by applying clustering or nearest neighboring on the memory-bank/queue, which has much more prototypes than the number of classes and has a high chance to contain high correlated prototypes.
To answer your question in full, CLD gains on four aspects: 1) Integrate between-instance similarity into contrastive learning via cross-level discrimination;2) Impose invariant mapping thru cross-view comparisons;3) Improve the positive/negative sample ratio of contrastive learning and hence invariant mapping with batch-wise and cross-view comparisons; 4) Reduce feature variance from data  augmentation with proposed normalized projection head. Aspects 2, 3, and 4 remain valid even as the largest number of groups possible is chosen. We expect an even larger gain with moregroups and larger batches afforded by more GPUs. Nevertheless, CLD wins by merits instead of a large compute.


#177 gh-pages for the repo

Usage related changes

Added ./www with docusaurus stuff, deploy to gh-pages

Development related changes

Added ./www with docusaurus stuff.
Changes in README.md should be updated in ./www/docs/intro.md
Changes in README-dev.md should be updated in ./www/docs/dev.md

Checklist:

[x] Formatted the code
[x] No linter errors + tried to avoid introducing linter warnings
[x] Performed a self-review of the code
[x] Rebased to the last commit of the target branch (or merged it into my branch)
[x] Documented the changes

[ ] If src/type-extensions.ts was changed, updated the line number referencing this file in the ## API section of README.md

[ ] Updated the test directory (with a test case consisting of network.json, hardhat.config.ts, check.ts)
[x] Linked issues which this PR resolves
[ ] Created a PR to the plugin branch of starknet-hardhat-example:

< EXAMPLE_REPO_PR_URL >
[ ] Modified test.sh to use my example repo branch
[ ] Restored test.sh to to use the original branch (after the example repo PR has been merged)

[ ] All tests are passing (for external contributors who don't have access to the CI/CD pipeline)

#177 gh-pages with Docusaurus.


cmake: compiler/clang: tell clang to print actual libgcc name

This is to force clang to print the actual path to libgcc.a as we explicitly link libgcc. On some systems where llvm/clang is built to use libclang_rt.* by default, --print-ligcc-file-name would give the path to libclang_rt.*. This results in wrong path being extracted and incorrect library path being used in builds. Since libgcc.a is probably not in this provided path, clang may search on its own which may use incorrect libgcc.a (e.g. built for another arch for multilib systems). To avoid this, just tell clang to use libgcc.
Signed-off-by: Daniel Leung<EMAIL_ADDRESS>

Use #54445 instead.


For loop improvements

This PR contains several improvements for for tag:

fixed using spaces between loop variables. Before it was failing parsing.

{% for key, value in dict %}

added subscripting arrays and dictionaries using loop variable for index or key:

{% for index, value in array %}
{{ index }}: {{ array.index }}
{% endfor %}

{% for key in dict %}
{{ key }}: {{ dict.key }}
{% endfor %}

added support for iterating arrays with index and value. This (almost) removes need for forloop.counter and forloop.counter0 variables.

{% for index, value in array %}
{{ index }}: {{ value }}
{% endfor %}

added support for iterating tuples, similar to iterating dictionaries:

{% for label, value in tuple %}
{{ label }}: {{ value }}
{% endfor %}

{% for label in tuple %}
{{ label }}: {{ tuple.label }}
{% endfor %}

add support for subscripting tuples with labels and indexes. I.e. tuple (one: 1, two: 2) can be subscripted with labels: {{ tuple.one }} {{ tuple.two }} or with indexes: {{ tuple.0 }} {{ tuple.1 }}

added break and continue tags for breaking/continuing current loop (I started to implement labeled loops, but it will require a bit more effort).

{% for item in items %}
  {{ item }}
  {% if condition %}{% break %}{% endif %}
{% endfor %}

@kylef I'll break this into smaller separate prs so that it's easier for you to review, I expected it to be smaller, but it grew fast =))


Break out configuration to config file.

This is what I've put together so far. Let me know if this along the lines of what you had in mind.
There is a reference to jsnell in game.js as a shortcut for "plausibly needs to see the 'Chat' button." Move that heuristic server-side? Template the js? Both seemed excessive, and it doesn't really affect anything, anyhow.

That looks great, thanks! The chat button is just a cosmetic issue, so I'm fine leaving it as-is.
The thing I can't make up my mind on is whether the config file should be in git. Seems like a very likely place for unnecessary merge conflicts. Might be better to just have a config/config-example.json file in git, and have the admin create their own config/config.json based on the example. What's your feeling on that?

I agree re: unnecessary merge conflicts; config/config-example.json seems like the way to go.
I've updated re: your feedback; let me know if that's the sort of thing you had in mind.

Looks good to me, merged. Thanks!


🐛 [flutterfire_ui] UniversalTextFormField widget doesn't use autocorrect

Bug report
Describe the bug
Hello, I'm using flutterfire_ui 0.3.1 with EmailInput auth widget. When I type an email address, it's autocorrected (all platform).
Steps to reproduce
Steps to reproduce the behavior:

Use flutterfire_ui package
Create a new screen using SignInScreen widget for example
Add EmailProviderConfiguration to the providerConfigs list
Launch your application
Type an email address into the email TextField
The first character is uppercased and, for example, "test.fr" is replaced by "test.de" with French localization

Expected behavior
Do not try to autocorrect the email address. Lowercases must remain lowercases and all typed characters must remain unchanged.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-arm, locale fr-FR)
    • Flutter version 2.10.3 at /Users/arnaudchentil/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (3 weeks ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/arnaudchentil/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 2020.3)
    • 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 11.0.10+0-b96-7281165)

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

[✓] Connected device (2 available)
    • iPhone 13 Pro Max (mobile) • 6EF9BAEF-F433-4C5B-B4E0-29AAC76844E9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 99.0.4844.83

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

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.16.1
Flutter SDK 2.10.3
jouons_local_pro 0.1.0+17

dependencies:
- animated_bottom_navigation_bar 0.3.2 [flutter]
- auto_route 3.2.4 [flutter path collection meta universal_html]
- cloud_firestore 3.1.8 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.4
- diacritic 0.1.3
- emojis 0.9.9 [collection]
- evil_icons_flutter 0.5.0 [flutter]
- firebase_auth 3.3.7 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.12.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.5.1 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_messaging 11.2.6 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 10.2.7 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta typed_data vector_math sky_engine]
- flutter_feather_icons 2.0.0+1 [flutter]
- flutter_launcher_icons 0.9.2 [args image path yaml]
- flutter_local_notifications 9.3.2 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path typed_data vector_math]
- flutter_native_splash 1.3.3 [args image meta path xml yaml universal_io]
- flutter_pdfview 1.2.1 [flutter]
- flutterfire_ui 0.3.4 [cloud_firestore collection crypto desktop_webview_auth email_validator firebase_auth firebase_core firebase_database firebase_dynamic_links flutter flutter_facebook_auth flutter_localizations flutter_svg google_sign_in sign_in_with_apple twitter_login]
- google_fonts 2.3.1 [flutter http path_provider crypto]
- image_gallery_saver 1.7.1 [flutter]
- image_picker 0.8.4+9 [flutter flutter_plugin_android_lifecycle image_picker_for_web image_picker_platform_interface]
- material_design_icons_flutter 5.0.6595 [flutter]
- package_info_plus 1.4.0 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- path_drawing 1.0.0 [vector_math meta path_parsing flutter]
- path_provider 2.0.9 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- pdf 3.6.4 [archive barcode crypto image meta path_parsing vector_math xml]
- pull_to_refresh 2.0.0 [flutter]
- qr 2.1.0 [meta]
- qr_flutter 4.0.0 [flutter qr]
- share_plus 3.1.0 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web]
- shared 1.0.0+1 [flutter google_fonts cloud_firestore firebase_storage firebase_auth cached_network_image material_design_icons_flutter flutter_feather_icons timeago flutter_swiper_null_safety carousel_slider shimmer lazy_load_scrollview top_snackbar_flutter pull_to_refresh url_launcher map_launcher flutter_svg geocoding provider firebase_messaging auto_route flutterfire_ui flutter_local_notifications intl flutter_staggered_grid_view diacritic]
- shimmer 2.0.0 [flutter]
- top_snackbar_flutter 1.0.2 [flutter]

dev dependencies:
- auto_route_generator 3.2.3 [build source_gen analyzer path build_runner code_builder dart_style auto_route]
- build_runner 2.1.7 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_lints 1.0.4 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph typed_data]

dependency overrides:
- flutter_svg 1.0.3 [flutter meta path_drawing vector_math xml]
- path_parsing 1.0.0 [vector_math meta]

transitive dependencies:
- _fe_analyzer_shared 34.0.0 [meta]
- analyzer 3.2.0 [_fe_analyzer_shared cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.2.1 [crypto path]
- args 2.3.0
- async 2.8.2 [collection meta]
- barcode 2.1.0 [meta qr]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.2.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.0.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.0.1 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.6 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.1.4 [built_collection collection fixnum meta]
- cached_network_image 3.2.0 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- cached_network_image_platform_interface 1.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.1 [flutter flutter_cache_manager cached_network_image_platform_interface]
- carousel_slider 4.0.0 [flutter]
- characters 1.2.0
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- cli_util 0.3.5 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 5.4.13 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 2.6.8 [cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.1 [typed_data]
- cross_file 0.3.2 [flutter js meta]
- crypto 3.0.1 [collection typed_data]
- csslib 0.17.1 [source_span]
- dart_style 2.2.1 [analyzer args path pub_semver source_span]
- dbus 0.7.1 [args ffi meta xml]
- desktop_webview_auth 0.0.4 [crypto flutter http]
- email_validator 2.0.1
- fake_async 1.2.0 [clock collection]
- ffi 1.1.2
- file 6.1.2 [meta path]
- firebase_auth_platform_interface 6.1.11 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 3.3.7 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.2.4 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.5.4 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.1.13 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database 9.0.6 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- firebase_database_platform_interface 0.2.0+5 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.0+5 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- firebase_dynamic_links 4.0.6 [firebase_core firebase_core_platform_interface firebase_dynamic_links_platform_interface flutter meta plugin_platform_interface]
- firebase_dynamic_links_platform_interface 0.2.0+5 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 3.1.6 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 2.2.7 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.0.14 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.2.8 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.6.4 [flutter]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_facebook_auth 4.1.1 [flutter flutter_facebook_auth_platform_interface flutter_facebook_auth_web]
- flutter_facebook_auth_platform_interface 3.0.1 [flutter plugin_platform_interface]
- flutter_facebook_auth_web 3.0.0+1 [flutter flutter_web_plugins js flutter_facebook_auth_platform_interface]
- flutter_local_notifications_linux 0.4.2 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories]
- flutter_local_notifications_platform_interface 5.0.0 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.5 [flutter]
- flutter_staggered_grid_view 0.4.1 [flutter]
- flutter_swiper_null_safety 1.0.2 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta typed_data vector_math]
- frontend_server_client 2.1.2 [async path]
- geocoding 2.0.2 [flutter geocoding_platform_interface]
- geocoding_platform_interface 2.0.1 [flutter meta plugin_platform_interface]
- glob 2.0.2 [async collection file path string_scanner]
- google_sign_in 5.2.4 [flutter google_sign_in_platform_interface google_sign_in_web]
- google_sign_in_platform_interface 2.1.2 [flutter quiver]
- google_sign_in_web 0.10.0+5 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http 0.13.4 [async http_parser meta path]
- http_multi_server 3.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.1.3 [archive meta xml]
- image_picker_for_web 2.1.6 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_platform_interface 2.4.4 [cross_file flutter http plugin_platform_interface]
- intl 0.17.0 [clock path]
- io 1.0.3 [meta path string_scanner]
- js 0.6.3
- json_annotation 4.4.0 [meta]
- lazy_load_scrollview 1.3.0 [flutter]
- lints 1.0.1
- logging 1.0.2
- map_launcher 2.2.1+1 [flutter]
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.3
- meta 1.7.0
- mime 1.0.1
- nested 1.0.0 [flutter]
- octo_image 1.0.1 [flutter flutter_blurhash]
- package_config 2.0.2 [path]
- package_info_plus_linux 1.0.3 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.4 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 1.0.4 [package_info_plus_platform_interface ffi flutter win32]
- path 1.8.0
- path_provider_android 2.0.11 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.7 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.5 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.5 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.3 [flutter platform plugin_platform_interface]
- path_provider_windows 2.0.5 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 4.4.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.2 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.2.4 [file path platform]
- provider 5.0.0 [collection flutter nested]
- pub_semver 2.1.0 [collection meta]
- pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.0.1+1 [matcher]
- rxdart 0.27.3
- share_plus_linux 2.0.4 [share_plus_platform_interface file flutter meta url_launcher]
- share_plus_macos 2.0.2 [share_plus_platform_interface flutter]
- share_plus_platform_interface 2.0.1 [flutter meta mime plugin_platform_interface]
- share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta]
- share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher]
- shelf 1.2.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel]
- sign_in_with_apple 3.3.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web]
- sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta]
- sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js]
- sky_engine 0.0.99
- source_gen 1.2.1 [analyzer async build dart_style glob meta path source_span yaml]
- source_span 1.8.1 [collection path term_glyph]
- sqflite 2.0.2 [flutter sqflite_common path]
- sqflite_common 2.2.0 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.0 [charcode source_span]
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.4.8 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timeago 3.2.2
- timezone 0.8.0 [path]
- timing 1.0.0 [json_annotation]
- twitter_login 4.0.1 [flutter crypto http]
- typed_data 1.3.0 [collection]
- universal_html 2.0.8 [async csslib charcode collection html meta source_span typed_data universal_io]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher 6.0.20 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- url_launcher_android 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.15 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.0 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.0.5 [flutter plugin_platform_interface]
- url_launcher_web 2.0.8 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.0 [flutter url_launcher_platform_interface]
- uuid 3.0.6 [crypto]
- vector_math 2.1.1
- watcher 1.0.1 [async path]
- web_socket_channel 2.1.0 [async crypto stream_channel]
- win32 2.4.1 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 5.3.1 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

@arnaudonlywin
Can you try with latest version of the plugin (flutterfire_ui: ^0.3.6+1) and see if issue persists or not ?
I wasn't able to replicate the issue using plugin's example.

@darshankawar
I tried with latest version of flutterfire_ui ^0.3.6+1 and the issue persists.
In my code, I use SignInScreen with :  providerConfigs: const [ EmailProviderConfiguration(), ].
For example, with iOS emulator (iOS 15.4), in the EmailInput widget, I tape something like this :

I tape on the PasswordInput widget and then, the "fr" is replaced by "de". We see that iOS is highlighting the "fr".
After changing field, here is the result :

I tried to investigate the issue.
In UniversalTextFormField class, there is autocorrect property but it is not used...
In CupertinoTextFormFieldRow widget (line 49) and TextFormField (line 69), if I add this following new line, everything is going well :
autocorrect: autocorrect ?? true,
Maybe it can help you to solve this issue.

Thanks for the update. I tried it again and yes, do see the same behavior as reported.
flutterfire_ui: ^0.3.6+1
Channel master, 2.13.0-0.0.pre.296
/cc @lesnitsky

Thanks for the update. I tried it again and yes, do see the same behavior as reported.
flutterfire_ui: ^0.3.6+1
Channel master, 2.13.0-0.0.pre.296
/cc @lesnitsky

@darshankawar Thanks for your feedback


Memory leak when append predictions to list

When append prediction tensors to list, gpu memory will gradually increase, the occupied memory (model memory) will not be released (even when move the model prediction in @tf.function)
for data in dataset:
    pred = model(...)
    preds.append(pred)

this works as expected
for data in dataset:
  pred = model(...)
  preds.append(np.array(pred))

@kindernerd, Please provide the complete standalone code to analyze the reported issue and also mention Tensorflow version. Thanks!

@kindernerd, Could you elaborate your issue by providing complete code.Thanks

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Dates should be localized (glossary author)

When using the 'glossary author' UI there are Advanced options to set effectivity from/to dates
However these render in US mm/dd/yyyy format despite browser being configured in UK format
The page should use appropriate localization techniques to render the date in the appropriate format
My browser (chrome) currently offers an Accept-Language header of
en-GB,en-US;q=0.9,en;q=0.8

Though the exact algorithm to use may require research.

We use the carbon datepicker https://www.carbondesignsystem.com/components/date-picker/code. It looks like you can specify the date input form and default text. It would need a bit of investigation, to work out how to get these strings from the locale. Also this really needs to include time as well as date, but carbon did not have a time picker when I last looked.

Both with date and time we'll have to be very clear how that date is used. Indeed should it be rendered in user's local time, or should we always use UTC? (which brings in the very notion of day boundaries). Clearly internally it's all UTC, I'm just meaning clarity on the UI for the user to know what to enter

@planetf1  I have change the logic around dates and times for create in the new wizards. I have

changed the subject area APIs beans to use Longs for all dates
introduced a new DateTime Widget, for input - the date part has a date picker. The text can be overridden. There are hint text to the format if there is no text in the field. The pattern is also mentioned in the label.
On read I have installed date-fns for React - it has a standard user friendly way to display dates. It formats to something like  "Friday, May 28th, 2021 at 12:00:00 AM GMT+01:00". This date package does have localisation capability.

Thanks @davidradl .

For longs, I presume this is milliseconds since Jan 1 1970 UTC+1 in Java, so by 'date' it really is a fully speced date/time (in english speak) so not necessarily on a calendar date boundary (when converted to local time?) Which is as It should be imo
When entering time in the widget, is the timezone or current time clear - I wonder if the user needs to understand what the zone and/or time is? (I can't see the code or ui just yet of course)
for reading that format is clear, though I would have expected to see UTC rather than GMT (which is technically incorrectly used IMO), but I guess that may depend on current timezone/locale settings (from browser?)

@planetf1  From your response, I think your outstanding concern is what it looks like on write.   Here is a screen shot for effectivity time input. It show a placeholder with UTC greyed out.

you also say "On read I have installed date-fns for React - it has a standard user friendly way to display dates. It formats to something like "Friday, May 28th, 2021 at 12:00:00 AM GMT+01:00". This date package does have localisation capability."
The code uses https://date-fns.org/v2.23.0/docs/format . With PPPPpppp. This is the standard long localised date and time using the standard library - this seems reasonable to me.

The UTC reference looks good, but note that the date is in mm/dd/yyyy format, which is US format.
The browser locale is set to en_GB so I would expect the date to be in dd/mm/yyyy format - or indeed ISO format if we want to  have a single interational format

I've just checked this, and with my browser set to en_GB I am still seeing the dates in mm/dd/yyyy format which is incorrect?
That being said, the screen does clearly show mm/dd/yyyy so if this is intended/limitation, please close - just pointing out as I think you were suggesting it should be localized ok?
Accept-Language header:
en-GB,en;q=0.9
The timezone looks fine

@planetf1 is there a standard at API level on how we pass dates? is it a timestamp on where we can apply the timezone and localize it, or is it just a date format outputted?

@sarbull I think there are 2 ways Egeria APIs do this. The files is to send a UTC Date object. I thought it simpler to send the long value to the React Ui code, so I sent the milliseconds since epoch. Ideally we would pick up the locale from the browser and use that for the dates and also the labels that includes the patterns, currently the patterns are hard coded, as I could not see an obvious way to programmatically get them at the time.

In time we could pick the locale from a user profile and expose it as a user preference. I think picking up the browser locale is  a natural next step.

i believe using timestamp would be the way to do it for the UI, like unix epoch time yes, https://www.epochconverter.com/ but we need to have the APIs be sending us timestamps instead of any random date format that was used

which APIs are you seeing that use a random date format ?


add custom nav-item label attribute

You can pass an optional ‘labelAttribute’ (default: ’scrollnav-label’)
as an [data]-attribute selector for the ’sections’ element. There is no
need for the [data-] prefix.
If the attribute is set and empty, the default sections text will be
used. Feel free to change the wording ;-)

Thanks for the quick turn around. I'm out on vacation (will be wandering in the woods without tech) till Tuesday, but I'll try to get a release with this right after I get back.

I'm really sorry, I got super busy and haven't been giving this project the love it needs. I'll be catching up on things this week and will test this either tomorrow or fri.

Please update the readme with instructions for the new setting option.

Closing because change requests were never implemented and I am currently looking at other options (see #61)


Having trouble using, any updated examples?

Hi, I'm trying to use this to source data from the BEA. I'm fairly new at this, but it would be really helpful if you could post some examples on how to use pybea and call each series. I think its because a bunch of things have changed. Any help would be much appreciated. Examples are super helpful and this is a blessing what you've done here.

@Kencol3 You are correct that much has changed and I need to update the package.  I will try to release a new version with working example notebooks soonest.

@Kencol3 I have done a quick fix of the library and example notebooks. A few examples of how to use the library can be found in the user guide.  I will add more notebooks to the examples directory as I add more datasets to the API. Let me know if you have any more questions.


Allow reading YamlBoolean and YamlNumber as strings

Since YAML doesn't require strings to be enclosed in quotes, the StringYamlFormat should also be able to read strings from (at least) booleans and numbers.
The same problem arises with dates and nulls. The latter can be converted to the string "null", but the former requires one to store the original date representation in string format, since by the time we're formatting it it already is a YamlDate. What's your opinion on this?

In #2 it was agreed that it might not make much sense to provide such facility.


Register this as an redmine plugin on redmine.org

[x] Register the plugin (https://www.redmine.org/plugins)
[x] Add link to the plugin page in the Readme

Redmine needs the following information:

[X] Plugin Name => Redmine Sentry Client
[X] Plugin Identifier => redmine_sentry_client
[x] #11
[x] Plugin Version (We should release it as V 1.0.0)
[x] Compatible Versions (#4)
[x] Release Date

Additional possible Information

[x] Homepage - for now GitHub
[x] Code Repository => https://github.com/jop-software/redmine_sentry_client
[x] Thumbnail (100x100px) - use our logo
[x] #12

The plugin is now registered in the redmine plugin directory


Only use the first line of the description as a label (if at all)

In this title:
b'An angel leading a soul into hell. Oil painting by a followe'
b'An angel leading a soul into hell.  The naked man is presumed to be a soul of the dead. Monsters inflict horrendous tortures on the damned who are already there. The angel who accompanies the soul of the deceased to the underworld is called the \'psychopomp\'. In ancient Graeco-Roman religion the psychopomp is Hermes (Mercury), but Christian doctrines are more vague on how the soul actually reaches its post-mortem destination: in some versions the event itself happens immediately after the death of an individual, while in others it happens after Judgment Day. \r\r\n\r\r\nPaintings, poems and songs have contributed as much to the idea of hell as official doctrines. Hell is depicted in mediaeval and early modern churches and cemeteries (as at Pisa) as well as on Buddhist paintings of the realm of Yama. The torments of the damned reflect the tortures inflicted by torturers acting for political masters and judicial authorities in the secular dungeons of this world. \r\r\n\r\r\nOne master painter who specialized in the genre of hell-scenes was Hieronymus Bosch (died 1516). His enormously popular pictures were emulated by many artists throughout the 16th century, in Italy as well as in the Low Countries. The present painting was at one time in Rome and may have been painted by an Italian painter. The rotunda in the right middle-ground is similar to Virgil\'s tomb at Piedigrotta, near Naples - appropriately, as Virgil described Aeneas\' descent to the underworld in the "Aeneid", and acted as Dante\'s guide to the underworld in Dante\'s "Inferno".'

We can probably do a better job if we guess everything up to the first newline as a candidate title.

We need to run a reindex before we can close this.

Hmm, this doesn’t seem to have worked: https://api.wellcomecollection.org/catalogue/v0/works/c3c7b5pa
I wonder – did something go wrong with the reindex?

So that item arrived at the ingestor, but the transformer data it received was wrong:
"Message" : "{\"canonicalId\":\"c3c7b5pa\",\"work\":{\"identifiers\":[{\"source\":\"Miro\",\"sourceId\":\"MiroID\",\"value\":\"V0017388\"}],\"label\":\"An angel leading a soul into hell.  The naked man is presumed to be a soul of the dead. Monsters inflict horrendous tortures on the damned who are already there. The angel who accompanies the soul of the deceased to the underworld is called the 'psychopomp'. In ancient Graeco-Roman religion the psychopomp is Hermes (Mercury), but Christian doctrines are more vague on how the soul actually reaches its post-mortem destination: in some versions the event itself happens immediately after the death of an individual, while in others it happens after Judgment Day. \\n\\n\\n\\nPaintings, poems and songs have contributed as much to the idea of hell as official doctrines. Hell is depicted in mediaeval and early modern churches and cemeteries (as at Pisa) as well as on Buddhist paintings of the realm of Yama. The torments of the damned reflect the tortures inflicted by torturers acting for political masters and judicial authorities in the secular dungeons of this world. \\n\\n\\n\\nOne master painter who specialized in the genre of hell-scenes was Hieronymus Bosch (died 1516). His enormously popular pictures were emulated by many artists throughout the 16th century, in Italy as well as in the Low Countries. The present painting was at one time in Rome and may have been painted by an Italian painter. The rotunda in the right middle-ground is similar to Virgil's tomb at Piedigrotta, near Naples - appropriately, as Virgil described Aeneas' descent to the underworld in the \\\"Aeneid\\\", and acted as Dante's guide to the underworld in Dante's \\\"Inferno\\\".\",\"creators\":[{\"label\":\"Hieronymus Bosch\",\"type\":\"Agent\"}],\"type\":\"Work\"}}",

Okay, turns out the API was pointing at the wrong index. Titles are better now!


uploadedFiles are not counted

If I set uploadedFiles with one or more files and I also set max = x, then the maximum number of files I can upload is uploadedFiles.length + x.
Another thing is that the Clear button isn't displayed if files are set through uploadedFiles

Same here 👍. This issue is still present.

Hi guys!
Does anyone has some solution for Clear button not been displayed when the files are set through uploadedFiles?

I found a solution guys!
TEMPLATE:
<image-upload #imageUpload  [uploadedFiles]="uploadedImagesUrls" ... >
COMPONENT:
@ViewChild('imageUpload') imageUpload: ImageUploadComponent;
uploadedImagesUrls: string[] = [];
this.uploadedImagesUrls = [];
this.uploadedImagesUrls.push(UrlStrin);
this.imageUpload.fileCounter = 1;
Hope it can helps somehow!
Cheers,
Ricardo


Fix issue #1237

Make the conversion operator SFINAE correct.
Workaround a GCC bug with some traits in type_traits.hpp

Fixes #1237
Pull request checklist
Read the Contribution Guidelines for detailed information.

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header file single_include/nlohmann/json.hpp. The whole process is described here.

Coverage remained the same at 100.0% when pulling 7384a9adb4816cd344b93d5801580428559e7324 on theodelrieu:fix/1237 into 186c747a19c56c3208e7539713607211b6059ceb on nlohmann:develop.

@theodelrieu Do we need to add documentation for this? Like: a README entry to an example like the programs in doc/examples?

I don't think so, this is a fix more than a feature. It would be nice to add an example for #1231 though

Thanks a lot!


Change the sender of the policy log when adding an team.expensify.com or expensify.com email as an admin

Problem: As discussed here, we add a new policy log when we automatically add someone from expensify as an admin to the policy for support purposes.

This is not ideal and degrades trust in our logs, because the admin didn't actually add the user. We did this on their behalf
Solution: When we automatically add a user with a team.expensify.com or expensify.com email to a workspace on behalf of an admin, let's show it as an action from concierge and explain why we did it. So in place of the screenshot above, it should say:

Concierge
added Kevin Sullivan<EMAIL_ADDRESS>as an admin. Kevin is a product specialist that can help you with your setup!

View all open jobs on GitHub

@kevinksullivan @pecanoro This can be easily controlled from backend message.

we add a new policy log when we automatically add someone from Expensify as an admin to the policy for support purposes.

@kevinksullivan How are these admins added? I can't fix it if I don't know how these ged added, I am missing context here.

It seems we have the policy owner "add" in the assigned guide, and in certain scenarios, the Guide's mentor. We do this from the policy owner's account, but they are not actually taking the action themselves.

@kevinksullivan How are these added? While being support logged into the account?

@kevinksullivan Ohh one sec, I think I understand now, so no matter how we add the guide/mentor, we want to show it's coming from Concierge, right? Only for guides and not any other user?

Sorry @pecanoro like I said I updated the OP, so all we want to do is stop sending this message altogether. So we don't want to show a message whenever we are adding a team.expensify.com / expensify.com email on behalf of the customer.

@kevinksullivan One last question, if I remove the log completely for the expensify.com domain, these will stop showing on our policies too, should I check that the policy is not part of our domain so our own workspaces still log this?

ah yes that is a great catch @pecanoro . We don't want this to affect our own use of the product. Only when we're doing this on behalf of other companies for support purposes.

PR is ready but I need to test it on Monday.

Not overdue Melvin! Almost done!

It was already deployed, it seems automation didn't happen, so closing!


Added alternative SRv6 node-to-node tunneling ending with DX6 instead of DT6

This is made for pod-to-pod communication in full IPv6 environment. Default SRv6 tunneling uses table lookup(DT6) to get packet to correct pod on remote node. This alternative approach uses on remote node direct cross connecting to interface leading to pod (DX6). This approach adds complexity on SRv6 side (we need tunnel for each pod), but simplifies routing after tunnel ending (not using table lookup, but directly cross connecting to interface)

Coverage decreased (-0.8%) to 68.83% when pulling 039f2a9f2f5bf367079032abaed6f8119852924d on fgschwan:node2node-dx6 into 36f10241f1bce72b3906c46cec98f2357c45591c on contiv:dev.


Some issues with .gitignore

Type of Issue

[x] Bug
[ ] Feature Request
[ ] Performance issue
[ ] Help Wanted
[ ] Documention incomplete
[ ] Test Improvement
[x] Raise a Question

Introduction to the issue
The .gitignore should be excluding a lot of log files in web-ext( From what I could infer)
However, this isn't happening as expected and I see a lot of tracked logs

Expected result
There shouldn't be this many tracked log files
Possible Fix
Update .gitignore for all the files in utils/web-ext?

That should be improved. @heming6666

fixed by https://github.com/hypertrons/hypertrons-crx/blob/fd0383bf573c4dc7e195ac36aabea7f419df1a14/.gitignore


Performance limited by slowest card

Interacts with #5.
See http://devgurus.amd.com/thread/170098
A new work dispatch method is being deployed; this is to mark as known issue.

5c999bede5fe0c9bf52dcb8740f822b241a31036 contains a thread-based wait which is expected to fix that. The method also works across different platforms thereby affecting #5 as well.

Updating, as an user asked about multi-gpu support status.
The above mentioned method has been deployed with v801. It was expected it to be slower. Apparently it is so slower hi-perf users cannot stand it. I don't like it either.
The ugly? The method has turned out to be fairly brittle.
Right now slow devices don't bottleneck anymore but I'm going to keep this open as long as I don't hit a good solution and the good solution, to be deployed in next version is to transition to a one-device-one-thread approach.
As a side note: next version will certainly not be released this week as I have real-world things to sort out. I don't think I'll do it next week either. I'm not even sure what fixes will go in next version and what not. It is likely it'll be released by end of the month.


Run flow DeploySPLists doesn't start

As put in the note: "You may receive an error stating that location services are required. If this happens, please allow location services to Power Automate and refresh the page before trying again."
I'm facing the same problem, but not able to allow location services to PA, could you please share the steps to be covered in order to setup this attribute?
Thanks & regards,
Ale

Following #87 fixed the issue:
Ref:
"I was able to run this by deleting the "Manually trigger a flow" trigger in the flow and re-adding it."


Rust support

Hi @josephDunne. I tried resolving latest conflicts with master branch in google/flatbuffers. Modified following files:
+ both modified:      include/flatbuffers/idl.h
+ both modified:      src/flatc.cpp
+ both modified:      src/idl_gen_cpp.cpp
+ both modified:      src/idl_gen_general.cpp
+ both modified:      src/idl_gen_go.cpp
+ both modified:      src/idl_gen_php.cpp
+ both modified:      src/idl_gen_python.cpp
+ both modified:      src/idl_gen_text.cpp
+ both modified:      src/idl_parser.cpp

idl_gen_rust.cpp

@josephDunne
Would appreciate any help from you, as I am not very familiar with the codebase of flatbuffers and C++, and I am not sure how to run tests.
Could you have a look at this PR? Thanks!

Ok will do thanks


Problems with Taudem

Hi, the link in your instructions for the Taudem source for windows: http://svn.mapwindow.org/svnroot/MapWindow4Dev/Bin/Taudem5Exe/ is not working. Trying to go around the problem, I installed Taudem following the instructions in their website for windows, and although Taudem was properly working, when I try to run pydem in one of your examples, i.e. elev, ang, test_data = get_test_data(testnum, NN) it returns the message: "Taudem did not complete. Is it installed properly?". After that I manually copy the executables from the Taudem installation found in the folder C:\Program Files\TauDEM\TauDEM5Exe to a folder you suggested: <ANACONDA_ROOT><lib>\pydem\taudem\taudem_Windows and I still get the message: "Taudem did not complete. Is it installed properly?".
Thanks for your help,

Thanks for letting me know the link is broken. I'll look into it when I get a chance (might be a long time...).
Incidentally, pydem doesn't require tauDEM to work -- we just used it to validate that we implemented everything correctly.

The problem was related with the path to "msvcr90.dll"; I solved with instructions here: https://stackoverflow.com/questions/14552348/runtime-error-r6034-in-embedded-python-application


Checkbox Title as Title of the toggle

Hi,
I recently had the requirement to add a simple tooltip to the toggles, so i tried to add a title.
But the toggle doesn't take the title, so I created this little script, that takes the title from the checkbox and pushes it onto the div.

$.each($('input[type="checkbox"][title]'), function (sender) {
        $('#' + $(this).attr("id") + ' + .toggle-group').attr("title", $(this).attr("title"));
    });

Is there a better way?
regards,
CarnVanBeck

Preface--   I'm not expert ...  just started using this lib a few days ago.
At first look, this code will run through the DOM even if tootips are not required (no hovering).
Bootstrap has a tooltip() method built in to it already, so I would probably attach a listener to a parent of the checkboxes (a div, etc) and set it up like:
untested guess:
$('.divwrapper input[type="checkbox"]').tooltip({placement : 'top', title: $(this).attr('title')});
Give it a try like that.


chore: Modernise Android build config for plugin and example

While going through the source code in the repo I saw that plugin and example app both have quiet outdated Android build configuration and decided to help bring it up to date a little bit.

Updated used Android Gradle plugin to 7.2.0  in both plugin and example, which is latest at the moment. Needed to be able to build project in latest Android Studio versions as 3.2 is already minimal supported version: https://developer.android.com/studio/releases/gradle-plugin
Updated Gradle wrapper version to the latest 7.4.2 in both plugin and example as after changing version Android Gradle version we had to update wrapper anyway.
Changed compileSDK to 31 for plugin and targetSDK for example to compile against currently latest Android SDK.
Added exported=true in AndroidManifest of example as it is a requirement in SDK 31.
Changed AndroidManifest in example to declare app name as android:name="${applicationName}" to not have build issues saying that example uses Flutter embedding V1.
Added android.useAndroidX=true flag as project has dependencies which use AndroidX, but doesn't enable AndroidX usage itself, so you can see following warnings during build:

P.S. pubspec.lock versions changed because I was building the project after my changes and had to do pub.get. Version bump for Dart happened because I use latest stable versions of Dart and Flutter. These updates would need to happen anyway, so didn't revert them.

Build Android job fails due to Flutter 2.0.0 being used, which didn't work with Gradle 7 and newer.
Here is the issue in the Flutter repo with fix, which adds the compatibility.
Thus, will update version of Flutter used on CI in this PR as well to make all actions pass.

@vbuberen what are the consequences of updating the library to flutter 3.0?

In the context of this PR nothing changes for the project because of building with Dart 2.17 and Flutter 3 as I introduced no new code or features, which appeared only in mentioned releases.
In case you would like to check yourself here are links with release notes descriptions:
https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0
https://medium.com/dartlang/dart-2-17-b216bfc80c5d

@danielgomezrico Do you you want me to address something else in this PR or it can be merged?
Would like to open one more PR with some Segment Android SDK updates, but feel like we might want to merge this one first.

Thanks for approval. I was curios more on when this PR will be merged 😄

@vbuberen LGTM thanks for opening the PR!


Fixed crash when editing textbox at non-end pos

I was encountering a crash when editing a textbox by adding more characters than the char[] could handle. While attempting this from the end of the textbox it would simply not enter the characters, adding the new characters from a position before the end of the array causes the error.
This is the fix I've implemented.

@benbeshara Nice! Thanks for the fix! :)


Internal links to posts within the site bring you to a blank page (until you refresh)

One some of my posts descriptions, I will link to other posts on the site.  In almost 100% of cases, when a user clicks on the link, it takes them to the new post but the content is completely blank.  If you click 'refresh', the content appears.
An example page where this occurs is HERE
Note, it happens on every link except the first one for "How does a microphone work."
The workaround I've been using is to open the links in a new tab using target="_blank"

Solution http://stackoverflow.com/questions/4425198/markdown-target-blank

Isn't this the same thing I mentioned there?   Using target=blank to open in a new page?  I think I've already got that.  In fact, I think you had skyped me that solution :)
I'm trying to get it to load on the same page.

Hey, @flantascience! Telescope has changed a lot in the past months, and there is a new React-based version, Telescope Nova (intro video).
The Legacy version is no longer supported, I'm closing this issue. I invite you to check the new version, it's awesome!
Happy hacking! 🚀
Ps: by the way, don't hesitate to join the Slack to ask any question, you are welcome! 👍


tensorflow 2.4.0  the predict function outputs an error, when the same code works on another TF versions.

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform : Windows 10
TensorFlow installed from ): 2.4.0, using instal_tensorflow(version = "2.4.0" )
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: 11.0 / 8.0.2
GPU model and memory: RTX 3070

Describe the current behavior
I can run this code https://blogs.rstudio.com/ai/posts/2019-08-23-unet/ on the kaggles notebook (which runs TF 2.3.0),
but on my PC, intel + nvidia 3070, TF 2.4, the code can run and train.  BUT the PREDICT function doesnt work.
The exact same code the predict function works as expected on Kaggles
Describe the expected behavior
The predicitions functions results in predictions, not errors
Standalone code to reproduce the issue
https://www.kaggle.com/rpsantosakaggle/unet-carvana
Other info / logs
predictions <- predict(model, batch)
Error in py_call_impl(callable, dots$args, dots$keywords) :
ValueError: in user code:
C:\Users\rpsan\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\tensorflow\python\keras\engine\training.py:1478 predict_function  *
    return step_function(self, iterator)
C:\Users\rpsan\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\tensorflow\python\keras\engine\training.py:1468 step_function  **
    outputs = model.distribute_strategy.run(run_step, args=(data,))
C:\Users\rpsan\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:1259 run
    return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
C:\Users\rpsan\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:2730 call_for_each_replica
    return self._call_for_each_replica(fn, args, kwargs)
C:\Users\rpsan\AppData\Local\R-MINI~1\envs\R-RETI~1\lib\site-packages\tensorflow\python\distribute\distribute_lib.py:3417 _call_for_each_re

*have run many other codes that worked seamlesly, but with this one, it bugs.
tf_config()
TensorFlow v2.4.0 ()
Python v3.6 (C:/Users/rpsan/AppData/Local/r-miniconda/envs/r-reticulate/python.exe)

Please provide a minimum code snippet to reproduce the reported issue this helps us reduce time on trouble shooting significantly. On a side note: From the stack trace you may want to refer this thread.

Please provide a minimum code snippet to reproduce the reported issue this helps us reduce time on trouble shooting significantly. On a side note: From the stack trace you may want to refer this thread.

I just manage to solve the issue.  Something changed in the behavior of prediction function from TF 2.3.0 to TF 2.4.0.
What worked:
Instead of predict(model, batch) ( what works fine on TF 2.3.0)
I wrote : predict(model, batch[[1]])  ( this owrks on TF 2.4.0) ( like, selecting only the train data, what makes sense)
Thankyou for the support and replay

I just manage to solve the issue.  Something changed in the behavior of prediction function from TF 2.3.0 to TF 2.4.0.
What worked:
Instead of predict(model, batch) ( what works fine on TF 2.3.0)
I wrote : predict(model, batch[[1]])  ( this owrks on TF 2.4.0) ( like, selecting only the train data, what makes sense)
Thankyou for the support and replay


argmax returns incorrect result for input containing -0.0 (JAX)

Description
Description:
When using jnp.argmax with an input array containing -0.0, the result is incorrect. Specifically, the function returns 1 (the index of -0.0) as the position of the maximum value, while the actual maximum value is 1.401298464324817e-45 at index 2.
This issue is reproducible in TensorFlow and Keras as well, as they share similar backend logic for the argmax function. However, PyTorch correctly returns the expected index 2 for the maximum value.
Expected Behavior:
jnp.argmax should return 2, as the value at index 2 (1.401298464324817e-45) is greater than both -1.0 and -0.0.
import numpy as np
import torch
import tensorflow as tf
import jax.numpy as jnp
from tensorflow import keras

def test_argmax():
    # Input data
    input_data = np.array([-1.0, -0.0, 1.401298464324817e-45], dtype=np.float32)

    # PyTorch argmax
    pytorch_result = torch.argmax(torch.tensor(input_data, dtype=torch.float32)).item()
    print(f"PyTorch argmax result: {pytorch_result}")

    # TensorFlow argmax
    tensorflow_result = tf.math.argmax(input_data).numpy()
    print(f"TensorFlow argmax result: {tensorflow_result}")

    # Keras argmax (Keras internally uses TensorFlow, so should be the same)
    keras_result = keras.backend.argmax(input_data).numpy()
    print(f"Keras argmax result: {keras_result}")

    # JAX argmax
    jax_result = jnp.argmax(input_data)
    print(f"JAX argmax result: {jax_result}")

if __name__ == "__main__":
    test_argmax()

System info (python version, jaxlib version, accelerator, etc.)
PyTorch argmax result: 2
TensorFlow argmax result: 1
Keras argmax result: 1
JAX argmax result: 1

Additional Notes:
This issue arises when the input contains -0.0. It seems that JAX incorrectly treats -0.0 as greater than 1.401298464324817e-45, which is logically incorrect. This discrepancy needs to be addressed for argmax to work as expected.

This is not argmax issue, see https://github.com/jax-ml/jax/issues/24280#issuecomment-2410724204 for an explanation.

这不是argmax问题，请参阅#24280（评论）了解解释。
PyTorch and JAX were both run on the same CPU: The issue is not CPU-specific because PyTorch, running on the same CPU, produced the correct argsort result. PyTorch correctly treats -0.0 and 0.0 as equal in sorting, as per IEEE 754 standards. JAX, however, fails to do so, resulting in incorrect argsort behavior.

Incorrect sorting behavior for -0.0: In my provided test case, JAX's argsort incorrectly places -0.0 in a different order compared to 0.0. According to IEEE 754, -0.0 and 0.0 should be considered equal, but JAX does not conform to this, leading to unexpected results. PyTorch, on the other hand, produces the expected sorting order, handling -0.0 and 0.0 equivalently.
FTZ mode is not the root cause: While FTZ mode on CPUs can explain the handling of subnormal numbers like 1.401298464324817e-45, this issue fundamentally relates to how JAX differentiates between -0.0 and 0.0 in its sorting operations. The key problem is that JAX's argsort treats -0.0 as different from 0.0, which is incorrect based on floating-point standards.

The key problem is that JAX's argsort treats -0.0 as different from 0.0, which is incorrect based on floating-point standards.

Can you give a specific example of where JAX treats -0.0 as different from 0.0? I don't see this in the case of argsort or argmax. For example:
>>> x1 = jnp.array([0.0, -0.0])
>>> x2 = jnp.array([-0.0, 0.0])

# Confirm with signbit that the signed zeros are present:
>>> jnp.signbit(x1)
Array([False,  True], dtype=bool)\
>>> jnp.signbit(x2)
Array([ True, False], dtype=bool)

# compare argmax:
>>> jnp.argmax(x1)
Array(0, dtype=int32)
>>> jnp.argmax(x2)
Array(0, dtype=int32)

# compare argsort:
>>> jnp.argsort(x1)
Array([0, 1], dtype=int32)
>>> jnp.argsort(x2)
Array([0, 1], dtype=int32)

The key problem is that JAX's argsort treats -0.0 as different from 0.0, which is incorrect based on floating-point standards.

Can you give a specific example of where JAX treats -0.0 as different from 0.0? I don't see this in the case of argsort or argmax. For example:
>>> x1 = jnp.array([0.0, -0.0])
>>> x2 = jnp.array([-0.0, 0.0])

# Confirm with signbit that the signed zeros are present:
>>> jnp.signbit(x1)
Array([False,  True], dtype=bool)
>>> jnp.signbit(x2)
Array([ True, False], dtype=bool)

# compare argmax:
>>> jnp.argmax(x1)
Array(0, dtype=int32)
>>> jnp.argmax(x2)
Array(0, dtype=int32)

# compare argsort:
>>> jnp.argsort(x1)
Array([0, 1], dtype=int32)
>>> jnp.argsort(x2)
Array([0, 1], dtype=int32)

Thanks for your response. I understand that the issue might not be about the difference between 0.0 and -0.0 directly. However, the core of my concern is why the results between CPU and GPU are not consistent. This discrepancy is most noticeable when using argsort in JAX, where the results are different on CPU and GPU, likely due to how small numbers like subnormals are handled.
PyTorch consistently provides correct and matching results across CPU and GPU, while JAX does not. The fact that this inconsistency exists in JAX but not in PyTorch is what suggests there's a deeper issue, particularly with how JAX handles very small numbers and how those get "flushed to zero" under certain hardware configurations. Could we explore why JAX shows this discrepancy while other frameworks do not?

OK – since we've confirmed that JAX handles 0.0 and -0.0 equivalently on all platforms, it seems your main contention is with handling of subnormals. Given that, I'm going to close this as a duplicate of #24280 where you've raised the same issue.


Not an issue, but a request

Hi @hwalsuklee ,
Thank you for sharing this neat-n-clean code... It's really helpful.
I have two requests:
1. Could you please provide a model to generate RGB data like: CIFAR 10 or SVHN. From your past comments, I realized that you are working on CelebA dataset. Would you be so kind to share your code on those (above-mentioned dataset) too?
2. It seems Co-GAN is missing. Would you be so kind to provide a code for Co-GAN too...!!
Thank you again for sharing your code,
With Best Regards,
Arghya.

Hi,II encountered the same problem.
In all GAN networks, the input data is binary image data like mnist. I wonder if you have any modifications to the input training data. You can enter color images or grayscale images into the network for training. If you make a change, can you share me an improved code and let me learn your method.
Regardless of whether you have made any changes,  thank you very much

I have adjust the code for color images, Cofar-10.
https://github.com/AliceAria/Performance-comparison-of-GAN-on-cifar-10


Enhance the children view of an element with preview

At the very least we should see a preview.


Could you please open-source the code for the calculation and visualization of the statistic information of KV Cache?

It's really pleasant to discover such a nice work! Could you please further provide the code to calculate and visualize the statistic information of KV Cache (like the following image), so it would be easy for future researchers to observe the pattern of KV Cache on more new models? Thanks a lot!

We have added the visualization code along with instructions to vis.ipynb. Thank you for bringing this to our attention!

Thanks for your attention! By the way, I got some trouble when using pip install -r requirements.txt to install the dependencies:
. It seems to be a problem concerning == and =. Could you help fix it?

Apologies for the error. We used conda to export the requirements and have since updated the README.


v2 feature: ( Positional Args Type Checking and Conversion )

Checklist

[X] Are you running the latest v2 release? The list of releases is here.
[X] Did you check the manual for your release? The v2 manual is here
[X] Did you perform a search about this feature? Here's the Github guide about searching.

What problem does this solve?
If find myself doing a lot of int conversion of the positional arguments. For example:
id, err := strconv.ParseInt(c.Args().Get(0), 10, 64)
if err != nil {
        return fmt.Errorf("whatever id '%s' invalid: must be an int", c.Args().Get(0))
}

While there are a lot of conversions for flags, positional arguments (appear) to have none.
Solution description
Something that would attempt to do the conversion and error on failure, similar to what happens with flags.
Or maybe let the user do this via:
id, err := c.Args().GetInt64(0)

Describe alternatives you've considered
Wrapper functions for the above.

The flag-based cli style is based on Name but not possition. I guess you want to use a cli arg as someapp foo instead of someapp -f=foo .
Maybe you are intrested in #1237

This is the same feature as https://github.com/urfave/cli/issues/1074, more or less. @sshaw would you mind commenting on that issue with any ideas that you have? Please and thank you ✨
Closing this one as a duplicate, I would love to see more work happen on https://github.com/urfave/cli/issues/1074 though!!!


[WIP] upgrade to the 2.5.0-beta1 and enable Adaptive sampling on all ptatfo…

…rms. Tests are failing
This is WORKG IN PROGRESS. DO NOT MERGE
Using latest version of Application Insights (2.5.0-beta1) exposed the problem with multi-sink. Unit tests failing as the channel cannot be overridden on the DefaultSink.
@karolz-ms do you have ides off the top of your head? Otherwise I'll keep debugging in the end of the day

@SergeyKanzhelev no, sorry. I looked briefly at the errors but the call stack(s) do not have an obvious connection with TelemetrySink feature. Looks like you are already further down the road of investigating the cause.
I also do not quite get the part about "channel cannot be overridden on default sink". It should be--e.g. test TelemetryChannelCanBeSetByUserToReplaceDefaultChannelForTesting https://github.com/Microsoft/ApplicationInsights-dotnet/blob/develop/Test/Microsoft.ApplicationInsights.Test/Shared/Extensibility/TelemetryConfigurationTest.cs#L292 is supposed to verify that.

@karolz-ms it seems to be some behavior related to the order of Build call for the telemetry processors chain. As I said I'll keep debugging. I saw that the channel we assign to the configuration wasn't used in default sink - InMemoryChannel was used instead.

@karolz-ms working theory - TelemetryProcessorSink got initialized when default sink is created, but never updated when the new channel being used later


Suggestion Getting Started Section in the README.md

Describe the issue
I'd like to add a Getting Started section to the README.md. What do you think about this?
VM on Azure

Follow the steps on https://aka.ms/bcsandbox

Local Installation on Windows or Windows Server
This would be the Steps to install BCContainerHelper on Windows 11 or Windows Server 2022:
Prepair Host

Run PowerShell as Admin:

Install-WindowsFeature Containers -Restart

Server restarts.

Run PowerShell as Admin:

Install-Module -Name DockerMsftProvider -Repository PSGallery –Force
Install-Package -Name docker -ProviderName DockerMsftProvider -Force
$service = Get-Service "docker"
if ($service.Status -eq "Stopped")
{
  Start-Service -Name "docker"
}

Install BCContainerHelper

Run PowerShell as Admin:

Install-PackageProvider -Name NuGet -Force
Install-Module BcContainerHelper -force

Create you first container

Run PowerShell as Admin:

$url = Get-BCArtifactUrl -select Latest -type OnPrem -country W1
$cred = Get-Credential
New-BcContainer -accept_eula -artifactUrl $url -Credential $cred -auth NavUserPassword

You're very welcome

I grabbed your section above and added it to https://github.com/microsoft/navcontainerhelper/blob/master/README.md#getting-started
(Did some small modifications though)
Thanks
If you want to add something or suggest changes, feel free to create a PR:-)

@freddydk Thanks.


On 3.11.0a7, when coverage is used, error message for "maximum recursion depth exceeded in comparison" is misleading (it considers that we are in a comparison)

Describe the bug
When the following code is run:
def endlessly_recursive_func(n):
    return endlessly_recursive_func(n - 1)

endlessly_recursive_func(0)

the following error is expected:
RecursionError: maximum recursion depth exceeded

However, when:

3.11.0a7 is used

AND

Coverage is used

Then, the error message is somehow more precise and more wrong:
   File "/opt/hostedtoolcache/Python/3.11.0-alpha.7/x64/lib/python3.11/site-packages/coverage/pytracer.py", line 130, in _trace
    if event == 'call':
       ^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded in comparison```

To Reproduce
From my CI runs, it looks like only 3.11.0-alpha.7 is affected - https://github.com/SylvainDe/DidYouMean-Python/actions/runs/2455223356 (based on a dedicated branch to try to understand the issue).
I've tried to simplify the procedure and now, one can reproduce the issue with the following commands:
$ python dummy_code.py
$ python -m coverage run dummy_code.py

on the following code
$ cat dummy_code.py
def endlessly_recursive_func(n):
    """Call itself recursively with no end."""
    # http://stackoverflow.com/questions/871887/using-exec-with-recursive-functions
    return endlessly_recursive_func(n - 1)

endlessly_recursive_func(0)

Installed version is: coverage-6.4.1.tar.gz .
Expected behavior
Error message should not be affected by the usage of coverage.
Additional context
In the past, I've opened an issue where an error message was different with/without coverage and it ended up being caused by the fact that trace was used: https://github.com/nedbat/coveragepy/issues/773 . Hence, I've tried the same thing here: https://github.com/SylvainDe/DidYouMean-Python/blob/issue_maxrecurdepthmsg_3.11.0a7withcoverage/dummy_code_with_trace.py . Somehow, this code works fine with and without coverage.

I don't think there's anything coverage.py can do to affect this message.  If you look at the line of Python reported with the error, it is a comparison: if event == 'call':.

Also, you are using the Python tracer in this case.  Perhaps you only see it on 3.11.0a7 because only that version is using the Python tracer rather than the C tracer?

It is probably an issue with the Python tracer

The Python tracer is code in coverage.py to support environments that can't run C extensions.  I don't think it's a problem with that code.  The recursion error happens during a comparison, doesn't it?

Ho I see, I had misunderstood your remark about the Python version and the tracer. Thanks for the clarification.
It is still weird that the issue is reported as if it was happening during a comparison but this is probably not a coveragepy issue per se. I should aim to make this behavior reproducible with a non-coverage tracer.
(Then, the fact that this wrong value is used to generate a more precise - and more wrong - error message is a side-effect)

But the line is a comparison:  if event == 'call':    I'm not sure why it's being report on that particular line, but it is a comparison.

Agree - this is what I meant but expressed in a very poor way...

It probably corresponds to:

issue https://github.com/python/cpython/issues/92118
commit https://github.com/python/cpython/commit/e61330b44f22b11a71f5bbcc17e309dd80e3e95f (integrated between v3.11.0a7 and v3.11.0b1 )

I'm not quite sure what went wrong between v3.11.0a6 and v3.11.0a7 but in any case:

it looks like this is fixed (on all but one very minor version)
this is nothing for coveragepy to handle
once again, you've been very helpful - thank you very much


Spi two streams demo

This example shows how to send two different streams through the SPI to the ESP32
ESP32 side code PR: https://github.com/luxonis/esp32-spi-message-demo/pull/8
Gif:

Sweet!


on the calendars on the Data page allow to select dates in the future

EO data has PLANNED asset type with all the metadata pre-defined (including geometry).

@konstan
For From and To fields?

Just finding the reasoning to close this one. The Data page is mostly to request processing of the existing data. Even if the meta-data catalogue contains data records with the dates in the future, anyways it will not be possible to process the data. It was added just to show the Earth Observation planned data for UbiSAP. We may get back to this with GSTP, but not for now. Closing.


Support schema files names with no form type

Changes
Updating the dev page so we can support schema files which don't have the form_type in their name. Also changing the default value for EQ_SCHEMA_BUCKET so that it matches the author application.
How to test

Check out this branch
Load a schema file from s3 which is of the form (1.json) - you can use the author application to do this
Check you can complete the survey

Who can test
Anyone apart from @warrenbailey

LGTM :+1:


Some exceptions happen when starting the Built-in attack

I tried to start the demo code in readme.md, but it seems that some exceptions have happened....
The code is shown as below:
import OpenAttack as oa
choose a trained victim classification model
victim = oa.DataManager.load("Victim.BERT.SST")
choose an evaluation dataset
dataset = oa.DataManager.load("Dataset.SST.sample")
choose Genetic as the attacker and initialize it with default parameters
attacker = oa.attackers.GeneticAttacker()
prepare for attacking
attack_eval = oa.attack_evals.DefaultAttackEval(attacker, victim)
launch attacks and print attack results
attack_eval.eval(dataset, visualize=False)
And the exceptions are as below:
0%|                                                                                | 0/1000 [00:00<?, ?it/s]C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\transformers\tokenization_utils_base.py:1770: FutureWarning: The pad_to_max_length argument is deprecated and will be removed in a future version, use padding=True or padding='longest' to pad to the longest sequence in the batch, or use padding='max_length' to pad to a max length. In this case, you can give a specific length with max_length (e.g. max_length=45) or leave max_length to None to pad to the maximal input size of the model (e.g. 512 for Bert).
FutureWarning,
0%|                                                                                | 0/1000 [00:01<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\data_manager.py", line 73, in load
cls.data_path[data_name]
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\data\nltk_senttokenizer.py", line 17, in LOAD
return import("nltk").data.load(os.path.join(path, "english.pickle")).tokenize
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\nltk\data.py", line 752, in load
opened_resource = _open(resource_url)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\nltk\data.py", line 882, in _open
return urlopen(resource_url)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\urllib\request.py", line 548, in _open
'unknown_open', req)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\urllib\request.py", line 1389, in unknown_open
raise URLError('unknown url type: %s' % type)
urllib.error.URLError:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\ResearchTraining\openAttack\test.py", line 11, in
attack_eval.eval(dataset, visualize=False)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\attack_evals\default.py", line 96, in eval
for data, x_adv, y_adv, info in (tqdm(self.eval_results(dataset), total=total_len) if self.__progress_bar else self.eval_results(dataset)):
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\tqdm\std.py", line 1129, in iter
for obj in iterable:
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\attack_evals\default.py", line 151, in eval_results
res = self.attacker(self.classifier, data.x, data.target)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\attackers\genetic.py", line 86, in call
x_orig = self.config["processor"].get_tokens(x_orig)
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\text_processors\default.py", line 37, in get_tokens
self.__tokenize = self.__make_tokenizer( DataManager.load("TProcess.NLTKSentTokenizer") )
File "C:\Users\13189\Anaconda3\envs\Envtextworld\lib\site-packages\OpenAttack\data_manager.py", line 76, in load
raise DataNotExistException(data_name, cls.data_path[data_name])
OpenAttack.exceptions.data_manager.DataNotExistException: ('TProcess.NLTKSentTokenizer', 'E:\ResearchTraining\openAttack\data\TProcess.NLTKSentTokenizer')
Sorry but I don't know how to solve this problem......Please help me. Thank you !

Thank you for this question.
We have solved this problem, please check.


Support Bounded Generics in Methods

Trying to add a method that uses generics:
addMethod("withApplicationSettings(Class<? extends com.a.b.c.ApplicationSettings> settingsClass)")

Causes this exception:
Caused by: unquietcode.tools.flapi.MethodParser$ParseException: Expected to find character in {)} but was '?' (method signature is [ 'withApplicationSettings(Class<? extends com.paypal.creditpd.rappstack.server.flapi.application.RSApplicationSettings> settings)' ]).
	at unquietcode.tools.flapi.MethodParser.throwUnexpectedCharException(MethodParser.java:273)
	at unquietcode.tools.flapi.MethodParser.match(MethodParser.java:214)
	at unquietcode.tools.flapi.MethodParser.<init>(MethodParser.java:120)
	at unquietcode.tools.flapi.MethodParser.<init>(MethodParser.java:42)
	at unquietcode.tools.flapi.DescriptorPreValidator._checkForInvalidMethodSignatures(DescriptorPreValidator.java:119)

#214 will add support for wildcards, and this issue can remain open for a future enhancement to implement bounded generics, which is much more difficult.


Question: Recommended way to add to package that could run on Windows

Is there a recommended way to only load and pin threads if my package is loaded by someone using Linux? e.g. If my package is loaded on Windows nothing bad should happen.

Hi @ejmeitz, there shouldn't be anything you need to do. That is, nothing bad should happen on Windows by default :)
On Windows:
using ThreadPinning # will throw a informative warning, see https://github.com/carstenbauer/ThreadPinning.jl/blob/599835342ce509d6fd35a17d4b49cedfa0c6ccd8/src/ThreadPinning.jl#L93-L95
pinthreads(:cores) # will be a no-op

If you observe something different, or have any suggestions on how it should behave differently, please let me know.


Fix picker spanning across the screen on rtl mode

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Related tickets
fixes #1079

Don't mind me It's fixed on 1.7.0-dev


Better systems

var world = World.Create();
world.AddSystem(PlayerMoveSystem)

public static void PlayerMoveSystem((Transform Transform,  PlayerMovement Movement)[] components)
{
    foreach (var component in components)
    {
        component.Transform.Position += component.Movement.Velocity;
    }
}

Have you looked at https://github.com/genaray/Arch.Extended/wiki/Source-Generator ? I would argue that its way better than bevy like systems tho :)

Does it really require a constructor?


CMP does not working highlight anymore

After I install Onedark, the cmp stopped working the highlight.
I have a minimal setup for Onedark and the highlight works on NeoTree or Telescope for example.
local present, onedark = pcall(require, "onedark")

if not present then
  return
end
onedark.setup({
  -- Main options --
  style = 'darker',            -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light'
  transparent = true,          -- Show/hide background
  cmp_itemkind_reverse = false, -- reverse item kind highlights in cmp menu

  code_style = {
    comments = 'italic',
    keywords = 'none',
    functions = 'none',
    strings = 'none',
    variables = 'none'
  },

  -- Lualine options --
  lualine = {
    transparent = true, -- lualine center bar transparency
  },

  -- Plugins Config --
  diagnostics = {
    darker = true,     -- darker colors for diagnostic
    undercurl = true,  -- use undercurl instead of underline for diagnostics
    background = true, -- use background color for virtual text
  },
})

I encountered this issue yesterday. This is most likely because in cmp.setup() your definition for window.completion.winhighlight is missing CursorLine since the docs for nvim-cmp are misleading. I set winhighlight it to "Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None" and it worked.
You may also want to customize the Pmenu highlight to something nicer, since it also modifies the foreground colors of the entry once selected. I added vim.api.nvim_set_hl(0, "PmenuSel", { bg = "#393f4a", fg = "NONE" }) to my config after the theme is loaded. #393f4a is the color for dark.bg2 as defined in lua/onedark/palette.lua of this repo. It looks like you might be using a variant of the theme, so pick the appropriate hex value.


SMT InsertField current timestamp

Kafka Connect single message transform for inserting field with current system timestamp value.
  "transforms": "insertCurrentTimestamp",
  "transforms.insertCurrentTimestamp.type": "org.apache.kafka.connect.transforms.InsertField$Value",
  "transforms.insertCurrentTimestamp.current.timestamp.field": "LOAD_TIMESTAMP_UTC"

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I think a change to the supported properties of a built-in SMT would require a (trivial) KIP. Is there a KIP for this change?

I don't have KIP for that change. I can implement a brand new SMT for current system timestamp injection. Will it require KIP as well?

It looks like it is not possible to create KIP.
Nobody replies nor here INFRA-25451, nor<EMAIL_ADDRESS>there.


Support signing specific inputs in a multi-input Bitcoin transaction

Context
I am trying to create and sign a Bitcoin transaction with multiple inputs, where each input corresponds to a different private key. However, I want to sign only the inputs that I can sign with my private key, and leave the other inputs unsigned for other participants to sign later.
Currently, it seems that signing a transaction attempts to sign all inputs or fails if it cannot access all required private keys. This makes it challenging to collaborate on partially signed transactions.
Feature Request
Add support for signing specific inputs in a Bitcoin transaction. Specifically:
•	Allow the user to specify which input(s) to sign.
•	Leave all other inputs unsigned and intact for later signing. (Incase its specified to allow partial signatures.)

Hi @luxbg, you can get pre-image hashes of the transaction, manually sign those sighashes for which you have access to the private keys only, and then ask other parts to sign the remain sighashes.
Please note that in the end you can compile a Bitcoin transaction with ALL signatures in the same order as they were produced. Please take a look at the example:

Calculate sighashes by using TWTransactionCompilerPreImageHashes
https://github.com/trustwallet/wallet-core/blob/99b69d1c2267354270769f6adef2d370553ce436/tests/chains/Bitcoin/TransactionCompilerTests.cpp#L298-L350
Sign manually (locally or remotely)
https://github.com/trustwallet/wallet-core/blob/99b69d1c2267354270769f6adef2d370553ce436/tests/chains/Bitcoin/TransactionCompilerTests.cpp#L352-L355
Compile the final transaction
https://github.com/trustwallet/wallet-core/blob/99b69d1c2267354270769f6adef2d370553ce436/tests/chains/Bitcoin/TransactionCompilerTests.cpp#L357-L373

One more note - you should use BitcoinV2 protocol (same as in the example above)

ok, so if i want to sign my own sighash, then get a psbt only with me signing it, pass it to another user to sign it, how can i do that?
Im trying to use an API that gives me an unsigned transaction with 2 inputs, one from them, one from me.
I then have to sign my part, then pass it to them. They sign it and broadcast.

Unfortunately, we don't support generating PSBT at the moment. I think we might need it in the future, so I'll keep you updated


Comma2 will not start on inginition

Describe the bug

Comma 2 should boot up and run with ignition activation.

Device: Comma 2
Dongle ID:  e4a16227cff292b5
Route: all
Timestamp: any
Version: 8.3
Car make/model: 2020 Toyota Prius Prime XLE DSU unconnected.

Additional context before new version 8.3 car ignition would start comma 2 if off

Have you checked all your cables? Esp. the USB c cable

Yes. Never remove Comma, always installed since new. But cables are again checked asthe normal ghost problem. Have you checked the comma 2 turned off and then restart by ignition yet.
-----Original Message-----
From: cydia2020 @.>
To: commaai/openpilot @.>
Cc: patcoghm @.>, Author @.>
Sent: Sun, 04 Apr 2021 10:32 PM
Subject: Re: [commaai/openpilot] Comma2 will not start on inginition (#20582)
Have you checked all your cables? Esp. the USB c cable
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/commaai/openpilot/issues/20582#issuecomment-813194620

I did finally get a bug report up on discord. Again power off comma 2 with the comma power button. Make sure car is totally off. Wait. Then turn car only on. Comma will not both as in car not driven in days and the comma standby hours (was 30 hours) is expired and comma is turned off. Panama is waiting for extinction and has always started comma to a boot startup.
Thanks
-----Original Message-----
From: cydia2020 @.>
To: commaai/openpilot @.>
Cc: patcoghm @.>, Author @.>
Sent: Sun, 04 Apr 2021 10:32 PM
Subject: Re: [commaai/openpilot] Comma2 will not start on inginition (#20582)
Have you checked all your cables? Esp. the USB c cable
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/commaai/openpilot/issues/20582#issuecomment-813194620

I can't reproduce your issue. Besides turning on the C2 on ignition, is everything else working fine?

Closing due to inactivity. Feel free to reopen if you can verify the behavior is fine on previous releases, but I suspect you'll see the same thing if you revert to 0.8.2.

You did not answer the question . If comma 2 is powered off and the car starts with ignition, will comma2 turn on and boot up the comma 2. It openes to the boot process and the comma is shown and it loads the software.
My car WILL start comma2 with ignition if comma2 is in standby waiting for the next run.
THE QUESTION STILL IS , SHOULD comma2 boot comma2 from a power off state with ignition.
-----Original Message-----
From: Adeeb Shihadeh @.>
To: commaai/openpilot @.>
Cc: patcoghm @.>, Author @.>
Sent: Wed, 07 Apr 2021 12:16 PM
Subject: Re: [commaai/openpilot] Comma2 will not start on inginition (#20582)
Closed #20582.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/commaai/openpilot/issues/20582#event-4564327999


PlaceView supports custom

PlaceView supports custom criteria, calculates averages using array rating.

Such an elegant design! Absolutely love it. 🤩 just fix the lint issues and merge 👍🏻

The linter thinks Ant props like flex="0 0" are zeros with units, which is a real irritant

Also not loving how 2.45 rounds to 2, not 2.5 according to Ant Rate, what even is that, do we need to hard round in advance each time or use a custom version of rate

I know, I found that weird too. But I looked at Amazon. They do it the same way as ant as well. They round down to the closest .5 rating. So it’s pretty standard. It should be ok.

Decided to help out and fix the lint issues :) Let me know if you have any questions! Its ready to be merged ✅
Amazing job! 👏🏻

Please don't do this. I don't know how else to phrase it. Please don't push commits to branches that literally have other people's names on them. It makes it very difficult to do my own work on my own branch.


mat-radio-group is not working

Bug, feature request, or proposal:
<mat-radio-group formControlName='gender'>
    <mat-radio-button value='1'>Male</mat-radio-button>
    <mat-radio-button value='2'>Female</mat-radio-button>
</mat-radio-group>

This will not work with value of gender being 1, but will work with '1', no need to explain the difference between two, right?
Is this how you design it to be??
What is the expected behavior?
    <mat-radio-button value='1'>Male</mat-radio-button>

To be selected.
What is the current behavior?
Nothing is selected
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
Include this in a reactive form (https://angular.io/guide/reactive-forms)
<mat-radio-group formControlName='gender'>
    <mat-radio-button value='1'>Male</mat-radio-button>
    <mat-radio-button value='2'>Female</mat-radio-button>
</mat-radio-group>

provide value for gender to be 1 (integer) not '1' (string)
Then sit and watch it how it does nothing.
What is the use-case or motivation for changing an existing behavior?
Look what you made me do:
// https://github.com/angular/material2/issues/10310
applicant = {...applicant, gender: applicant.gender.toString()};
this.form.patchValue(applicant);

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
  "dependencies": {
    "@angular/animations": "^5.2.7",
    "@angular/cdk": "^5.2.3",
    "@angular/common": "^5.2.7",
    "@angular/compiler": "^5.2.7",
    "@angular/core": "^5.2.7",
    "@angular/flex-layout": "^5.0.0-beta.13",
    "@angular/forms": "^5.2.7",
    "@angular/http": "^5.2.7",
    "@angular/material": "^5.2.3",
    "@angular/platform-browser": "^5.2.7",
    "@angular/platform-browser-dynamic": "^5.2.7",
    "@angular/router": "^5.2.7",
    "@ngrx/effects": "^5.1.0",
    "@ngrx/entity": "^5.1.0",
    "@ngrx/router-store": "^5.0.0",
    "@ngrx/store": "^5.1.0",
    "@ngrx/store-devtools": "^5.1.0",
    "core-js": "^2.4.1",
    "hammerjs": "^2.0.8",
    "moment": "^2.20.1",
    "ngrx-actions": "^3.1.6",
    "rxjs": "^5.5.2",
    "web-animations-js": "^2.3.1",
    "zone.js": "^0.8.20"
  },
  "devDependencies": {
    "@angular/cli": "1.6.3",
    "@angular/compiler-cli": "^5.2.7",
    "@angular/language-service": "^5.2.7",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": "~2.0.2",
    "@types/node": "^6.0.101",
    "codelyzer": "^4.1.0",
    "jasmine-core": "~2.6.2",
    "jasmine-spec-reporter": "~4.1.0",
    "karma": "~1.7.0",
    "karma-chrome-launcher": "~2.1.1",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^1.4.1",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.2",
    "ts-node": "~3.2.0",
    "tslint": "~5.7.0",
    "typescript": "^2.7.2"
  }

Is there anything else we should know?
Sorry if the my tone is a bit harsh, but I am shocked by arrogance of an individual that goes by the handle @jelbourn, who decided to close #10310 for not following the template. I wonder if he didn't have the energy to read five lines that were describing the situation pretty well, how he would read 300 lines in this ticket. Its amazing that Google has loose the ends of such people, but anyway whatever.

@andreyan-andreev Please read Angular's code of conduct and try to communicate more thoughtfully going forward. We appreciate issue reports, but the amount of disrespect in this issue is unacceptable. Enforcing use of the issue template is a standard for all of Angular, which is necessary to deal with the high volume of issues we receive.
Remember that we're not just text on the internet, but real people doing our jobs.

I apologise to you for taking it personal, I just got surprised from the god-like attitude that you demonstrated, we are also not just texts on the internet. I spend the time to write something that in my opinion is not working as it should, it was a simple matter, with or without template was clearly understandable. You could very well answer that this is the desired behaviour and that would be fine with me.

@andreyan-andreev This is working as intended.
value='1' means the value is a string. Use [value] to make the value accept a type other than string.

Thanks.


Fixed nav gradient to match UX design.

#638

After https://github.com/ScottLogic/BitFlux/pull/639#discussion_r58212929 is adressed and this is rebased, this looks good to me :+1:

Just needs the rebase to resolve conflicts then good to merge, thanks @jdhodges :+1: