Get-CertificationAuthorityAcl is no longer returning ACLs on PowerShell 7.4.1

It seems like there is some change in Powershell 7.4+ that causes the Get-CertificationAuthorityAcl to no longer return data.
Expected behavior (using PSPKI 4.2.0 running on Powershell 7.2.18 on Windows Server 2016 Standard):
(Get-CertificationAuthority CA01.uad-dev.xxx.xxx |  Get-CertificationAuthorityAcl).Access

Rights            : Enroll
AccessControlType : Allow
IdentityReference : NT AUTHORITY\Authenticated Users
IsInherited       : False
InheritanceFlags  : None
PropagationFlags  : None

Rights            : ManageCA, ManageCertificates
AccessControlType : Allow
IdentityReference : BUILTIN\Administrators
IsInherited       : False
InheritanceFlags  : None
PropagationFlags  : None

Rights            : ManageCA, ManageCertificates
AccessControlType : Allow
IdentityReference : UAD-DEV\Domain Admins
IsInherited       : False
InheritanceFlags  : None
PropagationFlags  : None

Rights            : ManageCA, ManageCertificates
AccessControlType : Allow
IdentityReference : UAD-DEV\Enterprise Admins
IsInherited       : False
InheritanceFlags  : None
PropagationFlags  : None

Behavior using PSPKI 4.2.0 on Powershell 7.4.1 on Windows Server 2016 Standard:
(Get-CertificationAuthority CA01.uad-dev.xxx.xxx |  Get-CertificationAuthorityAcl -verbose )

Path Owner Access
---- ----- ------

The Get-CertificationAuthority command works fine, it could be something with the GetSecurityDescriptor method.

This module was never tested against PowerShell Core versions. The highest tested version is Windows PowerShell 5.1.


pyenv-venv command not found in git bash on Windows

I follow through the installation via Powershell and can confirm the installation is successful. I can bring up the pyenv-venv in powershell. I can also confirm the pyenv-win-venv\bin is added to the path. But in my git bash, it does not recognise the command at all.

OS: Win10
pyenv: 3.1.1
pyenv-win-venv: 0.6.3

I have pushed a new version which added support for git-bash.
Update the CLI using pyenv-venv update self


Get The Face bitmap from face detector

Hi,
In the Face class documentation it gives API for getting all sorts of landmarks of the face, i.e eyes, nose, rotation, location in the frame.
If I want to use the whole face cropped out of the frame is there a way to do so from the API?
I am struggling in doing this from the frame itself, because the detector is connected to the camera preview without any access from the user to the preview frames, it also skips frames for performance.
How can I for example in FaceGraphic draw method - before I draw a circle around the face, get the entire face from the frame? and send it somewhere else?
is this possible?

You can access the preview frame image as described here:
http://stackoverflow.com/questions/32299947/mobile-vision-api-concatenate-new-detector-object-to-continue-frame-processing/32314136#32314136

The link helps me get the "frame" but not its bitmap, I want to get the real frame, like I would from a matrix in openCV implementation, a databuffer would also suffice.

Yes, it's pretty simple to do so.
Assuming you've initialized your frame and loaded the full image bitmap into it, this is what I'd normally do:
SparseArray detectedFaces = detector.detect(frame);
for(int i=0;i<detectedFaces.size();i++){          //can't use for-each loops for SparseArrays
Face face = detectedFaces.valueAt(i);
//get it's coordinates
Bitmap faceBitmap = Bitmap.createBitmap(bitmap, (int) face.getPosition().x, (int) face.getPosition().y, (int) face.getWidth(), (int) face.getHeight());
//Do whatever you want with this cropped Bitmap

}

Could you please tell about the bitmap in the first argument of createBitmap.Where did it come from?Is that an empty bitmap?

frame.getBitmap() returns the bitmap.

@jagdeesh94 Were you able to find a working solution to this?

sorry for my English :), you can see an example using "takePicture", after the capture of the image are cropped the face and passed mainFragment.
https://github.com/bako-ak/face-detection

@bako-ak ,thanks for your input dude.Could you tell me where is the "takePicture" method that you are referring?.

@jagdeesh94  in a branch "develop" https://github.com/bako-ak/face-detection/blob/develop/app/src/main/java/kz/bako/facedetection/face/FaceFragment.kt
the line 39 is called when you click the button, after pressing the method calls "onPictureTaken", then get the face and pass back as a result.

@rahul its great and working but i want multiple faces in multiple imageview,any solution please?send me on<EMAIL_ADDRESS>

Can anyone pleaae help me regarding same issue??


Added pull request template and issue template

Fixes: #687

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@YaelRiv Please review.

@arielshaqed Please review.


PyPI: Changes to the Warehouse api

Are you experiencing an issue with...
badge-maker NPM package
🐞 Description
The Warehouse API is changing and will remove the key releases from the response.
This change is breaking service tests for PyPI.
🔗 Link to the badge
No response
💡 Possible Solution
Refactor services/pypi/pypi-base.js and services/pypi/pypi-helpers.js to use information from urls not from releases

Thanks @ericof! To add some additional detail, it seems that all of our badges (and service tests) that are using the version-specific endpoint are already failing:
e.g.
https://img.shields.io/pypi/djversions/djangorestframework/3.7.3

(screenshot for posterity)

https://app.circleci.com/pipelines/github/badges/daily-tests/1843/workflows/bdf0d5ca-6ffc-419e-a760-a82f9de96b94/jobs/2745/tests
PypiPythonVersions [live] python versions (no versions specified) [ GET /pyshp/1.2.12.json ]
[ GET /pyshp/1.2.12.json ]
/home/circleci/project/shields/core/service-test-runner/cli.js

AssertionError: message mismatch: expected 'invalid response data' to equal 'missing'
    at Function._expectField (file:///home/circleci/project/shields/core/service-test-runner/icedfrisby-shields.js:85:51)
    at IcedFrisbyNock.<anonymous> (file:///home/circleci/project/shields/core/service-test-runner/icedfrisby-shields.js:70:26)
    at IcedFrisbyNock.<anonymous> (node_modules/icedfrisby/lib/icedfrisby.js:954:10)
    at invokeNextHook (node_modules/icedfrisby/lib/icedfrisby.js:1003:24)
    at /home/circleci/project/shields/node_modules/icedfrisby/lib/icedfrisby.js:1017:7
    at new Promise (<anonymous>)
    at IcedFrisbyNock._runHooks (node_modules/icedfrisby/lib/icedfrisby.js:976:12)
    at IcedFrisbyNock.run (node_modules/icedfrisby/lib/icedfrisby.js:1276:20)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async Context.<anonymous> (node_modules/icedfrisby/lib/icedfrisby.js:1348:9)

This aligns with the documentation about the releases key being removed on the release API:
https://warehouse.pypa.io/api-reference/json.html#release

Previously this response included the releases key, which had the URLs for all files for every release of this project on PyPI. Due to stability concerns, this had to be removed from the release specific page, which now ONLY serves data specific to that release.

In my mind this not only necessitates urgent action to fix these badges, but also means we need to get in front of the badges that are using the project endpoint that likely makes up a far larger portion of the pypi badges we're currently serving.
Something that's unclear to me in these docs @ericof are the multiple references to the "Simple API", do you know what those are referring to?

@calebcartwright The PR #8251 fixes both cases: When you provide a release number or when you just pass the project name.
The new "Simple API" is based on PEP 691, but it does not seem to be a requirement to get the features shield.io provides.


RE7 performance issues

now, my GPU isn't the best at a 1660 super but I have to set everything at performance and the renderer at interlaced for it to only just work and the antialiasing is very low, even though it isn't the best GPU the other games like re2 and re3 work very well and looks great in VR, there may be something wrong with the rendering?

First make absolutely sure the Resolution Scaling option is not above 1.0, because that will multiply your actual resolution and it's super inefficient. Next, get off interlaced and instead, just temporarily set a lower resolution scale in the SteamVR video settings... playing with that option will have the most effect for you. I reckon minimum spec to enjoy this game given the heavy PCVR resolution it's running this at is a 2060, the 1660 is just short of that, but I'm hoping you might get something out of it with the SteamVR resolution % setting.

good RE7.... spin my 4090


MAINT/TYPING: resolve mypy warnings/errors

Reference issue

Companion PR to https://github.com/scipy/scipy/pull/13313
What does this implement/fix?

resolves all current mypy warnings/errors

some modules added to ignore list in mypy.ini
adds types when necessary in py files
adds a couple stub files for pyx files

Additional information

To work with numpy<1.20, numpy-stubs needs to be installed
Might think about running python runtests.py --mypy during CI to keep an eye on it (doesn't need to cause failure, but good to know when things start breaking)
Some typing features are not available for Pythnon 3.7 so they are simply ignored using a # type: ignore directive (see https://github.com/python/mypy/issues/2087#issuecomment-462726600 for a workaround that uses typing.Protocol which is only available in Python 3.8 or through the typing-extensions module)

@mdhaber Something seems to be going sideways with linprog docs somehow due to the changes in this PR.  Is there an easy answer here that I'm not seeing?  I'll attach the log, can provide more verbose output if needed.
sphinx-err-v6t_28sg.log

@mdhaber Something seems to be going sideways with linprog docs somehow due to the changes in this PR.  Is there an easy answer here that I'm not seeing?  I'll attach the log, can provide more verbose output if needed.
sphinx-err-v6t_28sg.log

@mdhaber Something seems to be going sideways with linprog docs somehow due to the changes in this PR.  Is there an easy answer here that I'm not seeing?  I'll attach the log, can provide more verbose output if needed.
sphinx-err-v6t_28sg.log

@mdhaber Something seems to be going sideways with linprog docs somehow due to the changes in this PR.  Is there an easy answer here that I'm not seeing?  I'll attach the log, can provide more verbose output if needed.
sphinx-err-v6t_28sg.log

Some typing features are not available for Pythnon 3.7 so they are simply ignored using a # type: ignore directive (see python/mypy#2087 (comment) for a workaround that uses typing.Protocol which is only available in Python 3.8 or through the typing-extensions module)

Use typing_extensions; we expect it to be available if anyone is using types with SciPy. (But guard it in an if TYPE_CHECKING block to not make it a runtime dependency.)

Some typing features are not available for Pythnon 3.7 so they are simply ignored using a # type: ignore directive (see python/mypy#2087 (comment) for a workaround that uses typing.Protocol which is only available in Python 3.8 or through the typing-extensions module)

Use typing_extensions; we expect it to be available if anyone is using types with SciPy. (But guard it in an if TYPE_CHECKING block to not make it a runtime dependency.)

I added some from __future__ import annotations and that seems to have cleared up the docs issues (fingers crossed).  Also added back in static typing dependent on typing_extensions.  @person142 Do you mind doing another once over to make sure everything looks okay?

I added some from __future__ import annotations and that seems to have cleared up the docs issues (fingers crossed).  Also added back in static typing dependent on typing_extensions.  @person142 Do you mind doing another once over to make sure everything looks okay?


🐛 [firebase_messaging] How to navigate after notification been clicked when App TERMINATED

Bug report
Describe the bug
cant navigate after notifiation been clicked, cases : App terminated
Steps to reproduce
already added this code :
FirebaseMessaging.onBackgroundMessage(_firebaseMessagingBackgroundHandler);
the documentation said that code for handler which background/terminated messages will call, the problem is only background it work properly , any something suggestion ?
Expected behavior
Can navigate after been clicked

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19042.867], locale en-ID)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1.0)
[√] VS Code (version 1.54.3)
[√] Connected device (3 available)

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.12.2
Flutter SDK 2.0.3
chaca_market 1.4.2+15

