🐛 [Database, Firestore, Auth] Cannot connect to remote emulators from client running in emulator

Bug report
Describe the bug
I am running a flutter app using firebase libraries and cannot connect to the emulators even though I can do so through the command line.
I am configuring the firebase instance through code after having generated the firebase_options.dart file. I randomly at times seems to connect but 99% of the time the client cannot connect and shows the below errors
[cloud_firestore/unavailable] The service is currently unavailable. This is a most likely a transient condition and may be corrected by retrying with a backoff.
                            #0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7)
                            #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:315:18)
                            <asynchronous suspension>
                            #2      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:518:43)
                            <asynchronous suspension>
                            #3      MethodChannelDocumentReference.get (package:cloud_firestore_platform_interface/src/method_channel/method_channel_document_reference.dart:69:42)
                            <asynchronous suspension>
                            #4      _JsonDocumentReference.get (package:cloud_firestore/src/document_reference.dart:146:7)
                            <asynchronous suspension>

[firebase_auth/network-request-failed] Network error (such as timeout, interrupted connection or unreachable host) has occurred.

My firebase configuration
{
  "firestore": {
    "rules": "firestore.rules"
  },
  "emulators": {
    "firestore": {
      "port": 5000,
      "host": "<IP_ADDRESS>",
      "indexes": "firestore-indexes.json"
    },
    "auth": {
      "port": "5001",
      "host": "<IP_ADDRESS>"
    },
    "database": {
      "port": "5002",
      "host": "<IP_ADDRESS>"
    },
    "logging": {
      "host": "<IP_ADDRESS>"
    },
    "hub": {
      "host": "<IP_ADDRESS>"
    },
    "ui": {
      "enabled": true,
      "host": "<IP_ADDRESS>",
      "port": 4000
    }
  }
}

I can however connect to these emulators through the browser. I can bring up the emulator UI and make a Websocket connection request. What I do see is that the response contains an invalid host information coming from the emulator response
CONNECTING: WS://[host of docker container running firebase emulators]:5002/.WS?V=5&NS=local

CONNECTION READY

	{
   "t": "c",
   "d": {
      "t": "h",
      "d": {
         "ts":<PHONE_NUMBER>181,
         "v": "5",
         "h": "<IP_ADDRESS>:5002",
         "s": "XXNtM4TOay33ANGcUoMv6xBXvEIYOKGw"
      }
   }
}

Steps to reproduce
Steps to reproduce the behavior:

Configure the firebase instances using firebase_options.dart. Specify to use the emulator on necessary firebase objects
Nothing else

Expected behavior
Clients should connect
Additional context
Add any other context about the problem here.

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, 3.7.0, on macOS 13.2.1 22D68 darwin-x64, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Community Edition (version 2020.3.2)
[✓] VS Code (version 1.74.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.19.0
Flutter SDK 3.7.0
siia 1.0.0+1

dependencies:
- animated_bottom_navigation_bar 0.3.3 [flutter]
- animations 2.0.7 [flutter]
- cloud_firestore 4.3.1 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- crypto 3.0.2 [typed_data]
- cupertino_icons 1.0.5
- dotted_border 2.0.0+3 [flutter path_drawing]
- dropdown_button2 1.9.2 [flutter]
- equatable 2.0.5 [collection meta]
- firebase_analytics 10.1.0 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter]
- firebase_auth 4.2.5 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.4.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_crashlytics 3.0.11 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace]
- firebase_database 10.0.9 [firebase_core firebase_core_platform_interface firebase_database_platform_interface firebase_database_web flutter]
- fl_chart 0.55.2 [flutter equatable]
- flutter 0.0.0 [characters collection js material_color_utilities meta vector_math sky_engine]
- flutter_intro 2.3.1 [flutter]
- flutter_keyboard_visibility 5.4.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter]
- flutter_localizations 0.0.0 [flutter intl characters clock collection js material_color_utilities meta path vector_math]
- flutter_modular 5.0.3 [flutter_modular_annotations modular_core meta flutter]
- flutter_redux 0.10.0 [redux flutter]
- flutter_rounded_progress_bar 0.2.0 [flutter]
- flutter_translate 3.1.0 [flutter universal_io]
- form_field_validator 1.1.0 [flutter intl]
- get_it 7.2.0 [async collection]
- google_sign_in 5.4.3 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web]
- http 0.13.5 [async http_parser meta path]
- im_stepper 1.0.1+1 [flutter]
- intl 0.17.0 [clock path]
- introduction_screen 2.1.0 [flutter dots_indicator]
- json_annotation 4.8.0 [meta]
- line_awesome_icons 1.0.4+2 [flutter]
- localstorage 4.0.0+1 [flutter path_provider]
- modal_bottom_sheet 3.0.0-pre [flutter]
- optional 6.1.0+1 [collection]
- path 1.8.2
- path_provider 2.0.12 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows]
- quiver 3.2.1 [matcher]
- random_string 2.3.1
- redux 5.0.0
- scroll_to_index 3.0.1 [flutter]
- simple_animations 4.2.0 [flutter collection]
- supercharged 2.1.1 [supercharged_dart flutter]
- universal_platform 1.0.0+1
- web_socket_channel 2.3.0 [async crypto stream_channel]

dev dependencies:
- build_runner 2.3.3 [args async analyzer build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection js matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- json_serializable 6.6.0 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]
- mockito 5.3.2 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api]
- test 1.22.0 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core]

transitive dependencies:
- _fe_analyzer_shared 52.0.0 [meta]
- _flutterfire_internals 1.0.12 [collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 5.4.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- args 2.3.2
- async 2.10.0 [collection meta]
- boolean_selector 2.1.1 [source_span string_scanner]
- build 2.3.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.1.0 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.7 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.4.3 [built_collection collection fixnum meta]
- characters 1.2.1
- checked_yaml 2.0.2 [json_annotation source_span yaml]
- clock 1.1.1
- cloud_firestore_platform_interface 5.10.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.2.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.4.0 [built_collection built_value collection matcher meta]
- collection 1.17.0
- convert 3.1.1 [typed_data]
- coverage 1.6.2 [args logging package_config path source_maps stack_trace vm_service]
- dart_style 2.2.4 [analyzer args path pub_semver source_span]
- dots_indicator 2.1.0 [flutter]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.1
- file 6.1.4 [meta path]
- firebase_analytics_platform_interface 3.3.17 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_analytics_web 0.5.1+8 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- firebase_auth_platform_interface 6.11.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.2.4 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.1.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_crashlytics_platform_interface 3.3.11 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_platform_interface 0.2.2+17 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_database_web 0.2.1+19 [firebase_core firebase_core_web firebase_database_platform_interface flutter flutter_web_plugins js]
- fixnum 1.0.1
- flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- 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_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter]
- flutter_modular_annotations 0.0.2 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- frontend_server_client 3.2.0 [async path]
- glob 2.1.1 [async collection file path string_scanner]
- google_sign_in_android 6.1.5 [flutter google_sign_in_platform_interface]
- google_sign_in_ios 5.5.1 [flutter google_sign_in_platform_interface]
- google_sign_in_platform_interface 2.3.0 [flutter plugin_platform_interface quiver]
- google_sign_in_web 0.10.2+1 [flutter flutter_web_plugins google_sign_in_platform_interface js]
- graphs 2.2.0 [collection]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.2 [collection source_span string_scanner typed_data]
- io 1.0.4 [meta path string_scanner]
- js 0.6.5 [meta]
- logging 1.1.1
- matcher 0.12.13 [meta stack_trace]
- material_color_utilities 0.2.0
- meta 1.8.0
- mime 1.0.4
- modular_core 2.0.3+1 [characters meta modular_interfaces]
- modular_interfaces 2.0.2
- node_preamble 2.0.1
- package_config 2.1.0 [path]
- path_drawing 1.0.1 [vector_math meta path_parsing flutter]
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.0.22 [flutter path_provider_platform_interface]
- path_provider_foundation 2.1.1 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_platform_interface 2.0.5 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32]
- platform 3.1.0
- plugin_platform_interface 2.1.3 [meta]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- pub_semver 2.1.3 [collection meta]
- pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml]
- shelf 1.4.0 [async collection http_parser path stack_trace stream_channel]
- shelf_packages_handler 3.0.1 [path shelf shelf_static]
- shelf_static 1.1.1 [convert http_parser mime path shelf]
- shelf_web_socket 1.0.3 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 1.2.6 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.3 [analyzer collection source_gen]
- source_map_stack_trace 2.1.1 [path source_maps stack_trace]
- source_maps 0.10.11 [source_span]
- source_span 1.9.1 [collection path term_glyph]
- stack_trace 1.11.0 [path]
- stream_channel 2.1.1 [async]
- stream_transform 2.1.0
- string_scanner 1.2.0 [source_span]
- supercharged_dart 2.1.1
- term_glyph 1.2.1
- test_api 0.4.16 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- test_core 0.4.20 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api]
- timing 1.0.1 [json_annotation]
- typed_data 1.3.1 [collection]
- universal_io 2.0.4 [collection crypto meta typed_data]
- vector_math 2.1.4
- vm_service 9.4.0
- watcher 1.0.2 [async path]
- webkit_inspection_protocol 1.2.0 [logging]
- win32 3.1.3 [ffi]
- xdg_directories 0.2.0+3 [meta path process]
- yaml 3.1.1 [collection source_span string_scanner]

Closing, resolved for now

Even though you mentioned that issue is resolved but you didn't seem to close it :) , so will close based on above comment. If you come across this issue again, feel free to write in comments and I'll reopen it.


LTV enabled certificate

I coundn't yet endesive configure to sign a PDF and get it LTV enabled.
I use eToken 5100 and a AATL certificate. To get a valid sign is not a problem. But it's not LTV enabled.
What is important to produce a LTV enabled PDF?
Andreas

I have never had such a need and never read the documentation in order to perform such a task.
I think this is related to OCSP (issue 25)
Some links for this subject:
https://stackoverflow.com/questions/26090558/what-does-not-ltv-enabled-mean/26124267
https://stackoverflow.com/questions/51370965/how-can-i-add-pades-ltv-using-itext/51481392#51481392

