remove packages and versions of packages that do not support Julia 1.0

This is the result of running https://gist.github.com/KristofferC/a0c56b731a55e071ccf58da682cc1e40

yolo

guess we should revert this for now?

It appears this messes up private registries...

How?

Can you elaborate?

Error message we are seeing. I'm doing some investigating
pkg> up
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Updating registry at `~/.julia/registries/Invenia`
  Updating git-repo `https://gitlab.invenia.ca/invenia/PackageRegistry`
 Resolving package versions...
ERROR: MethodError: Cannot `convert` an object of type Nothing to an object of type String
Closest candidates are:
  convert(::Type{T<:AbstractString}, ::T<:AbstractString) where T<:AbstractString at strings/basic.jl:207
  convert(::Type{T<:AbstractString}, ::AbstractString) where T<:AbstractString at strings/basic.jl:208
  convert(::Type{T}, ::T) where T at essentials.jl:154
Stacktrace:
 [1] setindex!(::Dict{Base.UUID,String}, ::Nothing, ::Base.UUID) at ./dict.jl:381
 [2] deps_graph(::Pkg.Types.Context, ::Dict{Base.UUID,String}, ::Dict{Base.UUID,Pkg.Types.VersionSpec}, ::Dict{Base.UUID,Pkg.Types.Fixed}) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:299
 [3] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:369
 [4] resolve_versions! at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:315 [inlined]
 [5] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1215
 [6] #up#33(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:123
 [7] up at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:95 [inlined]
 [8] do_up!(::Dict{Symbol,Any}, ::Array{Pkg.Types.PackageSpec,1}, ::Dict{Symbol,Any}) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:649
 [9] #invokelatest#1(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:742
 [10] invokelatest(::Any, ::Any, ::Vararg{Any,N} where N) at ./essentials.jl:741
 [11] do_cmd!(::Pkg.REPLMode.PkgCommand, ::REPL.LineEditREPL) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:563
 [12] #do_cmd#31(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:538
 [13] do_cmd at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:534 [inlined]
 [14] (::getfield(Pkg.REPLMode, Symbol("##53#56")){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/Pkg/src/REPLMode.jl:988
 [15] #invokelatest#1 at ./essentials.jl:742 [inlined]
 [16] invokelatest at ./essentials.jl:741 [inlined]
 [17] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/REPL/src/LineEdit.jl:2273
 [18] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:1035
 [19] run_repl(::REPL.AbstractREPL, ::Any) at /Users/omus/Development/Julia/1.1/usr/share/julia/stdlib/v1.1/REPL/src/REPL.jl:192
 [20] (::getfield(Base, Symbol("##734#736")){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:362
 [21] #invokelatest#1 at ./essentials.jl:742 [inlined]
 [22] invokelatest at ./essentials.jl:741 [inlined]
 [23] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:346
 [24] exec_options(::Base.JLOptions) at ./client.jl:284
 [25] _start() at ./client.jl:436

On Julia 1.1.1 and 1.2.0 the error looks like (as Curt wrote above)
ERROR: MethodError: Cannot `convert` an object of type Nothing to an object of type String

On Julia 1.3.0-rc3.0 the particular error i see is
ERROR: cannot find name corresponding to UUID df88083b-ffd0-5ec9-9f27-0a3b3d809c9f in a registry

which is/was Requests.jl

I guess you then have private packages that reference now-deleted packages?

Seems like a solution would be to remove everything that depends on Requests; or duplicate the old Requests info in the private registry. I would point out that if we'd moved everything to an Attic registry, then the solution would be "install the Attic registry".

Yeah, there is a Deps.toml like
["0-0.3"]
Requests = "df88083b-ffd0-5ec9-9f27-0a3b3d809c9f"

[0-2]
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"
URIParser = "30578b45-9adc-5946-b283-645ec420af67"
etc.

Any easy way to find all now-deleted packages?

Maybe just run the script on your own registry too?

Maybe just run the script on your own registry too?

I just attempted this and it looks like some modifications to the script are required. It is unaware that our registry makes use of the General registry.

A month ago I posted the script we used, a branch of the registry where the script had been run as well as a detailed time plan of when this would happen.
You can also check out the commit of the registry before this change (we should make a branch as well) if you need more time.

The simplest fix should be to put a copy of the Requires package directory in your private registry, so I recommend doing that first. Then get Kristoffer’s script working on the private registry.

@StefanKarpinski thanks for mentioning that work around. Implementing that fix has addressed the immediate concern.

I can tweak the script tomorrow to remove versions in other registries that depen on something that doesn't exist in the General (or the custom registry itself).

https://gist.github.com/KristofferC/d7565da3139ea175278f6e7fe5089b16 should fixup a registry.
Note that I haven't got access to a custom registry to actually run it on. I ran it on https://github.com/HolyLab/HolyLabRegistry but no package there depends on a package that got deleted.

Is there a convenient list of packages that got deleted? I'm having some problems with LightGraphs but want to do some research before bringing it up as an issue.

Yes, https://gist.github.com/KristofferC/d7565da3139ea175278f6e7fe5089b16#file-packages_deleted.


add number modifier to default configuration

Description of the change

Update the default configuration to contain the number modifier. Currently, if you try to add the below sample the generator will fail saying number is an unknown modifier.
YAML
## @param test [string,number] A test value to represent a string or a number
test: ""

Output
Error: Unknown modifier: number for parameter test

Benefits

Allows consumers to use the number modifier without providing a custom configuration.
Possible drawbacks

Applicable issues

Additional information

Checklist

[ x ] Version bumped in package.json and package-lock.json according to semver.
[ x ] New features are documented in the README.md
[ x ] New features contain a new test at the tests folder
[ x ] All tests pass running npm test

@fmulero can this be reviewed?


Katas UI review - Multiqubit measurements

Review only files inside multi_qubit_measurements folder

This looks like it touches a lot of the same files as #1813, so this is going to have conflicts... I would recommend sending this PR after that one is merged

This looks like it touches a lot of the same files as #1813, so this is going to have conflicts... I would recommend sending this PR after that one is merged

@tcNickolas I merged the branch from #1813 , so there shouldn't be any conflict. You only need to review files inside the multi_qubit_measurements folder.


[firebase_messaging] Disable Push Notifications permission pop up on iOS startup.

Bug report
This bug was described here https://github.com/FirebaseExtended/flutterfire/issues/4576
But I can't submit comments there.
Describe the bug
Popup request for the Push notification permissions appears on the app start.
Steps to reproduce
Steps to reproduce the behavior:

Set up FCM example provided with the plugin
Run flutter packages get
Run on any iOS device/simulator flutter run
On startup, it will appear the " push notification permission pop up" even if requestNotificationPermission() is not called.
Or comment followings code line
 _firebaseMessaging.requestNotificationPermissions(const IosNotificationSettings( sound: true, badge: true, alert: true, provisional: false)); }
Uninstall app
flutter run (And in a startup it will display the push notification permission pop up)

Expected behavior
Popup request for the Push notification permissions have to appears only when we call the method
    if (Platform.isIOS) {
      NotificationSettings settings = await messaging.requestPermission(
        alert: true,
        announcement: false,
        badge: true,
        carPlay: false,
        criticalAlert: false,
        provisional: false,
        sound: true,
      );

Additional context
Add any other context about the problem here.

Flutter doctor
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.5, on macOS 11.2 20D64 darwin-x64, locale en-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)

• No issues found!

Flutter dependencies
Click To Expand
dependencies:
- algolia 1.0.1 [meta http uuid]
- async 2.5.0 [collection]
- auto_size_text 3.0.0-nullsafety.0 [flutter]
- better_player 0.0.62 [flutter cupertino_icons wakelock pedantic meta flutter_widget_from_html_core visibility_detector path_provider collection]
- bubble 1.2.1 [flutter]
- cached_network_image 3.0.0-nullsafety [flutter flutter_cache_manager octo_image]
- cloud_firestore 1.0.1 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- crypto 3.0.0 [collection typed_data]
- cupertino_icons 1.0.2
- file_picker 3.0.0 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface]
- firebase_analytics 7.1.1 [firebase_analytics_platform_interface firebase_analytics_web firebase_core flutter meta]
- firebase_auth 1.0.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.0.3 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 2.0.0 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_dynamic_links 0.8.0 [flutter firebase_core]
- firebase_in_app_messaging 0.4.0 [meta flutter firebase_core]
- firebase_messaging 9.0.0 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 8.0.0 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_google_places 0.2.8 [flutter google_api_headers google_maps_webservice http rxdart listenable_stream collection]
- flutter_keyboard_size 1.0.0+3 [flutter provider]
- flutter_staggered_grid_view 0.4.0-nullsafety.3 [flutter]
- flutter_svg 0.21.0-nullsafety.0 [flutter meta path_drawing vector_math xml]
- flutter_swipe_action_cell 2.0.0 [flutter]
- geoflutterfire 3.0.0-nullsafety.1 [flutter cloud_firestore rxdart]
- get 4.0.0-nullsafety.2 [flutter]
- google_sign_in 5.0.0 [google_sign_in_platform_interface google_sign_in_web flutter meta]
- hive 2.0.2 [meta crypto]
- hive_flutter 1.0.0 [flutter hive path_provider path]
- http 0.13.0 [http_parser meta path pedantic]
- image 3.0.1 [archive meta xml]
- image_cropper 1.4.0 [flutter]
- iphone_has_notch 1.0.0 [flutter]
- json_annotation 4.0.1
- modal_progress_hud 0.1.3 [flutter]
- package_info 2.0.0 [flutter]
- photo_view 0.11.1 [flutter]
- scrollable_positioned_list 0.2.0-nullsafety.0 [flutter collection]
- sign_in_with_apple 3.0.0 [flutter meta]
- snapping_sheet 3.0.0-nullsafety.0 [flutter]
- supercharged 2.0.0 [supercharged_dart flutter]
- uuid 3.0.3 [crypto]
- video_compress 2.1.4 [flutter]
- visibility_detector 0.2.0-nullsafety.1 [flutter]

dev dependencies:
- build_runner 1.11.5 [args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style glob graphs http_multi_server io js logging meta mime path pedantic pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]
- hive_generator 1.0.0 [build source_gen hive analyzer]
- json_serializable 4.0.2 [analyzer build build_config json_annotation meta path source_gen]

dependency overrides:
- flutter_google_places 0.2.8 [flutter google_api_headers google_maps_webservice http rxdart listenable_stream collection]

transitive dependencies:
- _fe_analyzer_shared 14.0.0 [meta]
- analyzer 0.41.2 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- archive 3.1.2 [crypto path]
- args 1.6.0
- boolean_selector 2.1.0 [source_span string_scanner]
- build 1.6.2 [analyzer async convert crypto glob logging meta path]
- build_config 0.4.6 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.10 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.5.3 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.1.10 [async build build_config build_resolvers collection convert crypto glob graphs logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 5.0.0
- built_value 8.0.2 [built_collection collection fixnum]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 1.0.4 [json_annotation source_span yaml]
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- cloud_firestore_platform_interface 4.0.0 [collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 1.0.1 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 3.7.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.0 [typed_data]
- csslib 0.17.0 [source_span]
- dart_style 1.3.12 [analyzer args path pub_semver source_span]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase 9.0.0 [http http_parser js]
- firebase_analytics_platform_interface 1.1.0 [flutter meta]
- firebase_analytics_web 0.2.0+1 [firebase firebase_analytics_platform_interface flutter flutter_web_plugins meta]
- firebase_auth_platform_interface 4.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.0.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.0.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_platform_interface 2.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 1.0.1 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 2.0.0 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 1.0.1 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flutter_blurhash 0.5.4-nullsafety.0 [flutter meta pedantic]
- flutter_cache_manager 3.0.0-nullsafety.1 [clock collection file flutter http image path path_provider pedantic rxdart sqflite uuid]
- flutter_plugin_android_lifecycle 2.0.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- flutter_widget_from_html_core 0.6.0-rc.2021031201 [flutter html]
- glob 2.0.1 [async collection file path pedantic string_scanner]
- google_api_headers 1.0.0 [flutter package_info]
- google_maps_webservice 0.0.20-nullsafety.4 [http meta json_annotation]
- google_sign_in_platform_interface 2.0.1 [flutter meta quiver]
- google_sign_in_web 0.10.0 [google_sign_in_platform_interface flutter flutter_web_plugins meta js]
- graphs 0.2.0
- html 0.15.0 [csslib source_span]
- http_multi_server 2.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- intl 0.17.0 [clock path]
- io 0.3.4 [charcode meta path string_scanner]
- js 0.6.3
- listenable_stream 1.0.0 [rxdart flutter]
- logging 1.0.1
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 0.9.7
- nested 1.0.0 [flutter]
- octo_image 1.0.0-nullsafety.1 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- path 1.8.0
- path_drawing 0.5.0-nullsafety.0 [vector_math meta path_parsing flutter]
- path_parsing 0.2.0-nullsafety.0 [vector_math meta]
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32]
- pedantic 1.11.0
- petitparser 4.0.2 [meta]
- platform 3.0.0
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.1.0 [file path platform]
- provider 5.0.0 [collection flutter nested]
- pub_semver 2.0.0 [collection]
- pubspec_parse 0.1.8 [checked_yaml json_annotation pub_semver yaml]
- quiver 3.0.0 [matcher]
- rxdart 0.26.0
- shelf 1.0.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.4+1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 0.9.10+3 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0 [charcode collection path term_glyph]
- sqflite 2.0.0+2 [flutter sqflite_common path]
- sqflite_common 2.0.0+2 [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]
- supercharged_dart 2.0.0
- synchronized 3.0.0
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+3 [json_annotation]
- typed_data 1.3.0 [collection]
- vector_math 2.1.0
- wakelock 0.4.0 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web]
- wakelock_macos 0.1.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.2.0 [flutter meta]
- wakelock_web 0.2.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 1.2.0 [async crypto stream_channel]
- win32 2.0.4 [ffi]
- xdg_directories 0.2.0 [meta path process]
- xml 5.0.2 [collection meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

I got the same problem and @maxim-drobonoh answer solved it!
In my case I missed adding await on the flutter local notifications plugin initialize call.

Closing due to this being an issue with flutter_local_notifications as pointed out above. FlutterFire messaging requestPermission only shows the popup when you explicitly call the method.


Documentation Hyperlink not working

Describe the bug
I am trying to follow the documentation and I see the hyperlink specified for Repository https://github.com/JCDecaux/setl/wiki/Repository is not working.
Expected behavior
I would expect the hyperlink to open.

Thanks for the issue :) I forgot to modify these links when I was transferring the wiki. I will fix them

hyperlinks are fixed

Thanks.. its working 👍


Registry messy, images built with arbitrary versions, no latest tag

What would you like to be added:
I have difficulties picking the right image, because:

The "generic" image without suffix has a latest tag, but the others don't - why not? How would I pick the latest version?

The new images with suffixes are available in versions that I cannot really guess (internal component version which is unrelated to anything, e.g. unrelated to the Kubernetes version, which could have been an alternative approach generating less clutter), e.g.:

https://console.cloud.google.com/gcr/images/gardener-project/eu/gardener/ops-toolbelt-aws-k1.17?authuser=1&project=gardener-project -> 0.12.0
https://console.cloud.google.com/gcr/images/gardener-project/eu/gardener/ops-toolbelt-aws-k1.22?authuser=1&project=gardener-project -> 0.16.0

Basically/it seems, only stuff from 1.19 seems to be updated and is available in 0.16.0, the rest is stale.

The registry is in a messy state, tags that are not updated anymore are all kept/were never cleaned up (e.g. stuff with cloud provider but without Kubernetes version, gardenctl images, ...).

What do you recommend:

Build images from 1.15 till 1.24, because these are the version we support (if 1.15 and 1.16 is actual effort, then leave them out, but we need 1.23 and 1.24)
Set the latest tag for all built images
Make sure, only the intended images are used by ops, referred to by ops-guide, launched by Dashboard (as web terminal image)
Cleanup registry and remove all images with tags that are no longer updated

Why is this needed:

To pick the right image for the job.
To avoid people using outdated images.

cc @petersutter
cc @neo-liang-sap @plkokanov @jfortin-sap
cc @dguendisch @hendrikKahl @BeckerMax

Maybe this is a bit off topic but just to let you know: with the latest release with @petersutter we decided to remove the kubectl X IaaS cli version matrix because it was generating too many security vulnerabilities that had to be triaged separately.
Additionally, we thought that using 1.22.7 should be enough for now - even though it is not recommended to be used with older k8s versions due to version skew it still does the job pretty well. And we would only add additional versions if we see it becoming a problem.
As for the IaaS clients, we noticed that on older versions of the ops-toolbelt some of the clients weren't even installed properly. Since no-one complained we thought that nobody is using those images and decided to remove them. And since gardenctl was removed but there is still no gardenctl-v2 using IaaS clis from the docker image and having to configure them becomes more of a chore.
Not sure if we could somehow label and deprecate the old images.

On the Kubernetes version:
I find it incomprehensible to add and then remove that feature again, especially because there are incompatibilities and we were already criticised for this by our end users/had problems ourselves (I at least had). Was that the source of security vulnerabilities? Can we then find a better way to deal with it? We also support the old Kubernetes versions in Gardener - so what's the issue here with kubectl if there was one?
On the IaaS CLIs:
Naturally, most of us have the CLIs already installed locally. Also, interactions are rarely required (so, I am not insisting or whatever). But when we require the CLIs and are under time pressure, this should be the most convenient (=fastest) way to get to the right clients right away. Also, during ops, people shy away and rather escalate the issue to the next support level instead of taking a look themselves. Making it even harder for them, will not help improve the situation. Was that the source of security vulnerabilities?
On gardenctl(-v2):
I never really understood why I would need gardenctl within the ops-toolbelt. What's the use case? At the time I am launching an ops pod, I have already targeted it, no? It's the one thing that should make use of the ops-toolbelt, not the other way around.
On cleaning up the registry:
I don't understand. One opens the GCR and deletes the images. Done. Where is the problem (other than first making sure, the old stuff is no longer referenced, as suggested)?

Anyway, if you want to throw away everything again, then so be it (no veto or whatever from my side - though I have to say, that I find the kubectl decision completely incomprehensible, especially for web terminals), but let me then know which is the right image now and please clean up the mess in GCR. All this back and forth makes me dizzy.

Well, thank you, but that's not nice. The kubectl skew is a problem. That's already bad enough.
As for the vulnerabilities: we may have many images, but they all stem/are built from the same base image that will in most cases contain the vulnerability, so the fix is exactly the same (one-time fix and rerun/republish, whether there is a matrix or not).
Anyway, if we don't want to improve / get back to where we once were and/or have no time anyway, then let's close the ticket. I cannot mentally click that button. ;-)


fix(justfile): don't use cargo -p

It causes different features/deps being selected, which causes rebuilds of almost whole project, which can be painful.
Instead of cargo test -p pkg it's better to use
cargo nextest run -E 'package(pkg)'.

@m1sterc001guy fyi

@m1sterc001guy Idea. Could generating migration aferwards run just .... to test the generated migration (which should be a separate command).

Did a bunch of renaming to unify stuff. I'm open for pushback.

I generated new migration, now I'd like to see if it worked and need to do it manually...

For development it has been convenient for me to generate the snapshot first, just to confirm that the test was written correctly, then run the validation. While developing its just slightly more confusing to run both at the same time since it takes a tad more work to track down where the problem is.
This is just a development workflow though so I can temporarily change the justfile to support that for myself. Your change here is more convenient for everyone else.


Windows client does not have tray icon

The Paycoin client does not have a tray icon when minimized to tray - It just shows as a white area.

Can anyone confirm this is fixed so it can be closed?

I can confirm this is fixed.


test_spike_train_generation.py uses the PyNNIO class to load test data

In test_spike_train_generation.py in order to test the spike_extraction function, some reference artificial data, generated with make_spike_extraction_test_data.py and stored in a .npz file as a neo block, are loaded using the PyNNIO class which does not exist any longer. This makes fail the test.

@rgerkin did you provide the file and data? We have a working solution for it see here, using instead the .npz a .txt file and loading the analogsignal from there. Would you be fine with that solution? Because atm. we do not know any other way to load the data without the PyNNIO.

@pietroquaglio I think you can submit the PR. Then we can continue the discussion over there.

Fixed by #180


Jesse: Watch recoveriespro.com

Jesse requests the watch of the watch_keyword recoveriespro\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

recoveriespro\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Mast in Charcoal HQ


Mouse highlighter ghosting

Microsoft PowerToys version
0.63
Running as admin

[X] Yes

Area(s) with issue?
Mouse Utilities
Steps to reproduce
I experience ghosting of the highlighted areas that stay there and do not fade away. I need to reboot the system to "fix" this. For evidence I have added a screenshot of this window while creating the issue...

✔ Expected Behavior
After left-click or right-click the highlighted area should not remain highlighted
❌ Actual Behavior
highlighted areas after mouse clicks sometimes remain highlighted.
Other Software
For what it's worth highlighting stays as an overlay for every application window, but it dissapears (temporarily) when hovering over the open application windows (in the taskbar)

PowerToysReport_2022-10-11-09-10-12.zip
Here you go. I hope it helps to look into the issue

I have the same thing #29444 - but haven't yet seen a pattern to reproduce it

The steps to reproduce are quite clear and work for both left and right clicks. This is really quite annoying and would be great if it were prioritized.
it ALSO happen if you happen to:

click on a window (showing the hightlight)
alt tab to a window running as administrator (this is how i triggered this bug)
click in the admin window
switch to a window that is NOT the source of the original highlight
click
switch back to the window that was the origin of the highlight.

two gifs below show this in action
using another mouse (trackpad) to click

TO admin window

i've tried killing DWM. tried killing explorer. tried disconnecting monitors and nothing seems to fix it other than a reboot.
rebooting is incredibly annoying -- hence prioritizing this woudl be much appreciated. thx

If I disable mouse highlighter then the stuck circle(s) will be closed
So my workaround is to open PowerToys Settings and disable mouse highlighter and reenable it again

I have just posted issue #35910 because although I can replicate following the descriptions here.. I noticed it happening related to my dual screen setup and thinking it also generates this issue when waking up the second monitor.


Also need Documentation

Good work!Could you share any documentation or master's thesis ?

Hi,
I attached the master thesis. Any particular wished for additional documentation? Also remember that this is still just a proof of concept, we are planning to create a new version with additional features and higher quality next year.
ROS2_cross-process_data-flow_scheduling-3.pdf


Query - DataItemTableFilter does not work with filter on Date and OData webservice

Hi,
AL Extension Version: 0.17.30289
We need to filter a DataItem from a Query by using DataItemTableFilter on a field of type Date.
It seems that the query compile and the extension can be publish but when we are publishing the OData web service for this Query we have an error.
Query format
query 50000 "Cust. Ledger Entry"
{
QueryType = Normal;
elements
{

    dataitem(Cust__Ledger_Entry; "Cust. Ledger Entry")
    {
        DataItemTableFilter = "Posting Date" = filter (29082018);

        column(Customer_No_; "Customer No.")
        {

        }

    }
}

}
Error:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code/>
<m:message xml:lang="en-US">
The value "29082018" can't be evaluated into type Date.
</m:message>
</m:error>
This is a BUG ? Or we need to write in another way the
DataItemTableFilter = "Posting Date" = filter (29082018); (Is strange that the object is compiling)
Thanks,
Cosmina

Hi,
Date format is : Month/Day/Year
And filter DataItemTableFilter = "Posting Date" = filter ('5/27/2016'); works fine :)
If I go with this solution in my extension and at customer side they have other configuration for date format I will not have the same problem ?