dependencies:
- any_link_preview 1.0.7 [flutter gbk2utf8 http html url_launcher]
- async 2.5.0 [collection]
- auto_size_text_field 1.0.0-nullsafety.1 [flutter]
- awesome_dialog 1.3.2 [flutter simple_animations flare_flutter]
- bloc 7.0.0-nullsafety.3 [meta]
- cached_network_image 3.0.0-nullsafety [flutter flutter_cache_manager octo_image]
- cloud_firestore 1.0.0 [cloud_firestore_platform_interface cloud_firestore_web firebase_core firebase_core_platform_interface flutter meta]
- cupertino_icons 1.0.2
- currency_text_input_formatter 2.0.0 [flutter intl]
- dio 4.0.0-beta7 [http_parser path]
- dotted_border 2.0.0-nullsafety.0 [flutter path_drawing]
- easy_localization 3.0.0 [flutter shared_preferences intl args path easy_logger flutter_localizations]
- easy_mask 1.1.5 [flutter]
- eva_icons_flutter 2.0.1 [flutter]
- extended_image 3.0.0 [extended_image_library flutter meta]
- firebase_auth 1.0.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 1.0.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 9.1.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_bloc 7.0.0-nullsafety.4 [flutter bloc provider]
- flutter_holo_date_picker 1.0.0-nullsafety.0 [flutter auto_size_text]
- flutter_keyboard_visibility 5.0.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web flutter]
- flutter_linkify 5.0.1 [flutter linkify]
- flutter_local_notifications 5.0.0 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_share 1.0.5 [flutter]
- 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_swiper 1.1.6 [flutter transformer_page_view flutter_page_indicator]
- flutter_webview_plugin 0.3.11 [flutter]
- fluttertoast 8.0.1-nullsafety.0 [flutter flutter_web_plugins]
- form_field_validator 1.0.1 [flutter intl]
- geolocator 7.0.1 [flutter geolocator_platform_interface geolocator_web]
- get 4.1.1 [flutter]
- google_fonts 2.0.0 [flutter http path_provider crypto]
- google_maps_flutter 2.0.1 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 3.0.1 [archive meta xml]
- image_crop 0.3.4 [flutter]
- image_picker 0.7.2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- intl 0.17.0 [clock path]
- intl_phone_field 1.4.4 [flutter]
- isolate 2.0.3
- json_serializable 3.5.1 [analyzer build build_config json_annotation meta path source_gen]
- location 4.1.1 [flutter location_platform_interface location_web meta]
- mime 1.0.0
- new_version 0.0.7 [flutter package_info_plus http html url_launcher]
- path 1.8.0
- permission_handler 6.0.1 [flutter meta permission_handler_platform_interface]
- photo_view 0.11.0 [flutter]
- pin_code_fields 7.0.0-nullsafety [flutter]
- platform_action_sheet 0.0.3 [flutter]
- pull_to_refresh 1.6.4 [flutter]
- quiver 3.0.0 [matcher]
- route_animation_helper 1.0.0+5 [flutter cupertino_icons]
- rxdart 0.26.0
- shared_preferences 2.0.5 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- super_tooltip 0.9.6 [flutter]
- timeago 3.0.1
- timer_count_down 1.0.4+1 [flutter]
- uni_links2 0.6.0+2 [uni_links2_platform_interface uni_links_web2 flutter]
- url_launcher 6.0.2 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web]
- webview_flutter 2.0.2 [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 st
ack_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]

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 2.0.0
- auto_size_text 3.0.0-nullsafety.0 [flutter]
- 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.8 [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.0 [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.0 [cloud_firestore_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 3.6.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 3.0.0 [typed_data]
- crypto 3.0.0 [collection typed_data]
- csslib 0.17.0 [source_span]
- dart_style 1.3.12 [analyzer args path pub_semver source_span]
- easy_logger 0.0.2 [flutter]
- extended_image_library 2.0.2 [crypto flutter http_client_helper path path_provider]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase_auth_platform_interface 4.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 1.0.0 [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_messaging_platform_interface 2.1.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 1.0.3 [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.0 [async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.0
- flare_dart 2.3.4
- flare_flutter 2.0.6 [flutter flare_dart meta]
- 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_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface]
- flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter]
- flutter_local_notifications_platform_interface 3.0.0 [flutter plugin_platform_interface]
- flutter_localizations 0.0.0 [flutter intl characters clock collection meta path typed_data vector_math]
- flutter_page_indicator 0.0.3 [flutter]
- flutter_plugin_android_lifecycle 2.0.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- gbk2utf8 1.0.1 [flutter]
- geolocator_platform_interface 2.0.0 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.0.1 [flutter flutter_web_plugins geolocator_platform_interface]
- glob 2.0.0 [async collection file path pedantic string_scanner]
- google_maps_flutter_platform_interface 2.0.1 [flutter meta plugin_platform_interface stream_transform collection]
- graphs 0.2.0
- html 0.15.0 [csslib source_span]
- http 0.13.0 [http_parser meta path pedantic]
- http_client_helper 2.0.1 [http]
- http_multi_server 2.2.0 [async]
- image_picker_platform_interface 2.0.1 [flutter meta http plugin_platform_interface]
- io 0.3.5 [meta path string_scanner]
- js 0.6.3
- json_annotation 3.1.1
- linkify 4.0.0
- location_platform_interface 2.1.0 [flutter meta plugin_platform_interface]
- location_web 3.0.0 [flutter flutter_web_plugins http_parser js location_platform_interface meta]
- logging 1.0.0
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- nested 1.0.0 [flutter]
- octo_image 1.0.0-nullsafety.1 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- package_info_plus 1.0.0 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- package_info_plus_linux 1.0.0 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.0.0 [flutter]
- package_info_plus_platform_interface 1.0.0 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.0 [http package_info_plus_platform_interface flutter flutter_web_plugins meta]
- package_info_plus_windows 1.0.0 [package_info_plus_platform_interface ffi flutter win32]
- 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
- permission_handler_platform_interface 3.0.0+1 [flutter meta plugin_platform_interface]
- 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]
- sa_v1_migration 1.1.2 [flutter]
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- 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]
- simple_animations 2.5.1 [flutter supercharged sa_v1_migration pedantic]
- 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+1 [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 1.12.0 [supercharged_dart flutter]
- supercharged_dart 1.4.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]
- timezone 0.7.0-nullsafety.0 [path]
- timing 0.1.1+3 [json_annotation]
- transformer_page_view 0.1.6 [flutter]
- typed_data 1.3.0 [collection]
- uni_links2_platform_interface 1.0.0+2 [plugin_platform_interface flutter]
- uni_links_web2 0.1.0+2 [uni_links2_platform_interface flutter flutter_web_plugins]
- url_launcher_linux 2.0.0 [flutter]
- url_launcher_macos 2.0.0 [flutter]
- url_launcher_platform_interface 2.0.2 [flutter plugin_platform_interface]
- url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins]
- url_launcher_windows 2.0.0 [flutter]
- uuid 3.0.1 [crypto]
- vector_math 2.1.0
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 1.2.0 [async crypto stream_channel]
- win32 2.0.0 [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]

@echomartha
You may be seeing this behavior, ie, unable to navigate after tapping on notification because firebase may not be getting the data back from the notification and hence no action takes place. See a similar open issue describing your case, https://github.com/FirebaseExtended/flutterfire/issues/4598.
Closing this as duplicate. If you disagree, write in comments and I'll reopen it.

@darshankawar  hey thanks for your response.
the data from notifification is showing , already print , this is the result

this is my code :
Future<void> _firebaseMessagingBackgroundHandler(RemoteMessage message) async {

  await Firebase.initializeApp();
FirebaseFirestore.instance.collection('message').doc('message').set({
    'message': message.data.toString(),

    // 'searchTerms': _authService.getSearchTermsByString(nameController.text)
  });
  print('Handling a background message ${message.messageId}');
}

its still because not getting the data ?


chore(main): release 1.7.2

:robot: I have created a release beep boop
1.7.2 (2024-07-09)
Bug Fixes

actions: installing alsa (04c0feb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/SHU-red/GopherLetics/releases/tag/v1.7.2 :sunflower:


AttributeError: np.sctypes was removed in NumPy 2.0 release

In the latest release of NumPy (2.0), the np.sctypes attribute has been removed. As a result, the following code in the imgaug library causes an AttributeError:
NP_FLOAT_TYPES = set(np.sctypes["float"])
NP_INT_TYPES = set(np.sctypes["int"])
NP_UINT_TYPES = set(np.sctypes["uint"])

This issue can be found in the following link:
Problematic code
I think modifying the code to directly reference NumPy's dtypes instead of using np.sctypes. For example:
NP_FLOAT_TYPES = {np.float16, np.float32, np.float64}
NP_INT_TYPES = {np.int8, np.int16, np.int32, np.int64}
NP_UINT_TYPES = {np.uint8, np.uint16, np.uint32, np.uint64}

Feel free to fill in the Python version and operating system, then copy and paste this into a new issue on the GitHub repository. Let me know if you need any more help!

This works for me. Thanks for your help!

This worked for me as well ! Thanks !


install failed in centos(CentOS release 6.8 (Final)) with python3.5

I have installed pystan by pip install pystan and already installed gcc by yum install gcc, but when I install prophet by pip install fbprophet, I got this reply:
# bin/pip install fbprophet
Collecting fbprophet
  Using cached fbprophet-0.1.post1.tar.gz
Requirement already satisfied: pandas in ./lib/python3.5/site-packages (from fbprophet)
Requirement already satisfied: pystan in ./lib/python3.5/site-packages (from fbprophet)
Requirement already satisfied: pytz>=2011k in ./lib/python3.5/site-packages (from pandas->fbprophet)
Requirement already satisfied: numpy>=1.7.0 in ./lib/python3.5/site-packages/numpy-1.12.0-py3.5-linux-x86_64.egg (from pandas->fbprophet)
Requirement already satisfied: python-dateutil>=2 in ./lib/python3.5/site-packages (from pandas->fbprophet)
Requirement already satisfied: Cython!=0.25.1,>=0.22 in ./lib/python3.5/site-packages (from pystan->fbprophet)
Requirement already satisfied: six>=1.5 in ./lib/python3.5/site-packages (from python-dateutil>=2->pandas->fbprophet)
Building wheels for collected packages: fbprophet
  Running setup.py bdist_wheel for fbprophet ... error
  Complete output from command /user/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-26bikl4m/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpko_q49elpip-wheel- --python-tag cp35:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib
  creating build/lib/fbprophet
  creating build/lib/fbprophet/stan_models
  INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_35bf14a7f93814266f16b4cf48b40a5a NOW.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for fbprophet
  Running setup.py clean for fbprophet
Failed to build fbprophet
Installing collected packages: fbprophet
  Running setup.py install for fbprophet ... error
    Complete output from command /user/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-26bikl4m/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xjarhmkf-record/install-record.txt --single-version-externally-managed --compile --install-headers /user/include/site/python3.5/fbprophet:
    running install
    running build
    running build_py
    creating build
    creating build/lib
    creating build/lib/fbprophet
    creating build/lib/fbprophet/stan_models
    INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_35bf14a7f93814266f16b4cf48b40a5a NOW.
    error: command 'gcc' failed with exit status 1

    ----------------------------------------
Command "/user/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-26bikl4m/fbprophet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xjarhmkf-record/install-record.txt --single-version-externally-managed --compile --install-headers /user/include/site/python3.5/fbprophet" failed with error code 1 in /tmp/pip-build-26bikl4m/fbprophet/

Could you help me to fix this problem? Thanks in advance.

Can you verify that pystan is working?
import pystan
model_code = 'parameters {real y;} model {y ~ normal(0,1);}'
model = pystan.StanModel(model_code=model_code)
y = model.sampling(n_jobs=1).extract()['y']
y.mean() # with luck the result will be near 0

It was hang here：
# bin/python3
Python 3.5.2 (default, Jul 20 2016, 13:58:31)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pystan
>>> model_code = 'parameters {real y;} model {y ~ normal(0,1);}'
>>> model = pystan.StanModel(model_code=model_code)
INFO:pystan:COMPILING THE C++ CODE FOR MODEL anon_model_5944b02c79788fa0db5b3a93728ca2bf NOW.

should I reinstall the pystan?

Yes the installation is failing because pystan is not working.
You could try reinstalling. It seems that the cython version could be another potential source of problem: https://github.com/stan-dev/pystan/issues/206

@bletham ,Thank you very much,I found the reason, it is the same with Which other dependencies for Python+Linux? ,I upgrade the VM to 2G, it gone be work.

Wonderful! I added a note to the installation instructions about the memory requirement in VMs (https://github.com/facebookincubator/prophet/commit/5e8e3ee958ff43dff27d7e528cc8439d1e77161c). Thanks for helping debug this.


Is there any pre-built version for offline installation?

I am trying to compile the hue without CDH on a no internet access environment. However the compiling process need to download some python libs like ciff, thus it throws out a connection error.
So any pre built version of hue can be provided?

@romainr Thanks
While I want to use hue independent of CDH, can I extract the hue package from the cdh parcel?

This should work too, just make sure to use the same os
On Wed, Jan 31, 2018 at 6:45 PM Junfeng Chen<EMAIL_ADDRESS>wrote:

@romainr https://github.com/romainr Thanks
While I want to use hue independent of CDH, can I extract the hue package
from the cdh parcel?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cloudera/hue/issues/654#issuecomment-362141155, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABGGZfVJ7cdElh574wSXHTjwXgS_UrHks5tQSVLgaJpZM4RzgA_
.


Error with non-constraind generic struct

OK
@class mutable AbstractLog{T <: Real} begin
    pos::Matrix{T}
end

Not OK
@class mutable AbstractLog{T} begin
    pos::Matrix{T}
end

This standard definition is OK
mutable struct AbstractLog{T}
    pos::Matrix{T}
end

Thanks for reporting that. Fixed in v0.1.1


Add ability to re-order custom "detail" buttons

Custom “detail” buttons should move into the order we want, just like in the concept panel. We LOVE this new feature. . .

This is resolved in https://github.com/mbari-media-management/vars-annotation/releases/tag/1.1.13


New Visualization: # files/lines changes per PR

There may be some value in looking at the #files/line changed per PR and comparing the values of the merged vs not merged. An example of a similar idea of is is the "average commits per pull request" in the augur demo PR notebook.This visualization is not fully fleshed out for the purpose of exploring some different ways of looking at this to determine if this is useful to look at and which fashion
Acceptance criteria:

[ ] Determine if there should be comparison by year or all together
[ ] Determine how the data should be aggregated
[ ] Would a histogram of some sort be better for this?
[ ] Determine if this should be added to an existing notebook or stand on its own
[ ] Look into @GregSutcliffe 's article regarding lines vs. num files.

ref. to article in last point: https://theforeman.org/2019/03/merge-time-review-complexity.html

Initial visual analysis done. Next steps: Briefly look at statistical trends in merge-wise PR survival analysis. Try to estimate some general trends.

What are the lines of code and # files changed statistics across the categories of closed, merged, and still open PRs? This line of inquiry neglects to consider, for the moment, what the time-window is for each class.
In the future, community architects analyzing repositories in this way could be interested in deriving some PR-max-change guidance to help accelerate review and merges.
Inspired by the work in the above Greg Sutcliffe's article, the following work will involve some probabilistic survival analysis regarding probability of PR merge within a reasonable timeframe as a function of lines of code. This will then be extended by including files changed.

This seems like a good candidate library: https://github.com/CamDavidsonPilon/lifelines
We can use this to plot SA.

@JamesKunstle Will be doing some more detail comments later, but these are great updates! Will be pointing to this issue as an example for future new visualizations as to how to document progress. As you make these a few of these updates, send a message to the chat room to get more eyes on the comments as

@JamesKunstle next time you start working on this ping me. Some developments here


[WIP] Updates to Marketing Typography

This PR starts to work some of GitHub's recent site design changes back into Primer, starting with typography. It does the following:

Renames variables and classes from being prefixed with alt- to suffixed with -mktg. This is more descriptive for how they are to be used, the packages they are in, and matches other Primer naming conventions.
Removes Roboto as our marketing font, and replaces it with InterUI
Updates the marketing font sizing scale, specifically

To simplify it / make it more aligned with Primer Core scale
To add h000 size, extra biggo

Removes $alt-mono-font because we don't need two mono-fonts
Remove alt-text-small since f5 does the same thing
Updates docs for all of the above

To-do:

[ ] Figure out how to host InterUI in Primer (maybe?)

/cc @primer/ds-core & @trosage (who wrote most of this in github/github)

Did a little research on how other design systems serve fonts. Solid assumes you have two fonts available on your app and then gives instructions for how to get them. Others (Polaris, Salesforce LDS, Trello) do not mention specifically how to get them. Gov.uk seems to serve them from within the system but I can't figure out all the specifics of how it works.
Since InterUI is open source, I'm leaning towards the first option: writing documentation for how to install it on a project rather than including it within Primer.
Any suggestions @primer/ds-core?

Just my two cents:
Inter UI doesn't support a monospace font I think, and it's a little weird how Rasmus's website is displaying and styling the typeface itself:

There isn't a differentiation between display and body text for Inter-UI, and I believe the designer is doing it manually through the styling
Apple's -apple-system auto corrects between SF Pro Display and SF Pro Text, I think:
https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/typography/
I think Inter-UI might be a headache for teams to go in manually to declare styling... but there could be a information I'm missing

Hey @jhuashao - thanks for your comment!

Inter UI doesn't support a monospace font I think / There isn't a differentiation between display and body text for Inter-UI

Luckily, we're only using Inter for headings (and only on Marketing sites). Body copy on any marketing site will use the system font stack that is used on the rest of GitHub. Same thing goes for mono, so we aren't defining anything special for marketing sites and it can match with the product.
My biggest question at the moment is what is the best approach for installing the font files. I personally think it would be best to link directly to https://github.com/rsms/inter/releases/tag/v3.0 and providing documentation, but I agree that this manual approach could be a headache!

just wanted to leave a note here that there are still some alt- classes used in github/github so we should double check that is updated before this is merged in
as well as probably a handful of subdomains that are using them too, e.g. Partners site
i have some spare time between projects and will open a PR shortly to update in github/github!

Hi friends! Drive-by lurker here. 👋
I'm curious what prompted the decision to replace Roboto with InterUI.

That good


QEMU: Test with latest image, evaluate the results and open issues

@SrideviRamesh  Can you take a look at the QEMU build process for this..  and we can put the code under extended folder or tools...

Automated the QEMU build
Automate the QEMU session
Trigger the CI build run to start with.

@SrideviRamesh has wrote a basic shell script to automated the QEMU build and starting session. Using that we can now run the test cases.

Sridevi, Please ensure QEMU all test passes. IF there is failure, please open issues accordingly.

This is ongoing activity

@SrideviRamesh  Please track this internally via RTC.


Add remote data encoder support.

What was changed
Added support for remote data encoders. This is a new API currently under review at https://github.com/temporalio/sdk-go/pull/717. This PR should not be merged until the SDK PR is merged.
For this first iteration only basic auth is supported via<EMAIL_ADDRESS>oauth for the remote encoder is not supported.
Why?
This allows the web UI to make use of a shared remote encoder rather than needing to run tctl dc web command locally. In this deployment model developers don't need to use the tctl plugin system or have access to the encryption keys on their development machine.
Checklist

How was this tested:

Tested on my integration branch of backgroud-checks which has a full encryption data converter setup for a sample Temporal application.

Any docs updates needed?

Yes, documentation will be needed to explain how to deploy such a system.

@GiantRobots Can you work with @robholland to get this merged in?


Capturing failing tests?

One thing I was thinking that would be very handful if it was able to capture the output of failing lists and easily let you open those files with failing tests in the buffer or perhaps as a CtrlP plugin like ctrlp-modified

Doesn't vim-dispatch already have similar functionality?

Not that can see in the documentation.

I mean, it doesn't save the output to a file, but it makes a quickfix out of test errors, which you can then easily navigate with vim-unimpaired. I think this should be more than suitable for most people.
Any integration like the one you're describing can be implemented by adding a custom strategy, and is not something I think vim-test should ship with.


Added the ability to pass a file like object to upload_attachment, in ad...

...dition to a file path.
This allows passing in an ActionDispatch::Http::UploadedFile, or any other file like object, which RestClient takes care of uploading.

This is useful for applications that don't have filesystem access. This allows you to attach data you have in memory, via a StringIO object, for example.


Lync Connector questions

Hello!
I have a problem with some points in your Lync script.

You have an expression CustomExpression(IIF(Eq(xSkypeEntitlement,"Active"),"true","false" → Enabled. Correctly I understand, what if in MV attribute xSkypeEntitlement will be something like "Active", parameter "Enabled" will get "true" value and user will get Skype access? If this attribute will be empty, what will happenes? It can be empty, for example, for fired users.
In my first configuration I don't use this attribute, but I have many disabled users and this script want to give all this users acces to Skype. Now I have added this attribute and sync flow for it, but Lync MA anyway want to give acces for this users to Skype. But if I correctly understand conditions for rule from question 1 it must not be happened.
Maybe it would be better to make this rule pool1.contoso.com → RegistrarPool only to initial flow? If I have 2 pools, I can provision them to first one and later administrator will move users to second if needed. And my sync rule will not update this attribute after provisioning.
Thank for you work and help!

First, the sample sync rule listed in the Wiki is not part of the Lync connector, it's your business logic and you should configure to meet any specific use cases that you want to implement.  You should think of any custom connector as any other out-of-the-box connector, e.g. AD MA, if it helps conceptualise better. You'd probably able to answer your own questions if you consider Lync MA = AD MA.
#1 - This expression will not control whether account is provisioned or no. It will only control whether the account is enabled or disabled. In this specific example, if the value is not "Active", account will be disabled.
#2 - The configuration to provision an account or not, is a separate configuration on Sync Rule. It's called "Create Resource In External System". You should control that as per your use case. In the example, it's controlled by "Outbound System Scoping Filter" which in the example says if the user has an AD account, give it an Lync account as well. You can modify as per your business requirement. e.g. you could use xSkypeEntitlement. In fact, for one of my customer, I'm using that attribute and hence its a string attribute instead of a Boolean attribute as it just not used to control whether account is enabled/disabled, but also drives actual entitlement.
#3 - Again it's up to you and how you want FIM to drive or not drive source of authority.


Upgrade rodio version and add a symphonia_mp4 feature

I wanted to pass an mp4 file to a Whisper model. This requires upgrades rodio from 0.17.1 to 0.20.1 (latest version) and adding the symphonia backend to rodio.
I've also added a symphonia_mp4 feature which enables all the mp4 related features of symphonia.
I think the other way to do this would simply to be bump rodio in the library and then I could import the same version in my project with the symphonia features enabled (it doesn't work with 0.17.1 for some reason. So if you prefer not to have a feature for this and just bump rodio please let me know and I can change the PR.
p.s. This is a really cool crate!!! Enjoying using it.

I think the other way to do this would simply to be bump rodio in the library and then I could import the same version in my project with the symphonia features enabled (it doesn't work with 0.17.1 for some reason. So if you prefer not to have a feature for this and just bump rodio please let me know and I can change the PR.

Thanks for opening this PR, I think it would be better to just add the feature to the rodio dependency in the final crate since that is where you can use the mp4 decoding feature. If you need to load an audio file today for denoising or transcription, you need to add the rodio dependency already to decode the file


Bug: Repository initialization failing when passing execute_options argument

Description
After updating to the latest version the newly introduced execution_options variable of the repository throws an InvalidRequestError when providing the variable during the Repository initialization. This issue occurs on both Sync and Async repositories.
The problem occurs from the lambda statement and i found out that it can be fixed by simply setting the track_bound_values=False and enable_tracking=False ( here and here) on the lambda statement during the repository initialization.
This issue does not occur on the repository functions (e.g. get etc) as during those the _get_base_statement function correctly sets the tracking variables to false
I would be more than happy to contribute and open a PR to address this
URL to code causing the issue
No response
MCVE
from advanced_alchemy.base import UUIDBase
from advanced_alchemy.repository import SQLAlchemySyncRepository
from sqlalchemy import create_engine
from sqlalchemy.orm import Mapped, Session, sessionmaker

# Note that the same applies also to SQLAlchemyAsyncRepository

class User(UUIDBase):
    name: Mapped[str]

class UserRepository(SQLAlchemySyncRepository[User]):
    model_type = User

engine = create_engine("sqlite:///:memory:")
session_factory: sessionmaker[Session] = sessionmaker(engine, expire_on_commit=False)

with engine.begin() as conn:
    User.metadata.create_all(conn)

with session_factory() as session:
    repository = UserRepository(session=session, execution_options={"populate_existing": True})

Steps to reproduce
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots
"In the format of: ![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"
Logs
sqlalchemy.exc.InvalidRequestError: Can't invoke Python callable keys() inside of lambda expression argument at <code object <lambda> at 0x1036c26b0, file /lib/python3.11/site-packages/advanced_alchemy/repository/_sync.py", line 110>; lambda SQL constructs should not invoke functions from closure variables to produce literal values since the lambda SQL system normally extracts bound values without actually invoking the lambda or any functions within it.  Call the function outside of the lambda and assign to a local variable that is used in the lambda as a closure variable, or set track_bound_values=False if the return value of this function is used in some other way other than a SQL bound value.

Package Version
v0.11.0
Platform

[ ] Linux
[X] Mac
[ ] Windows
[ ] Other (Please specify in the description above)

We don't want to disable caching completely because that impacts subsequent calls to that repository object.
However, I think the fix in main will indirectly handle this as well.

Yeap i checked your latest release it is indeed fixed, thanks 🎉


Input data has missing bits

#16.95/53.578855/-0.652757

I managed to test a route ending by here as the first one, thinking I had a bug. Might be an issue extracting the input from the gpkg

Irrelevant with new approach


Pointer events no longer working when I click the descendants button

Describe the bug
I need to fire a JavaScript event when the descendants button is clicked. I used to be able to do that in previous versions by doing document.addEventListener('click', (e) => e.target.closet('.node-button-g') ...do stuff). But now it looks like pointer events for the descendants button are disabled. It still works when I click inside the node just not the button.
Additional context
Please re-enable pointer events or what would be even nice would be to have a callback that is fired when the button is clicked. I noticed there is a onButtonClick function but that does not have a callback and looks more like a way to manually click the button.

@seanpmaxwell  I don't remember disabling pointer events, I added stopPropagation method though, because it was causing a bug in Safari
https://github.com/bumbeishvili/org-chart/issues/290
You can use a new method, called onExpandOrCollapse to do the same stuff
https://github.com/bumbeishvili/org-chart/blob/0b70fef70f801855e335f7db061237491eaa31fd/src/d3-org-chart.js#L77C13-L77C31

Thanks onExpandOrCollapse is just what I needed. yeah it was prob the stopPropagation which cause it to no longer work.


style: add same components on signup page from sing in page

🐛 Fixed Issues
#116 #117
🛠 Changes
Replaced Input and Button components with shadcn/UI Components on Signup Page, similar to signin page.
Refactor some styling to make the signup layout consistent with signin layout.
Added a Google login button on signup page similar to the signin page. Refactored the google login into a separate shared component.
📝 Notes for Reviewers
Check the screenshot from testing on dev environment

@prasenjeet-symon this should close #116 and #117

@lokjaw You forgot to put the following text on the page "Already have an account? Sign in.". But it's ok I am creating a new issue regarding this.


Unable to create OTOCO/OCO?, orders in binace futures

I am using binance futures, but I dont make orders/positions of otoco type.
At moment I am poling in the exchange for order status, puted by api rest, but, if I make operations from the binance futures dashboard, my websocket detect OTOCO orders type. If take profit or stoploss are triggered, all orders and positions closes inmediatly.
Positions and orders puted by api rest, It is mandatory to sense the orders and close them manually if/tp/sl are tiggered. :-(
Some advice?.

I am thinking do it with websocket using user data stream
https://dev.binance.vision/t/how-to-implement-otoco-tp-sl-orders-using-api/1622

I am thinking do it with websocket using user data stream
https://dev.binance.vision/t/how-to-implement-otoco-tp-sl-orders-using-api/1622

can you post the code you used?


Do not depend on binaries, but invoke libraries directly: Generation Part

I notice that we invoke binaries all over the place. Get rid of the invocation and use libraries instead.
While this is a general problem, let's focus on the generation submodule first.
There is an ongoing discussion in sea-orm how to use it functionally directly/programmatically.
https://github.com/SeaQL/sea-orm/discussions/1036
https://github.com/SeaQL/sea-orm/issues/1047

This is also a good one for enhancement!


Looking for Linux 32 bit JRE (jdk8u212-b04)

Hi,
We are looking for Linux 32 bit JRE. We have not found the 32 bit Linux JRE for download. But in the Support Matrix we have gone through the below statement :
" Note: Any other Linux distributions that have a minimum glibc version 2.12 on x86 or version glibc version 2.17 on other architectures are expected to function without problems."
As per the above note, we tried 64 bit Linux JRE on Linux x86 (32 bit), but it was not working. Could you please suggest us where we need to pick the 32 bit JRE. Please provide us any suggestion or Links.
Thanks,
Ravichand

#986


Attribute ordering on XML

Should import fix from IUC utility script to re-order XML attributes on output. TODO: find the fraking script.


Fix/Upgrade 02 2024

Upgrade deps
Fix eligibility null value
Fix android notification icon

@johannesvedder Can you remove the fix android notification icon commit (https://github.com/hpi-studyu/studyu/pull/586/commits/23656f60d3de85d2007e9c88c28656b4503d7e7b)
So that we can use #587 instead.


[Bug] https status 102 not supported

Insomnia Version: v6.0.2
Operating System: Ubuntu 17.04

Details
When using Insomnia to make request that returns an http response code of 102 (Processing) it indicates that no headers or data were returned. Linked to this issue is the fact that because this status isn't supported the request takes ~2 seconds to output this error:
Error: Server returned nothing (no headers, no data)
rather than immediately stating the code isn't supported.
Could insomnia either support this response code, or if that's not in scope support a more useful error message such as "http code not supported" if the code is sent by the API but not supported by Insomnia to save confusion.
Happy to submit a PR if this is worth a shout.

Hey @samisagit. I'm not quite sure what's happening here. Insomnia uses libcurl to make requests, which I can confirm returns an error (see example below). I'm not, however, seeing the delay you speak of. If you can post the result from the Timeline tab or provide a public URL that can reproduce the problem, I may be able to see the issue.
curl -v http://httpbin.org/status/102
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to httpbin.org (<IP_ADDRESS>) port 80 (#0)
> GET /status/102 HTTP/1.1
> Host: httpbin.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 102 PROCESSING
< Connection: keep-alive
< Server: gunicorn/19.9.0
< Date: Tue, 06 Nov 2018 00:08:02 GMT
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=utf-8
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< Via: 1.1 vegur
* Illegal or missing hexadecimal sequence in chunked-encoding
* stopped the pause stream!
* Closing connection 0
curl: (56) Illegal or missing hexadecimal sequence in chunked-encoding


[Feature/Question] How to Add Middleware to Axum in Full Stack

Hiya (* ^ ω ^)ノ,
While working on our first open-source, full-stack, production-ready template, I noticed there’s no clear way to add middleware to Axum in the server setup. Middleware would be particularly useful for tasks like storing JWT tokens as cookies in Axum’s request/response flow for login sessions.
Currently, a workaround is to store the JWT token in session storage, but it’s not ideal and ain't secure if leaked.
So my question is: Is there a way to add middleware to Axum that allows injecting cookies into requests when calling the server?
Best

There is an extension method on axum::Router, https://docs.rs/dioxus/0.6.0-alpha.4/dioxus/prelude/trait.DioxusRouterExt.html#tymethod.serve_dioxus_application, and it allows any setup of axum application.

There is an extension method on axum::Router, https://docs.rs/dioxus/0.6.0-alpha.4/dioxus/prelude/trait.DioxusRouterExt.html#tymethod.serve_dioxus_application, and it allows any setup of axum application.

Thanks for the response! It looks like this feature isn’t available in the latest stable version yet. Good to know it’s being tracked; Looking forward to the 0.6 stable release!

It looks like this feature isn’t available in the latest stable version yet.

It should also available in the 0.5.6 through the dioxus_fullstack crate, but I cannot figure out how to see it on docs.rs (it's weird).

It should also available in the 0.5.6 through the dioxus_fullstack crate, but I cannot figure out how to see it on docs.rs (it's weird).
Docs.rs accepts a list of features to build the docs with. The dioxus 0.5 docs were built with no default features, so many items are not documented. You can run cargo doc --features server --open to generate documentation for all the crates you pull in with the server feature enabled which should have that item

You can also add middleware per function with the middleware attribute on server functions

You can also add middleware per function with the middleware attribute on server functions

Thanks! That's some next-level attribute wizardry (ﾉ>ω<)ﾉ :｡･:*:･ﾟ☆
I was searching the homepage for middleware but couldn’t find any. Hence this issue. It seems like the search functionality is not working as expected. Same for dioxus and dioxus-fullstack docs rs pages.

It should also available in the 0.5.6 through the dioxus_fullstack crate, but I cannot figure out how to see it on docs.rs (it's weird).

This example shows how to do it in 0.5.6
https://github.com/DioxusLabs/dioxus/blob/7210d333cdcd6e1499926dc184b6a244db376baf/packages/fullstack/examples/axum-auth/src/main.rs


Add a feature to have random user IDs for each conversation

Hello,
Right now, the only way to change the user ID is by manually editing the server.json which is very inefficient. While testing out the bot, I like to see the conversation flow for a new user. Just ending the conversation doesn't work.
Any chance this could be added? I am using the latest release for v3.
-Pranav

@blueelvis - there are no plans to add new functionality to v3. We will evaluate supporting this in v4.

dup of #298


API: Add package homepage

Feature Description
Hi!
Can you add a field with the package homepage to the API output?
LC_ALL=C aptitude show mc | grep -i homepage:
Screenshots
No response

What API are you talking about?

This: http://<my-gitea-server>/api/v1/packages/<my-user>

At the moment this endpoint just lists basic infos about a package. For your request we would need to add the package type depending metadata. And then there would be no guarantee that the homepage field has the same name for every package type.

we would need to add the package type depending metadata.

Good idea!


Broken link to chapters

The links to the two  chapters functional plant indicators in naturally open and semi-natural ecosystems dont work. The ones in the left menu that is. The embedded hypperlink points to
https://ninanor.github.io/ecosystemCondition/functional-plant-indicators-open.html
which does not exist. Changing the small f to a large F makes it work again.
https://ninanor.github.io/ecosystemCondition/Functional-plant-indicators-open.html
The rmd file is called functional_plant_indicators_natopen.Rmd. Note the small f).
The _bookdown.yml references that file name correctly. The rendered md files under /docs/ are named in the exact same way. But the subsequent html files are named with capital first letter and hyphens rather than underscores. The html file name comes from the anchor on the first header in the rmd file. For semi-natural and naturally open the anchors are written with a small f. For wetlands I used a capital F, and that one works. But for other chapters, like alien species, the anchor and the html file name both have small a's.
Not sure how the logic is here. Perhaps a bookdown::clean_book() is required.

Problem still there after #164 where I did a clean_book()

Example:
functional_plant_indicators_natopen.Rmd
(first line: # Functional Plant Indicators - Naturally Open Ecosystems {#functional-plant-indicators-open} )
->
docs/functional_plant_indikcators_natopen.md ->
docs/Functional_plant_indikcators_natopen.html +
docs/functional_plant_indicators_natopen_files/figure-html
The html file name is the only place (exect the chapter title, which is different in other aspects as well) wheree Functional is written with a capital F. Why is this happening?
Any ideas @DrMattG ? I guess I can change the anchor in the titles to have capital F's, but I wouldn't know why I was doing it.

Fixed with #165.
The problem:
The chapter title anchors had previously been with capital F, like this: {#Functional-blablabla}.
This resulted in html files with capital F's.
After removing the capital F in the ancor, and replacing with a small f I re-rendered the book.
This produced html's with small f's.
But, git treats the old file (the one with captial F) as modified and not added.
Therefore it keeps the old name.
The solution:
bookdown::clean_book(clean=T) is not enough.
You also have to commit once before rendering again.


New script - rename_tf_frames

Hi @miguelriemoliveira. I've noticed that there wasn't a script written that renamed the /tf frames in a bagfile yet, so I wrote one and it seems to be working correctly. I'm not a collaborator yet, so I can't add it. Could you invite me?
Additionally, would you rather I just push it to the main branch or create a new branch and pull request?

Thanks for the contribution!


Util: fix cve-2012-2459 (breaking change)

https://github.com/bitcoin/bips/blob/master/bip-0098.mediawiki#fast-merkle-lists

Coverage increased (+0.05%) to 67.028% when pulling 71cf298bc07467e0f64eff3c3b659d0057bab780 on cve-2012-2459 into 5fb5fb4f8814ee2334354e26bcdbeb94b6d229a2 on develop.

Coverage decreased (-0.01%) to 70.233% when pulling a85173bdb47f3e9d82dd02a06086b348d38254b9 on cve-2012-2459 into 035dcf8a0381af95119178f65c96ea07a7b9afda on develop.


Management of ORG fails

Automated management fails with the following message:
$ ansible-playbook playbook.yaml -e  api_token="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"
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'

PLAY [localhost] *****************************************************************************************************************************

TASK [Gathering Facts] ***********************************************************************************************************************
ok: [localhost]

TASK [Check SovereignCloudStack general data file] *******************************************************************************************
ok: [localhost]

TASK [Read SovereignCloudStack organization target data] *************************************************************************************
ok: [localhost]

TASK [Apply SovereignCloudStack members] *****************************************************************************************************
changed: [localhost]

TASK [Apply SovereignCloudStack teams] *******************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: Value of unknown type: <class 'TypeError'>, 'NoneType' object is not subscriptable
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/module_utils/git.py\", line 94, in __call__\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/modules/github_org_teams.py\", line 134, in run\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/module_utils/github.py\", line 899, in _manage_org_teams\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/module_utils/github.py\", line 792, in _manage_org_team\nTypeError: 'NoneType' object is not subscriptable\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/marc/.ansible/tmp/ansible-tmp-1701166893.0352457-151754-181494996709942/AnsiballZ_github_org_teams.py\", line 107, in <module>\n    _ansiballz_main()\n  File \"/home/marc/.ansible/tmp/ansible-tmp-1701166893.0352457-151754-181494996709942/AnsiballZ_github_org_teams.py\", line 99, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/marc/.ansible/tmp/ansible-tmp-1701166893.0352457-151754-181494996709942/AnsiballZ_github_org_teams.py\", line 47, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.opentelekomcloud.gitcontrol.plugins.modules.github_org_teams', init_globals=dict(_module_fqn='ansible_collections.opentelekomcloud.gitcontrol.plugins.modules.github_org_teams', _modlib_path=modlib_path),\n  File \"<frozen runpy>\", line 226, in run_module\n  File \"<frozen runpy>\", line 98, in _run_module_code\n  File \"<frozen runpy>\", line 88, in _run_code\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/modules/github_org_teams.py\", line 160, in <module>\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/modules/github_org_teams.py\", line 156, in main\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible_collections/opentelekomcloud/gitcontrol/plugins/module_utils/git.py\", line 98, in __call__\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible/module_utils/basic.py\", line 1519, in fail_json\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible/module_utils/basic.py\", line 1492, in _return_formatted\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible/module_utils/common/parameters.py\", line 927, in remove_values\n  File \"/tmp/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload_0zzu9f7w/ansible_opentelekomcloud.gitcontrol.github_org_teams_payload.zip/ansible/module_utils/common/parameters.py\", line 470, in _remove_values_conditions\nTypeError: Value of unknown type: <class 'TypeError'>, 'NoneType' object is not subscriptable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

PLAY RECAP ***********************************************************************************************************************************
localhost                  : ok=4    changed=1    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

The internal logic of https://github.com/opentelekomcloud/ansible-collection-gitcontrol is using paging to gather all existing groups. Because of this github-manager take the wrong decision whether to update (PATCH method.) or to create a group (POST method).
https://github.com/scoopex/ansible-collection-gitcontrol/tree/fix_group_update


Refactoring tasks

Changes include:
-All planck unit assertions using ints now use the larger int64_t to accommodate larger numbers
-Tests run using planck unit without any planck unit assertions are now able to be run (without crashing) and pass successfully

LGTM - Green light to merge :+1:


engine(dm): implement update config

What problem does this PR solve?

Issue Number: ref #5504
What is changed and how it works?

add ModRevision in JobCfg
worker update status with CfgModRevison
increment ModRevision when update-job-cfg
put new config to metadata
checkpoint agent create checkpoint for new config
worker manager stop worker for old version config
worker manager start worker for new version config

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
None

Codecov Report

Merging #6508 (5927928) into master (6290709) will decrease coverage by 0.0533%.
The diff coverage is 63.9000%.

:exclamation: Current head 5927928 differs from pull request most recent head 9a868af. Consider uploading reports for the commit 9a868af to get more accurate results

Flag
Coverage Δ

cdc
65.8830% <63.5772%> (-0.2300%)
:arrow_down:

dm
52.0688% <53.0303%> (+0.0325%)
:arrow_up:

engine
63.7433% <70.3557%> (+0.0016%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #6508        +/-   ##
================================================
- Coverage   59.4214%   59.3680%   -0.0534%
================================================
  Files           763        775        +12
  Lines         87418      88113       +695
================================================
+ Hits          51945      52311       +366
- Misses        30894      31180       +286
- Partials       4579       4622        +43

/merge


Update htmlcode.html

Hi @Viswanathsiva, I don't see any changes in your commit. Please make a pull request with valid changes. Thank you.


Adding snippets

helloooo, is it available to add own custom snippets??

...Yes? :D
See here or here

Where can i create the file that holds those snippet?

Depends. If you want to load snippets defined in lua, you can put the file anywhere, but you'll have to source it (probably in your init.vim) during startup.
For lsp-style, best read DOC.md, I could only rephrase what's said there :D

So i need to put a file in my config folder for my snippets? that is what i understand from what you said. Sorry if i am annoying :( cuz i m a 14 year old kid

It is tooo overwhelmed..... AHHHHHHHHHHHHH

Oh, no worries then :D

So i need to put a file in my config folder for my snippets?
Yeah, pretty much. You could check out a tutorial on setting up neovim using lua, that should help

https://neovim.discourse.group/t/whe-can-i-add-new-luasnip-snippets/1376
is it like this one?

Yes, that's one way of doing it 👍

OKIE. I am so hype in the wait of neovim 0.6

Sorry boss for interrupting your wonderful day.
require("luasnip/loaders/from_vscode").lazy_load({
  paths = {
    vim.fn.stdpath('config') .. '/snippets',
  }
})

This line of code the luasnip/loaders/from_vscode where should i add it? or can explain to me?

https://github.com/bryant-the-coder/nvim
my repo for nvim

Can make a pr? I blur

https://github.com/bryant-the-coder/nvim my repo for nvim

Looks like you should add eg. luasnip.lua to lua/plugins/ and put all luasnip-specific code there.
To also load that file on startup, you'd need a require("plugins.luasnip") in init.lua.

Can make a pr? I blur

Oh ofc!

thx

https://github.com/bryant-the-coder/NvHack
Updated link

Interrupting your wonderful day again... I havve tried but doesnt work. I think a pr is a better approach... :P

I think a pr is a better approach.

Ohh, that's what you meant :facepalm:
Honestly, it's going to be better if you know how to do it yourself :D
Have you pushed what you tried so far?

😂🤣🤣🤣🤣 Ya i will try again. I eill create a snippets/html.json as a test. Then for the what is in the json i know what to do cause uhhhh i use vscode. But for the lua in the snippets.lua in my repo that i dont know what to do... sigh

For starters, you can copy Examples/snippets.lua into your repo and load it, that way you have a point for starting out.

Roger that sir


[Generate project with Mason] Add CI steps to verify generated project by Mason

Why
After integrating the template with Mason, we have to add CI steps to verify the generated project is buildable, runnable, and testable. This helps the maintainers to see any issues soon before merging or releasing the new features or bug fixes.
Ideally, we should add these steps into test.yml workflow:

Run code generator
Check for any formatting issues
Statically analyze the Dart code for any errors
Run tests.

Who Benefits?
Developers

@manh-t Most of steps here are covered by https://github.com/nimblehq/flutter-templates/issues/137, I'll modify this ticket to only

Replace the Python script.
Update necessary CI/CD workflows to use the new script.

@manh-t I moved these AC from #162 to this ticket. All good now.

Replace the Python script.
Update necessary CI/CD workflows to use the new script.


tp.txt

https://www.tp.edu.tw/
Department of Education, Taipei City Government

@RayLiu1106 This domain does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.
If you do not have an email which your school provided you with, please apply for free educational license with an official document which proves that you are a student. You can do it using "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for the understanding!


Implement KeyVaultPropertySource

Description
Implement KeyVaultPropertySource

Codecov Report

Merging #293 into master will increase coverage by 1%.
The diff coverage is 71.15%.

@@            Coverage Diff            @@
##             master     #293   +/-   ##
=========================================
+ Coverage     51.72%   52.73%   +1%
- Complexity      267      281   +14
=========================================
  Files            97       97
  Lines          1216     1263   +47
  Branches         51       61   +10
=========================================
+ Hits            629      666   +37
- Misses          555      559    +4
- Partials         32       38    +6

Impacted Files
Coverage Δ
Complexity Δ

...loud/keyvault/config/KeyVaultConfigProperties.java
100% <100%> (ø)
7 <1> (+1)
:arrow_up:

.../cloud/keyvault/config/KeyVaultPropertySource.java
100% <100%> (+100%)
7 <7> (+7)
:arrow_up:

...keyvault/config/KeyVaultPropertySourceLocator.java
53.12% <51.61%> (+3.12%)
7 <6> (+6)
:arrow_up:

Continue to review full report at Codecov.

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

Postpone this PR.


Translation: microservice

add
翻译的文档的 Issue 编号是：https://github.com/servicemesher/trans/issues/222

nice
/lgtm


Format Date issue with querystring return get, change format

Date format issue for GET METHOD ON CONTROLLER
I'm developing an application and I get this "error", I have a data model and I have datetime properties set.
In the first GET on the page, Date format is correct, eg: dd/mm/yyyy (as defined in the data model)
But after the Second GET  the date format is changed to mm/dd/yyyy (in back end) but in view is dd/mm/yyyy
in post I receive mm/dd/yyy but in View I see dd/mm/yyyy
It's vary crazy
General
I'm using .Net Core 2.0 + Bootstrap (No using any jquery, but i try too)...
For some issues, chek and details i put on GIT for reproduce this issue REP ISSUE DATE

any ?

@muratg @Eilon @ajcvickers Is this somewhere in MVC/EF?

This issue was moved to aspnet/Mvc#7471


refactor: remove default scope value of injectable

Codecov Report

Merging #54 (9a8fbb4) into master (36d31c0) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   96.16%   96.15%   -0.02%
==========================================
  Files          12       12
  Lines         339      338       -1
  Branches       88       88
==========================================
- Hits          326      325       -1
  Misses         13       13

Impacted Files
Coverage Δ

src/decorator/injectable.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[BUG] Failed to call Response.Write() in outbound

Describe the bug

What are you trying to do?

Try to implement UDP transport

What did you expect to happen?

Exit the coroutine safely.

What happens instead?

Write failed
Description
The following code
https://github.com/micro/go-micro/blob/5967a68e7830f39672a415b78eb748f6cee1ea87/server/rpc_server.go#L149-L169
This defer func is not cover exceptions while the defer invoked faster than process of outbound and inbound.
Because of the psock in pool is closed when write data from coroutine of outbound.
Loop 1

Transport---Recv---pkg1---go inbound
                       ---go outbound----------T1---------Response.Write() // socket closed by loop2

Loop 2

Transport---Recv---Error---Close socket (not wait)

Issues

Invoke defer func faster than execute two coroutines.  PR #1752
Not wait while occur error on Recv

Here the code  to reproduce the issue 1
package main

import (
        "fmt"
        "sync"
        "time"
)

func main() {
        foo()
}

func foo() {
        var wg sync.WaitGroup

        defer func() {
                fmt.Printf("defer: %s\n", time.Now().Format(time.StampMicro))
                wg.Wait()
        }()

        time.Sleep(5 * time.Millisecond)

        go func() {
                wg.Add(1)
                fmt.Printf("co1: %s\n", time.Now().Format(time.StampMicro))
                wg.Done()
        }()

        go func() {
                wg.Add(1)
                fmt.Printf("co2: %s\n", time.Now().Format(time.StampMicro))
                wg.Done()
        }()
}

go build -o test main.go
Try several times ./test, u will see the defer invoked faster than other coroutines.

Thanks! What about number 2?

Two coroutines to wait for, one is the serve http the other is process of outbound. Any close early will occur the same issue.
I've been chewing things over, how about always wait?
Looks safety, even if the connection is broken, two coroutines always exit normally.

All fix merged, tks guys


Indentation on Github projects

I'm looking for statistics on code indentation (which is the most popular by language), and can't find any. Your tool seems appropriate for finding out the answer.
Have you already tried your tool on the most popular GitHub projects, perhaps via some script that pulls down popular repositories and analyzes them?

I have not, but that sounds like a cool use :D

This seems to be in the direction that you are looking for:
Popular Coding Convention on Github

That's a really cool site, @Hirse. Thanks for sharing.

@Asuza check https://github.com/ukupat/tabs-or-spaces, it uses detect-indent :)


Type Inference: Key Added as Type for Optional Fields

TypeScript Version:

3.6.3
Also tried on the playground

Search Terms:
inference optional added string
Code
interface Reference<T> {
  id: string;
}

interface Foo {
  id: string;
  bar: Reference<Bar>;
  goof?: Reference<Bar>;
}

interface Bar {
  a: string;
}

type Resolve<E, T extends Array<keyof E>> = {
  [F in keyof E]:
    F extends T[number]
    ? E[F] extends infer EF
      ? EF extends Reference<infer R>
        ? R
        : E[F]
      : never
    : E[F]
};

type FooResolved = Resolve<Foo, ["bar", "goof"]>;

const incorrectlyWorks: FooResolved = {
  id: "asdf",
  bar: { a: "xx" },
  goof: "goof",
};
const correctlyDoesntWork: FooResolved = {
  id: "asdf",
  bar: "bar",
};

Expected behavior:
The resolved type should match
type FooResolved = {
    id: string;
    bar: Bar;
    goof?: Bar;
}

Actual behavior:
The resolved type matches
type Y = {
    id: string;
    bar: Bar;
    goof?: "goof" | Bar | undefined;
}

Playground Link:
Playground Reproduction
Related Issues:
n/a
Additional Observations
What is really interesting is that if I open a standalone editor in VSCode and set the "Language Mode" to TypeScript, the type is resolved as expected. Due to this, I assumed one of the options in my tsconfig.json was causing the problem. I removed all of the options set, but the problem persisted.
I'm using VSCode 1.39.1, commit 88f15d17dca836346e787762685a40bb5cce75a8 on macOs Catalina. TS versions match between node_modules and VSCode (3.6.3).

The Playground shows the expected error. Can you clarify how to reproduce the problem?

Wow, this is really strange! I checked on 3.6.3, 3.7-Beta and 3.8.0-dev when I opened, but neither shows the problem now... What's more, I can't reproduce in my local VSCode!
Ok, thanks for looking into it and sorry for wasting your time - I'm very confused here!!


Added padding to help command

Indev branch pls

@vzwGrey yea could you change to indev and also try using this padding

@vzwGrey you need to edit this so it doesn't use an external pad function, remember? I can't accept this in the current state.

Apologies @vzwGrey , really really sorry, I had to revert to the previous help command because mine had... uhm... "problems". I would be very grateful if you could pull the current code and go from there.


[BUG] Headscale creation seems to be failing in CI

https://juanfont.github.io/headscale/running-headscale-container/
https://github.com/artis3n/ansible-role-tailscale/actions/runs/7929963271/job/21655266348?pr=431#step:6:159
PLAY [Prepare] *****************************************************************

  TASK [Create Headscale user] ***************************************************
  fatal: [localhost]: FAILED! => {"changed": false, "msg": "The container \"headscale\" has been paused (409 Client Error for http+docker://localhost/v1.43/containers/headscale/exec: Conflict (\"Container b3f5931963c608185e186bd9caa868305ef3c17ac28f8562087de7ec3c42233f is not running\"))"}

this is relevant
https://github.com/artis3n/ansible-role-tailscale/pull/430#issuecomment-1947963550


Switches spelling of behavior to preferred American English variation

Switches spelling of behavior to preferred American English spelling.
Removes extra spaces from contributing docs.

We may have chosen this spelling on purpose, given global touch, but I don't typically see that variation of spelling used at NR. Figured I'd submit a PR for consistency, in case this was an oversight. Feel free to close out if not preferred.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

You're absolutely right. In fact I thought there was an issue for this somewhere, but I guess not. Thanks for taking care of this, @michaelgoin!


Bhargava

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: sreebhargava143 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Update application-proxy-integrate-with-remote-desktop-services.md

RDWeb client requirements needs update. You must use same internal/external FQDN URL or will get websocket 1006 errors and disconnects.

@kenwith

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks. I've done extensive testing on this for the last few weeks, been through the ringer trying to get this to work and once I created an internal DNS zone to match external, it finally started working. Had a couple forum posts and an Azure support case open on this one.
https://techcommunity.microsoft.com/t5/azure-virtual-desktop/azure-ad-proxy-with-rds-gateway-and-webclient-websockets-error/m-p/3820291/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufExIS1FCMEgzS1dQN0ZSfDM4MjAyOTF8U1VCU0NSSVBUSU9OU3xoSw#M10968
https://www.reddit.com/r/AZURE/comments/13bv5gz/azure_ad_proxy_with_rds_gateway_and_webclient/

emailed kenwith

@amycolannino - Ken Withee is out of office. Can you review on this PR?

@ShannonLeavitt Thanks for reaching out - I will ask a writer on my team and will follow up.

@ShannonLeavitt Approved
#sign-off

@ShannonLeavitt Reviewed and approved


Add support to gfycat/redgif Links that redirect to gifdeliverynetwork.com

This been broken for a year. Still hasn't been fixed by the main dev.
Problem is some old gfycar links redirect to gifdeliverynetwork now. But ripme finds them as broken, since it doesnt read the redirect.
Redgifs has been fixed in ripme, But gifdeliverynetwork is still broken. Something that might help the issue is that "https://gfycat.com/XXX" redirects to "https://www.gifdeliverynetwork.com/XXX" and if it is replaced by "https://www.redgifs.com/watch/XXX" , the link/video will still work on the redgifs/gifdeliverynetwork domain.
Maybe something can be implemented of sorts of replacing "https://gfycat.com/" or ""https://www.gifdeliverynetwork.com/" with "https://www.redgifs.com/watch/" if link fails as a band aid fix ?
https://github.com/RipMeApp/ripme/pull/1695

your comment in RipMeApp#1695 says @borderline232 fork works. maybe one of you creates a pull request here so its clear(er) what makes it work? as main produces only a binary if all tests pass, i'll set the others to flaky.

RedGif links don't work either.
ripme.log

I believe redgifs used gifdeliverynetwork to migrate the nsfw gfycats to redgifs, and most of them seem to just straight redirect the gfycat to redgifs instead of going to gifdeliverynetwork from what I understand. If you have any examples, I can change the logic on my fork and add a PR here as well.

RedGifs also seem to only download mobile version (issue #1875 on the original repo or #40 here).

Added the fix on my fork, there's a new a release there along with getting selftext posts on reddit users (currently no way of disabling this).

merged here, in 2.0.2.


[WIP] Skeleton of the testsuite

/retest

/retest

/retest

Closing this PR as it was supposed to make the e2e tests running on Openshift 3.11, which is no longer relevant. @arilivigni is going to submit a new PR, targeting Openshift 4.


Thank you

This not a issue, just a thank you!
Very useful small tool. Should be incorporatee to wg code.

Thank you for the nice comment :)

Thank you for the nice comment :)


Add support for the Sonoff IW101

This PR adds support for the Sonoff IW101
The IW101 has power monitoring and the IW100 does not. Support for the 100 can be added I
just don't have one so I do not know the uiid.

Hi. Everything should work without your code. Doesn't it work?

It does work, just found it to misleading since it's primary use is a light switch

Sonoff POW has uiid = 32. Can't set it as light.
https://github.com/AlexxIT/SonoffLAN/releases/tag/v2.2.3

The IW101 must be a POW with a different face. Will use my repo instead. Thanks.

You can change device_class for any device:
https://github.com/AlexxIT/SonoffLAN#custom-device_class-for-any-mode


No matching version found for<EMAIL_ADDRESS>

npm i and i get an error:
No matching version found for<EMAIL_ADDRESS>

Hi @rgnevashev –– I'm really sorry about that! Just fixed it.
The other day, I pushed an update to the use-babel-config Rescript & it seems Lerna didn't update the dependency version in the env Rescript. Thanks for letting me know about this error.
Please let me know if you encounter any more problems :)


Add the option to regenerate the page view ID with each page view event

Related to this topic: https://groups.google.com/forum/#!topic/snowplow-user/VdMVqBdoXPE
The page view ID is fixed when the JavaScript Tracker is loaded on a page. It only changes when the page is refreshed or a new page is loaded.
It'd be good to add the option to regenerate the page view ID for single page web apps and infinite scrolls.

The API call would probably look something like
snowplow("regeneratePageViewId");

I'm hazy on why we would not want to generate a new page view ID each time if the user hits trackPageView multiple times on the same page. Is there a use case for this?

I can image having an infinite scroll where the page view event is used to track what content is shown, but you still want to roll it up into a single page view.

Thanks @bogaert - the use case makes sense. I think part of the confusion here is that we are referring to this context in this ticket as a "page view ID", but the actual schema is more open-ended than this:
com.snowplowanalytics.snowplow/web_page/jsonschema/1-0-0

So I'd suggest the option to regenerate should be very explicitly named to prevent confusion. Something like:
snowplow("newWebPageForVirtualPageViews", true);

What's does the true argument do?

Nothing - we can remove!
On 2 Dec 2015 12:52 pm, "Fred Blundun"<EMAIL_ADDRESS>wrote:

What's does the true argument do?
—
Reply to this email directly or view it on GitHub
https://github.com/snowplow/snowplow-javascript-tracker/issues/436#issuecomment-161282699
.

This has come up a couple more times – I'd be good if this were included in the next major release.

See  #500

Before implementing this ticket we need to decide if the ID should always be reset per @yalisassoon's #508, or if it should be a disable-able option...

I would make it an option, enabled by default.

one comment here is that, rather than having an id that either normalizes to the page load or normalizes to a virtual page view, it might be useful to do both by having IDs for two different contexts - one for page load and the other for pageview (virtual or otherwise).
The single page apps use case makes sense that you always want to normalize the events to an id based on virtual page view, but there are other cases where virtual page views get fired outside of single page apps.
For instance, if you have a content site that has pages that are subdivided into smaller content segments. For example a page like 'the top 50 movies on netflix right now' - this is a really long page, it loads once but has a writeup on 50 different movies. I may want to measure both the amount of time spent (or clicks from) the overall page 'top 50 movies..' and also want to measure the amount of time spent (or clicks from) each of the sub-sections, like which movie writeup and people stopping to read for a significant amount of time rather than just skimming past.
(this is a real use case by the way, we have a client that has content just like this)
In this use case, if I had to choose between the pageview id (thats stored in redshift in atomic.com_snowplowanalytics_snowplow_web_page_1) being either based on page load or virtual pageview, I'd have to decide up front which use case is more important to me, rather than having the flexibility to query in different ways depending on the question I'm trying to answer

Thanks @ryanrozich! That makes sense.
@yalisassoon @bogaert what do you think about it? I think "physical" page load can have value as well as "virtual" page reload and we probably don't want to loose it.
By "physical page load" I understand GET request for /someUri which initialize tracker code, whereas "virtual page load" is application-defined - it can be tab switch which doesn't perform GET /someUri, but something like Ajax request for /api/data/forSomeUri.

Hi @ryanrozich - in your example it feels to me like you'd want a
subsection context that's sent when a user when a particular div on a page
is in view?
For me a page view should be defined based on the user experience - if the
whole page changes and the URL changes with it, then it makes sense to
track that as a page view - whether it's a virtual page view on a single
page webapp or a new page physically loaded in the browser.
I'm struggling to imagine when I'd want to distinguish physical from
virtual page views: the only time I can imagine that being useful is if I'm
checking page load performance. (So I'd expect performance differences
whether the page loads are virtual or real.) But I suspect I'm not being
imaginative enough?
On Wed, Nov 2, 2016 at 6:14 AM, Anton Parkhomenko<EMAIL_ADDRESS>wrote:

Thanks @ryanrozich https://github.com/ryanrozich! That makes sense.
@yalisassoon https://github.com/yalisassoon @bogaert
https://github.com/bogaert what do you think about it? I think
"physical" page load can have value as well as "virtual" page reload and we
probably don't want to loose it.
By "physical page load" I understand GET request for /someUri which
initialize tracker code, whereas "virtual page load" is application-defined

it can be tab switch which doesn't perform GET /someUri, but something
like Ajax request for /api/data/forSomeUri.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/snowplow/snowplow-javascript-tracker/issues/436#issuecomment-257781664,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMRu2RklToPjUh8QKx0k6P1GwRReJvMks5q6CpDgaJpZM4Gs-mO
.

--
Co-founder
Snowplow Analytics http://snowplowanalytics.com/
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 7841 954 117
@yalisassoon https://twitter.com/yalisassoon
https://twitter.com/yalisassoon
Sign up to our mailing list! http://eepurl.com/b0yEgz

Thanks for the comments @ryanrozich - we appreciate all input!
It's an interesting discussion. I agree with @yalisassoon that we shouldn't overload the page view:

For me a page view should be defined based on the user experience - if the whole page changes and the URL changes with it, then it makes sense to track that as a page view - whether it's a virtual page view on a single page webapp or a new page physically loaded in the browser.

To track what content a user has “seen” (i.e. what divs have scrolled into view), I'd create a separate event, perhaps with a second context. I think there's a ticket for that, but can't seem to find it - do you know where it is @yalisassoon?

It's more about the mechanics than the schema design but there is a content viewability ticket, Add item in-view events #98

Hi @chuwy I've been testing this and it's not working as I'd expect.
Let's take a specific sequence of track methods firing on a single web page with the web page context enabled

trackPageView
trackSelfDescribingEvent
trackStructEvent
trackSelfDescribingEvent
trackPageView
trackSelfDescribingEvent
trackSelfDescribingEvent

I'd expect to get the same web_page ID for the first 4 events, and then a second web_page ID for events 5-7.
Instead, I get one web_page ID for the first event.
Another web page ID for events 2-5.
A third web page ID for events 6-7.
So it looks like the ID is regenerating after the trackPageView event is called, rather than before.
Can you please double check?
Thanks!

Thanks for detailed info, @yalisassoon. I think you're right. This should be fixed in rc6.

Thanks @chuwy - the fix is working great!