You must have all the data used for signing pdf document in the list of other certificates saved in PKCS12.

Your certificate must be LTV capable.
The signature must include a timestamp. Which means that in your certificates you need to have the timestamping server certificate and all certificates in his certificate hierarchy including the root certificate.

For the timestamp server from unizeto, these certificates are: CERTUM_QTSA_2017 and nccert2016.
If one of these things fails, java will not generate the correct pdf file :). If your certificate will not support LTV, Adobe will tell you about it. The signer of your certificate must have the correct certificate rules:
1.2.616.1.1135<IP_ADDRESS>.6.11, 1.2.616.1.1135<IP_ADDRESS>.6.12, 1.2.616.1.1135<IP_ADDRESS>.6.13, 1.2.616.1.1135<IP_ADDRESS>.6.14
pdf-signed-cms-m32.pdf
pdf-signed-cms-m32_ocsp.pdf
You must generate dss data in such pdf, but endesive does not do it.
You can get such data, for example, via apache pdfbox:
jars - is a list of libraries from apache pdfbox
java -cp $ jars
org.apache.pdfbox.examples.signature.validation.AddValidationInformation
pdf-signed-cms.pdf
My certificate isn LTV enabled :(

Hi, for LTV signature it seems the code is almost there. If I understand the following links correctly the RevocationInfoArchival' from the Timestamp is the only missing element from the signature. I've tried over the past days to add RevocationInfoArchival' info to the signature without any success. I was wondering if you can provide any guidance in this direction. Or perhaps I'm simply wrong.
The links:

https://stackoverflow.com/questions/67821453/ltv-enabling-signatures-in-pdf
https://github.com/wbond/asn1crypto/blob/master/asn1crypto/pdf.py

If your certificate has a CRL or OCSP property and the OCSP/CRL server is still live and can check its revocation status then LTV should work. I'm happy to test here with our certificates.
When using the OCSP server during signing, the signature has all the properties needed. All it's left to add to the PDF is a DSS dictionary that references the cert chain, CRL, OCSP, VRI. I tried to create the DSS dictionary myself but I cannot find a way to pick up the references for the certificates. Also a new pdf trailer is required after the DSS dictionary.
I found more on the structure of the DSS dict, specifications and some examples from other library that implemented the LTV.
https://www.etsi.org/deliver/etsi_ts/102700_102799/10277804/01.01.02_60/ts_10277804v010102p.pdf
https://github.com/hejsan/WeasySign/blob/master/weasysign/globalsign.py#L115 and

I tried to add it like this with reference to WeasySign, but it doesn't work for me LTV is not enabled

Is there anything wrong here? Thanks in advance!

@ganesharavindh if it doesn't work then something is wrong, still have no time for this issue

Hi, for LTV signature it seems the code is almost there. If I understand the following links correctly the RevocationInfoArchival' from the Timestamp is the only missing element from the signature. I've tried over the past days to add RevocationInfoArchival' info to the signature without any success. I was wondering if you can provide any guidance in this direction. Or perhaps I'm simply wrong.
The links:

https://stackoverflow.com/questions/67821453/ltv-enabling-signatures-in-pdf
https://github.com/wbond/asn1crypto/blob/master/asn1crypto/pdf.py

Have you found the solution?


Adding links to our GitHub profile in README.md

Feedback from Charles:

I did not find an author email of link in the repository.

Exposing emails would be not ideal. So I suggest us to add links back to our public GH profile instead.

Reopen this as there is unresolved conversation in the previous PR (#101).

Wrong issue. Closing this.


Filtering and paging Datagrid not working

Filtering and paging Datagrid not working with attribute Stream Rendering in .net 8
@attribute [StreamRendering(true)]

Steaming rendering is essentially static server side rendering. In Blazor, interactive components do not work with static rendering as no c# code is executed once the page has been rendered.


Model Size and Computation?

Hello
Please let me know the model size and computation.
Any other benchmarking available please post here
Regards
Yugesh

Hi.
Regarding model size: It's a 20 layer autoencoder model. The kernel, stride and channel size are detailed in Figure 1 in the paper https://arxiv.org/abs/2104.03838 (figure also present in README).
Regarding computational benchmarking: It took us about 48 hours on an Nvidia K80 per noise type for each training method (this is the same GPU available on Colab or on Azure data science VMs). You will need 12 GB of GPU memory for our 20 layered model.
If you're looking to train it faster, you could use the smaller DCUnet10 model (Check out https://github.com/pheepa/DCUnet).


Add Brunswick High School

Name: Brunswick High School
URL: https://brunswickschool.org/
IT Link: https://admissions.brunswickschool.org/upper-school/academics/computer-science/
file.zip

Only universities (post-secondary institutions) can be part of the list.


[SPARK-44392][SQL][TESTS] Add tests for schema pruning in delta-based UPDATEs

What changes were proposed in this pull request?

This PR adds tests for schema pruning for delta-based UPDATEs, similar to the ones we have for MERGE.
Why are the changes needed?

These changes are needed to verify schema pruning works as expected.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

This PR comes with tests.

Thank you, @dongjoon-hyun!


Raise proper warning when sympy is not installed!

🐞 Problem
Sympy is an optional dependency! We should let users know about this!
🎯 Goal

💡 Possible solutions

📋  Steps to solve the problem

Comment below about what you've started working on.
Add, commit, push your changes
Submit a pull request and add this in comments - Addresses #<put issue number here>
Ask for a review in comments section of pull request
Celebrate your contribution to this project 🎉

I'd like to work on this. Can you help me with in what way is the warning needed, and how should I go about doing it?

@shreyasbapat

If you look carefully at the setup.py , sympy is an optional dependency, and we only let users install it when they run einsteinpy[dev], which is unintuitive. We would like to raise a warning if sympy is not installed and user tries importing this: https://github.com/einsteinpy/einsteinpy/blob/master/src/einsteinpy/utils/christoffel.py
Easy to fix :)


Deprecated or still maintained?

I read om comment bellow that "Sorry. I'm currently working on another project, so I don't mind updating this repo. I will start refactoring soon"
https://github.com/salgum1114/react-design-editor/issues/219#issuecomment-930662640
Will this be deprecated? Is there another project coming up? : )

@alelordelo  i still don't know if this deprecated or not , but i am currently working on refactoring this project ( i am not belonging to the team that created this repo , i just love this tool and i want to refactor it ), so you can access the repo where i refactor the code with someone
https://github.com/AndreasBurbach/react-image-design-editor


No proposal wrench appears after creating a new class in Pharo snippet until further operations are performed

Create a new class in a Pharo snippet of a playground as shown below. Observe that the proposal tool for the name: and name words doesn't appear until further activity happens in the snippet. It's not clear exactly what is needed to make the proposal wrench appear: sometimes adding an initial new line, entering some characters then removing these will do it, or as seen here, inspecting the output of the snippet and closing the popup does it.
Windows 11, GT 0.8.2498

Upon further investigation, the appearance of the proposal wrench is pretty unpredictable. It's quite easy to get into a state where the wrench doesn't appear for unknown words when it should, but does after additional editing or other operations are performed on the contents of the snippet.

name: is not an unknown word. It is a message understood in the image.
If we know the receiver, we can be more precise. This can happen in two situations:
First, we have static analysis.
For example, something like
Foo new name: ''

is picked up by static analysis:

But

is not picked up.
Second, we can initialize a variable by executing code. In your case, after you run the code the

Should I close this if it's working as expected?

Yes.


topsql: add exec count dedicated to sql duration

Signed-off-by: mornyx<EMAIL_ADDRESS>Issue Number: close https://github.com/pingcap/ng-monitoring/issues/97
Related PR

https://github.com/pingcap/tipb/pull/253
https://github.com/pingcap/tidb/pull/31378

/cc @zhongzc @crazycs520 @breeswish PTAL, thanks~

/merge


This page needs updated to match SSPR page

This page seems to be out of date with the more current SSPR support for AD Connect PTA found here:  https://docs.microsoft.com/en-us/azure/active-directory/authentication/concept-sspr-writeback
[Enter feedback here]

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

ID: 12cbaf93-735d-e257-9203-0437bdf9d1ea
Version Independent ID: f12c0f8c-86e3-72f6-1a3c-c20ad6654017
Content: Azure AD Connect: Pass-through Authentication - Current limitations
Content Source: articles/active-directory/hybrid/how-to-connect-pta-current-limitations.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@msilinda Thank you for your feedback . We will investigate and update the thread.

@billmath Could this page be updated ?

@msilinda
Thank for submitting this.  I have created a work item for it and will send this to engineering so that they can review it and provide me with updated details.  I am not sure what the timeline will be, so I am going to close this for now.  But once I have an update I will drop it in here and let you know.
Thank you!
Bill
#please-close


The environment variable 'Path' seems to have some paths containing the '"' character

Type: Bug

Starting VSCode with Python extension enabled causes following pop up
The environment variable 'Path' seems to have some paths containing the '"' character. The existence of such a character is known to have caused the Python extension to not load. If the extension fails to load please modify your paths to remove this '"' character.
XXX
Steps to reproduce:

Install Python extension and restart VSCode. Python extension is inserting those characters

Diagnostic data

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Behaviour
XXX
Steps to reproduce:

XXX

Diagnostic data

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

Extension version: 2024.20.0
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:

Python version (& distribution if applicable, e.g. Anaconda): 3.12.4
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Global
Value of the python.languageServer setting: Default

User Settings

languageServer: "Pylance"

Installed Extensions

Extension Name
Extension Id
Version

GitHub Copilot
GitHub.copilot
1.245.0

GitHub Copilot Chat
GitHub.copilot-chat
0.22.4

GitHub Theme
GitHub.github-vscode-theme
6.3.5

JavaScript Debugger
ms-vscode.js-debug
1.95.3

JavaScript Debugger Companion Extension
ms-vscode.js-debug-companion
1.1.3

Jupyter
ms-toolsai.jupyter
2024.10.0