Solution would depend on the goal and conditions :)
If you have an option to programmatically define the filter with DMY2DATE(27,5,2016), it would be much better - DMY2DATE should take care of localization issues. You can use both SetFilter and SetRange for that. Format property to set Date format may also come in useful:
https://docs.microsoft.com/en-us/dynamics-nav/format-property
However, if you have to hard code the date in that format (for example, it came from some other function as a string), you would have to go with just '5/27/2016' put into the code or perform some extra parsing to turn '5/27/2016' into '/27/5/2016' (as an example of the other date format).
The more things you have hardcoded in the code, the less flexible it is for changes (such as localizations).

Thanks for your answer :)


Figure out how to start sending out emails

I dont know if digitalocean is going to give us something out of the box. Otherwise, we might want to invest sometime in techniques django supports, etc.

Unless something changed recently, digital ocean does not give you a mail server out of the box but there are tutorials to get those going, before it was also needed to ask the support to enable mail support on the machines, some anti-spam protocol it seems.
What about a service like mailgun or amazon SES?

I am actually blocked on SES for some reason. Dont know why. But if someone else can set it up, hell yes.

I could finally get sendinblue to act up, and we have the credentials. So probably what we need now are the templates, etc.


fix(rate_model): increase MAX jump rate and full rate

Recently all USDT on Polkadot was borrowed, leading to Moonwell USDT borrow rates of 192% and Interlay $492k of USDT max borrowed, resulting in Interlay USDT borrow rate pegged at 45-50%. The negative thing was that there was no remaining USDT lending liquidity for lenders to withdraw their capital.
Interlay referenda 96 was approved to adjust the USDT/USDC lending params to set the jump rate to 20% and the full rate to 150% with optimal utilization of 80%. After community and team discussion, this solution was agreed to use the higher full rate to push lending back down towards the optimal lending utilization.
https://interlay.subsquare.io/democracy/referenda/96
Unfortunately the referenda failed to execute because the 150% proposed full rate exceeded the hard-coded max value of 50% for the full rate.
https://interlay.subscan.io/block/4905046?tab=event&event=4905046-0
In this commit I recommend:

leave 10% as max base rate
increase "jump rate" hardcoded max from 30% to 100%. We were already considering 20-30% for USDT.
increase "full rate" from 50% to 500%.

I definitely support having limits since people might submit a value with wrong number of zeros accidentally. But let's place the limits higher than any "reasonable" value that we might set in governance. I can see us potentially having a market with jump rate 50% and full rate 300%.

Thanks! It shouldn't be a problem, but I'll add some basic tests in a separate pr


 This was because of a misunderstanding on how this molecule would be implemented. I talked it over with @duelj and now the spacing should be fixed.
Before

After

Review

@duelj -- can you review the size and spacing? I couldn't find specs in the wiki.
@anselmbradford
@sebworks

How do we test this?

To test, you'll have to go into the wagtail admin and create two 50-50-text-image molecules.

Looking good!
If the screenshot above is 100% scale, the circle illustrations are larger than we would typically use them. The sizes that we, and other teams have been using them are 130,150, and 170px for the circle size (the screenshot looked like 265px). I know having different sizes of the circle might throw off your coded padding, is there any way to accommodate this? Or is the screenshot a larger scale and this isn't an issue?

I wasn't sure if there was a set size, so I set it to fill 75% of the space given. I can change it to be a set size. Is the size 130 on mobile, 150 on medium and 170 on desktop?

+1: Looking good


Mention requiring the gem in the README

@flavorjones here is a PR for Issue #66 in case that is helpful.  I'm happy to make adjustments if desired.

:+1: Definitely would have saved me about 10 minutes just now ;)

Same for me. Lost time figuring this out. Please add this to the README


Upgrading version to 0.10.0.

Release notes will be forthcoming

Running
$ git log -1 --pretty=%H
6c859686b0a4e8c07ccc183e209052036e631887
$ git log 0.9.0..HEAD \
> | grep 'Merge pull request ' \
> | awk -F ' ' '{print $4}' \
> | sort

yields
#1373
#1375
#1405
#1433
#1437
#1440
#1446
#1447
#1449
#1450
#1468
#1469
#1471
#1472
#1473
#1474
#1476
#1479

Woooo :+1:

Admin commits: #1373, #1375, #1437, #1449, #1450, #1468
Bigtable (unreleased): #1405, #1471, #1472, #1473, #1474, #1476

Datastore