Jupyter Cell Tags
ms-toolsai.vscode-jupyter-cell-tags
0.1.9

Jupyter Keymap
ms-toolsai.jupyter-keymap
1.1.2

Jupyter Notebook Renderers
ms-toolsai.jupyter-renderers
1.0.21

Jupyter Slide Show
ms-toolsai.vscode-jupyter-slideshow
0.1.6

Pylance
ms-python.vscode-pylance
2024.11.2

Python
ms-python.python
2024.20.0

Python Debugger
ms-python.debugpy
2024.12.0

Rainbow CSV
mechatroner.rainbow-csv
3.12.0

Table Visualizer for JavaScript Profiles
ms-vscode.vscode-js-profile-table
1.0.10

WSL
ms-vscode-remote.remote-wsl
0.88.5

System Info

Item
Value

CPUs
AMD Ryzen 7 7700X 8-Core Processor              (16 x 4500)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.19GB (19.40GB free)

Process Argv

Screen Reader
no

VM
0%

@pdadi74 This is just a warning. If you are able to run and use Python extension then there is nothing more to do. But, if you are having issues, then If you share your PATH environment variable, I can suggest what might be wrong with it.


Feature 🌟: "Scroll to Top" Button and "Web Chat-Bot" Are Overlapping.

Describe the feature
Hey @Suchitra-Sahoo ,
I noticed that the "Scroll to Top" button and the Webchat bot are overlapping on the website.
This overlap affects the usability and accessibility of both features, making it difficult for users to effectively interact with the WebChat bot and the scroll top button.
Steps to See the Issue:
Scroll down the page until the "Scroll to Top" button appears.
Observe the overlap between the "Scroll to Top" button and the WebChat bot.
The Expected Behavior for this is -
The "Scroll to Top" button and the WebChat bot should not overlap. Both elements should be easily accessible without interfering with each other.
Add ScreenShots
Before Opening the Chatbot:

After Opening the chatbot:

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Suchitra-Sahoo


Explicitly claim the interface for the GreatDancer backend

As of https://github.com/greatscottgadgets/libgreat/commit/ee45e39c5a151a68cbd9f68c04307948336acecf, GreatDancer needs to be updated to explicitly claim the USB interface so that performance isn't terrible.
Currently, udev on Linux gets saturated by the repeated binds and unbinds.

This is making my Ubuntu 18.04 laptop really angry.
After killing whatever script is using the GreatDancer backend, I need to issue the following so my laptop chills out:
sudo systemctl restart systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

Unfortunately the linked reference fix doesn't seem trivial to apply here...

@bhass1 Can you try the most recent master and see if that calms things down for you?
There was a kernel change that broke this part of userspace a bit ago. :(

@ktemkin & @Qyriad - But the kernel never breaks userspace! /s
The workaround helps! I still get bind/unbind churn while exclusive access is held, but at least when the script is terminated and exclusive access is released, there isn't any more churn. Thank you!


Passbook Images & iPhone 6 & 6+

Passbook images in iPhone 6 and 6+ are much smaller, height wise. Is there any way to adjust/fix that?

We created proper images and added images for @2x and @3x. See https://github.com/assaf/node-passbook/pull/41. Scaling can be a bit tricky, but if you stick to the Passbook Guidelines everything works as intended.
The sizes are:

For normal screens 150x60
@2x 300x120
@3x 450x180

Cheers!


Add schedule feature and tests

Thanks for maintaining this package!
Simple scheduling mechanism to periodically start a Collector's scraping routine. The entire schedule group can be cancelled via StopSchedules or cancelling the Collector.Context. When a stop is executed, all currently running schedules will finish naturally (not at once). Currently, the Collector's registered callbacks are not aware of the scheduleContext cancellation via StopSchedules.
I'm sure you will like me to tweak the implementation here.

This uses public Colly API only, you could do it from your own package just fine, and I'm not yet convinced this is frequent enough use case to be integrated into the main code base.


Manual Dart SDK / Engine roll

Manual roll to handle removal of the packagesPath parameter for gen_snapshot.
#28101 is redundant after this change.

It looks like some further tweaks to build_test.dart are needed to remove packages checks

Can you pull #28176 back into this?

Superseded by #28269


Cache for perfomance tests

We should have a way to store the cache for the github CI so tests don't take 1h to run @egretwAlker

Yes there was a way in gitlab before. It should make sense that in GitHub we have something likewise. I'll also look into it later.

I am wondering why we would want to have cache in CI though. We have regular tests for correctness. It would be nice to see the evaluation of performances over different commits, and with cache in CI we will no longer be able to see that.
But it's indeed a waste of resources as we have many commits, maybe we can configure so that we do performance on every last commit of a day? (Also important commits ofc with tags and releases)

But it's indeed a waste of resources as we have many commits, maybe we can configure so that we do performance on every last commit of a day? (Also important commits ofc with tags and releases)

Unit tests are for correctness, performance tests should only ensure no big performance drop is happening and I don't think building the cache is something we want to test for speed, and if so, we should only test it on smaller settings


nixos/test-driver: additional Python packages in test driver

Description of changes
This adds an additional optional parameter to the test driver that allows for adding custom Python packages to be used by the test driver code.
There's also a new section in the docs that explains how to use this.
Fixes #172325.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg test additional-python-packages login

@ofborg test additional-python-packages login

LGTM... How about you @roberth?

Still curious why numpy

Thanks everyone!

Thanks everyone as well!

Still curious why numpy

It's rather well known and allows for a nice one-liner to check if the lib is there. We could change it so something more test-related though. I have a small typo-fix PR coming up for some docs, that might be a good place to squeeze in that change.
Sorry for not replying earlier; I didn't have access to my desk the past few days.


persistant tooltip | CU-2h755kq

Signed-off-by: Aditya Chatterjee<EMAIL_ADDRESS>Description
This PR fixes #
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Task linked: CU-2h755kq Persistant Tooltip


Refactors Cassandra v1 indexing code and fixes some glitches

This change performs more cleanups in preparation of the move to Datastax
Java Driver 4, mostly consolidation in nature:

Fixes bug when drop-down choices were added when span data wasn't indexed
Uses less auto-value by choosing Map.Entry for pair/tuple data
Simplify index state management by giving each indexer a separate cache
Moves index clash test to CassandraSpanConsumerTest
Adds a bunch of comments explaining loop logic of CassandraSpanConsumer

OK I went ahead and finished the un-guava'ing which made the TraceIdIndexerTest a good bit larger than before. So, after this, we can move to Datastax 4 which can get rid of the last of it (ListenableFuture -> CompletableFuture which we can't do w/o v4).

@anuraaga I tried to fix the comments. PTAL

thanks for the look and advice @anuraaga!


Override styled.xxx with styled.xxxBox?

🚀 Feature Proposal
Override styled-components base tags with the "Box" tags, making the theme utilities available.
Motivation
When using something like styled.div, I would expect to be able to use the theme props on the resulting component. Instead, I need to use styled.divBox. This of course is an easy fix, but it's not intuitive.
Example
import styled from '@xstyled/styled-components'

const Wrapper = styled.div`
  // some css..
`

// Usage

<Wrapper mt={5}>
  // some children..
</Wrapper>

Pitch
This would mean the overall API was simpler and simply "enhanced" styled components without the need for additional exports.
But...
Perhaps separating these was intentional? If so, any reason why?
I'd be happy to put a PR together if this gets the go ahead. (I already have the typescript typings figured out for this too)

Hello, for performance issues it is preferable to keep it like it is. A styled.xxxBox component is not as performant as a styled.xxx component. Also the migration from "styled-components" to "xstyled" would be a breaking change. That's the reasons why it will not happen, sorry!

Sounds good! I thought it might be a performance thing. Thanks!


Add sensitivity analysis?

I think we should keep the framework simple and focused.
Sensetivity analysis is not necessary to apply the model.
If needed it can be easily added by user thru third party libraries


Use space-pen dependencies for input views

This probably isn't the best way to fix this, the views seem to be deprecated. Not sure how to go about replacing the views with an <atom-text-editor> though
fixes #544

Doh, seems to fail a bunch of tests somehow. Not sure if it makes more sense to update the tests against the deprecated views, or update how the input editor view works

Most of the failing tests seem to stem from needing to change how events are bound to the text editor now that it uses shadow DOM. I can update the bindings with
  handleEvents: ->
    input = $ @editor[0].rootElement.querySelector 'input'
    if @singleChar?
      input.on 'textInput', @autosubmit
    @editor.on 'core:confirm', @confirm
    @editor.on 'core:cancel', @cancel
    input.on 'blur', @cancel

and single character motions are working again, but the specs still are failing

@maxbrunsfeld - I was able to return to this and get the tests to work, the specs had the same issue getting a reference to the text editor input through the shadow DOM mentioned above.
It seems like there has to be a better way to hook to the input, but I couldn't find it in the docs. I'd be happy to update if someone would point me in the right direction

Issue is fixed on master.

Hey @MattKunze, didn't mean to ignore this. @tmm1 and I ended up fixing this a different way with the added benefit of not relying on jQuery any more.

No worries, just glad to see the issue fixed!


Dead-time correction algorithm and UI elements for settings

Short description of the changes:
This branch combines back-end changes by @mdoucet in the branch: https://github.com/neutrons/reflectivity_ui/tree/dead_time
and adds UI changes by @searscr and @backmari.
Long description of the changes:

new Mantid-style algorithm SingleReadoutDeadTimeCorrection
logic to apply dead-time correction when a file is loaded
UI elements to configure dead-time correction settings (applied globally for all runs)
logic to reload files upon changes in the dead-time correction settings

TODO: add unit testing of the new algorithm SingleReadoutDeadTimeCorrection
Check list for the pull request

[ ] I have read the [CONTRIBUTING]
[ ] I have read the [CODE_OF_CONDUCT]
[ ] I have added tests for my changes
[ ] I have updated the documentation accordingly

Check list for the reviewer

[ ] I have read the [CONTRIBUTING]
[ ] I have verified the proposed changes
[ ] best software practices

[ ] all internal functions have an underbar, as is python standard
[ ] clearly named variables (better to be verbose in variable names)
[ ] code comments explaining the intent of code blocks

[ ] All the tests are passing
[ ] The documentation is up to date
[ ] code comments added when explaining intent

Manual test for the reviewer

References
Story 5023: [QUICKNXS] Add dead time options to UI

Codecov Report
Attention: Patch coverage is 49.32127% with 112 lines in your changes missing coverage. Please review.

Project coverage is 35.88%. Comparing base (d8cb33c) to head (70360ec).

Files
Patch %
Lines

..._ui/interfaces/data_handling/DeadTimeCorrection.py
22.41%
45 Missing :warning:

...ectivity_ui/interfaces/data_handling/instrument.py
11.36%
39 Missing :warning:

reflectivity_ui/interfaces/data_manager.py
7.69%
12 Missing :warning:

reflectivity_ui/ui/deadtime_settings.py
83.78%
6 Missing :warning:

reflectivity_ui/ui/deadtime_entry.py
88.88%
4 Missing :warning:

reflectivity_ui/interfaces/main_window.py
72.72%
3 Missing :warning:

...ivity_ui/interfaces/event_handlers/main_handler.py
60.00%
2 Missing :warning:

...flectivity_ui/interfaces/data_handling/data_set.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             next      #95      +/-   ##
==========================================
+ Coverage   35.16%   35.88%   +0.72%
==========================================
  Files          30       33       +3
  Lines        6100     6317     +217
==========================================
+ Hits         2145     2267     +122
- Misses       3955     4050      +95

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Comments from Mat:

need to recalculate the reflectivity when files are reloaded
does the cache need to cleared?
reload only the files in the tables and not all in the cache?
keep the settings when reloading the files
default to dead-time settings off

@backmari  codecov says the patch coverage is only 49%. You introduced some new functions. Did you write unit tests for them?


terraform example

Issue #, if available:
Terraform support to provision apps
Description of changes:
Demonstrate provisioning app with terraform
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This PR targeted version 0.1.0 of the codebase, which is no longer actively maintained. Closing this PR since the Terraform functionality was included in version 0.2.0


highlight search input

If space character in the search result, search string not highlighted.

I know this was seen and labeled by the author, but I just wanted to add/clarify something; it seems like for queries that contain a space, it only starts highlighting the second word.
P.S. Big thanks to @ichord for building such an amazing library.

I can confirm that...


If a click event is bubbled from its children, it will not be tracked

Describe the feature or enhancement
If my DOM is like this:
<button data-umami-event="btn">

some icon

<button>

If I clicked on the div (which is often), this event will not be raised. I think this is a common case.
Of course I can trigger an window?.umami.track manually in onclick function, but I think this enhancement is beneficial in most cases.

Confirmed, we'll get this fixed.


Move spam list into database

There’s an array of spammy Eventbrite organizers in the codebase. It has been slowly growing over time. I wonder if this is something that should be moved into the database so that it’s easier to modify and doesn’t pollute this project’s commit history?

Could you assign me to this?

While working on this issue I found out that the events/search endpoint is deprecated: https://www.eventbrite.com/platform/docs/by-category

That’s a bummer 🙁. Thanks for catching that though! It looks like that command will have to be reworked to use the organization IDs we have stored in the database.
Feel free to take another issue or if you’re looking for another Laravel app I contribute to you could check out https://github.com/devict/votelocal


Ability to "invite someone to share"

This  is one of two feature requests that came out of the discussion on the now closed #135.
While VS Live Share currently has a streamlined flow for inviting someone to join a collaboration session, there are often cases where you want someone else to share something with you via Live Share.  In the event these users are new to Live Share it can take a minute to explain the process.
To speed up this process, the concept here is that a user can use a gesture to invite someone to share.
The generated link would then:

Provide install directions if they don't have the extension installed
Automatically start a sharing session for the current project VS/VS Code is open
2a. Prompt you as to which project to share if multiple are open or to open a folder/solution if none
Reuse the link as the join link making it easy for the person originally sending the link to join