Adding Query.key_filter() as a shorthand for __key__ filters (#1433)

Pubsub

Bugfix: Properly handle responses without any subscriptions or topics (#1440)

Storage

Adding content_type to Blob.generate_signed_url (#1447)

BigQuery

Update docs to reflect API changes (#1469)

Core

Allowing pyOpenSSL imports to fail on App Engine (#1446)
Upgrading to oauth2client 2.0.0 (#1479)

:+1:

LGTM.  I added a changelog entry for #1481, and tweaked the rest.


Request for Binance Server Stop Order Support

请求支持币安USDT永续合约的服务器停止单， 现在币安USDT永续合约接口仅支持限价单的话，会有很多问题无法得到解决：
本地停止单转限价单是用的对价5档，这个当盘口比较浅的时候根本无法全部成交，甚至无法成交，导致策略持仓和信号不匹配了。
行情剧烈波动时，本地停止单转限价单后价格可能已经走出去非常远了，滑点变得大了很多
假设策略因意外崩溃后，仅有发到交易所服务器的预埋停止单可以作为最后的一个保险了。
综述原因，尤其是数字货币交易所，对于发到交易所的服务器停止单的支持还是很有必要的。

hi, i can barely read a little chinese so i reply in english.
i have no plan to add this binance stop order support, but will leave this issue open to see if anyone interested to make the contribution.

Hi vnpy_crypto,
Thanks for your reply and your help to leave this issue open.
Shall we still keep a forum to discuss the crypto gateways within the vnpy
framework?
Best regards,
Wenkang
On Wed, 1 Dec 2021 at 20:59, vn-crypto @.***> wrote:

hi, i can barely read a little chinese so i reply in english.
i have no plan to add this binance stop order support, but will leave this
issue open to see if anyone interested to make the contribution.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vn-crypto/vnpy_binance/issues/17#issuecomment-983615818,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMYJXAGXYFZT45K55MWIA3TUOYL3RANCNFSM5I2XHXAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

我觉得这种需求就得自己定制一个crypto_engine，数字货币的量化跟期货的逻辑差别太大了，得魔改

since no one is making contribution, i will close this issue now.


Rename UsageAttrib and refactor the Permissions command

I didn't even realize that the commit name was too long

LGTM


Evmos key generate problem

If I try
"slip44": 118 or
"slip44": 60
REStake generates a different address and pubkey compared to if I generate either using evmosd directly
This is causing restake to fail with error:
Code: 8; Raw log: pubKey does not match signer address evmos1XYXYX with signer index: 0: invalid pubkey

Yea I quite quickly realised this was still an issue. Difficult to test as I'm not a validator.
I yanked the update from the UI last night, so Evmos isn't 'live' there yet. I have the solution and will put that in place this evening, so expect an update then that will fix it.
Keeping this open until it's resolved.

Thanks very much :pray:


Multiple html plugins

Hi,
I have the following use case. In a webpack config I'm creating several html files as in this question. I can't find any way in the documentation to treat that case with script ext html webpack plugin. That is:
plugins: [
  new HtmlWebpackPlugin({
    filename: 'index.html',
    template: 'src/index.html',
    chunks: ['main']
  }),
  new HtmlWebpackPlugin({
    filename: 'example.html',
    template: 'src/example.html',
    chunks: ['exampleEntry']
  }),
  // I want this to affect only index.html
  new ScriptExtHtmlWebpackPlugin()
]

Is it possible to do it with this plugin? In the README there are only examples on how to filter the chunks, but not the destination.
Thanks

Hi,
It would be possible to modify the plugin to use the same mechanism I used for the sister plugin style-ext-html-webpack-plugin - see the documentation here.
However there would be a fair bit of code and additional testing to write.  It can go into my backlog but unlikely to be done soon.  Happy to accept a PR ... :-)

I'm having the same problem.
When there are multiple HtmlWebpackPlugin, ScriptExtHtmlWebpackPlugin completely fails to work.

I'm also having the same problem.
Especially with Electron apps, where multiple html files for multiple renderers is a nice necessity

Any progress on that issue?

I've seen a lot of similar issues  in this project，Is there any way to deal with this problem？

Hello - I'm sorry to say that this plugin is no longer being maintained.  I have tried to close all issues ahead of doing this but instead have found that the issue list just keeps growing.  I simply do not have the time to keep up.  Sorry.
Please keep an eye on the README where I will record anyone who forks this repo with the intention to supporting it in the future.


Revert previous spec change (02a409e7b4) and fix the code.

It means that it won't be possible to do
from dock import build_image_here but only from dock.api import build_image_here, but docs/api.md also says to do from dock.api import ...

okay, no strong feeling for one way or the other :) from dock import ... was really meant for convenience

Ok, merging then, thanks.


Fixed minify test error for closure compiler

The ids for the input fields were wrong.

@MartB Hello!
Are you interested in taking over as a maintainer?

@szepeviktor
Hey im only doing wordpress stuff for a family member,i have no time for taking over sorry!
I appreciate your offer though!
Kind regards


Remove the denormalized feedbackCount from FBT

We should instead use the data.feedbackCount in Summary.

[ ] Instead of fbt.feedbackCount, use fbt.summary.data.feedbackCount everywhere.
[ ] Check if need to update sequelize hooks that update the fbt.feedbackCount.
[ ] Remove the fbt.feedbackCount column

This will cause further issues with organisation surveys and interim feedbacks which are excluded from the summary object creations in buildSummaries.
This has to be addressed when doing the refactor


Question: Is there an easy way to remove Posts / Categories / Pages?

Laravel Version: latest
Voyager Version: latest

Question:
Is there an easy way to remove Posts, Categories and Pages?
Having the option to exclude them in the first place (e.g. a flag on the install command) would be great.

Installing without --with-dummy will prevent the tables from being populated, but will not prevent the tables from being created.  You'll need to delete the migrations, remove the entries from the MenuItemsSeeder, and remove the widget configuration from config/voyager.php.  That SHOULD be all you have to do (though I likely missed a step somewhere)


Pre-mature split adjustment on daily resolution bar

Expected Behavior
Split adjustment on day T 00:00am should happen beginning on the next slice (day T+1 00:00am) for daily-aggregated bar, as the same slice is referring to the trading day T-1.
Actual Behavior
It happened on the same slice on day T.
Potential Solution
Handle split after setting OHLCV for the aggregated bar on the same slice.
Reproducing the Problem
Flawed backtest (daily bar):
https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_45267ea69b350432e5ce08e045a2411b.html
2022-08-24 00:00:00 : | StartTime:8/23/2022 12:00:00 AM EndTime:8/24/2022 12:00:00 AM TSLA: O: 874.56 H: 896.51 L: 863.78 C: 889.36 V: 20549062
2022-08-25 00:00:00 : | StartTime:8/24/2022 12:00:00 AM EndTime:8/25/2022 12:00:00 AM TSLA: O: 297.5633 H: 303.6666 L: 296.51 C: 297.0966 V: 18068665
2022-08-25 00:00:00 : | Split Occured ---
2022-08-25 00:00:00 : | 8/25/2022 12:00:00 AM Factor: 0.3333333
2022-08-25 00:00:00 : | -------
2022-08-26 00:00:00 : | StartTime:8/25/2022 12:00:00 AM EndTime:8/26/2022 12:00:00 AM TSLA: O: 302.3 H: 302.96 L: 291.61 C: 296.07 V: 49997610

Reference (minute bar):
https://www.quantconnect.com/terminal/processCache?request=embedded_backtest_8b78af509f7f171aa7afe93798feddcf.html
2022-08-24 15:59:00 : | StartTime:8/24/2022 3:58:00 PM EndTime:8/24/2022 3:59:00 PM TSLA: O: 890.45 H: 890.45 L: 890.02 C: 890.32 V: 93740
2022-08-24 16:00:00 : | StartTime:8/24/2022 3:59:00 PM EndTime:8/24/2022 4:00:00 PM TSLA: O: 890.28 H: 891.58 L: 890.28 C: 891.29 V: 525049
2022-08-25 00:00:00 : | Split Occured ---
2022-08-25 00:00:00 : | 8/25/2022 12:00:00 AM Factor: 0.3333333
2022-08-25 00:00:00 : | -------
2022-08-25 09:31:00 : | StartTime:8/25/2022 9:30:00 AM EndTime:8/25/2022 9:31:00 AM TSLA: O: 302.3 H: 302.94 L: 301.28 C: 302.36 V: 933325

System Information
NA
Checklist

[X] I have completely filled out this template
[X] I have confirmed that this issue exists on the current master branch
[X] I have confirmed that this is not a duplicate issue by searching issues

[X] I have provided detailed steps to reproduce the issue

This is happening because when we apply a split we adjust holdings, orders & asset prices, see AlgorithmManager.HandleSplits & SecurityPortfolioManager.ApplySplit.
Part of the problem is that the split and the daily bar are arriving at the same time, if the daily bars ended accurately in exchange timezone 4PM this issue would not happen. Closing since we will soon address this https://github.com/QuantConnect/Lean/issues/6964


Rename to MapboxDirections and add support for Swift Package Manager

Just wanted to try adding support for SPM but apparently, MapboxDirections' contains mixed language source files; feature not supported. I wonder if we can replace all extensible and bitmask
Obj-C enums. 🤔
cc @1ec5

I wonder if we can replace all extensible and bitmask Obj-C enums. 🤔

Unfortunately, that won’t be feasible as long as this library supports Objective-C. Would it be possible to maintain parallel types, with CocoaPods and Carthage using the Objective-C version and SPM using the Swift version?

Would it be possible to maintain parallel types

Great idea. That should be relatively straightforward, and only four duplicated data types in the shim, which shouldn't be too inconvenient to maintain.

OHHTTPStubs doesn't provide support for SPM so we're not running tests on the SPM flavor yet.

We can put Obj-C++ inside a separate compat dependency in SPM and compile the Objective-C code along with the Swift framework and therefore support Objective-C w/o  having to maintain duplicated types for the SPM version.


Make use of .njk extension for views instead of .nunjucks

Nunjucks recently decided to stick to .njk extension officially, which means with time more editors and 3rd party tools with follow this convention.
Since, AdonisJs major release is on the way, we should include this breaking change of making use of .njk extensions.
https://mozilla.github.io/nunjucks/templating.html

+1

It would be much better if Adonis just had a config value for view extension...


Tests fail locally and in CI

Hi folks, The tests in CI and locally. What's our strategy to maintain the repo and how can we help?

The package hasn't been much maintained unfortunately. I've never used Teamcity myself so never needed to use the package. Some things that come to mind are:

rewrite to TS
transition to ESM, see #31
add unit tests

Thanks Christian. There's no build step right so we could even add TypeScript to check the existing JS.

Fixed with #60

Thanks Kevin for taking a stab at this!


Update ResetPassword.php

Update ResetPassword.php to support localization

This introduces coupling, and actually doesn't work. If you run this you'll see that. :)

The recommended way to approach this is just to extend the class or write your own for localization.


Rename TensorboardLogger -> TensorBoardLogger

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)
[x] Did you read the contributor guideline?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

What does this PR do?
Follow up to #607. Renames TensorboardLogger to TensorBoardLogger.
I used PyCharm to rename all occurrences.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

It may be in conflict with #609 and #610. Maybe merge them first, then I can update this PR.

already implemented here - #610

@Borda hmm. in a commit called "fix add_hparams". I did not see that ...


Issue in installation of the "ARGoS epuck-plugin"..?

how to overcome the issue in the installation of the ARGoS-epuck plugin which is shown in snapshot.

This question doesn't seem to be related to tinydir_vendor - and appears to be a general usage question - can you please ask it on https://answers.ros.org/questions/ ?
A couple notes:

you will get if you copy-paste your output into a code block - it's easier to search and read than a screenshot of a terminal. This is general advice
You don't generally build your workspace by invoking cmake directly. You probably want to use colcon - see https://docs.ros.org/en/foxy/Tutorials/Colcon-Tutorial.html for some more information


Cannot mkdir: No space left on device

When I use the docker squash to reduce my docker image size with the command "docker save  | sudo docker-squash -t newtag | docker load", I met the problem such like
tar: home/work_87586/dbzip_shiphome: Cannot mkdir: No space left on device
And my image size is 26.45G.
Here is the details info of my container(which run from the image which I want to reduce size)
[root@f7ece21 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 100G 29G 71G 29% /
tmpfs 7.3G 0 7.3G 0% /dev
shm 64M 0 64M 0% /dev/shm
tmpfs 7.3G 0 7.3G 0% /sys/fs/cgroup
/dev/loop0 100G 29G 71G 29% /etc/hosts
How can i fix this kind of problem?

Fix the problem by declaring the TMPDIR .

I had a similar problem, my docker image is 15Gb and I have 32Gb of RAM (where only 2Gb is used):
# REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
# activeeon/dlm3      latest              c52f78190064        4 weeks ago         15.2GB

# docker save c52f78190064 | sudo TMPDIR=/var/run/shm ./docker-squash -from root -t activeeon/dlm3:squashed | docker load

The output is:
...
tar: root/visdom/visdom.egg-info/dependency_links.txt: Cannot write: No space left on device
tar: root/visdom/visdom.egg-info/not-zip-safe: Cannot write: No space left on device
tar: root/visdom/visdom.egg-info/requires.txt: Cannot write: No space left on device
tar: root/visdom/visdom.egg-info/top_level.txt: Cannot write: No space left on device
tar: root/visdom/webpack.config.js: Cannot write: No space left on device
tar: root/visdom/yarn.lock: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
ERROR: exit status 2
open /var/lib/docker/tmp/docker-import-927136952/repositories: no such file or directory

$ free -m
              total        used        free      shared  buff/cache   available
Mem:          32109        2113       24614          95        5381       29349
Swap:         32705          11       32694

This error occurs when the program exceeds 15Gb of RAM (50% of the Total).
There exist a memory limitation or I'm doing something wrong? Thanks!


Convert Buttons to Auto Layout

Auto Layout in Figma

[ ] Find a solution to solve Auto Layout in Buttons
[ ] Update changelog
[ ] Send out message to #eds-design-system

It's very important to use the label and icon already in the buttons. If those are removed or replaced by new labels and icons, the users will lose the connection.
Converting require spacings, 'Button' and clickbound to be removed. A button with auto layout can be placed inside a frame with auto layout to keep clickbounds. See example.

Unfortunately, I had to move this back to to do. There is no easy way to convert this component to auto layout while having focused, pressed, hover hands and so on. Waiting for a change in Figma, maybe where you can select z-axis?

On hold for now since the "focus" state is not compatible to build with variants.

DONE :-)


Pixi Polymer components

I've been learning Polymer recently and thought it might be cool to make some pixi components. I'm not totally sure if this is a great idea yet. There might be some performance issues that I'm not aware of.
It might look something like this
<pixi-stage width="800" height="600" autodetect>
    <pixi-sprite texture="path/to/img.jpg" x="10" y="10"></pixi-sprite>
</pixi-stage>

The main advantage would be that the dom is much easier to read and understand than the imperative way of creating pixi objects. It will also allow devs to use polymer's data binding and other web component sugar.
Anyway, I'm not an expert with pixi or polymer. Just wanted to hear what you all though about it.

I don't know anything about Polymer so I can't comment :)

There is an empty repo here: https://github.com/positlabs/pixi-poly
I might try polymerizing a smaller library (seriouslyjs) first, to understand the process better.

Closing this for now, if this happens it should be in userland.


Hardware requirements for the Lisk SDK

Description
Describe the minimum hardware requirements to run the Lisk SDK.
Additional information

RAM
CPU

Our expected machine spec for now is
4 core fast CPU
8GB RAM
SSD: 50GB+


Inference on a video

Can you also provide the inference code for this please? I want to test how it performs just like in the video. Thankyou!

@youngskkim Please provide the code for video inference or image inference just as shown in the video. I have done the training , evaluation and prediction on it. Just the inference is left where I can load the weights and config file and then visualize the predictions which is being done on the model

If you only have a video file, you should split the video into images (for example, using ffmpeg) to run the model.
Please make sure that the image and radar points are well synchronized.


Install bundler and all project's gems

After writing to heroku support they pointed me that the 3rd party buildpack should install bundler.
I modified the compile script to install both bundler gem and all the other project's gems.
I tried this on my app and it works well.
this solve the issue #2
A

@acarpe did Heroku say why the bundler should be installed? My unterstanding is: this buildpack depends on the two other, and should have gems stalled by the ruby buildpack already.

They didn't provide a motivation about it.
From what I remember any build pack can decide to expose executables or PATH like the nodejs does, but for some reason the ruby build pack do not expose its bundle executable.
The original response from the support was:
===
Hi there,
Troubleshooting third party buildpacks is outside the scope of Heroku Support. The buildpacks' authors would have to add the bundler gem into their buildpack in order to enable it's use.
It's not necessary to rely on a third party buildpack to enable this functionality, I recommend looking into our Release Phase beta which enables you to run commands like rake tasks after a build completes, but before the app is executed.
Let me know if you have any further questions.
Thanks!
Jason

I wonder if the bundle executable in path is something that depends on the stack version..?

Thanks for the PR! I've used your approach while fixing some issues and commited 43b26de and 15417f3.


[HOLD for payment 2024-09-24] [$125]  Import categories - Error message for multiple GL code mappings displays "glCode"

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.29-0
Reproducible in staging?: Y
Reproducible in production?: N
Issue was found when executing this PR: https://github.com/Expensify/App/pull/47827
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:

Go to staging.new.expensify.com
Go to Control workspace settings > Categories.
Click 3-dot menu.
Click Import spreadsheet.
Import a CSV file that has multiple columns.
Map Name, Enabled.
Map GL code a few times.
Click Import.

Expected Result:
The error message for multiple GL code mappings will display "GL code".
Actual Result:
The error message for multiple GL code mappings displays "glCode".
Workaround:
Unknown
Platforms:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/ce245714-74c6-407c-818c-3e63ac70e8f5
Bug6592371_1725411660406!Independent.-.Multi.Level.tags.csv

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~016b3b7ee11227810d
Upwork Job ID:<PHONE_NUMBER>645362164
Last Price Increase: 2024-09-04

Issue OwnerCurrent Issue Owner: @mkhutornyi

We think that this bug might be related to #wave-control

@daledah can you find the offending PR?

cc @filip-solecki @rushatgabhane @rlinoz coming from the import spreadsheet PR

This feels super minor so demoting

I think @daledah proposal looks good!

@rushatgabhane seems like you are familiar with this, can you chime in here?

Waiting to see what Rushat has to say!

yeah this seems very minor.
@daledah's proposal should work

cc: @madmax330

CSV import is a #wave-control project, moving this over.

Oops. sorry, thanks @trjExpensify

PR is merged and has been deployed to staging. awaiting deploy to prod

Prod automation didn't work, updated title/payment date

Payment summary:
Contributor: @daledah - $125 - Will be paid via Upwork
C+: @rushatgabhane - $125 - Can make a manual request on ND on 9/24

$125 approved for @rushatgabhane

@daledah can you please follow the requested steps here so I can pay you? thanks

NVM, offer sent via Upwork, I believe I found your profile. Will pay ASAP once you accept

paid


Get Subvector to run with other algorithment

HI Author,
I'm using now PQKmeans to compress the high dimension to the lower dimension with product quantization.
But my professor told me that I have to try a dataset with many algorithms after the processing product quantization. Because he wants to try with each sub-vector.
That means, After "Encode.transform() " function I have to get the subvector.
E.g: 10000 element , in 100 dimension ----> after product quantization -> = 5 x 10000 in 20 dimension (number divide is 5).
Then I would like to get the separated sub-vector.
I have had a search on your package and google but I did not find the solution for that.
I would ask you :
Is that possible to get sub-vector on product quantization?
thank you very much

See this. You can reconstruct the original vector by encoder.inverse_transform(pqcode)
https://github.com/DwangoMediaVillage/pqkmeans/blob/master/tutorial/1_pqkmeans.ipynb

thank you.
At the beginning I have a vector 10000 X 100 Dimension: divide for 5
After encoder.transform, I take the new vector id via Product quantization: that I take only a new vector : (20000, 5)
But I think After the processing encoder.inverse_transform(pqcode)  I take a new vector (20000, 100).
I thought I had better take 5 Vector (20000, 100) in order to run with other algorithms ?
did I mean exactly ? pls help me  thanks

No.

After running PQ with M=5, the result would be five integers per vector, i.e., shape=(10000, 5) with dtype=uint8.
inverse_transform reconstructs the original vector, i.e., shape=(10000, 100) with dtype=float64

import numpy as np
import pqkmeans

X = np.random.random((10000, 100))
print(X.shape, X.dtype)  # (10000, 100) float64

encoder = pqkmeans.encoder.PQEncoder(num_subdim=5, Ks=256)
encoder.fit(X)

X_pqcode = encoder.transform(X)
print(X_pqcode.shape, X_pqcode.dtype)  # (10000, 5) uint8

X_reconstructed = encoder.inverse_transform(X_pqcode)
print(X_reconstructed.shape, X_reconstructed.dtype)  # (10000, 100) float64

See the original paper for the detail of the algorithm
https://lear.inrialpes.fr/pubs/2011/JDS11/jegou_searching_with_quantization.pdf


[WIP]: Add support for kuryr_networking

This patch adds the service and the pod subnets necessary for kuryr as
well as the load balancer for the OpenShift API.
Signed-off-by: Antoni Segura Puimedon<EMAIL_ADDRESS>What does this PR do?
Brief explanation of the code or documentation change you've made
How should this be manually tested?
Include commands to run your new feature, and also post-run commands to validate that it worked. (please use code blocks to format code samples)
Is there a relevant Issue open for this?
Provide a link to any open issues that describe the problem you are solving.
Who would you like to review this?
cc: @tomassedovic @bogdando PTAL

Note that this is not ready for merging. I just want to put it up here and keep working on it

Thanks for opening this. I'd love to get my hands dirty with Kuryr setups by the provider playbooks!

Some things from the https://github.com/openshift/openshift-ansible/pull/5574 may be added for the provider docs as well.


Add new submissions to Airtable instead of hackclub/api

New submissions on the subscribe form are now added to the hackathons.hackclub.com Airtable base in the subscribers table. Currently, it only adds the email and location; haven't gotten to the parsed location fields.
(Sorry I didn't see that the ticket #148 was already assigned when I started working on this PR.)

📝 Changed routes:

/api/event-email-subscriber

Commit 19c1fab58ae983ec1bf21fbae325d5233098b2ce (https://hackathons-etqpbpcu6.hackclub.dev).


Add CMake language server

To test it you need the latest master, see https://github.com/regen100/cmake-language-server/issues/16

New version of CMake language server is released, you can install it from pip and this PR will work.


cp command still fails on "darwin" macos

https://github.com/openEDI/oedi-si-single-container/blob/584e41025aad8af7bdb81e082845a1269f55669e/build.py#L19
Sadly win is contained in darwin. https://en.wikipedia.org/wiki/Darwin_(operating_system)

Has been fixed.


Add noDowntime option to reset

Sometimes, reset API is called on a consuming segment, to make the consumption restart. This is quite desirable in case of schema evolution, where someone added a new column, and want to force the consuming segment to restart, so that the new values are seen in the consuming segment. While consumption can be restarted even by restarting the server that contains that segment, that is often more expensive (multiple tables, multiple consumers on that server) and hence folks don't like that option.
Calling a reset will take the segment to OFFLINE and back to ONLINE. If there are multiple replicas, all of them will get reset at once. This will cause downtime, even though we have replication. There is no way to make the reset happen once replica at a time.
A noDowntime option would be nice.

Another way to solve the same usecase, is an API to force commit (as suggested by @Jackie-Jiang )

If force commit will do, then we should do that. See Issue #6302

ForceCommit endpoint - that was introduced in https://github.com/apache/pinot/pull/9197 - addresses the  requirement of this issue.


Duplicate issues

It seems like using crontab for this action will cause duplicate issues that are just identical to each other - is there some way to prevent that?

same issue when use on: push

Same here

Any updates for this?

Same for me, any Updates on this?

Why is this closed with no comment?

Why is this closed with no comment?

See the PR that fixes this - https://github.com/lazy-actions/gitrivy/pull/62

@tarlepp
Thanks comment.
@thost96
This issue closed automatically because I merged #62 .


Add an ID background color

The background of the "Add an ID" button on ObsCreate should be not filled when an iconic taxon is selected. Similarly the button text color should not be white then.
From Figma:

This one might be related to #755 where ADD AN ID appears selected when a user's phone is in dark mode.


Placeholder

Hi, is it possible to have a separate placeholder text color and change that to the prop 'textStyle' after?

Hi, I did not understand the question.

So, on normal form elements you can usually set a default placeholder text and a colour, usually a light grey. When the user enters a value, the placeholder is gone and the entered text is a solid black or whatever input colour you choose.

Oh no, That become a bug then. Let me try to reproduce it. Will get back
ASAP.
On Fri, Jun 30, 2017 at 2:21 AM, Nathan Querido<EMAIL_ADDRESS>wrote:

So, on normal form elements you can usually set a default placeholder text
and a colour, usually a light grey. When the user enters a value, the
placeholder is gone and the entered text is a solid black or whatever input
colour you choose.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gs-akhan/react-native-chooser/issues/29#issuecomment-312104419,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFYnVgv8h6aipDvQAUw3_zTyH9ADG4gPks5sJA43gaJpZM4OJh9I
.

has this been fixed ? Could this be the reason why upon selecting a value the defaultText doesn't change ?

How Do I access defaultText after onSelect please? you are returning value but I want to be able to get the text as well.
let optionItems = this.state.locations.map((s, i) => {
return ({s.title})
});
I got the value and I need the text which is s.title to be populated as defautText.
Thank you!

Since you have selected value.. You can filter it from your data that you have and get value.. The component currently does not give text out, but I can do this as an enhancement.

@Kazi-Yako  The onselect is invoked with two arguments. Can you check if second argument is a label ?

Yes in your function here:
onSelect(label, value) {
this.props.onSelect(value);
this.setState({
modalVisible: false,
defaultText: label
});
}
the first one is the label which I need and the second one is the value.
But in mine when I call:
<Select
onSelect = {this.onSelect.bind(this)}
defaultText  = {this.state.defaultMsg}
style = {{borderWidth : 1, borderColor : "green"}}
textStyle = {{}}
backdropStyle  = {{backgroundColor : "#d3d5d6"}}
optionListStyle = {{backgroundColor : "#F5FCFF"}}>
{optionItems}

and use:
onSelect(label, data) {
this.setState({selectedLocationId : data, defaultMsg: label});
}
label has the value and data is undefined.
I am trying to capture both.
Thank you for the prompted response.

I will fix this thanks
On Tue, 26 Sep 2017 at 10:13 PM, Kazi-Yako<EMAIL_ADDRESS>wrote:

Yes in your function here:
onSelect(label, value) {
this.props.onSelect(value);
this.setState({
modalVisible: false,
defaultText: label
});
}
the first one is the label which I need and the second one is the value.
But in mine when I call:
<Select
onSelect = {this.onSelect.bind(this)}
defaultText = {this.state.defaultMsg}
style = {{borderWidth : 1, borderColor : "green"}}
textStyle = {{}}
backdropStyle = {{backgroundColor : "#d3d5d6"}}
optionListStyle = {{backgroundColor : "#F5FCFF"}}>
{optionItems}
and use:
onSelect(label, data) {
this.setState({selectedLocationId : data, defaultMsg: label});
}
label has the value and data is undefined.
I am trying to capture both.
Thank you for the prompted response.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gs-akhan/react-native-chooser/issues/29#issuecomment-332260868,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFYnVhu_ZhxOpJ3Ej7gLCECKMeP9_SzBks5smSmmgaJpZM4OJh9I
.

You see. the this.props.onSelect is invoked with only value. Can you make a PR on this ?
Thanks

@Kazi-Yako
invoke it with both value and label and make a PR. also update the docs.
Here : https://github.com/gs-akhan/react-native-chooser/blob/master/lib/select.js#L59

Done! I am not sure if I did it the right but please let me know when you update the library so my team can pull that over.

@Kazi-Yako published on NPM ..
npm install<EMAIL_ADDRESS>--save
should do it for you.
Thanks

Going back to the original question.
Is it possible now to style the placeholder different to the selected option?
Thank you in advance :)


Make logger logrotate-friendly

Looks like Winston logger doesn't support logrotate doing its job.

Fixed with ca98149a8864c289cb3db723f1a4784e88a9e927
Replaced Winston by tslog


Updates to be compatible with RK 1.2

exclusive allows single choice answers even for multiple answer questions, like None of the Above. Until that capability is in SBBSurveyQuestionOption, default to acting the same as the entire answer.
The enumeration gets more picky, requiring an object and then a casting. I liked the solution followed by other RK projects of making the first one a simple for each loop and made the same change here.
Delegate now required, supplying self.

cool
r=me


Custom Logic Hooks broken with latest update

Describe the bug
Not sure what exactly changed in the code base but since the last 1 or 2 updates custom logic hooks are broken.
Setting a new messageText on the convoStep does not work as before.
To Reproduce
See the attached project and README.md on how to test.
custom_hooks_stop_working.zip
Expected behavior
In onMeStart a simple convoStep.messageText = 'message'; worked to just update what is being send to the bot. Now a combination of meMsg.messageText = 'same message'; is necessary.
Screenshots and Log files
See example project.
Botium Flavour:

Botium Box -
Botium CLI -
Botium Bindings 2.0.17

Botium Version
1.5.4 - could be as early as 1.5.3
Additional context

It was actually not broken, but an incomplete bugfix.
The field to use for changing the conversation in the logic hooks is meMsg.
convoStep holds the conversation step template, meMsg the actual conversation step as sent to the Botium connector.

PR #395 on the way.

I would argue that the released version is broken if setting  meMsg.messageText alone does not work. But thanks for the hopefully soon released fix.
Some better way of communicating breaking changes would be really nice as well. :D
This in addition to the change in PAUSE in the middle of a patch version update (which is in your wiki hidden far in the documentation but no changelog file).

critis accepted, we will start keeping a changelog


1023: Rename article field in API response

Short description

The app started crashing when opening the vocabulary list because the field article had been renamed to singular_article in the CMS. This renames that field also in the response parser.
Proposed changes

Renamed article to singular_article in useLoadVocabularyItems

Side effects

The app should not crash anymore when opening the vocabulary list.

Resolved issues

Fixes: #1023

thx for the quick fix. Since this should be fixed in the backend, i think the pr can be closed


Netherlands Antilles flag is missing

Alpha-2 code AN
Short name Netherlands Antilles
Short name lower case Netherlands Antilles
Full name
Alpha-3 code ANT
Alpha-4 code ANHH
Numeric code 530

See #740


Generate operational assets within the event-processor chain

[x] Produce op assets to data container

[x] Set up tasks to develop initial dashboard based on these
[x] Set up tasks to develop initial API access for these

These don't go back into the same container, but can be produced in the icenet-event-processor selectively in line with that components existing operations. Need to evaluate and add the run of produce_*_assets scripts to the available functionality...
...this issue can probably be moved to that repo and split into new issues, but it's basically done.


signer: create workaround for SignOutputRaw quirk

This commit fixes a long-standing issue with how SignOutputRaw populates the key descriptor before calling into lnd.
If the public key is available, only the public key is populated and the key locator (index+family) is not. That works well for any keys the wallet is aware of.
But if a wallet is restored from seed, it will not know any addresses/keys apart from index 0 of each family/account. And a lookup by public key only will fail.
To fix that, we add a new method SignOutputRawKeyLocator that has an updated behavior that also sends along the key locator if we're certain it is fully known.
Because changing any behavior in this area of the code might lead to breaking existing behavior some clients like Loop or Pool rely on, we explicitly don't change the original method but rather add a new one.
Pull Request Checklist

[X] PR is opened against correct version branch.
[X] Version compatibility matrix in the README and minimal required version
in lnd_services.go are updated.
[X] Update macaroon_recipes.go if your PR adds a new method that is called
differently than the RPC method it invokes.

Will help solve the problem described in https://github.com/lightninglabs/taproot-assets/issues/1208.

But if a wallet is restored from seed, it will not know any addresses/keys apart from index 0 of each family/account. And a lookup by public key only will fail.

Correct that the public key look up will fail, however this should be accounted for with the existing logic: https://github.com/lightningnetwork/lnd/blob/94f7ed46deab346cc19ff1e6aa00cecdfe3eb775/keychain/btcwallet.go#L324-L363
This path is taken when we need to derive the private key based on the keyloc or keydesc.
Checking out the diff now.


Poor performance of net.Dial() & friends

@bradfitz  asked me to file a bug as a continuation of https://groups.google.com/forum/#!topic/golang-nuts/52gePwVq2sc
What version of Go are you using (go version)?
1.7.3
What operating system and processor architecture are you using (go env)?
The numbers below are all from a 24-core Intel machine, running Linux with Go 1.7.3, cross compiled from OS X.  The machine has a multi-queue nic with RSS enabled.
What did you do?
Attempt ~100k TCP connections per second to remote hosts (same local network) using DialContext().
https://gist.github.com/nomis52/7b8405644132a09d2e8f9b8f769297cb
What did you expect to see?
At least 10k TCP connections/second per core, scaling close to linearly with cores. Ideally with errors rates close to that seen in C.
What did you see instead?
GOMAXPROCS=1 can't sustain 10k conns/ section without triggering connection timeouts at a 400ms deadline. Similarly GOMAXPROCS=24 can't sustain 100k conns / second.
Full email below.

My problem domain is such that I need to make a large number of TCP connections from a small set of hosts to many other hosts (targets), on a local network. The connections are short lived, usually <200ms and transfer <100 bytes in each direction, I need to do about 100k connections / second per source host.
The numbers below are all from a 24-core Intel machine, running Linux with Go 1.7.3, cross compiled from OS X.  The machine has a multi-queue nic with RSS enabled.  The targets are multiple machines running Go servers listening on 200 ports each (to avoid 5-tuple exhaustion).
My Go code [1] spawns N go routines, each of which calls net.Dial(), performs the transaction and then sleeps for 1s.
With this approach, setting GOMAXPROCS=1 can't sustain 10k conns/ section without triggering connection timeouts at a 400ms deadline. Similarly GOMAXPROCS=24 can't sustain 100k conns / second.  Removing the context timeout passed to Dial() improves performance to the point where GOMAXPROCS=1 can do 10k conns/second at a 1% timeout rate with a 200ms deadline.
I've written a C++ solution that uses N-threads, each calling epoll(). Targets are assigned to threads and then the sockets stay local to the thread for the duration of the transaction. On the same host a single thread can do 20k conns/second with a 0.12% timeout rate at a 200ms deadline. 6 threads with 10k conn/s each produce <2% of timeouts @ 200ms and with 16 threads, 10k each, <2% exceed 200ms and <0.5% of requests exceed 300ms.
I believe the Go solution suffers from at least two issues:
i) net.Dial() is fairly expensive, both in terms of allocations & syscalls. [2]
ii) syscalls cause the Go routine to be rescheduled, bouncing the work for a single socket across CPU cores, hurting locality. Correct me if I'm wrong here but from my reading that's what occuring.
I've tried a number of workarounds:

Use net.DialTCP() at GOMAXPROCS=4, 40k conns/second all requests complete in <200ms. That's an improvement but it doesn't allow me to provide a timeout.
exposing net.tcpDial() directly gives 5% timeouts @200ms with GOMAXPROCS=4, 40k conn/s second. Setting GOMAXPROCS=24 produces a 0% timeout rate, and can scale up to 80k  conn/s before timeouts start appearing (1% @ 100k conns/s). This is the best option I've found so far but requires use of an internal API.
using syscall.Socket() directly. The problem here is receiving notification when the socket is writable (connected). There doesn't appear to be a way to hook into the netpoller. I wrote a solution using syscall.EPoll() directly but that had even worse performance than the native Go solution.

Does anyone have suggestions on speeding this up? I'd prefer to keep this component in written in Go but I'm running out of options to meet the performance & efficiency targets.
[1] https://gist.github.com/nomis52/7b8405644132a09d2e8f9b8f769297cb
[2] Results from  https://github.com/prashantv/go-bench/blob/master/dial_test.go
BenchmarkDial/dialer.DialContext-8 1000          1344 B/op     28 allocs/op
BenchmarkDial/net.Dial-8           3000           863 B/op     20 allocs/op
BenchmarkDial/net.DialTCP-8        2000           638 B/op     15 allocs/op
BenchmarkDial/net.DialTimeout-8    2000          1344 B/op     28 allocs/op
BenchmarkDial/net.dialTCP-8        1000          1120 B/op     23 allocs/op