This could then be mixed in with toast notifications (#147) to improve the experience.

Closing this due to low activity and lack of significant customer interest. We can re-open it if/when we begin to hear more feedback 👍


Problematic blocking behavior with vscode.env.clipboard.writeText

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

VS Code Version: 1.70
OS Version: Windows 10 Enterprise

At work, we recently added a command to our extension that uses vscode.env.clipboard.writeText(). I was seeing some flaky behavior with this, and after adding a showInformationMessage dialog after the write completes, I discovered that at some times, this writeText call was taking several seconds or more. When I repeated the command a couple of times, the information dialog took longer and longer to show up, and eventually a subprocess started by the extension that includes a heartbeat socket died from lack of a heartbeat, implying that the extension host event thread was massively backed up. When I started monitoring the processes running when trying to reproduce this, I noticed, when I got this issue to trigger, that the pylance language server was consuming one full cpu, the extension host wasn't far behind, and both processes were consuming more than a GB of memory a piece, at a visibly increasing rate. This state eventually ends, and at that point the clipboard write seems to proceed without issue.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.70.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/needsMoreInfo
Please use this guide to provide more information: https://github.com/Microsoft/vscode/wiki/Performance-Issues. Thanks.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Svg breaks in github markdown files

Describe the bug
When their are a lot of backers the SVG does not load in the github readme file but works fine in editor md files
To Reproduce
Steps to reproduce the behavior:

Add this to your Readme.md in github

Preview in github

Expected behavior
Svg is rendered
Actual Behavior
Img breaks
Screenshots

Desktop (please complete the following information):

OS: Windoe
Browser: Chrome
Version: latest

Triage Template (core team only)
This template is for members of the team to triage for prioritisation. For more guidance see https://www.loom.com/share/369ab467fbc64dec848085d38ff57ca0:
P1 high frequency, high impact
P2 low frequency, high impact
P3 high frequency, low impact
P4 low frequency, low impact
Examples of high impact - a problem affects users during an essential process (expenses and payments > onboarding and registration > contributing) with no workaround.
High frequency - >10% of users affected (measured as a proportion of total potential users for this case).

Repo link

My guess is that the image generation either timed out and Github cached this error or produced something too big for Github's cache (the SVG is around 7Mb).
Something you can try: Add a limit parameter` to the URL: https://opencollective.com/ankidroid/backers.svg?width=890&limit=300. We'll probably enforce a limit like that at some point.

But that would leave the other 2k backers and we want to show all of them here, can we do that?

@criticalAY The answer might not be up to us. Try to load https://opencollective.com/ankidroid/backers.svg?width=890 directly, and you'll see that it works. So we're left with:

Optimize the image size: we'd be happy to optimize if there's something we can do, but the problem will end up coming back as the number of contributors grows.
Optimize our response times: here again, we'd be happy to do it if there's an easy hack we can implement - though there's no proof that this is the source of the error.

I would also personally advocate for not serving 8Mb+ images to visitors as that is not friendly for smaller devices/connections.

An alternative could be to use our public API to create a script that will fetch all your contributors, and display them in a different way (e.g. a text list with the names/amount donated).

okkk, makes sense thankyou!


During the redeploy period , the http server not working

During the redeploy period,, the server can not be access.
Starting vert.x application...
77544b32-4662-41f6-a250-d7d976d2fb96-redeploy
Oct 11, 2017 1:40:11 PM io.vertx.core.impl.launcher.commands.Watcher
INFO: Redeployment done in 2622 ms.
``
Is it possible to redeploy smothly like PHP? not break the running server

no it is not possible to achieve it with the redeployer.
can could achieve it by adding a proxy in front of the server or by moving your logic in a verticle accessed by the event bus and only re-deploying this verticle.

Thanks. I am looking for smooth redeploy solution.
Currently seems playframework can do smoth redeploy

Can you open an issue about supporting this in this repo (label it with whishlist ), so we can discuss its feasability ?


fix(demo_deployer): Updated specific regex in validate_output's param

Issue:- Currently in few of the demo deployer scripts, the validation output strings not correct, tests are showing as passed even though they are failing, due to validation output check string is not correctly entered.
Jira Ticket
Updated the validate_output fields in the deployer scripts to use the correct regular expressions for specific agent installations.
Changes done in the variety of deployer scripts for the different agents, for example in PHP deployer scripts.
PHP Deployer Script:
From: "New Relic installation complete"
To: "PHP Agent\s+(installed)"
Context
The previous validate_output string, "New Relic installation complete", was too generic and indicated success for any installation. This update ensures that the validate_output specifically checks for the PHP agent installation status.
Verification
Verified that the new regular expression correctly identifies the PHP agent installation.

Overall changes looks good to me.


Added uf2conv tool

A simple python script I'm using to create uf2 files from binaries. This will be needed for the sonata hackathon.

elf2uf2-rs is taylored to the pi pico, so wasn't immediately useful, e.g.

Thanks for the quick reviews!


include includeDerivedMembership option for group sync

In command:
gam course xxx sync students|teachers group<EMAIL_ADDRESS>I add alternative option "group_inde" (INclude DErived). Just a sugestion name, be free for change.
gam course xxx sync students|teachers group_inde<EMAIL_ADDRESS>

I was trying to create a recursive function, when debugging, I saw the option in the documentation.
Now I also saw that one of the existing functions has this option as the last parameter.
Instead of creating an option with a strange name how about changing to an option at the end?

Eduardo,
includeDerivedMembership does not work as you expect; yes, it returns the users from the embedded groups but it also returns the groups themselves.
$ gam print group-members group testgroup1
Getting members for<EMAIL_ADDRESS>(1/1)
group,id,email,role,type,status
testgroup1@domain.com,100763751091086757711,admin@domain.com,OWNER,USER,ACTIVE
testgroup1@domain.com,02et92p00o704lb,testgroup2@domain.com,MEMBER,GROUP,ACTIVE
testgroup1@domain.com,118080758787650801331,testuser1@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,107344800159717682514,testuser2@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,109097381978066352282,testuser3@domain.com,MEMBER,USER,ACTIVE

$ gam print group-members group testgroup1 includederivedmembership
Getting members for<EMAIL_ADDRESS>(1/1)
group,id,email,role,type,status
testgroup1@domain.com,116126129626858888856,testuser4@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,02et92p00o704lb,testgroup2@domain.com,MEMBER,GROUP,ACTIVE
testgroup1@domain.com,114925742703179281438,testuser7@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,106003875779405359392,testuser5@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,118080758787650801331,testuser1@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,109097381978066352282,testuser3@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,107344800159717682514,testuser2@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,100763751091086757711,admin@domain.com,OWNER,USER,ACTIVE

I've addressed this in Advanced GAM with an option that supplies just the user members.
group_users|group_users_ns|group_users_susp <GroupList>
        [members] [managers] [owners]
        [primarydomain] [domains <DomainNameList>] [recursive] end

taers232c,
This is not a problem, its will filter.
https://github.com/eduardomazolini/GAM/blob/c60947a8b27822e102f3d538f0f9d8dd4a8c1dbc/src/gam/__init__.py#L12167

Eduardo,
includeDerivedMembership does not work as you expect; yes, it returns the users from the embedded groups but it also returns the groups themselves.
$ gam print group-members group testgroup1
Getting members for<EMAIL_ADDRESS>(1/1)
group,id,email,role,type,status
testgroup1@domain.com,100763751091086757711,admin@domain.com,OWNER,USER,ACTIVE
testgroup1@domain.com,02et92p00o704lb,testgroup2@domain.com,MEMBER,GROUP,ACTIVE
testgroup1@domain.com,118080758787650801331,testuser1@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,107344800159717682514,testuser2@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,109097381978066352282,testuser3@domain.com,MEMBER,USER,ACTIVE

$ gam print group-members group testgroup1 includederivedmembership
Getting members for<EMAIL_ADDRESS>(1/1)
group,id,email,role,type,status
testgroup1@domain.com,116126129626858888856,testuser4@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,02et92p00o704lb,testgroup2@domain.com,MEMBER,GROUP,ACTIVE
testgroup1@domain.com,114925742703179281438,testuser7@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,106003875779405359392,testuser5@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,118080758787650801331,testuser1@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,109097381978066352282,testuser3@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,107344800159717682514,testuser2@domain.com,MEMBER,USER,ACTIVE
testgroup1@domain.com,100763751091086757711,admin@domain.com,OWNER,USER,ACTIVE

I've addressed this in Advanced GAM with an option that supplies just the user members.
group_users|group_users_ns|group_users_susp <GroupList>
        [members] [managers] [owners]
        [primarydomain] [domains <DomainNameList>] [recursive] end

It will not filter; groupUserMembersOnly=False turns off the filter
def doUpdateGroup():
....
	elif myarg == 'sync':
            syncMembersSet = set()
            syncMembersMap = {}
            role, users_email, delivery = _getRoleAndUsers()
            for user_email in users_email:
		if user_email in ('*', GC_Values[GC_CUSTOMER_ID]):
                    syncMembersSet.add(GC_Values[GC_CUSTOMER_ID])
                else:
                    syncMembersSet.add(
                        _cleanConsumerAddress(user_email.lower(),
                                              syncMembersMap))
            group = checkGroupExists(cd, group)
            if group:
		currentMembersSet = set()
                currentMembersMap = {}
                for current_email in getUsersToModify(
                        entity_type='group',
                        entity=group,
                        member_type=role,
                        groupUserMembersOnly=False):
                    if current_email == GC_Values[GC_CUSTOMER_ID]:
                        currentMembersSet.add(current_email)
                    else:
                        currentMembersSet.add(
                            _cleanConsumerAddress(current_email.lower(),
                                                  currentMembersMap))

Look at your lines: 8751-8770, groupUserMembersOnly=False in the call to getUsersToModify
         elif myarg == 'sync':
            syncMembersSet = set()
            syncMembersMap = {}
            role, users_email, delivery = _getRoleAndUsers()
            for user_email in users_email:
                if user_email in ('*', GC_Values[GC_CUSTOMER_ID]):
                    syncMembersSet.add(GC_Values[GC_CUSTOMER_ID])
                else:
                    syncMembersSet.add(
                        _cleanConsumerAddress(user_email.lower(),
                                              syncMembersMap))
            group = checkGroupExists(cd, group)
            if group:
                currentMembersSet = set()
                currentMembersMap = {}
                for current_email in getUsersToModify(
                        entity_type='group',
                        entity=group,
                        member_type=role,
                        groupUserMembersOnly=False):
                    if current_email == GC_Values[GC_CUSTOMER_ID]:
                        currentMembersSet.add(current_email)
                    else:
                        currentMembersSet.add(
                            _cleanConsumerAddress(current_email.lower(),
                                                  currentMembersMap))

Look at your lines 12164-12169, when groupUserMembersOnly is False, the filter is skipped.
        users = []
        for member in members:
            if ((not groupUserMembersOnly) or
                (member['type'] == 'USER')) and _checkMemberRoleIsSuspended(
                    member, validRoles, checkSuspended):

You could change line 12166:
if ((not groupUserMembersOnly and not includeDerivedMembership) or

Look at your lines: 8751-8770, groupUserMembersOnly=False in the call to getUsersToModify
         elif myarg == 'sync':
            syncMembersSet = set()
            syncMembersMap = {}
            role, users_email, delivery = _getRoleAndUsers()
            for user_email in users_email:
                if user_email in ('*', GC_Values[GC_CUSTOMER_ID]):
                    syncMembersSet.add(GC_Values[GC_CUSTOMER_ID])
                else:
                    syncMembersSet.add(
                        _cleanConsumerAddress(user_email.lower(),
                                              syncMembersMap))
            group = checkGroupExists(cd, group)
            if group:
                currentMembersSet = set()
                currentMembersMap = {}
                for current_email in getUsersToModify(
                        entity_type='group',
                        entity=group,
                        member_type=role,
                        groupUserMembersOnly=False):
                    if current_email == GC_Values[GC_CUSTOMER_ID]:
                        currentMembersSet.add(current_email)
                    else:
                        currentMembersSet.add(
                            _cleanConsumerAddress(current_email.lower(),
                                                  currentMembersMap))

Look at your lines 12164-12169, when groupUserMembersOnly is False, the filter is skipped.
        users = []
        for member in members:
            if ((not groupUserMembersOnly) or
                (member['type'] == 'USER')) and _checkMemberRoleIsSuspended(
                    member, validRoles, checkSuspended):

You could change line 12166:
if ((not groupUserMembersOnly and not includeDerivedMembership) or

Ok, if you have more experience, this is suggesting I don't see why not.


Workflow panic due to potential deadlock detected when many goroutines are running

Is your feature request related to a problem? Please describe.
When we add a large load on our temporal workflows we started to get Workflow panic errors with the description:
Potential deadlock detected: workflow goroutine "root" didn't yield for over a second

After some investigation, we determined that this issue was related to the number of goroutines a service had open. In order to mitigate the issue we set the MaxConcurrentWorkflowTaskExecutionSize and MaxConcurrentActivityExecutionSize on our temporal workers. The default value for each of these values is 1k. We had to significantly lower this value to prevent the panic from occurring.
Describe the solution you'd like
We would like to be able to increase the MaxConcurrentWorkflowTaskExecutionSize and MaxConcurrentActivityExecutionSize values so that our service can complete activities and workflows quicker.
Currently, the default value is 1 sec, it would be great to be able to make the deadlock timeout value configurable so that we can tweak the value on our end. We also see that there is an env var TEMPORAL_DEBUG which can be set to make the deadlock timeout value very large, however, this only seems like a workaround as opposed to a more permanent solution.

Looks like question has been resolved. We are considering making 1 sec timeout configurable in the future.


Fix fallback logic

Just found that we won't fallback to 100% if using template literals

Thanks for fixing :-)


feat: write sbom result to disk

Signed-off-by: Batuhan Apaydın<EMAIL_ADDRESS>Fixes #728

Codecov Report

Merging #822 (9e93ca2) into main (bb84aa3) will decrease coverage by 0.26%.
The diff coverage is 18.51%.

@@            Coverage Diff             @@
##             main     #822      +/-   ##
==========================================
- Coverage   51.37%   51.10%   -0.27%
==========================================
  Files          44       44
  Lines        3354     3381      +27
==========================================
+ Hits         1723     1728       +5
- Misses       1408     1428      +20
- Partials      223      225       +2

Impacted Files
Coverage Δ

pkg/commands/resolver.go
33.44% <0.00%> (-0.89%)
:arrow_down:

pkg/build/options.go
62.92% <11.11%> (-5.83%)
:arrow_down:

pkg/build/gobuild.go
58.57% <25.00%> (-0.34%)
:arrow_down:

pkg/commands/options/build.go
70.08% <100.00%> (+0.52%)
:arrow_up:

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


Update bedrock.py - support of other endpoint url (esp. for users of …

Added an endpoint_url attribute to Bedrock(LLM) class - I have access to Bedrock only via us-west-2 endpoint and needed to change the endpoint url, this could be useful to other users

awesome, thanks @Ducasse-Arthur!


Build using nvcc + clang?

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

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): source
TensorFlow version: commit c044803bcd710a040d6baa6f39588581ae1c5c01 (with the problem in https://github.com/tensorflow/tensorflow/issues/36170 fixed locally)
Python version: 3.7.6
Installed using virtualenv? pip? conda?: conda
Bazel version (if compiling from source): 1.2.1
GCC/Compiler version (if compiling from source): gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CUDA/cuDNN version: V10.1.243/7.6.5
GPU model and memory: GeForce GTX 1080, 8116 MiB

Describe the problem
I was able to build Tensorflow with (bazel build tensorflow/tools/pip_package:build_pip_package) using nvcc + gcc. But if I tried to manully override gcc using clang (8.0.1), the build will fail with
clang: error: unknown argument: '-fno-canonical-system-headers'

It seems the CC toolchain auto config still generates flags for nvcc + gcc, even though I choose to use clang. I confirmed that my gcc has this flag while my clang does not.
If I choose to use clang as CUDA compiler, it would fail with
 error: cannot find libdevice for sm_61.

which seems to mean that Clang cannot compile for this cuda compute capabilities (6.1). So I am wondering if there is any way of using nvcc + clang to build since I use clang as default (for all other builds). Shouldn't this be possible since clang is used by default on Macs? Thanks!

@Artem-B may have some details.
At one point, I remember CUDA headers had a check to block building with Clang, when we first tried this. I do not know if this still applies.
Another option is to just use clang when building TF. Clang can already compile cuda code.

NVCC + custom crosstool w/ a wrapper script was very gcc-centric when I looked at it last time (mind, it was a while back). I would not expect that to work out of the box.
As for using clang for CUDA compilation, it's expected to work in general, but I don't have enough details to tell what went wrong in this case.

error: cannot find libdevice for sm_61.

This could happen if you install CUDA from packages (as opposed to installing it manually from a .run file). Packages tend to scatter CUDA files all over the place which confuses clang. I think there were recent changes to attempt dealing with some of this, but in general clang assumes a monolithic CUDA installation (I.e. all CUDA files are under a single directory).
As for mismatching declarations for stpcpy, here's how I'd debug it:

run blaze with --verbose_failures and extract exact compiler command line
reproduce the failure manually
If the failure was during compilation of a CUDA file run compiler with -v and extract command line of sub-compilation that fails.
run the failing sub-compilation with -dD -E and check what preprocessed declarations/definitions look like for the functions we're failing on.
track down the differences to a macro which leads to them (__USE_XOPEN2K8 ? __THROW ?) and then figure out why the declarations are inconsistent.

One thing that could be the culprit is that CUDA does not support exceptions on the GPU side. If something/somewhere assumes that exceptions are available, things may not work as expected. Another possible source of trouble is that clang's __clang_cuda_runtime_wrapper.h which implements the magic massaging CUDA headers into something clang can pasre may need to be updated to deal with more recent headers on your machine.
@djwenren If you can send me exact command line that fails, I'll try reproducing it locally and check what's going on. The headers on my machine appear to match the ones quoted above.

Thanks for the detailed information, @Artem-B ! I reinstalled my Cuda toolkit (10.1) using runfiles from Nvidia. The problems seem to have gone away. I was able to build using purely Clang. Could have been some misconfiguration I had earlier.

Hi all!

For correct nvcc and TF compilation  with MLIR support required  preinstalled clang  - see required clang version version in the  '/usr/local/cuda-11-2/include/crt/host_config.h`
If you remain only sm_61 in the setup.py  - you get error in the time compilation. Enter next values separated by comma when you run setup.py after defining correct path to clang: sm_35, sm_50, sm_60, sm_70, sm_75, compute_80 - more accuracy required in the you version TF values you can get run these code for TF package installed from pypy

from tensorflow.python.platform import build_info
build_info.build_info

in my case for TF 2.5.1
OrderedDict([('cpu_compiler', '/usr/bin/gcc-5'),
             ('cuda_compute_capabilities',
              ['sm_35', 'sm_50', 'sm_60', 'sm_70', 'sm_75', 'compute_80']),
             ('cuda_version', '11.2'),
             ('cudnn_version', '8'),
             ('is_cuda_build', True),
             ('is_rocm_build', False),
             ('is_tensorrt_build', True)])


MC JIT does not execute compression program correctly, but Lazy JIT does

I've been compiling a subset of the SPEC CPU 2017 benchmarks into WebAssembly and running them using various WebAssembly runtimes, mainly to compare the performance of different JIT compilers.
I've run into issues with the 557.xz_r benchmark, a compression program. When building with Lazy JIT enabled, the program executes correctly and gives the desired output. However, when building with Lazy JIT disabled (and so MC JIT enabled), the data becomes corrupted.
Here's an example input:

iwasm  --dir=. xz_r_base.mytest-m32 cpu2006docs.tar.xz 1 055ce243071129412e9dd0b3b69a21654033a9b723d874b2015c774fac1553d9713be561ca86f74e4f16f22e664fc17a79f30caa5ad2c04fbc447549c2810fae 650156 -1 0

Here's the expected output, which is also given by Lazy JIT:

SPEC CPU XZ driver: input=cpu2006docs.tar.xz insize=1
Loading Input Data
Compressed size: 1287176; Uncompressed size: 9041920
SHA-512 of decompressed data compared successfully!
Decompressed data too large; truncating to requested size 1048576
SHA-512 of input file: 08f45ee14f1e624ef4ac5accaf791cabc25834995f66954ffb6e6f0a92755070560f0ae276ff1517ce513dfffeda8eb455c3ed54121f0b22d85d0aba954bb202
Input data 1048576 bytes in length
Compressing Input Data, level 0
Compressed data length is 650156 bytes in length
Finished compressing data
Uncompressing previously compressed data
Uncompressed data 1048576 bytes in length
Uncompressed data compared correctly
Tested 1 MiB buffer: OK!

Here's MC JIT's output:

SPEC CPU XZ driver: input=cpu2006docs.tar.xz insize=1
Loading Input Data
Compressed size: 1287176; Uncompressed size: 9041920
SHA-512 of decompressed data compared successfully!
Decompressed data too large; truncating to requested size 1048576
SHA-512 of input file: 08f45ee14f1e624ef4ac5accaf791cabc25834995f66954ffb6e6f0a92755070560f0ae276ff1517ce513dfffeda8eb455c3ed54121f0b22d85d0aba954bb202
Input data 1048576 bytes in length
Compressing Input Data, level 0
Compressed data length of 650468 does not match expected length of 650156 bytes
Finished compressing data
Uncompressing previously compressed data
Decompression decoder error: Compressed data is corrupt (code 9)
Uncompressed data 547840 bytes in length
Computed SHA-512 sum for decompression step did not match expected
Generated: d63e6f65f9d19f3a0fc176233c22f3c166a9e17e337e059014e594252f376c2c6143e586e33aeb02d3a1715147203334ea1bab8fdb5fe4deb1b6123b3f30f46c
Expected: 08f45ee14f1e624ef4ac5accaf791cabc25834995f66954ffb6e6f0a92755070560f0ae276ff1517ce513dfffeda8eb455c3ed54121f0b22d85d0aba954bb202

I'm running on Linux Mint 20.2 and compiling the benchmarks using the wasi-sdk clang. Attached
is the input file cpu2006docs.tar, the source code and the compiled WebAssembly (xz_r_base.mytest-m32).

@kimbethstonehouse not sure how you build the workload into wasm bytecode, could you help upload the build script? I replaced "/usr/local/gcc" with "/opt/wasi-sdk/bin/clang" in simple-build-xz_r-557.sh and removed the "-m64" option to build the wasm file, and then run it with MCJIT, it works. See 557.zip.


Use AccessPath in LICM and split loads for combine load/store hoisting

Still waiting to merge https://github.com/apple/swift/pull/33121
And creating more thorough test cases for this.
Fixes regressions caused by rdar://66791257 (Print statement provokes "Can't unsafeBitCast between types of different sizes" when optimizations enabled)
Step 1:
Use AccessPath in LICM.
The LICM algorithm was not robust with respect to address projection
because it identifies a projected address by its SILValue. This should
never be done! Use AccessPath instead.

Step 2:
LICM: split loads that are wider than the loop-stored value.
For combined load-store hoisting, split loads that contain the
loop-stored value into a single load from the same address as the
loop-stores, and a set of loads disjoint from the loop-stores. The
single load will be hoisted while sinking the stores to the same
address. The disjoint loads will be hoisted normally in a subsequent
iteration on the same loop.

loop:
  load %outer
  store %inner1
exit:

Will be split into

loop:
  load %inner1
  load %inner2
  store %inner1
exit:

Then, combined load/store hoisting will produce:

  load %inner1
loop:
  load %inner2
exit:
  store %inner1

@eeckstein documentation feedback was all very helpful. The rewritten documentation is here:
https://github.com/apple/swift/blob/d5590801e44b51f96c371dc8d81e619687ae71b0/docs/SILProgrammersManual.md#accessedstorage-and-accesspath
Keep in mind, I'm keeping it as concise as I can since I think details belong in file or class level comments.
This PR is only supposed to cover the LICM load splitting optimization.

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)

@swift-ci test

@swift-ci test source compatibility

@swift-ci benchmark

Performance: -O

Regression
OLD
NEW
DELTA
RATIO

StringAdder
224
241
+7.6%
0.93x (?)

Improvement
OLD
NEW
DELTA
RATIO

Data.hash.Medium
31
27
-12.9%
1.15x (?)

Code size: -O
Performance: -Osize

Regression
OLD
NEW
DELTA
RATIO

FlattenListLoop
930
1048
+12.7%
0.89x (?)

Improvement
OLD
NEW
DELTA
RATIO

Chars2
3700
3300
-10.8%
1.12x (?)

Calculator
166
149
-10.2%
1.11x (?)

Data.hash.Medium
31
28
-9.7%
1.11x

ObjectiveCBridgeStubToNSStringRef
83
75
-9.6%
1.11x (?)

Code size: -Osize
Performance: -Onone

Regression
OLD
NEW
DELTA
RATIO

ArrayAppendAsciiSubstring
28656
31176
+8.8%
0.92x (?)

DataToStringSmall
3600
3900
+8.3%
0.92x (?)

ArrayAppendLatin1Substring
29304
31716
+8.2%
0.92x (?)

Improvement
OLD
NEW
DELTA
RATIO

Data.hash.Medium
40
37
-7.5%
1.08x (?)

LuhnAlgoEager
2525
2349
-7.0%
1.07x (?)

Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 64 GB

Build failed
Swift Test Linux Platform
Git Sha - c37402993f3b6ede773ac016fdb865b2ef041648

I finished writing tests for corner cases and caught a potential miscompile.

@swift-ci test

@swift-ci test source compatibility

Build failed
Swift Test OS X Platform
Git Sha - 437765e7e1dbbc40bcac10ad3ff5748b5a70fe06