/cc @dvyukov @aclements @mikioh @mdempsky @ianlancetaylor

One way to evaluate the cost of unnecessary syscall rescheduling would be to replace some of the syscalls in the Dial path with syscall.RawSyscall calls. (I wouldn't do this for connect, and any others that could obviously block.)


"Redirected too many times error" when attempting to view all pdf files via test server on Windows

Attach (recommended) or Link to PDF file here:
None
Configuration:

Web browser and its version: Chrome v75
Operating system and its version: Windows 10, 64-bit
PDF.js version: Extension build number 213
Is a browser extension: No

Steps to reproduce the problem:

gulp server
Open Chrome and open URL http://localhost:8888/test/pdfs/?frame

What is the expected behavior? (add screenshot)
To be able to view all test pdf files in a pane.
What went wrong? (add screenshot)

The URL entered changed from http://localhost:8888/test/pdfs**/?frame to http://localhost:8888/test/pdfs//**?frame, followed by a redirected too many times error.
A stack trace, based on preliminary debugging is below,
$ gulp server
[22:29:23] Working directory changed to ~\pdf.js
[22:29:26] Using gulpfile ~\pdf.js\gulpfile.js
[22:29:26] Starting 'server'...

### Starting local server
Server running at http://localhost:8888/
Trace: Redirection!
    at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
    at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
    at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
    at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
    at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
    at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
    at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
    at FSReqWrap.oncomplete (fs.js:154:5)
Trace: Redirection!
    at statFile (C:\Users\ragha\pdf.js\test\webserver.js:149:17)
    at FSReqWrap.oncomplete (fs.js:154:5)

I was trying to get started with pdf.js and encountered this issue.
I have debugged it and it seems to be an due to the path.normalize(...) function used in tests/webserver.js, line 87.
This is within the _handler function of Webserver.
  _handler: function (req, res) {
    var url = req.url.replace(/\/\//g, '/');
    var urlParts = /([^?]*)((?:\?(.*))?)/.exec(url);
    try {
      // Guard against directory traversal attacks such as
      // `/../../../../../../../etc/passwd`, which let you make GET requests
      // for files outside of `this.root`.
      //Offending function
      var pathPart = path.normalize(decodeURI(urlParts[1]));
    }

Since path.normalize will return a Windows style path on a Windows system, the pathPart variable is of the form "\tests\pdfs".
This causes the code in the function statFile(...), webserver.js, line 139, to error out, since the RegEx shown below will evaluate to false, causing the block shown to be executed.
      if (isDir && !/\/$/.test(pathPart)) {
        res.setHeader('Location', pathPart + '/' + urlParts[2]);
        res.writeHead(301);
        res.end('Redirected', 'utf8');
        return;
      }

I was hoping I could work on this, since this is my first time contributing to any open source project and I'd like to learn how things work sooner rather than later.

This seems to be a regression from PRs #10304 and/or #10463.
/cc @april and @timvandermeij

I can take a look at this, but it may take me a while to spin up a Windows machine and get everything working.
@monchouchou, can you share some details about your Windows setup? Is this all running under the Windows Subsystem for Linux?

@april, no, this is all on Windows 10 + MinGW. Node.js version 10.16.0 (LTS)

I do have a Linux VM that I could use if there's any specific need.

[...] but it may take me a while to spin up a Windows machine and get everything working.

Instinctively, I'd assume that this is now generally broken regardless of platform and/or operating system.
@timvandermeij I seem to recall you being on Linux; if so can you test this by running gulp server and then visting http://localhost:8888/test/pdfs/?frame in a browser?

Works for me on Arch Linux. After gulp server I get the page with the panel on the right. If I click one of the PDF files, it loads in the left panel.

I remember running the same test on macOS without any issue. I feel like this probably would have been found before if it was a common issue, as the PRs were merged about 9 and 6 months ago, respectively.

I feel like this probably would have been found before if it was a common issue,

Well, this regression basically means that a potentially very useful tool testing/debugging is broken on Windows (which isn't exactly an uncommon OS).

+1 on this ... Same issue, but I was just too lazy to debug it and report it ...

If it's alright, I think I might get started on this?

Yes, feel free to make a patch for this.


Use documented type for promql type on hover

Signed-off-by: Drumil Patel<EMAIL_ADDRESS>Fixes #132

@slrtbtfs Please review

Thanks!


Update reek to 3.3.1

Following up on #79, this bumps reek to the latest release (reek v3.3.1) which shouldn't break the build

I need to revert this as AST processing breaks on some input in morpher:
mbj@mbj ~/devel/ruby/morpher (fix/upgrade-anima) % bundle exec rake metrics:reek
/home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/ast/sexp_extensions.rb:435:in `defines_module?': undefined method `simple_name' for nil:NilClass (NoMethodError)
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:60:in `process_casgn'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:44:in `process'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:83:in `block in process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `each'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:53:in `block in process_module'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:201:in `block in inside_new_context'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:214:in `push'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:200:in `inside_new_context'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:52:in `process_module'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:44:in `process'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:83:in `block in process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `each'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:139:in `process_begin'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:44:in `process'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:83:in `block in process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `each'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:53:in `block in process_module'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:201:in `block in inside_new_context'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:214:in `push'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:200:in `inside_new_context'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:52:in `process_module'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:44:in `process'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:83:in `block in process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `each'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:53:in `block in process_module'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:201:in `block in inside_new_context'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:214:in `push'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:200:in `inside_new_context'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:52:in `process_module'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:44:in `process'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:83:in `block in process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `each'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:82:in `process_default'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:139:in `process_begin'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:44:in `process'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:38:in `result'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/tree_walker.rb:27:in `walk'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/examiner.rb:77:in `run'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/examiner.rb:37:in `initialize'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/cli/reek_command.rb:14:in `new'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/cli/reek_command.rb:14:in `block in execute'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/cli/reek_command.rb:13:in `each'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/cli/reek_command.rb:13:in `execute'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/lib/reek/cli/application.rb:34:in `execute'
        from /home/mbj/.gem/ruby/2.2.3/gems/reek-3.3.1/bin/reek:12:in `<top (required)>'
        from /home/mbj/.gem/ruby/2.2.3/bin/reek:23:in `load'
        from /home/mbj/.gem/ruby/2.2.3/bin/reek:23:in `<main>'

!!! `reek` has found smells - exiting!


how to increase the length of line between circles

yeah,this is I‘m working!

Hi，It' was been updated !🔢

I wanted to do it with horizontal step view indicator.


chore: fix all clippy warnings

Description
Problem
No issue, just a chore.
Summary
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

$ cargo clippy --version
clippy 0.1.78

That's on the root of the project. I don't know why we have different clippy versions 🤔

That's on the root of the project. I don't know why we have different clippy versions 🤔

Where? Looking in Cargo.toml I see:
rust-version = "1.74.1"

I see, thanks. I think I installed Rust via homebrew and I probably got a later version. I'll downgrade.


Invalid frame ID warnings

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
When I use the camera_name launch argument of the zed_camera.launch.py launch file without using the same value in the configuration file, I get the following warnings from the zed_wrapper node
[zed_wrapper-2] Warning: Invalid frame ID "zed_camera_center" passed to canTransform argument target_frame - frame does not exist
[zed_wrapper-2]          at line 133 in /opt/ros/foxy/src/geometry2/tf2/src/buffer_core.cpp

Steps to Reproduce
Use
ros2 launch zed_wrapper zed_camera.launch.py camera_name:=jetson_5 camera_model:=zed2i config_camera_path:="${ROS_WS}/install/zed_wrapper/share/zed_wrapper/config/zed2i.yaml

where ROS_WS is the path to my ROS workspace.
Expected Result
I expect the zed_wrapper node to look for the same TF frames as the robot_state_publisher node publishes.
Actual Result
The zed_wrapper node doesn't look for the same TF frames as the robot_state_publisher publishes. See below.
[...]
[robot_state_publisher-1]<PHONE_NUMBER>.012859 [0] robot_stat: using network interface eth0 (udp/<IP_ADDRESS>) selected arbitrarily from: eth0, docker0
[robot_state_publisher-1] Parsing robot urdf xml string.
[robot_state_publisher-1] Link jetson_5_base_link had 1 children
[robot_state_publisher-1] Link jetson_5_camera_center had 2 children
[robot_state_publisher-1] Link jetson_5_left_camera_frame had 1 children
[robot_state_publisher-1] Link jetson_5_left_camera_optical_frame had 0 children
[robot_state_publisher-1] Link jetson_5_right_camera_frame had 1 children
[robot_state_publisher-1] Link jetson_5_right_camera_optical_frame had 0 children
[robot_state_publisher-1]<PHONE_NUMBER>.078615524 [jetson_5.zed_state_publisher] [INFO] got segment base_link
[robot_state_publisher-1]<PHONE_NUMBER>.079038502 [jetson_5.zed_state_publisher] [INFO] got segment jetson_5_base_link
[robot_state_publisher-1]<PHONE_NUMBER>.079149511 [jetson_5.zed_state_publisher] [INFO] got segment jetson_5_camera_center
[robot_state_publisher-1]<PHONE_NUMBER>.079236936 [jetson_5.zed_state_publisher] [INFO] got segment jetson_5_left_camera_frame
[robot_state_publisher-1]<PHONE_NUMBER>.079319016 [jetson_5.zed_state_publisher] [INFO] got segment jetson_5_left_camera_optical_frame
[robot_state_publisher-1]<PHONE_NUMBER>.079401705 [jetson_5.zed_state_publisher] [INFO] got segment jetson_5_right_camera_frame
[robot_state_publisher-1]<PHONE_NUMBER>.079520874 [jetson_5.zed_state_publisher] [INFO] got segment jetson_5_right_camera_optical_frame
[...]
[zed_wrapper-2]<PHONE_NUMBER>.948735656 [jetson_5.zed_node] [INFO] *** TF FRAMES ***
[zed_wrapper-2]<PHONE_NUMBER>.948852425 [jetson_5.zed_node] [INFO]  * Map                  -> map
[zed_wrapper-2]<PHONE_NUMBER>.949024362 [jetson_5.zed_node] [INFO]  * Odometry                     -> odom
[zed_wrapper-2]<PHONE_NUMBER>.949170891 [jetson_5.zed_node] [INFO]  * Base                 -> base_link
[zed_wrapper-2]<PHONE_NUMBER>.949272268 [jetson_5.zed_node] [INFO]  * Camera                       -> zed_camera_center
[zed_wrapper-2]<PHONE_NUMBER>.949370349 [jetson_5.zed_node] [INFO]  * Left                 -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.949466989 [jetson_5.zed_node] [INFO]  * Left Optical         -> zed_left_camera_optical_frame
[zed_wrapper-2]<PHONE_NUMBER>.949564526 [jetson_5.zed_node] [INFO]  * RGB                  -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.949695695 [jetson_5.zed_node] [INFO]  * RGB Optical          -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.949854832 [jetson_5.zed_node] [INFO]  * Right                        -> zed_right_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.949954769 [jetson_5.zed_node] [INFO]  * Right Optical                -> zed_right_camera_optical_frame
[zed_wrapper-2]<PHONE_NUMBER>.950051122 [jetson_5.zed_node] [INFO]  * Depth                        -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.950147890 [jetson_5.zed_node] [INFO]  * Depth Optical                -> zed_left_camera_optical_frame
[zed_wrapper-2]<PHONE_NUMBER>.950258771 [jetson_5.zed_node] [INFO]  * Point Cloud          -> zed_left_camera_optical_frame
[zed_wrapper-2]<PHONE_NUMBER>.950387764 [jetson_5.zed_node] [INFO]  * Disparity            -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.950517653 [jetson_5.zed_node] [INFO]  * Disparity Optical    -> zed_left_camera_optical_frame
[zed_wrapper-2]<PHONE_NUMBER>.950642614 [jetson_5.zed_node] [INFO]  * Confidence           -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.950739766 [jetson_5.zed_node] [INFO]  * Confidence Optical   -> zed_left_camera_optical_frame
[zed_wrapper-2]<PHONE_NUMBER>.950836599 [jetson_5.zed_node] [INFO]  * IMU                  -> zed_imu_link
[zed_wrapper-2]<PHONE_NUMBER>.950964920 [jetson_5.zed_node] [INFO]  * Barometer            -> zed_camera_center
[zed_wrapper-2]<PHONE_NUMBER>.951069881 [jetson_5.zed_node] [INFO]  * Magnetometer         -> zed_imu_link
[zed_wrapper-2]<PHONE_NUMBER>.951201818 [jetson_5.zed_node] [INFO]  * Left Temperature     -> zed_left_camera_frame
[zed_wrapper-2]<PHONE_NUMBER>.951333819 [jetson_5.zed_node] [INFO]  * Right Temperature    -> zed_right_camera_frame
[...]
[zed_wrapper-2] Warning: Invalid frame ID "zed_camera_center" passed to canTransform argument source_frame - frame does not exist
[zed_wrapper-2]          at line 133 in /opt/ros/foxy/src/geometry2/tf2/src/buffer_core.cpp

ZED Camera model
ZED2i
Environment
OS: NVIDIA L4T R32.6.1 (Jetpack 4.6)
CPU: ARM
GPU: NVIDIA Jetson Xavier NX
ZED SDK Version: 3.6
ROS distro: foxy

Anything else?
I think the issue stems from the zed_camera.launch.py launch argument camera_name not overriding the general.camera_name parameter of the zed_wrapper_node here.

Hi @kevinanschau
thank you for the bug report. You are right, the general.camera_name is surely not overridden.
I'm going to review your PR to solve the issue


No field "pm" in TimeDependentSum

In the following code, the ProjMPOSum type does not have the field "pm".
TimeDependentSum(f::Vector, H0::ProjMPOSum) = TimeDependentSum(f, H0.pm)

Thanks, this was changed to ITensors.term(H0) in https://github.com/ITensor/ITensors.jl/pull/1046.


wip: set extraNonce1 for non-complaint miners.

This updates miner implementations to set the extraNonce1 values for miners that do not fully comply to the stratum spec.
This also fixes client read/write related bugs as well as a connection counter decrement bug.
Fixes #81.

This currently has the fix for the DR3 and DR5, testing with the D1 has been scheduled.


Role of XDEBUG_SESSION cookie

I'm a bit confused with the role of this XDEBUG_SESSION cookie. It is not mentioned anywhere in the documentation of this plugin, but in my case, I managed to make it work only when this cookie is present and it has this specific value: 58027742. Now... why this value?
Before giving this plugin a shot, I was experimenting with PHP Tools for Visual Studio. And when I was launching my project using that one, it would open a browser with XDEBUG_SESSION_START=58027742 in the end. It is weird, but the only way I can have debugging with Visual Studio Code and vscode-php-debug plugin is to append this to my page url ?XDEBUG_SESSION_START=58027742
Any ideas?

There are multiple ways to make XDebug start a debug session when you request a PHP file from your webserver, setting a GET or POST parameter, setting a cookie or using a browser extension that sets these. Another solution which I find the easiest is to set xdebug.remote_autostart in php.ine, which will make XDebug always try to start a session. This is the way I recommend in the readme. But you can of course use the other ways too. The number is simply an ID for the session, it doesn't mean anything, you just have to use the same value everywhere.
You can read more here: https://xdebug.org/docs/remote#browser_session

Unfortunately the remote_autostart doesn't work for me. I think I forgot to
mention that I'm doing remote debugging. The app is in a vagrant VM. So you
are saying that the ID value is not important as long as it is the same
everywhere. But where is this everywhere? The only place I have it know is
a cookie, but it somehow works. If I change the value to something else it
doesn't.
On Fri, 11 Mar 2016 at 17:25 Felix Becker<EMAIL_ADDRESS>wrote:

There are multiple ways to make XDebug start a debug session when you
request a PHP file from your webserver, setting a GET or POST parameter,
setting a cookie or using a browser extension that sets these. Another
solution which I find the easiest is to set xdebug.remote_autostart in
php.ine, which will make XDebug always try to start a session. This is the
way I recommend in the readme. But you can of course use the other ways
too. The number is simply an ID for the session, it doesn't mean anything,
you just have to use the same value everywhere.
You can read more here: https://xdebug.org/docs/remote#browser_session
—
Reply to this email directly or view it on GitHub
https://github.com/felixfbecker/vscode-php-debug/issues/24#issuecomment-195438340
.

For remote host debugging, a bit more setup is necessary. You will either have to set remote_host to the IP of the machine you are running VS Code on or set remote_connect_back = 1. Please refer to the XDebug documentation I linked, I don't know anything more than what it says on that page ;)