I'm seeing a PR testing issue:
Failed test:
lldb-api lang/swift/unknown_self/TestSwiftUnknownSelf.py
libc++abi.dylib: terminating with uncaught exception of type std::__1::system_error: recursive_mutex lock failed: Invalid argument

And another PR testing failure with the Debug SCK
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project
15:01:47 <unknown>:0: note: Cannot read '/Users/buildnode/jenkins/workspace-private/swift-PR-source-compat-suite-debug/build/compat_macos/swift-macosx-x86_64/./lib/swift/macosx/layouts-x86_64.yaml'

@swift-ci smoke test OS X

This seems to have failed to build on Windows, can we revert this?


Enhance support of NMOS stream mappings for JPEG XS and e.g. H264, H265, VP9 and AV1

NMOS supports compressed video streams; at the most basic via the media_type attribute in the Flow and the media_types capability in the Receiver.
Since IS-04 v1.3, we can register new Flow attributes, and with BCP-004-01 Receiver Capabilities and the Capabilities register, new Receiver capabilities. For example, for JPEG XS (see #177), it was agreed that bit rate is an important characteristic to add (as well as being able to indicate color (sub-)sampling for coded video Flows via the same components attribute used for raw video Flows).
The nmos-cpp sdp module is generic and extensible.
However, the nmos-cpp nmos/sdp_utils.h module and the nmos::sdp_parameters structure it defines are not.
I propose we extend the nmos::sdp_parameters and related functions to provide SDP read/write for additional media types. If it cannot be done maintaining backward compatibility we can do something alongside instead.
There may be no point making something fully generic if it wouldn't provide any abstraction over the lower level sdp namespace functions.
Top priorities are to support video/jxsv, video/H264, video/H265, video/VP9, video/AV1 and audio/AM824 (which doesn't appear to have an IANA registration...).
I feel the nmos::sdp_parameters structure should expose all the required and optional format-specific parameters of these media types as first-class values. There are currently a few missing even for video/raw (when used as per ST 2110-20) such as CMAX (noted in the code).

Missing format-specific parameters:

video/raw (when used as per ST 2110-20/-21)

Required parameters

PM, SSN (currently written with hard-coded values and not read)

Optional parameters

RANGE
MXUDP
PAR
TROFF (also for video/SMPTE2022-6 when used as per ST 2022-8)
CMAX

video/jxsv

Required parameters:

packetmode

Optional parameters:

transmode
profile
level
sublevel
~depth~
~width~
~height~
~exactframerate~
~interlace~
~segmented~
~sampling~
~colorimetry~
~TCS~
RANGE (as per video/raw, ST 2110-20)

video/H264

Optional parameters:

profile-level-id
sprop-parameter-sets
sprop-level-parameter-sets
packetization-mode
sprop-interleaving-depth
sprop-deint-buf-req
sprop-init-buf-time
sprop-max-don-diff
Note: there are also a large number of H264 receiver capabilities defined which could be mapped to BCP-004-01 Receiver Capabilities?

video/H265

Optional parameters:

profile-space
profile-id
tier-flag
level-id
profile-compatibility-indicator
sprop-sub-layer-id
tx-mode
sprop-vps
sprop-sps
sprop-pps
sprop-sei
sprop-max-don-diff
sprop-depack-buf-nalus
sprop-depack-buf-bytes
sprop-segmentation-id
sprop-spatial-segmentation-idc
Note: there are also a large number of H265 receiver capabilities defined which could be mapped to BCP-004-01 Receiver Capabilities?

video/VP9

Optional parameters:

profile-id

video/AV1

Optional parameters:

profile
level-idx
tier

audio/AM824 (per ST 2110-31, since there's no IANA registration...)

~channel-order~ (same as ST 2110-30)

Other media types mentioned in #200: video/vc2, and audio/aac, /mp2, /mp3, /m4a, /opus. Relative priority unknown!


Signing Forgotten - always

I can only sign in using the password reset form. Otherwise my information is "Not found". Even when Ive signed in, if I attempt to change my password I am greeted by the same message.
Password reset allows successful auto-login.

That's strange, what's your account name?

meat5000 is my username. If I use my email address it says its too long. Otherwise I get username/password not found.
 };-#)><EMAIL_ADDRESS>On Wednesday, May 17, 2017 11:04 AM, d07RiV<EMAIL_ADDRESS>wrote:

That's strange, what's your account name?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Your username is just 'Meat', maybe you're typing in the wrong name?

What's odd about this is I never use just Meat... always Meat5000; but yes it seems you are right here.
 };-#)><EMAIL_ADDRESS>On Monday, May 22, 2017 10:17 AM, d07RiV<EMAIL_ADDRESS>wrote:

Your username is just 'Meat', maybe you're typing in the wrong name?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you. I figure the problem was not a coding issue of any kind. The issue may appear to be the switching of prompts between sign-up, sign-in and password reset with regard to the use of Username or Email.  As noone else seems to be having an issue it would seem I had simply gotten confused. Dumb-ass moment I guess; but my brain still tells me there's something to it, however the results would border on pedantry.
Kind Regards
 };-#)><EMAIL_ADDRESS>On Wednesday, June 14, 2017 10:10 PM, d07RiV<EMAIL_ADDRESS>wrote:

Closed #211.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Use GitHub release and changelog

Hello,
It is sometimes hard to know what was shipped during the previous releases and I think it would be great if you could put a changelog in GitHub releases.
For example, I had to find the related PR for the 1.1.2 version to know what it was about.

Hi @RomainCscnLF,
You are right we should be using GitHub Release and changelogs (we do on our other libraries).
We will put in place procedures to make sure we keep this up to date going forward.
Thanks for bringing this to our attention.

Hi @lancscoder,
Thanks for your quick reply 🚀
Happy to hear that! I can close this issue then 💯


Needs update for new drop box API v2.0

https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/

Hi,
Is there any update on this?

none as far as i can tell, moving on to other library

dropnet no longer being under development.　https://github.com/DropNet/DropNet/commit/cd3ac28283b243cc307ad840f3106faa99efaa50


Latest CI build breaks "dapr"

Describe the bug
Installing the latest CI build (0.7.*) breaks "dapr" integration with "tye".
To Reproduce
Install "tye" from CI build. Enable pub/sub over Kafka via"dapr".
tya.yaml:

name: kafka-dapr-tye-sample
services:

name: zookeeper
image: confluentinc/cp-zookeeper:latest
bindings:

protocol: http
port: 2181
containerPort: 2181
env:
name: ZOOKEEPER_CLIENT_PORT
value: 2181

name: kafka
image: confluentinc/cp-kafka:latest
bindings:

protocol: http
port: 9092
containerPort: 9092
env:
name: KAFKA_BROKER_ID
value: 1
name: KAFKA_ZOOKEEPER_CONNECT
value: zookeeper:2181
name: KAFKA_ADVERTISED_LISTENERS
value: PLAINTEXT://localhost:9092
name: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR
value: 1
name: KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE
value: true

name: kafka-producer-svc
project: service/kafka-producers-vc.csproj
name: kafka-consumer-svc
project: service/kafka-consumer-svc.csproj
extensions:
name: dapr
log-level: debug
components-path: .\components

pubsub.yaml in "components" folder

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: pubsub
spec:
type: pubsub.kafka
version: v1
metadata:
- name: "brokers"
value: "localhost:9092"
- name: "authRequired"
value: "false"
- name: saslUsername
value:
- name: saslPassword
value:
- name: ConsumerID
value: abc

Subscription-mytopic1.yaml in "components" folder

apiVersion: dapr.io/v1alpha1
kind: Subscription
metadata:
name: poc-subscription-chs
spec:
topic: mytopic1
route: /api/PostKafkaMessage
pubsubname: pubsub
scopes:

kafka-consumer-svc

Start the services using "tye run"
You will see "log" message in dapr side car indicating that "pub/sub component failed to initialize as the broker host is unreachable on localhost:9092".
The reason for this seems to be: "dapr" is being started by the following command via "tye" on the CI build (0.7.*).

C:/dapr/dapr.exe run --app-id kafka-producer-svc --app-port 56663 --dapr-grpc-port 56668 --dapr-http-port 56669 --metrics-port 56670 --placement-host-address localhost:56660 --log-level debug --components-path .\components

In the "working" version of "tye" (0.6.*) it's started with this command:

"c:\users[user].dapr\bin*daprd.exe* run --app-id kafka-producer-svc --app-port 56663 --dapr-grpc-port 56668 --dapr-http-port 56669 --metrics-port 56670 --placement-host-address localhost:56660 --log-level debug --components-path .\components

What version of dapr are you using? The latest version I believe added support for the run command on dapr.exe

@pattisapu01 did you get the chance to check your version of dapr? I'm going to close this for now and let you reopen if updating to the latest version of dapr doesn't fix your problem.


Alt Anims don't make play the "-loop" counterpart

Describe your bug here.
Alt Anims don't use the "-loop" counterparts that are used for the parents' eye glow and the car stages.
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, I made some code that changes BF's animations in lua when under a certain amount of health, but it uses triggerEvent for the idle change.

They do, you've set it wrong on the character editor.


Unsafe code

Hi,
I currently make an experiment with your libary and the gimli libary to write a object file which has debugging symbols.
But when i run my code, i get following error:
thread 'main' panicked at C:\Users\toni-\.cargo\registry\src\index.crates.io-6f17d22bba15001f\object-0.34.0\src\write\mod.rs:778:34:
attempt to subtract with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\debugobjtest.exe` (exit code: 101)

Which is in your crate the following lines:
 debug_assert_eq!(align & (align - 1), 0); <- Maybe point out that align cannot be 0?
My code looks like followed:
use std::fs::File;

use gimli::{write::{Address, DwarfUnit, EndianVec, Error, LineString, Sections}, Encoding};

use object::{
    write::Object, Architecture, BinaryFormat, Endianness
};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut dwarf = DwarfUnit::new(Encoding {
        format: gimli::Format::Dwarf32,
        version: 5,
        address_size: 8,
    });

    let directory_id = dwarf.unit.line_program.add_directory(LineString::String(b"src/".into()));
    let file_id = dwarf.unit.line_program.add_file(LineString::String(b"test.c".into()), directory_id, None);

    let address = Some(Address::Constant(5));

    dwarf.unit.line_program.begin_sequence(address);
    dwarf.unit.line_program.row().file = file_id;
    dwarf.unit.line_program.row().line = 2;
    dwarf.unit.line_program.row().column = 1;
    dwarf.unit.line_program.row().address_offset = 0x0f;
    dwarf.unit.line_program.end_sequence(4);

    let mut obj = Object::new(BinaryFormat::Coff, Architecture::X86_64, Endianness::Little);

    let mut sections = Sections::new(EndianVec::new(gimli::LittleEndian));
    dwarf.write(&mut sections)?;
    sections.for_each(|id, data| {
        let data = data.clone().into_vec();
        let section = obj.add_section(vec![], id.name().as_bytes().into(), object::SectionKind::Debug);
        let sec = obj.section_mut(section);
        sec.append_data(&data, 0);

        Ok::<(), Error>(())
    })?;

    let file = File::create("test.o")?;
    obj.write_stream(file)?;

    Ok(())

}

When i change the align to 1 the issue is away.
Fix:
Point out that the align cannot be 0
Bye

Note that in Rust integer overflow is not the same as unsafe code.


feat: add async getters for session and user.

What kind of change does this PR introduce?
adds async getters for session and user.
this provides a workaround for #143 and #23 without needing setTimeout.
this is an alternate solution to #147.
What is the current behavior?
After const supabase = createClient(supabaseUrl, supabaseKey)
supabase.auth.session() and supabase.auth.user() might return null,
if the session is expired and currently refreshing or if the session is recovering from a magic link.
What is the new behavior?
refreshedSession() resp. refreshedUser() wait for the pending recovery and
and return valid session resp. user data.
usage examples
const session = await supabase.auth.refreshedSession()
const user = await supabase.auth.refreshedUser()

Additional context
for supabase-js v2 (supabase/supabase-js#170)
user()  and session() should IMHO be async functions.

Hey @lebrinkma,
Thanks for this - sorry I didn't see it sooner!
This is now being tracked in #285. Any comments you have are welcome there :)


bower.json should contain non-minified js file instead of minified js

The main property of the bower.json is used by automated tools (like https://github.com/taptapship/wiredep#what-can-go-wrong). Right now, the bower.json for includes minified file reference. So I suggest only the non-minified versions be included in the bower.json.

I don't understand why it makes any difference if you include the minified or the non-minified version?

Hi @jackocnr
Bower recommends not to use minified files for your main scripts (leave it up to build tools to minify if desired).

Thanks for pointing this out. Fixed in v6.4.1.

@jackocnr Awesome :+1:


com.gargoylesoftware.htmlunit.javascript.host.Element$$Lambda$81/543270429

    Thanks for fixing it out. But here is the another issue raised after fixing the above one.

2022-10-21 17:33:47 [JS executor for com.gargoylesoftware.htmlunit.WebClient@65732010] WARN  c.g.h.IncorrectnessListenerImpl - Obsolete content type encountered: 'text/javascript'.
java.io.NotSerializableException: com.gargoylesoftware.htmlunit.javascript.host.Element$$Lambda$81/543270429
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
at java.util.HashMap.internalWriteEntries(HashMap.java:1790)
at java.util.HashMap.writeObject(HashMap.java:1363)
at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
Originally posted by @gangadharkasturi in https://github.com/HtmlUnit/htmlunit/issues/511#issuecomment-1286873060

made a new snapshot build - please try

Thank you @rbri, I'll try and let you know

2022-10-22 08:09:31 [JS executor for com.gargoylesoftware.htmlunit.WebClient@76bb4792] WARN  c.g.h.IncorrectnessListenerImpl - Obsolete content type encountered: 'text/javascript'.
java.io.NotSerializableException: com.gargoylesoftware.htmlunit.html.StaticDomNodeList
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)

StaticDomNodeList : After making this to serializable , it is working fine. Please accept my pull request to make the changes.

sorry i have created my own patch - please rebase your repo before working on more pull requests.
A new snapshot build is available - please test.
Thanks for the report - and more pull requests are welcome.

Thanks for all the support, will surely contribute from my side.


Add _TZE200_khx7nnka device

Fix: #2014

Codecov Report
Base: 83.53% // Head: 83.53% // No change to project coverage :thumbsup:

Coverage data is based on head (de39205) compared to base (5ae95df).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2020   +/-   ##
=======================================
  Coverage   83.53%   83.53%
=======================================
  Files         249      249
  Lines        8016     8016
=======================================
  Hits         6696     6696
  Misses       1320     1320

Impacted Files
Coverage Δ

zhaquirks/tuya/ts0601_illuminance.py
100.00% <ø> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.533%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6696

Relevant Lines:
8016

💛  - Coveralls


Blocking file hooks send clients more than hook output.

I'm using the pre-create file hook to prevent unauthorized uploads. When using a non zero exit to block the upload I expected the hook's output to be sent to the client by itself. Instead an extra line about the hook execution is being added at the top of the output as shown here.
pre-create hook failed: exit status 1
(the actual hook output)...

I can of course strip the extra line off before parsing it on the client side as JSON but it seems like this data probably shouldn't be being sent to the client.

Thank you for reporting this. Right now, this is the expected behavior. The additional output is intended to help developers figure out why the request has failed. I am currently thinking about a new hook interface which would remove this additional line. As far as I can understand, this is not a blocking issue for you?

That's correct, not a problem at all. I was able to work around it by removing the line at the client. I was just surprised to see it there and thought it may have been unintentional.  I'll keep an eye out for future updates to the hook system. Thanks!


[TypeError: Cannot read property 'apply' of null]

I get this error, with vscode-ghc-mod 0.2.6 and vscode 1.3.1.
I just open a file in vscode.

Please provide more details.
What were you doing when this happened? Hovering over a symbol to get type information? Trying to go to the symbol definition? What did the code look like? Do you have autosave on?
Also, try setting the log level to "log" (add "haskell.ghcMod.logLevel": "log" to your user or workspace settings in vs code) and open the develop console (ctrl+shift+i or use the command palette) and see if there are relevant logs there when you reproduce the error.

When I open a haskell source file in vs code, I will get outputs from 'ghc-mod server' : [TypeError: Cannot read property 'apply' of null] .  And I set the log level to "log", but got nothing in the develop console. If I open an empty file (such as A.hs) the error is still there.

Was it working for you before and then did it stop working when you upgraded to VS Code 1.3.1?

no, on the vs code 1.1.1, there was the same error.

You have ghc-mod installed and in your path? My version is 5.5.0
And no logs like the ones here? If it isn't triggering any logs, it is happening very early.

My code doesn't ever call "apply" so it is happening in some dependency and without logs I can't figure out where that might be.
If you want, you can clone this repo to debug it yourself and help me track down the issue. It's a fairly easy process:
git clone https://github.com/hoovercj/vscode-ghc-mod.git
cd vscode-ghc-mod
npm install
code client
code server

Then in the client window you press f5 to launch the extension (the launched window will be titled EXTENSION HOST) and in the server window you press f5 to attach to the client process. Then in the extension host you can open a haskell file and see if you get the error. If you do, look back in the debug console of the other windows to see if there is good information.

My ghc-mod's version is <IP_ADDRESS> and it's compiled with ghc7.10.3 , but the version of ghc in my Mac is 8.0.1. And I uninstalled ghc-7.10.3. I think that may be why it broke down.

I am closing the issue as it seems you have fixed it and/or it is an environment issue, not an issue with the extension.

Added information: the reported error TypeError: Cannot read property 'apply' of null was caused by me passing null as a callback when registering the extension as a hover and definition provider.
I was likely passing null because ghc-mod couldn't be started.
#46 no longer passes null and instead handles the ghc-mod check in the callbacks, so this should not pollute the logs and should make finding the real issue for users much easier.


Set unattended-upgrades on Ubuntu hosts

Not sure if this is the best way, but http://blog.viraptor.info/post/75262988169/ubuntu-unattended-upgrades-the-salt-way suggests it.
Fixes https://github.com/servo/saltfs/issues/275
r? @aneeshusa

This change is

I don't think we actually need the cmd.wait here, the debconf.set should handle everything. We should check in Vagrant. Also FYI, cmd.wait has recently been deprecated, so we shouldn't use it in any new commits (I removed our last remaining uses during the Android refactor).

We'll also need a pkg.installed state to install the unattended-upgrades package, which should require the debconf.set state (we can nest them under the same ID).

Actually, I  think we'll need to replace the cmd.wait state with a file.managed state that does the same thing by putting the following into /etc/apt/apt.conf.d/20auto-upgrades:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

Do we want the machines to auto-reboot if necessary? I'm assuming not, but if so we'll need to do a little more to activate that feature.

@aneeshusa I don't think that auto-rebooting would be a good idea right now. Latest commit implements the other 3 changes you suggested.

@bors-servo r? @aneeshusa

Didn't see you had updated this, sorry.
This is going to require some in Vagrant testing - I suspect the unattended-upgrades package has an associated service we'll need to start (due to #229).

:umbrella: The latest upstream changes (presumably #577) made this pull request unmergeable. Please resolve the merge conflicts.


Fix/refactor source type and attempt to improve error handling

What does this PR do?

Refactors the function for get_source_type with improved error handling
Attempts to improve error handling for stream_data

Why is this PR needed?

To reduce no match error messages

Coverage decreased (-1.06%) to 63.889% when pulling d46da796030cd6f0a0c83845aee430853666ff08 on fix/refactor_source_type into 564e42dfdf56d2f64028ceec15e70772aaa599d1 on master.

Coverage decreased (-1.06%) to 63.889% when pulling d46da796030cd6f0a0c83845aee430853666ff08 on fix/refactor_source_type into 564e42dfdf56d2f64028ceec15e70772aaa599d1 on master.