Crash while scanning

Hi, I encountered the following error:
2015-12-31 13:47:49.125 PassportScanner[3038:1427113] *** Assertion failure in -[GPUImageFramebuffer unlock], /Users/francis/Downloads/PassportScanner-master/Pods/GPUImage/framework/Source/GPUImageFramebuffer.m:269
2015-12-31 13:47:49.130 PassportScanner[3038:1427113] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Tried to overrelease a framebuffer, did you forget to call -useNextFrameForImageCapture before using -imageFromCurrentFramebuffer?'
Apart from that this is fantastic! Thanks for your work.

I have seen that error before. I was under the impression that it was fixed after I added an extra queue operation as you can see on: https://github.com/evermeer/PassportScanner/blob/5ff827355cff98f8a12e116b1b220ad65509faef/Pod/PassportScannerController.swift#L156-156
        currentFilterConfiguration.useNextFrameForImageCapture()
        NSOperationQueue.mainQueue().addOperationWithBlock {
            let snapshot = currentFilterConfiguration.imageFromCurrentFramebuffer()

This is actually a GPUImage issue. I will create an issue there to see if I can get any support for this.

I have seen that error before. I was under the impression that it was fixed after I added an extra queue operation as you can see on: https://github.com/evermeer/PassportScanner/blob/5ff827355cff98f8a12e116b1b220ad65509faef/Pod/PassportScannerController.swift#L156-156
        currentFilterConfiguration.useNextFrameForImageCapture()
        NSOperationQueue.mainQueue().addOperationWithBlock {
            let snapshot = currentFilterConfiguration.imageFromCurrentFramebuffer()

This is actually a GPUImage issue. I will create an issue there to see if I can get any support for this.

Hmm... It looks like a common issue... I will do some investigation..
https://github.com/BradLarson/GPUImage/issues?utf8=✓&q=is%3Aissue+is%3Aopen+Tried+to+overrelease+a+framebuffer

Hmm... It looks like a common issue... I will do some investigation..
https://github.com/BradLarson/GPUImage/issues?utf8=✓&q=is%3Aissue+is%3Aopen+Tried+to+overrelease+a+framebuffer

Thanks!

Thanks!

I moved the useNextFrameForImageCapture to inside the addOperationWithBlock so that it's right before the imageFromCurrentFramebuffer. It might have been a timing issue. I was not able to reproduce it. Can you tell me what Xcode version an what iPhone version plus iOS version you tried this on? How often did you get this error?

9.2 on a 6, from xCode 7.2 - was running the sample project. Just saw it once.

On Jan 5, 2016, at 5:14 PM, Edwin Vermeer<EMAIL_ADDRESS>wrote:
I moved the useNextFrameForImageCapture to inside the addOperationWithBlock so that it's right before the imageFromCurrentFramebuffer. It might have been a timing issue. I was not able to reproduce it. Can you tell me what Xcode version an what iPhone version plus iOS version you tried this on? How often did you get this error?
—
Reply to this email directly or view it on GitHub https://github.com/evermeer/PassportScanner/issues/2#issuecomment-169150719.

Ok, I'm using the same. I will do some more tests to see if I can reproduce this. Could you also try it again with the updated version of the code?

Please notify me if you encounter this error again.


Updated integration titles for simplicity

@aantn Updated based on comments, take a look.

LGTM. Please merge.

Whoops, hit the wrong button. I'll go ahead and just merge ;)


test_thread_stats_usage fail on arm64 fvp

INFO    - 1160/1160 fvp_base_revc_2xaemv8a    tests/kernel/usage/thread_runtime_stats/kernel.usage FAILED Failed (armfvp 3.568s)
...
START - test_thread_stats_usage
    Assertion failed at WEST_TOPDIR/zephyr-testing/tests/kernel/usage/thread_runtime_stats/src/test_thread_runtime_stats.c:517: test_thread_stats_usage: stats5.current_cycles < stats3.current_cycles is false
 FAIL - test_thread_stats_usage in 0.57 seconds

https://github.com/zephyrproject-rtos/zephyr-testing/runs/6745649272?check_suite_focus=true#step:11:1593
Note that this is a newly added test; see https://github.com/zephyrproject-rtos/zephyr/pull/45489
p.s. This also fails on fvp_baser_aemv8r; interestingly, it does not fail on fvp_baser_aemv8r_aarch32.
Originally posted by @stephanosio in https://github.com/zephyrproject-rtos/zephyr/issues/45099#issuecomment-1146842381

@SgrrZhf would you like to post some details here when you have some progress

When I select CONFIG_NO_OPTIMIZATIONS, this assertion will fail.
https://github.com/zephyrproject-rtos/zephyr/blob/d84989a718272f29f3a19d4ea99afc7a6aa73211/tests/kernel/usage/thread_runtime_stats/src/test_thread_runtime_stats.c#L516
Adding print will change the results of this case.
I'm going to do other jobs and I will take look at this again some days later.


Include soil type/content on input GIS data

Potential source here. Perhaps the data hunting exercise at GEE has yielded something better?
These data are needed to estimate the available water storage capacity in effective rainfall and the average crop water demand.

List of soil parameters (250 m) – might add/remove some (i.e. DRAINFAO as it is a categorical variable).
Africa SoilGrids - Clay content - CLYPPT
Clay content (0-2 micro meter) in g/100g (w%) at 6 standard depths predicted using two sets of Africa soil profiles data.
Africa SoilGrids - Soil pH in H2O - PHIHOX
Soil pH x 10 in H2O at 6 standard depths (to convert to pH values divide by 10) predicted using two sets of Africa soil profiles data. Measurement units: NA.
Africa SoilGrids - Drainage classes – DRAINFAO
Drainage classes, defined according to the Guidelines for Soil Description (FAO, 2006) predicted using the Africa Soil Profiles Database (AfSP) v1.2. LEGEND = 1:Very poor, 2:Poor, 3:Imperfect, 4:Moderate, 5:Well, 6:Somewhat excessive, 7:Excessive, 255:NODATA.
Africa SoilGrids - Depth to bedrock - BDRICM
Depth to bedrock (R horizon) in cm, to maximum 175 cm, predicted using two sets of Africa soil profiles data
Africa SoilGrids - Bulk density (BD) - BLD
Bulk density of the soil fine earth (measured by core method) in kg / cubic-meter (kg/m3) at 6 standard depths predicted using the Africa Soil Profiles Database (AfSP) v1.2.
Africa SoilGrids - Texture - TEXMHT
Textural class (defined according to USDA system) at 6 depth intervals derived from sand, silt and clay contents predicted using the Africa Soil Profiles Database (AfSP) v1.2.
Africa SoilGrids - Soil organic carbon (SOC) - ORCDRC
Soil organic carbon content (measured by either wet oxidation or dry combustion at 900 C) in g/kg (fine earth) at 6 standard depths predicted using two sets of Africa soil profiles data.
Source and further details: https://data.isric.org/geonetwork/srv/eng/catalog.search#/search?resultType=details&sortBy=relevance&fast=index&_content_type=json&from=1&to=20&any=Africa%20SoilGrids


Add Arabic and Persian numerals ( ٥ & ۵ )

I've added Eastern Arabic numerals
WIKI: https://en.wikipedia.org/wiki/Eastern_Arabic_numerals
five.arabicNumber = function() { return '٥';};
five.persianNumber = function() { return '۵';};

merge this

merge this


Python3 error - TypeError: 'float' object cannot be interpreted as an integer

Getting below error when testing this package in python3:

from aes_keywrap import test
test()
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.6/dist-packages/aes_keywrap.py", line 79, in test
assert aes_unwrap_key(KEK, CIPHER) == PLAIN
File "/usr/local/lib/python3.6/dist-packages/aes_keywrap.py", line 32, in aes_unwrap_key
key, key_iv = aes_unwrap_key_and_iv(kek, wrapped)
File "/usr/local/lib/python3.6/dist-packages/aes_keywrap.py", line 15, in aes_unwrap_key_and_iv
R = [None]+[wrapped[i8:i8+8] for i in range(1, n+1)]
TypeError: 'float' object cannot be interpreted as an integer

Error on line: https://github.com/kurtbrose/aes_keywrap/blob/master/aes_keywrap.py#L56

This is fixed in the most recent commit, but a new PyPy package hasnt been released.


Implement Step and Sidecar Overrides for TaskRun

Changes
This implements TEP-0094: Configuring Resources at Runtime.
StepOverrides and SidecarOverrides were added to the API in a previous commit.
This commit allows them to override resource requirements specified in the Task spec.
The same merging strategy that is currently used for stepTemplate is also used for
step and sidecar overrides, except that only the resources field of the container is overridden,
and unlike with templates, the overrides take precedence over the Task spec.
Closes #4326.
Tested E2E locally. Happy to split into separate PRs if this would be helpful.
/kind feature
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes
[Feature] Implement Step and Sidecar Overrides for TaskRun

/assign wlynch
Feel free to unassign yourself if you don't have time to review! Just assigning you since you reviewed the TEP pretty thoroughly.

/hold
Decided to split into multiple PRs. First is #4617.

/lgtm

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-alpha-integration-tests

/lgtm
Cheers @lbernick !

The workspace-in-sidecar example failed in the alpha integration run but is a known flake. Unfortunately no logs were printed but I think it's safe to retry.
/test pull-tekton-pipeline-alpha-integration-tests
/lgtm

@wlynch would you mind taking another look at this?

Integration run failed on a yaml example. Let's see if it repeats.
Workspace-in-sidecar failed in the alpha integration run, no logs because the step's container was waiting to start.
/test pull-tekton-pipeline-integration-tests
/test pull-tekton-pipeline-alpha-integration-tests


[INTER-164] Improve tests

:tada: This PR is included in version 1.2.0 :tada:
The release is available on:

v1.2.0
GitHub release

Your semantic-release bot :package::rocket:


Join vs Register

This section should be updated to clarify that it requires registration with AAD, not Azure AD domain joining.
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/terms-of-use#per-device-terms-of-use
"...join their device in Azure AD"
It should also be noted that this does not work in the new Edge (edgium), only the legacy edge

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

ID: 618ca851-56c8-5ba1-35de-a7b8e7af8aa2
Version Independent ID: 5facc663-2e29-65ad-f208-982150351b22
Content: Terms of use - Azure Active Directory
Content Source: articles/active-directory/conditional-access/terms-of-use.md
Service: active-directory
Sub-service: compliance
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@danmyhre
Thanks for your feedback! We will investigate and update as appropriate.

I believe this is true based on other documentation that I have seen, so I made a pull request to add this.
@MicrosoftGuyJFlo please confirm.
https://github.com/MicrosoftDocs/azure-docs-pr/pull/107688


CloudFormation Stack Update "Blast Radius"

** Please describe which feature you have a question about? **
Irrespective of the type of Amplify Category change, it seems that amplifyPush is triggering a CloudFormation stack update for every stack. Is this intended? Are there any fine grained controls I can use to only trigger updates to changed templates?
** Provide additional details**
For example, If I were to simply change code in a REST API's lambda function and commit, looking at the backend build logs, it appears that every stack that is part of my app is triggering an update. Ideally, only the affected stacks would trigger updates.

The answer here is a little more complicated than it appears. TLDR; CloudFormation is not actually modifying your nested stack's unless the templates have actually changed since the last deployment, however you may still see "updating" messages while it validates.
When the Amplify CLI does an "amplify push", either via a build locally or in the Amplify Console build container, there are a number of reasons why a nested CloudFormation stack (like auth or a lambda function, etc) appears to be updating, however the resource is only ever actually modified if there's a difference in the CF template since the last deployment.
That said, every time a backend deployment updates the root CF stack (like when modifying another or adding a new nested resource), each nested stack is validated as to whether or not it needs to be modified. In the Amplify Console build logs, this can make it seems like nested child stacks are being updated even when you've made no changes to them, like in the case below, for an auth and lambda function:

You can likewise see this behavior in the corresponding backend environment's CF event log in Amplify Console:

However, in this case, an update was triggered on the root stack and the update messages you see in each nested stack is just CF checking whether or not the resource actually needs to be modified, if it hasn't changed since the last deployment, it won't be modified.
You can validate this by clicking the "View in CloudFormation" button in the upper right, and then looking at the actual nested child stacks that Amplify creates for your individual resources and see that the last updated time hasn't changed since the last time it was actually modified, and there are no modification events for that nested stack during the root stack update timeframe. As an example, the auth resource above that shows the update message was never actually modified because it did not change since the last deployment.

Thank you @cslogan-red for the detailed  and helpful response! This makes sense, and now that I look it's also the behavior I am seeing.


Bill record should have link to corresponding IGA page

This is now being dynamically generated by the web app.


Add TM cache-control headers

I'm submitting a ...

improvement request (usability, performance, tech debt, etc.)

Traffic Control components affected ...

Traffic Monitor

Current behavior:

There are no cache control headers included with TM responses.
New behavior:

Please add either Cache-Control: no-cache or Cache-Control: max-age=1 to all TM responses.  It's not generally appropriate for TM content to be cached, but a very short cache may be acceptable for extreme scalability issues.
Minimal reproduction of the problem with instructions:

Anything else:

Revisiting this issue, IIRC it was created due to an issue that would've been resolved sooner if TM had cache-control headers to prevent caching or cache for a very short period of time. However, I think the issue was mainly just index.html, because edges were making requests to TM as if it were supposed to be a forward proxy (oops).
The problem is, there are some TM APIs that definitely can/should be cached, so we don't want to prevent caching across everything. But I'm also a little hesitant to add cache-control headers to most of TM's APIs, since that could be surprising behavior and potentially require changing caching proxy configs that are already in place to cache TM API responses.
So, I'm inclined to focus mainly on index.html, since that was what the main issue was anyways, and I think we would be safe to add Cache-Control: max-age=2 to that page.


🐛 [firebase_messaging] Error calling Firebase.initializeApp running iOS using firebase_messaging 9.0.0

Bug report
Error calling Firebase.initializeApp running under iOS. This error began happening after upgrading to firebase_messaging 9.0.0.
This error does not occur running under Android.
NOTE: The actual failure is when initializeApp calls initializeCore.
Error Log:
[VERBOSE-2:ui_dart_state.cc(186)] Unhandled Exception: MissingPluginException(No implementation found for method Firebase#initializeCore on channel plugins.flutter.io/firebase_core)
#0      MethodChannel._invokeMethod

#1      MethodChannel.invokeListMethod

#2      MethodChannelFirebase._initializeCore

#3      MethodChannelFirebase.initializeApp

#4      Firebase.initializeApp

#5      _appInitializations

#6      main (package:phonelynkflutter/main.dart:24<…>
Steps to reproduce
Steps to reproduce the behavior:
Build flutter app with firebase_messaging 9.0.0.
void main() async {
  await Firebase.initializeApp();
 runApp(MyApp());
}

This creates the crash show above.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Flutter doctor:
[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.5 19F101 darwin-x64, locale en-US)
    • Flutter version 2.0.1 at /Users/keithblack/GitHub/flutter
    • Framework revision c5a4b4029c (5 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/keithblack/Library/Android/sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.1

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (3 available)
    • AOSP on IA Emulator (mobile) • emulator-5554                        • android-x86    • Android 9 (API 28) (emulator)
    • iPhone 12 Pro (mobile)       • A19880B0-9C8C-4511-A724-BB7F7710B466 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)                 • chrome                               • web-javascript • Google Chrome 88.0.4324.192

• No issues found!

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
dependencies:
  flutter:
    sdk: flutter

  permission_handler: ^6.0.1
  contacts_service: ^0.4.6
  flutter_contact:
    path: /Users/keithblack/GitHub/flutter_contact # updated dependencies: sunny_dart: ^0.6.0+4 & uuid: ^3.0.1
  provider: ^5.0.0
  json_annotation: ^4.0.0
  intl: ^0.16.1
  get_it: ^6.0.0
  dio: ^4.0.0-beta7
  dio_cookie_manager: ^2.0.0-beta1
  flutter_secure_storage: ^4.1.0
  shared_preferences: ^2.0.3
  incrementally_loading_listview: ^0.3.0
  audioplayers: ^0.17.4
  sprintf: ^6.0.0
  badges: ^1.2.0
  jwt_decode: ^0.2.0
  logging: ^0.11.4
  package_info: ^2.0.0
  device_id: ^0.2.0
  flutter_layout_grid: ^0.11.5
  adaptive_dialog: ^0.10.0+5
  link_text: ^0.2.0
  flutter_local_notifications: ^5.0.0-nullsafety.1
  fluttertoast: ^7.1.5
  cached_network_image: ^2.5.1
  photo_view: ^0.10.3
  bubble: ^1.1.9+1
  image_picker: ^0.7.2
  pedantic: ^1.11.0
  synchronized: ^3.0.0
  url_launcher: ^6.0.2
  purchases_flutter: ^3.0.0
  flutter_masked_text: ^0.8.0
  flutter_dtmf: ^1.0.0
  share: ^2.0.0
  popup_menu: ^1.0.5
  flutter_sound: ^8.0.0+2
  toggle_switch: ^0.1.8
  linkwell:
    path:  /Users/keithblack/GitHub/linkwell
  bubble_tab_indicator: ^0.1.6
  firebase_messaging: ^9.0.0
  flutter_apns:
    path:  /Users/keithblack/GitHub/flutter-apns

  # Custom packages
  flutter_apns_env:
    path:  /Users/keithblack/GitHub/flutter_apns_env
  flutter_twilio_voice:
    path:  /Users/keithblack/GitHub/flutter_twilio_voice

Please provide your flutter pub deps -- --style=compact. Have you done the required setup for iOS?
https://firebase.flutter.dev/docs/installation/ios
https://firebase.flutter.dev/docs/messaging/apple-integration

Markus, yes I have all the iOS required setup, unless there are new requirements for 9.0.0. It was working with iOS on 7.0.3 before I upgraded to 9.0.0.
Click To Expand
Dart SDK 2.12.0
Flutter SDK 2.0.1
phonelynkflutter 0.1.0+33

dependencies:
- adaptive_dialog 0.10.0+5 [animations flutter meta]
- audioplayers 0.17.4 [uuid path_provider flutter flutter_web_plugins]
- badges 1.2.0 [flutter]
- bubble 1.2.1 [flutter]
- bubble_tab_indicator 0.1.6 [flutter]
- cached_network_image 2.5.1 [flutter flutter_cache_manager octo_image]
- contacts_service 0.4.6 [flutter collection quiver]
- device_id 0.2.0 [flutter]
- dio 4.0.0-beta7 [http_parser path]
- dio_cookie_manager 2.0.0-beta1 [cookie_jar dio]
- firebase_messaging 9.0.0 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- flutter_apns 1.4.1 [flutter firebase_messaging]
- flutter_apns_env 0.1.0 [flutter]
- flutter_contact 0.6.5+1 [collection equatable intl logging logging_config quiver sunny_dart uuid flutter]
- flutter_dtmf 1.0.0 [flutter]
- flutter_layout_grid 0.11.6 [collection flutter meta quiver]
- flutter_local_notifications 5.0.0-nullsafety.1 [flutter flutter_local_notifications_platform_interface platform timezone]
- flutter_masked_text 0.8.0 [flutter]
- flutter_secure_storage 4.1.0 [meta flutter]
- flutter_sound 8.0.0+6 [path_provider logger recase uuid provider flutter_spinkit path synchronized flutter flutter_sound_platform_interface flutter_sound_web]
- flutter_twilio_voice 0.0.3+90 [flutter]
- fluttertoast 7.1.8 [flutter flutter_web_plugins]
- get_it 6.0.0 [async collection]
- image_picker 0.7.2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- incrementally_loading_listview 0.3.0 [flutter rxdart]
- json_annotation 4.0.0
- jwt_decode 0.2.0 [flutter]
- link_text 0.2.0 [flutter url_launcher]
- linkwell 0.1.9 [flutter url_launcher]
- package_info 2.0.0 [flutter]
- pedantic 1.11.0
- permission_handler 6.0.1+1 [flutter meta permission_handler_platform_interface]
- photo_view 0.11.1 [flutter]
- popup_menu 1.0.5 [flutter]
- provider 5.0.0 [collection flutter nested]
- purchases_flutter 3.0.1 [flutter collection]
- share 2.0.1 [meta mime flutter]
- shared_preferences 2.0.3 [meta flutter shared_preferences_platform_interface shared_preferences_linux shared_preferences_macos shared_preferences_web shared_preferences_windows]
- sprintf 6.0.0
- synchronized 3.0.0
- toggle_switch 0.1.8 [flutter]
- url_launcher 6.0.2 [flutter url_launcher_platform_interface url_launcher_linux url_launcher_macos url_launcher_windows url_launcher_web]

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

dependency overrides:
- crypto 3.0.0 [collection typed_data]
- intl 0.17.0 [clock path]
- logging 1.0.0
- path_provider 2.0.1 [flutter path_provider_platform_interface path_provider_macos path_provider_linux path_provider_windows]
- recase 4.0.0-nullsafety.0
- timezone 0.7.0-nullsafety.0 [path]
- uuid 3.0.1 [crypto]

transitive dependencies:
- _fe_analyzer_shared 14.0.0 [meta]
- analyzer 0.41.2 [_fe_analyzer_shared args cli_util collection convert crypto glob meta package_config path pub_semver source_span watcher yaml]
- animations 2.0.0 [flutter]
- archive 2.0.13 [crypto args path]
- args 1.6.0
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- build 1.6.2 [analyzer async convert crypto glob logging meta path]
- build_config 0.4.6 [checked_yaml json_annotation meta path pubspec_parse yaml]
- build_daemon 2.1.8 [built_collection built_value http_multi_server logging pedantic path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 1.5.3 [analyzer build crypto graphs logging meta path package_config pool pub_semver]
- build_runner_core 6.1.10 [async build build_config build_resolvers collection convert crypto glob graphs logging meta path package_config pedantic pool timing watcher yaml]
- built_collection 5.0.0
- built_value 8.0.0 [built_collection collection fixnum]
- characters 1.1.0
- charcode 1.2.0
- checked_yaml 1.0.4 [json_annotation source_span yaml]
- chunked_stream 1.2.0
- cli_util 0.3.0 [meta path]
- clock 1.1.0
- code_builder 3.6.0 [built_collection built_value collection matcher meta]
- collection 1.15.0
- convert 2.1.1 [charcode typed_data]
- cookie_jar 3.0.0-beta2
- dart_style 1.3.12 [analyzer args path pub_semver source_span]
- equatable 1.2.6 [collection meta]
- fake_async 1.2.0 [clock collection]
- ffi 1.0.0
- file 6.1.0 [meta path]
- firebase_core 1.0.1 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 2.0.0 [firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 1.0.1 [firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- fixnum 1.0.0
- flutter_blurhash 0.5.0 [flutter meta]
- flutter_cache_manager 2.1.2 [flutter path_provider uuid http path sqflite pedantic clock file rxdart image]
- flutter_local_notifications_platform_interface 3.0.0-nullsafety.4 [flutter plugin_platform_interface]
- flutter_plugin_android_lifecycle 2.0.0 [flutter]
- flutter_sound_platform_interface 8.0.0+6 [flutter meta plugin_platform_interface]
- flutter_sound_web 8.0.0+6 [flutter_sound_platform_interface flutter flutter_web_plugins meta js]
- flutter_spinkit 5.0.0 [flutter]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- glob 2.0.0 [async collection file path pedantic string_scanner]
- graphs 0.2.0
- http 0.13.0 [http_parser meta path pedantic]
- http_multi_server 2.2.0 [async]
- http_parser 4.0.0 [charcode collection source_span string_scanner typed_data]
- image 2.1.19 [archive xml meta]
- image_picker_platform_interface 2.0.1 [flutter meta http plugin_platform_interface]
- inflection2 0.4.3
- io 0.3.5 [meta path string_scanner]
- isolate 2.0.3
- js 0.6.3
- libphonenumber 1.0.2 [flutter meta]
- logger 1.0.0-nullsafety.0
- logging_config 0.4.7 [flutter js logging worker_service pedantic]
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- mime 1.0.0
- nested 1.0.0 [flutter]
- octo_image 0.3.0 [flutter flutter_blurhash]
- package_config 1.9.3 [path charcode]
- path 1.8.0
- path_provider_linux 2.0.0 [path xdg_directories path_provider_platform_interface flutter]
- path_provider_macos 2.0.0 [flutter]
- path_provider_platform_interface 2.0.1 [flutter meta platform plugin_platform_interface]
- path_provider_windows 2.0.0 [path_provider_platform_interface meta path flutter ffi win32]
- permission_handler_platform_interface 3.0.0+1 [flutter meta plugin_platform_interface]
- petitparser 3.1.0 [meta]
- platform 3.0.0
- platform_detect 1.4.0 [meta pub_semver]
- plugin_platform_interface 2.0.0 [meta]
- pool 1.5.0 [async stack_trace]
- process 4.1.0 [file path platform]
- pub_semver 1.4.4 [collection]
- pubspec_parse 0.1.8 [checked_yaml json_annotation pub_semver yaml]
- quiver 2.1.5 [matcher meta]
- rxdart 0.23.1
- shared_preferences_linux 2.0.0 [flutter file meta path path_provider_linux shared_preferences_platform_interface]
- shared_preferences_macos 2.0.0 [shared_preferences_platform_interface flutter]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.0 [shared_preferences_platform_interface flutter flutter_web_plugins meta]
- shared_preferences_windows 2.0.0 [shared_preferences_platform_interface flutter file meta path path_provider_platform_interface path_provider_windows]
- shelf 1.0.0 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 0.2.4+1 [shelf stream_channel web_socket_channel]
- sky_engine 0.0.99
- source_gen 0.9.10+3 [analyzer async build dart_style glob meta path pedantic source_span]
- source_span 1.8.0 [charcode collection path term_glyph]
- sqflite 1.3.2+3 [flutter sqflite_common path]
- sqflite_common 1.0.3 [synchronized path meta]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- stream_transform 1.2.0
- string_scanner 1.1.0 [charcode source_span]
- sunny_dart 0.6.0+4 [async chunked_stream collection crypto equatable inflection2 meta intl libphonenumber logging pedantic platform_detect recase stream_transform timezone uri uuid flutter]
- term_glyph 1.2.0
- test_api 0.2.19 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 0.1.1+3 [json_annotation]
- typed_data 1.3.0 [collection]
- uri 0.11.4 [matcher quiver]
- url_launcher_linux 2.0.0 [flutter]
- url_launcher_macos 2.0.0 [flutter]
- url_launcher_platform_interface 2.0.1 [flutter plugin_platform_interface]
- url_launcher_web 2.0.0 [url_launcher_platform_interface meta flutter flutter_web_plugins]
- url_launcher_windows 2.0.0 [flutter]
- vector_math 2.1.0
- watcher 1.0.0 [async path pedantic]
- web_socket_channel 1.2.0 [async crypto stream_channel]
- win32 2.0.0 [ffi]
- worker_service 0.5.2 [flutter isolate pedantic]
- xdg_directories 0.2.0 [meta path process]
- xml 4.5.1 [collection convert meta petitparser]
- yaml 3.1.0 [collection source_span string_scanner]

I've done some more investigation. I ran the firebase_messaging example program and it succeeds when calling initializeApp(). Looking at the 'flutter pub deps' they appear to be using all the same firebase packages.
So I used xCode to run both the example app and my app and discovered that inside FLTFirebaseCorePlugin.m the registration function
(void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar> *)registrar
IS called in the example app but is NOT called from my app.
I looked at the AppDelegate files and don't see anything special in the example app.
Any ideas on why this would not be loaded or suggestions on how to track it down?
Thanks,
Keith

I figured out the issue. I'm using a plugin called flutter_apns. If facilitates receiving APNS Push Notifications from servers other than the firebase_messaging FCM server.
For some reason the flutter_apns plugin disables FirebaseCore. To override this behavior the following needs to be in Runner's info.plist.
<key>flutter_apns.disable_firebase_core</key>
<false/>

I wish firebase_messaging would process iOS APNS Push Notifications sent from non-firebase server. This is HIGHLY common and it would dispense with the need of using a separate plugin.
Thanks for your help Marcus.


question regarding defaulting to unicode=YES

i recently noticed that when setting a default LANG that ends with UTF-8, things in the console that output special characters (pipes, bars, ..) appear broken if the console is not also set to utf-8. the console setting for this is set via the default-shipped termencoding service, reading the UNICODE value.
the default for it is not-unicode, from the default rc.conf https://github.com/OpenRC/openrc/blob/95b2948e6e153271249b09b9b1505c527c54e0cd/etc/rc.conf#L92
is there:

potential downsides to defaulting to 'YES' distro-wide
a reason it's not the default already?

we should change the default at this point


How to use paired end fastq file

Hello,
My sequencing files (.fastq) are paired end. But I didn't find parameter which fits this kind of file in panGenie. Can you give me an example usage of paired end file?
Thanks!

You can just concatenate the two FASTQs and provide the result to PanGenie with option -i


Linking Tuya App account is not working

Describe the bug
No success in adding my devices. Linking Tuya App account is not working for me.
When I scan the QR I always get QR code has expired.
I'm in the correct data center: Central Europe Data Center
Expected behavior
My Tuya app account is linked and I can add my devices.

I found this issue which might help you
Issue

I found this issue which might help you
Issue

Thank you, but the suggested solution there is not working for me. I can't seem to add the suggested Smart Home Management.

I'm having the exact same issue, so you're not alone! Can't find "Smart Home Management" either, I can however find "Smart Home Content Manage", but that's a $825 subscription!?

Yes I saw that subscription too, but I'm not sure if that's what is nessecerry

I am having a similar issue as well. I have tired to scan the QR code with the Tuya App as well as the Smart Life App and my iPhone does not pick up the code. I checked and both apps have access to the camera. Not sure why I can't get the app linked to my project.

I had a similar problem, but when I changed the data center based on the following text, the QR code worked. I don't know if this is helpful, but I just wanted to share the information.
https://developer.tuya.com/en/docs/iot/oem-app-data-center-distributed?id=Kafi0ku9l07qb

In line with your business needs, you can activate Microsoft Azure cloud services for your OEM apps and make the activation take effect. In this case, the app accounts that are created after the activation are allocated to either Eastern America Data Center or Western Europe Data Center. The app accounts that were created earlier than the activation cannot be used as expected.

! Important
The countries or regions not listed in the following tables are mapped to Western America Data Center.

As soon as I scan the QR, this happens. I tried all data centers.

 As soon as I scan the QR, this happens. I tried all data centers.

Yes, for me it's the same. Tried every data center.

Either way results in an instant "QR code has expired." - I just tried again.

I had the same issue yesterday. Just delete your OEM app that you used (in my case it was an app from woox), download the Smart Life App, register your devices there and then follow this "Link Tuya App Account" approach. These third party apps are basically not needed if I understand it correctly and they block you from creating this cloud project.

I still get that instant "QR code has expired". Thanks for the suggestion, but I don't have any OEM app, so nothing to uninstall there.

Hi guys, This is correct, Please scan the QR code with the Tuya Smart app or Smart Life app And Choose the correct region, Please refer to Link devices by app account

I was struggling adding the app to the cloud. Tried all the above. Turns out I was using the wrong app?
There are several apps Nedis Smartlife, Tuya Smart, Smart life - Smart Living etc. They all have the option to scan the qr code. Only one app works tho.
You need com.tuya.smartlife on the playstore and I was using com.nedis.smartlife.

tuya makes things really complicated right? Why so many tuya apps around? unnecessary overcomplicating stuff


relatedConcepts -- revisit if needed

Should we remove (or simplify to a pointer to Semantic Search) of the relatedConcepts property (as this may be captured by dug and change as the dug algorithm changes?).
Keeping provides more flexibility but also runs the risk of giving a more complex set of VLMD put in front of investigators. Below is the relatedConcepts property in the schema
https://github.com/HEAL/heal-metadata-schemas/blob/ef09b9622cd45556b0b49295b8e4ace7c315a916/variable-level-metadata-schema/schemas/jsonschema/data-dictionary.json#L261
** Or maybe we can clarify the workflow and how it relates to to the Dug Semantic Searach

@pschumm

Closing out #50


Add HTTP Basic Auth for Druid (Issue #4776)

This should resolve Issue #4776
Add HTTP Basic Auth to the Druid Broker.
Screenshot of change:

Signed-off-by: Don Bowman<EMAIL_ADDRESS>

The other piece of this is in https://github.com/druid-io/pydruid/pull/149 (for PyDruid SQL mode)

are there any additional changes needed?

is there anything else needed here?

I don't really see how this travis failure (ERROR:root:Metric 'sum__SP_RUR_TOTL' is not valid) could relate to the additional tool-tip on these two fields.


I have a problem with my Flutter application.

Steps to Reproduce

...
...
...

Logs

Looks like you forgot to add content to the template - please feel free to open a new issue.


Why isn't managed identity supported in scaling rules

For an enterprise-grade system, using connection strings is less than optimal.
From reading through KEDA documentation and issues, it would seem that support is indeed there.
Where is the tracking issue for this functionality?

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

ID: 1bae7356-5237-f004-16e8-3f89b1dfeac6
Version Independent ID: 841a9a04-8bc8-8bfd-a57d-f57945829a66
Content: Managed identities in Azure Container Apps
Content Source: articles/container-apps/managed-identity.md
Service: container-apps
GitHub Login: @cebundy
Microsoft Alias: v-bcatherine

@malthe
Thanks for your feedback! We will investigate and update as appropriate.

Thank you for your question.  Managed identity support for KEDA scaling is being tracked in this issue: https://github.com/microsoft/azure-container-apps/issues/535
#please-close


initial Nym libp2p transport implementation

Changes

implement Mixnet type which contains a connection to a local Nym websockets endpoint and is able to read/write messages to/from it.
implement Transport for NymTransport which is required by libp2p; primarily contains functionality for listening/dialing.
wip: implement Connection type which represents a "connection" between nodes over the mixnet; contains functionality for reading/writing/closing.

Tests

Requires running 2 Nym clients locally (see github workflow)
cargo test -- --test-threads=1

Issues

closes #2

The tests fails, is there a node/app needed to be spawn to listen to the used ports in the test?
running 2 tests
test transport::test::test_connection ... FAILED
test mixnet::test::test_mixnet_poll_inbound_and_outbound ... FAILED

failures:

---- transport::test::test_connection stdout ----
thread 'transport::test::test_connection' panicked at 'called `Result::unwrap()` on an `Err` value: IO error: Connection refused (os error 111)

Caused by:
    Connection refused (os error 111)', src/transport.rs:398:73

---- mixnet::test::test_mixnet_poll_inbound_and_outbound stdout ----
thread 'mixnet::test::test_mixnet_poll_inbound_and_outbound' panicked at 'called `Result::unwrap()` on an `Err` value: IO error: Connection refused (os error 111)

Caused by:
    Connection refused (os error 111)', src/mixnet.rs:179:77
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

@ivanceras yes, sorry, the instructions are here: https://github.com/ChainSafe/rust-libp2p-nym/blob/5777efd9f04181278dba70e66a84115700d264cc/README.md

All tests passed when run in 1 thread, but either fails when run in multiple threads(default tests run).
chainsafe/rust-libp2p-nym:( cargo test -- --test-threads=1
    Finished test [unoptimized + debuginfo] target(s) in 0.25s
     Running unittests src/lib.rs (target/debug/deps/rust_libp2p_nym-6368cbefdbb2338d)

running 2 tests
test mixnet::test::test_mixnet_poll_inbound_and_outbound ... ok
test transport::test::test_connection ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.99s

   Doc-tests rust-libp2p-nym

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

chainsafe/rust-libp2p-nym:) cargo test
    Finished test [unoptimized + debuginfo] target(s) in 0.23s
     Running unittests src/lib.rs (target/debug/deps/rust_libp2p_nym-6368cbefdbb2338d)

running 2 tests
test mixnet::test::test_mixnet_poll_inbound_and_outbound ... FAILED
test transport::test::test_connection ... ok

Overall, this can be merged.
The error structure can be cleanup in a follow up PR.
I could probably restructure the error handling, but only after this has been merged as I don't know if there is a way in github to make a PR in a pending PR.

I could probably restructure the error handling, but only after this has been merged as I don't know if there is a way in github to make a PR in a pending PR.

You could branch off noot/implementation and then file a PR to that branch, and once it's merged, we could merge this. 😄 Help is surely appreciated @ivanceras  Thank you!

@stonecharioteer @ivanceras this branch is very draft still, I hadn't finished cleaning everything up like the errors, was mostly just looking for feedback on the overall async structure. I was planning to update the errors before merging, but let me know if you work on it

@noot, I haven't started organizing the errors as of yet. If you have the bandwidth to do so, then please go ahead.  I will be putting my attention on the async code as of the moment.


Add a monitor for the orphan nodes

Allow the user to keep track of the nodes that might leak
Possible fix for #27103

Hi, this is my first pull request.
It adds a new monitor that shows which nodes aren't currently instanced in the scene tree.

Thanks!

Note: the email you use to sign your Git commits (see header of https://github.com/godotengine/godot/commit/04d0371648001c1fbf157156fce7f5e9581e1e02.patch) is not known to your GitHub account, which is why your commits don't appear as authored by "@Daw11" in the GitHub UI.
It's not a problem for Git, but if you want to reclaim authorship of these commits, you can add this email as secondary email in your GitHub settings.


pythonModules.Nuitka: <IP_ADDRESS> -> <IP_ADDRESS>

add runtime dep on chrpath
use system SConS instead of old Python2 version

Motivation for this change
Newer version has support for --onefile option, performance improvements, see https://github.com/Nuitka/Nuitka/blob/<IP_ADDRESS>/Changelog.rst
Drop dependency on Python2
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 120843 at 1570a965 run on x86_64-linux 1

2 packages built successfully:

python38Packages.Nuitka
python39Packages.Nuitka

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/nuitka/default.nix:45:3:
   |
45 |   meta = with lib; {
   |   ^

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/development/python-modules/nuitka/default.nix:46:0:
   |
46 |     description = "Python compiler with full language support and CPython compatibility";
   | ^


Comments stripped from GLSL to Metal transpile using spirv-cross

We start with GLSL, run it through glslc to SPIRV, and then convert it to Metal via spirv-cross.   The source code is in the SPIRV file when disassembled along with the SPIRV assembly code underneath.  But I don't see any option in Spirv-Cross that preserves the comments from the original files.  They're just all removed in the Metal code.  Since this is the code that we're debugging and doing gpu capture on, and when spliced it's a large volume of code I didn't write, then I'd like for the comments to be preserved.   Is there a spirv-cross option that I'm missing, or was this not included in this tool?

I tried --emit-line-directives, but it seems to do nothing.

Seems like the parser has the OpLine directives and all of the source spliced into the spirv file.  So it can lookup and see if there are one more lines of comment at those OpLine directives and copy them to a cache for the Metal/GLSL/HLSL transpile to copy into the output.   Instead, it looks like only the GLSL tries to output these as line directives, and MSL/HLSL just ignore OpLine.

Comments are not preserved in SPIR-V, so I don't see what SPIRV-Cross can possibly do here.

First the OpLine directive could be changed to hold a range and type for each comment, but that's not required.  The OpLine is the file/line to reference.  If that references a comment and a debug flag is set, then copy that line(s) into the transpiled output.  The source code is already embedded in the spv file, so it's not like any file operations are needed.
Since the current compiles are just tagging code with file/line directives, then look at the line preceeding the OpLine directive, and copy that into an array if it's a comment //.  Multiline and /* would be bonus points.
Now when the transpilers process the OpLine, the don't just throw it out.  They lookup the array item, and copy it to the output if it's not empty.  The will at least copy in function comments, and one liners above a complex piece of code.  Probably won't copy trailing // comments on a line.
 OpLine %1 119 0 <- this is the OpLine currently ignored in transpiles

And this is the code that it's referencing, that's already embedded
        // this is code with a comment above it
	highp vec3 v_worldPos = u_eyePos - v_eye; <- line 119, column 0

Basically the currently embedded GLSL in the spv files is worthless otherwise if you transpile to HLSL or MSL.   So then I'm stuck with compiling with a compiler that embeds my original shader source type.   I have to use fxc since it embeds HLSL, or glslc since it embeds GLSL, or MSL which doesn't generate SPV at all yet and so isn't usable as a frontend.
So really the only thing of value in that embedded source is the commentary that can be transferred to the transpiled sources.


FlexibleXYPlot doesnt fill full width of container

Trying to make graph to be full width of screen, thought FlexibleXYPlot can resolve all my problems, but still graph is have a borders on left side and bottom side.

Its ok, just use react-easy-charts instead

Its ok, just use react-easy-charts instead

Hi @zlydenko, u only need put that prop in flexible margin={{ top: 0, left: 0, right: 0, bottom: 0 }}


Change clone/closure macro syntax to play better with rustfmt and other tooling

E.g. the following is treated correctly by rustfmt again because it's all valid Rust syntax. Using only valid Rust syntax would also allow us to make use of syn/quote, which hopefully makes it easier to preserve spans correctly, and make rust-analyzer and other tooling work better too.
    let x = clone!(
        #[weak(x)]
        #[strong(self, rename_to = "y")]
        move |a, b, c| {
            print!("{a} {b} {c} {x} {y}");
        }
    );

I'll probably look into this during the hackfest. In the meantime if anybody has syntax suggestions...

@felinira and I played around with this ages ago. I think that option c is a bit special but also much faster to type for me.
        let x = clone!(
            // a
            #[weak(x)]
            #[strong(self, rename_to = "y")]
            // b
            #[weak]
            x,
            #[stong]
            self as y,
            // c
            &'weak x,
            self as &'strong y,
            // return
            // a
            #[default_return(false)]
            // b
            #[default_return]
            false,
            // c
            return false,
            move |a, b, c| {
                print!("{a} {b} {c} {x} {y}");
            }
        );

For completeness: This one works as well. But I think it might be a bit confusing.
        let x = clone!(
            #[return_default]
            true,
            move |#[weak] x, #[strong] y: self, a, b, c| {
                print!("{a} {b} {c} {x} {y}");
            }
        );

Interesting ideas, thanks! Just some initial impression / thoughts on these
I kind of like c for the references but it might indeed be a bit special while the attributes look more familiar. For the attributes, I think I would prefer b. Less verbose than a and equally descriptive.
For the return either a or b seem fine. c is strange because you have a return statement as a parameter, which you'd never have anywhere else.
The last one ("for completeness") is indeed to confusing IMHO. Those variables are captured from the environment, not parameters to the closure.
Maybe C++ lambda capture lists can also give some inspiration here but personally I think that syntax is too compressed and strange.

to me the most natural is a and a because it's what I would expect when coming from rust.

b for the return value has the advantage that you get formatting for the whole expression, but maybe it should be made a closure then. Arbitrary Rust expressions inside the attribute would have to be written as a string.
#[default_return]
|| Foo::new(1, 2, 3).to_string()

Drawback of b is that the formatter wants two lines for one variable

I feel like I prefer a, but I think syntax highlight and more complex expressions will have a better time with b.

To me, it feels like, a would be closer to the syntax of clone if it were an attribute macro:
#[clone(weak(x), strong(self, rename_to = "y"), default_return(false))]
move |a, b, c| {
  print!("{a} {b} {c} {x} {y}");
}

While b feels more natural for a function-like macro.

The problem with that is also that attribute macros only contain string values, not code. For the default return you'd ideally want something that is treated as code so it gets proper formatting and handling by rust-analyzer.

So, after playing around with all the options this is what I'm going to implement:
        let x = clone!(
            #[weak]
            x,
            #[strong(rename_to = "y")]
            self,
            #[default_return]
            false,
            move |a, b, c| {
                print!("{a} {b} {c} {x} {y}");
            }
        );

That seems to have the least amount of strangenesses syntax-wise and keeps strings to identifiers.

why not rename_from? that is how usually things are done in other rust things

for example from the top of my head: https://serde.rs/container-attrs.html

As discussed on Matrix, this would have many drawbacks

So, after playing around with all the options this is what I'm going to implement:
        let x = clone!(
            #[weak]
            x,
            #[strong(rename_to = "y")]
            self,
            #[default_return]
            false,
            move |a, b, c| {
                print!("{a} {b} {c} {x} {y}");
            }
        );

That seems to have the least amount of strangenesses syntax-wise and keeps strings to identifiers.

I wonder if the following would also work, since I think rename_to is a bit verbose:
        let x = clone!(
            #[weak]
            x,
            #[strong]
            self as y,
            #[default_return]
            false,
            move |a, b, c| {
                print!("{a} {b} {c} {x} {y}");
            }
        );

That would also work but I thought it would be a bit strange because usually the right side of an as expression is a type and not a variable name.

That would also work but I thought it would be a bit strange because usually the right side of an as expression is a type and not a variable name.

I found it similar to the as in use statements (e.g., use std::command::Command as StdCommand;

It's easy to change and I don't have a strong opinion either way. Anybody else?

One problem that might happen is that currently you can do
#[strong(rename_to = "x")]
1 + 2 + 3

With as the precendence is different:
#[strong)]
1 + 2 + 3 as x

the as x would bind to 3 and not to the whole expression on the left side. That's probably possible to work around

I think that also applies with as statements in general. Other than, I think that is a very rare case and one could simply use parentheses.

One of the points here was for rustfmt and clippy to be able to do their work, using the askeyword might bite us back in the future.

Also please check the PR: https://github.com/gtk-rs/gtk-rs-core/pull/1424
Let's move discussion over there.

As @pbor pointed out, as would conflict with things if we wanted to actually do a cast as part of the expression that is captured. So let's not do that.


[web] feature request / pull request: sqlglot / pyodide offline support

Discussed in https://github.com/TobikoData/sqlmesh/discussions/3142

Originally posted by barakplasma September 17, 2024
can we inline pyodide / sqlglot into the web/client/src/assets folder for offline support? For environments with a firewall for example? Feels weird to make requests to jsdelivr.net every time I want to format some sql
Toby said sure.
Design: use https://github.com/pyodide/pyodide-pack to make a bundle of all the pip libraries etc
See also https://pyodide-pack.pyodide.org/en/latest/module-elimination-at-runtime.html
I'll attempt to implement it and make a PR, but feel free to do it yourselves as well

we don’t have plans to implement this, but will accept a pr, i’m going to close this issue, but we’ll work with you on the pr


Prefer long unicode class names over the short ones

Motivation

The long hand names are more readable.
Description

Same as above.
Examples

/* ✓ GOOD */
/\p{Letter}/v

/* ✗ BAD */
/\p{L}/v

/* ✓ GOOD */
 /\p{Script=Greek}/v

/* ✗ BAD */
/\p{sc=Greek}/v

Thank you for the rule suggestion! That rule sounds good to me!


Bump vagrant

Exclude the passwd ohai plugin from the install chef client run.  Some users were experiencing a 6 minute wait at install time.

Fixes #167


Dark Steel Axe - Causes server crash if shift-click on invalid items

It seems whenever you shift-click something that was not intended to be "axed" it will crash the server.
One example is a bibliocraft tool rack. Crash report below.
Another example was when I made a wood stack 4 high in my base cobblestone(chisel 2 chiseled) above and below. Shift-clicking the wood crashed the server as well.
My best guess is some sort of a handler for when an item is not valid for the "activated mode" of the axe isn't working or isn't present.
Description: Exception in server tick loop
java.lang.NoSuchMethodError: crazypants.enderio.item.darksteel.ItemDarkSteelPickaxe.doRightClickItemPlace(Lnet/minecraft/entity/player/EntityPlayer;Lnet/minecraft/world/World;IIIIFFF)Z
at crazypants.enderio.item.darksteel.ItemDarkSteelAxe.func_77648_a(ItemDarkSteelAxe.java:178)
at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:505)
at net.minecraft.item.ItemStack.func_77943_a(ItemStack.java:128)
at net.minecraft.server.management.ItemInWorldManager.func_73078_a(ItemInWorldManager.java:389)
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:556)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:165)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:659)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Possibly related?
#1972

I get this too, using FTB Infinity. I've had it happening with the axe and the pickaxe, usually while rightclicking a piston but also Carpenter's Door. To my knowledge I am not using Cauldron, though.

fixed in #1895


Add keystone_branch var to the zuul job

Allow selecting Keystone version to be deployed.
Add zuul jobs for the supported OpenStack releases.
Resolve  #18

regate


Wrong valueTypes.is type

I've tried to customise value with usage valueTypes.is, but it shows that I'm wrong.

I think we need to change types declaration as the following.
declare type DataType<ValueType = unknown> = {
-    is: (value: any) => value is ValueType;
+    is: (value: ValueType) => boolean;
    Component: React.ComponentType<DataItemProps<ValueType>>;
    Editor?: React.ComponentType<EditorProps<ValueType>>;
    PreComponent?: React.ComponentType<DataItemProps<ValueType>>;
    PostComponent?: React.ComponentType<DataItemProps<ValueType>>;
};

What do you think?
And here is my workaround:
is: ((value: unknown): any => typeof value === 'string' && value.startsWith('@')) as any,

The reason is is valueType is a stronger type here
for example

I'm creating a helper function that could help this

I created a helper function that you won't think about this

I created a helper function that you won't worry about the type

Actually, the best way is to leave is: (value: ValueType) => boolean. There is no need to have value is ValueType as a return type. Semantically it's always true. Isn't it?

@Himself65 up

You might be right. I'm not sure how people really deal with this API

Logically is is just a boolean getter. I don't see any reasons to restrict the return type as value is T


Expanded overview in readme. Fixed step counts in readme. Added architecture doc.

I have expanded upon the overview in the readme and added a summary of architecture principles. Also fixed the count of the steps to provision a cluster.
The ARCHITECTURE.md file contains in depth explanations on the architecture principles, brief explanations for the tools in Polaris and links to docs for each of those tools.

I have also added the AWS requirements to the readme.

Fantastic work here!


Remove deprecated error prop to Slider

Fixes #114.

Codecov Report

Merging #137 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #137   +/-   ##
=======================================
  Coverage   78.37%   78.37%
=======================================
  Files          11       11
  Lines          37       37
=======================================
  Hits           29       29
  Misses          8        8

Impacted Files
Coverage Δ

src/Slider.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Docs site isn't updated

The site http://docs.phinx.org is getting out of date. Did something break or is it updated manually?

Shouldnt this redirect to the new docs then? @markstory

I don't know how or where the hosting for docs.phinx.org is setup unfortunately.

Fixed now

https://docs.phinx.com is still way out of date. It's being built through the readthedocs.org platform and it looks like it was last synced about a year ago: https://readthedocs.org/projects/phinx/builds/.
If the intention is to have everyone use https://book.cakephp.org/3/en/phinx.html, it might be worth deleting it from RTD so that it stops being a top result on google.

@robmorgan ping

Hmmmm I think I'll do two things.

Point the Phinx marketing site (https://phinx.org), directly to https://book.cakephp.org/3/en/phinx.html
Setup a 301 from docs.phinx.org directly to https://book.cakephp.org/3/en/phinx.html

Sound good?

Just thinking out loud - the only problem with that approach is we'd need to remember to bump the CakePHP Version number in the URL for every major release.

Maybe we could also point it to a entry point that auto redirects to latest major
https://book.cakephp.org/en/phinx.html
e.g. would then show or find+redirect the latest
@markstory that is doable?
That way it is always true.

We can make https://book.cakephp.org/phinx always resolve to the latest english docs.

Cool, once that is done, we can ping rob to set the link.

For now I've started redirecting http://docs.phinx.org/ to https://book.cakephp.org/4/en/phinx.html. I'll shutdown readthedocs for SEO purposes at some point.

@robmorgan If you have a chance could you change the redirect to https://book.cakephp.org/phinx/ that URL will do one additional redirect and end up at the current release docs going forward.

@markstory I've updated the link now:
*://docs.phinx.org -> https://book.cakephp.org/phinx/

Just wanted to point out to @robmorgan that https://phinx.readthedocs.io/ is still stealing the scene on some searches
PS.: should the docs contain all options, or just leave that to the (confusing) help commands? If so, I can try writing a PR with the missing stuff, like --fake.

@igorsantos07 chiming in here 6 months later, I've now finally removed the Phinx docs from readthedocs.io so the search results will start returning a 404 and gradually be removed from the index.

Awesome, man! Great you got the time for that!
On Wed, Jun 23, 2021, 02:50 Rob Morgan @.***> wrote:

@igorsantos07 https://github.com/igorsantos07 chiming in here 6 months
later, I've now finally removed the Phinx docs from readthedocs.io so the search
results https://phinx.readthedocs.io/en/latest/migrations.html will
start returning a 404 and gradually be removed from the index.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cakephp/phinx/issues/1648#issuecomment-866548415, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEB6S5EPCRNZ4CQUTRZYJTTUFY2FANCNFSM4JVYL47A
.


SPARK-5134 [BUILD] Bump default Hadoop version to 2+

Bump default Hadoop version to 2.2.0. (This is already the dependency version reported by published Maven artifacts.) See JIRA for further discussion.

Test build #28609 has started for   PR 5027 at commit acbee14.

This patch merges cleanly.

Test build #28609 has finished for   PR 5027 at commit acbee14.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28609/
Test PASSed.

I want to double- and triple-check about this. I'm in favor, I think @pwendell is in favor since it reflects how Spark is already published vs Hadoop 2.2. It doesn't remove support for older Hadoop. I'd like to merge tomorrow.

Looks good - thanks for commiting this sean.

This PR seems to have broken spark-perf. Not sure why, but the executor stderr logs have the following:
15/04/14 19:14:46 INFO executor.CoarseGrainedExecutorBackend: Registered signal handlers for [TERM, HUP, INT]
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.apache.spark.executor.CoarseGrainedExecutorBackend$.run(CoarseGrainedExecutorBackend.scala:128)
	at org.apache.spark.executor.CoarseGrainedExecutorBackend$.main(CoarseGrainedExecutorBackend.scala:224)
	at org.apache.spark.executor.CoarseGrainedExecutorBackend.main(CoarseGrainedExecutorBackend.scala)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
	at org.apache.hadoop.security.Groups.<init>(Groups.java:55)
	at org.apache.hadoop.security.Groups.getUserToGroupsMappingService(Groups.java:182)
	at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:235)
	at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:249)
	at org.apache.spark.deploy.SparkHadoopUtil.<init>(SparkHadoopUtil.scala:44)
	at org.apache.spark.deploy.SparkHadoopUtil$.<init>(SparkHadoopUtil.scala:220)
	at org.apache.spark.deploy.SparkHadoopUtil$.<clinit>(SparkHadoopUtil.scala)
	... 3 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
	... 10 more
Caused by: java.lang.UnsatisfiedLinkError: org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative()V
	at org.apache.hadoop.security.JniBasedUnixGroupsMapping.anchorNative(Native Method)
	at org.apache.hadoop.security.JniBasedUnixGroupsMapping.<clinit>(JniBasedUnixGroupsMapping.java:49)
	at org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback.<init>(JniBasedUnixGroupsMappingWithFallback.java:38)
	... 15 more

cc @JoshRosen

Suspicion is it's just a Hadoop 1 vs. 2 issue since spark-ec2 (which we use for spark-perf testing) launches clusters with Hadoop 1 by default.
Will confirm.

Confirmed. Simply building Spark with the Hadoop version explicitly set to 1.0.4 resolves this issue.

How about setting up Hadoop 2 on EC2 by default?
Alternatively, yeah at least you'd want to specify a particular version if a particular version is needed.

Yeah, I asked about that some time ago, and I believe the concern was about surprising users (by changing defaults) + the fact that the Hadoop 2 distro used by spark-ec2 is somehow not a "real" distro. @shivaram could explain more.

Yeah spark-ec2 does not support Hadoop 2 right now, though there has been a patch sitting around for a while now
http://apache-spark-developers-list.1001551.n3.nabble.com/spark-ec2-default-to-Hadoop-2-td10824.html has more details


password reset not working

Tried testing the ss connection from qctools and got "Error downloading fileuploads/upload/test - server replied: Forbidden" error
Went to reset password and got sent to a 530 error page

is it on BAVC server? It needs to put email password in settings before you put it on the server. I emailed password to kelly etc. Please let me know if you don't have the password.


Bind to IPv6 + IPv4

See if we can [::]:{PORT} for both address families.

Can't workout how to dual stack. Just going to move to IPv6 only for now.


Added Mourer Rose Pattern

It's Working FIne

.svg is mandatory for this file otherwise figure disappear . I tried it

@sakshamarora1 and @yashugarg can help review this further!?

Oh sorry it should be "Maurer", my mistake ,
Anything else i have to made changes please let me know .
Before this my only motive was to function properly . I have not care that much on spellings . Let me correct these
Thanx for review

@sakshamarora1  now it is showing some conflicts , How can i resolve ?? Please Help

@kmrakash No worries, I've resolved it. Thank you!
There was a conflict because another PR got merged recently.

Thank you @sakshamarora1 , will it merge now ??


Faeries/fix diffusion

This was already kind of working locally so I think as soon as it's up on docker we'll be in business


Couldn't find enough finder patterns

I'm always getting
Couldn't find enough finder patterns:0 patterns found
or
Couldn't find enough finder patterns:1 patterns found
sometimes even
Couldn't find enough finder patterns:2 patterns found
Video resolution is 800x450 and the imagedata looks good:

Captured with: previewCtx.putImageData(ctx.getImageData(0, 0, width, height), 0, 0);
If I load the image data from a img element with a barcode image it is working -> so my general setup with the web worker is working.
Any suggestions?

Hi, I don't really know why this is happening (I just ported the library to nodejs and added some test cases). But if you find out, it would be cool to add a regression test and the code to fix it (I would of course accept the pull request)

Closed via https://github.com/edi9999/jsqrcode/pull/21


Update README to use HTTPS url over SSH

In the Demo section the repo's url was updated to use HTTPS instead of SSH as recommended by GitHub.
See https://help.github.com/articles/which-remote-url-should-i-use/#cloning-with-https-urls-recommended

Thanks!


scrolling to element inside scrolling/overflow DIV

thanks for your work on this, it's great, I've been using the scrollTo for a little while without issue, but I've just refactored my design to have a center content panel that scrolls with an overflow and now scrollTo no longer works... I've had a look at vanilla JS implementations for this and I can see there are some issues with regards offsets... if you have any ideas I'd like to implement scrolling to inside the overflow div... thanks again.

I'll look into it!

This feature has been added in v2.5.0 1b6621ca287fa1823167ea514a6ce1d1eac857f8
Let me know if it works as expected.


cerbero not building openwebrtc properly

I am trying to build openwebrtc server using cerbero. When i tried to execute the following command - "
cd ~/cerbero \
&& ./cerbero-uninstalled -c config/linux.cbc fetch-package --full-reset --reset-rdeps openwebrtc \
&& ./cerbero-uninstalled -c config/linux.cbc bootstrap \
&& ./cerbero-uninstalled -c config/linux.cbc package -f openwebrtc

" facing the following issue-
[root@ip-172-31-22-151 cerbero]# cd ~/cerbero \
> && ./cerbero-uninstalled -c config/linux.cbc fetch-package --full-reset --reset-rdeps openwebrtc \
> && ./cerbero-uninstalled -c config/linux.cbc bootstrap \
> && ./cerbero-uninstalled -c config/linux.cbc package -f openwebrtc
Traceback (most recent call last):
  File "./cerbero-uninstalled", line 8, in <module>
    from cerbero.main import main
  File "./cerbero/main.py", line 19, in <module>
    from cerbero import hacks
  File "./cerbero/hacks.py", line 132, in <module>
    from cerbero.utils.shell import call as shell_call
  File "./cerbero/utils/shell.py", line 42, in <module>
    PLATFORM = system_info()[0]
  File "./cerbero/utils/__init__.py", line 249, in system_info
    raise FatalError("Distribution '%s' not supported" % str(d))
cerbero.errors.FatalError

Running this in the Amazon linux.
Help me out with the issue.

Could you try this out? https://arunraghavan.net/temp/0001-build-Add-support-for-Amazon-Linux.patch
As the commit message indicates, you will likely need EPEL packages for a few things before it'll work (i.e. build the final packages).

I downloaded the patch file you have specified using curl command arun. When i tried to apply patch file using the below syntax facing the below issue:-
[root@ip-172-31-23-222 cerbero]# git apply 0001-build-Add-support-for-Amazon-Linux.patch
error: patch failed: cerbero/enums.py:92
error: cerbero/enums.py: patch does not apply
error: patch failed: recipes/glib.recipe:168
error: recipes/glib.recipe: patch does not apply

@pavank1933 you might need to look at the changes I made and apply them to those files, as it is against Cerbero master and not the OpenWebRTC repo.

Arun,
It worked well after applying the patch. After some time of build, facing the below issue-
[(18/44) graphene -> already built ]
[(19/44) gst-plugins-bad-1.0 -> already built ]
[(20/44) libnice -> already built ]
[(21/44) libunwind -> already built ]
[(22/44) gstreamer-1.0-static -> already built ]
[(23/44) gst-plugins-base-1.0-static -> already built ]
[(24/44) gst-plugins-good-1.0-static -> fetch ]
[(24/44) gst-plugins-good-1.0-static -> extract ]
[(24/44) gst-plugins-good-1.0-static -> configure ]
-----> copying /root/cerbero/data/autotools/config.guess to /root/cerbero/build/                                                                                sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/config.guess
-----> copying /root/cerbero/data/autotools/config.sub to /root/cerbero/build/so                                                                                urces/linux_x86_64/gst-plugins-good-1.0-static-1.11/config.sub
[(24/44) gst-plugins-good-1.0-static -> compile ]
[(24/44) gst-plugins-good-1.0-static -> install ]
[(24/44) gst-plugins-good-1.0-static -> post_install ]
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstvideo4linux2.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstalaw.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstmulaw.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstvpx.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstvideofilter.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstvideocrop.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstrtp.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstrtpmanager.la'
Running command 'sed -i "s#^libdir='\(.*\)'#libdir='\1/static'#" /root/cerbero/b                                                                                uild/sources/linux_x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/open                                                                                webrtc-0.3/lib/gstreamer-1.0/libgstudp.la'

Recipe 'gst-plugins-good-1.0-static' failed at the build step 'post_install'
Traceback (most recent call last):
  File "./cerbero/build/oven.py", line 143, in _cook_recipe
    stepfunc()
  File "/root/cerbero/recipes/custom.py", line 102, in post_install
    shutil.copyfile(src, dest)
  File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/root/cerbero/build/sources/linux                                                                                _x86_64/gst-plugins-good-1.0-static-1.11/static-build/opt/openwebrtc-0.3/lib/gst                                                                                reamer-1.0/libgstpulse.a'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort

As I wrote in the commit message, you'll probably need to use EPEL 6 to get the pulseaudio-libs=devel package on your instance, and then continue the build.

EPEL 6 is already there by default arun.

In which case, you'll either need to figure out how to get the pulseaudio devel libs (assuming you want audio playback/capture support on Linux in your packages).


Gracefully ignore non-public properties in bindable proxies

Also log a warning.
There were cases where I couldn't make complex classes bindable due to them having private properties.
Note that if there are use cases where protected property getters/setters need to be bound, it might be that we need to consider adding a check for protected since the deepUnwrap or unwrap access the getter/setters methods that throw an error.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

ok to test


http://topik.natenorthway.com

Domain name: http://topik.natenorthway.com
Link to GTMetrix results: https://gtmetrix.com/reports/topik.natenorthway.com/NzfztKei/
Uncompressed page size: 205.7kb

Please fill in the following template too. It will speed up getting your site added. The example below uses example.com as the domain and an uncompressed page size of 81.4 KB.
Note: Please fill in the uncompressed size on line 1 (--data-size) AND line 2

  205.7 KB
  http://topik.natenorthway.com

@kevquirk looks like the link added has an extra ".com" at the end

@kevquirk looks like the link added has an extra ".com" at the end

Fixed

Fixed


Autoload opcodes matching game version and serviced area if readily available

With v1.08, the JSON is populated with the updated global ops code for C:\...\FFXIV_DX11.exe, but populates with out-of-date values for custom locations.
Below is (part of) the generated JSON. My game is located on the D: drive. Manually copying the entry above the custom location works without issue.
{
	"C:\\Program Files (x86)\\SquareEnix\\FINAL FANTASY XIV - A Realm Reborn\\game\\ffxiv_dx11.exe": {
		"ActorCast": "0x02b2",
		"ActorControl": "0x00f0",
		"ActorControlSelf": "0x0350",
		"AlwaysOnTop": false,
		"GameServerIpRange": "<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/8,<IP_ADDRESS>/8,<IP_ADDRESS>/12,<IP_ADDRESS>/16,",
		"GameServerPortRange": "10000,10001-65535",
		"RequestUseAction": "0x017a",
		"ShowControlWindow": true,
		"ShowLoggingWindow": false,
		"SkillResultResponse01": "0x021f",
		"SkillResultResponse08": "0x03df",
		"SkillResultResponse16": "0x00ad",
		"SkillResultResponse24": "0x0229",
		"SkillResultResponse32": "0x0197",
		"UseHighLatencyMitigation": true,
		"UseOpcodeFinder": false
	},
	"D:\\Program Files (x86)\\SquareEnix\\FINAL FANTASY XIV - A Realm Reborn\\game\\ffxiv_dx11.exe": {
		"ActorCast": "0x93db",
		"ActorControl": "0x93db",
		"ActorControlSelf": "0x93db",
		"AlwaysOnTop": false,
		"GameServerIpRange": "<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/24,<IP_ADDRESS>/8,<IP_ADDRESS>/8,<IP_ADDRESS>/12,<IP_ADDRESS>/16,",
		"GameServerPortRange": "10000,10001-65535",
		"RequestUseAction": "0x93db",
		"ShowControlWindow": true,
		"ShowLoggingWindow": false,
		"SkillResultResponse01": "0x93db",
		"SkillResultResponse08": "0x93db",
		"SkillResultResponse16": "0x93db",
		"SkillResultResponse24": "0x93db",
		"SkillResultResponse32": "0x93db",
		"UseHighLatencyMitigation": true,
		"UseOpcodeFinder": false
	}
}

Yeah, that was intentional, so that I wouldn't have to make a new release because opcodes have been changed, when users can find out the opcodes themselves with this tool pretty easily, without needing to wait for me to update the program.
Though, I definitely can try to detect the game version and serviced area, and autofill the opcodes if the current ones are available from whichever the source is.

This should be dealt at #36.


.github: remove CI tests from PR runs if not required

Non-required jobs are not providing too much value in PR runs since if they value it won't block the PR from being merged. Thus, we should removed them from PR runs.

/test


Faulty logic when retrieving federatedEmailAttributeKey and federatedMobileAttributeKey parameters for the Email and SMS OTP Authenticators

Describe the issue:
Having both EmailOTP and SMS in a single step makes the iterator logic fail at [1] as by using Iterator#next, only one of the authenticators is picked even though there are two of them in the list as per the step config. As a workaround, adding both federatedEmailAttributeKey and federatedMobileAttributeKey parameters to both the authenticators solves the issue:
[authentication.authenticator.email_otp.parameters]
useEventHandlerBasedEmailSender = true
sendOTPToFederatedEmailAttribute = true
federatedEmailAttributeKey = "mail"
# [TEMPORARY] [WORKAROUND] SMSOTP parameters:
federatedMobileAttributeKey = "mobilePhone"

[authentication.authenticator.sms_otp.parameters]
SendOtpToFederatedMobile = true
SMSOTPMandatory = true
federatedMobileAttributeKey = "mobilePhone"
# [TEMPORARY] [WORKAROUND] EmailOTP parameters:
federatedEmailAttributeKey = "mail"

EmailOTP is usually the first authenticator in this list (maybe due to String sorting), so it might not display an issue while the SMSOTP does, but its logic has the same issue [2].
How to reproduce:

Set up both SMS and Email OTP as per the official documentation.
Add the configuration below to the <IS_HOME>/repository/conf/deployment.toml file to enable OTP for federated users:

[authentication.authenticator.email_otp.parameters]
useEventHandlerBasedEmailSender = true
sendOTPToFederatedEmailAttribute = true
federatedEmailAttributeKey = "mail"

[authentication.authenticator.sms_otp.parameters]
SendOtpToFederatedMobile = true
SMSOTPMandatory = true
federatedMobileAttributeKey = "mobilePhone"

Set up a Service Provider with a federated authenticator on the first step, and both e-mail and SMS OTP on the second step.
Use the adaptive authentication script below for setting up the federated claims (pay attention to the authenticator name in authenticationOptions):

var onLoginRequest = function(context) {
  executeStep(1, {
    onSuccess: function(context) {
      if (context.currentKnownSubject.userStoreDomain == null) {
          var federatedAuthUser = context.currentKnownSubject;

          var email =<EMAIL_ADDRESS>          var mobile + "+12343334444";

          federatedAuthUser.remoteClaims["mail"] = email;
          federatedAuthUser.remoteClaims["mobilePhone"] = mobile;
      }

      executeStep(2, {
        authenticationOptions: [{ idp: "SMSOTP" }, { idp: "EmailOTP" }],
        authenticatorParams: { federated: { SMSOTP: { enableRetryFromAuthenticator: "true" }, EmailOTP: { enableRetryFromAuthenticator: "true" }} }
      }, {});
    }
  });
};

Enable DEBUG logs for the org.wso2.carbon.identity package in the <IS_HOME>/repository/conf/log4j2.properties file.
Login and try to select SMSOTP in the second step to observe a 'There is no mobile claim to send otp' log entry.

Expected behavior:
The authenticators should pick up the properties from their own authenticator configuration.
Environment information:

Product Version: 5.11.0 (since faulty code is still on master branch, it might affect newer and older versions)

References:
[1] https://github.com/wso2-extensions/identity-outbound-auth-sms-otp/blob/master/component/authenticator/src/main/java/org/wso2/carbon/identity/authenticator/smsotp/SMSOTPAuthenticator.java#L599
[2] https://github.com/wso2-extensions/identity-outbound-auth-email-otp/blob/master/component/authenticator/src/main/java/org/wso2/carbon/identity/authenticator/emailotp/EmailOTPAuthenticator.java#L1637

Inside authenticator why do we need to get the currentStepAuthenticator? we already know the authenticator if we are inside the authenticator😀


Create domain association failed One or more domains requested are already associated with another Amplify app:

Before opening, please confirm:

[X] I have checked the custom domains troubleshooting guide.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d1xr43oj5tcyn0
Region
ap-south-1
Step
Add Domain
Status
Failed
Issue or question
While adding the custom domain in amplify app it says that the domain is already linked to another amplify app.
Though I verified and couldn't find the domain linking to another amplify app.
I am attaching the screenshot below for the reference.

Error message
Create domain association failed One or more domains requested are already associated with another Amplify app:
Additional information
No response

Hi @karanpiplani we can see those domains are associated with an Amplify app in another account. Please make sure you check all of your AWS accounts for apps created in the ap-south-1 region.
Please note we cannot provide support for cross-account issues via GitHub. If you still cannot find the app that is associated with those domains, create a ticket with AWS Support for further assistance. Thank you!

If you're still running into this issue, please feel free to re-open.


Adding new domain for Duoc UC

Duoc UC change his domain from Duoc to Duoc UC, this add the new institutional mail.

@RicardoGarridoC I am sorry, the domain duocuc.cl is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Cache with expiration or until a condition is met

One approach for both this and #6 could be to maintain a WeakMap dedicated to items metadata.
A Weakmap item could look like this:

key: the value of a CacheMap item for which we want to have metadata (like the time to live);
value: the metadata of the tracked item.

This way, if I'm correct, when an item is removed from the CacheMap, it is automatically garbage collected from the WeakMap.

One approach for both this and #5 could be to maintain a WeakMap dedicated to items metadata.
A Weakmap item could look like this:

key: the value of a CacheMap item for which we want to have metadata (like the time to live);
value: the metadata of the tracked item.

First approach
The usage could look like this, according to first (rather successful) experiment:
let cat = cache.rememberDuring('cat', 'Drich', 2000) // 'Drich'
cat = cache.rememberDuring('cat', 'Kisa', 200) // still 'Drich'

await setTimeout(200) // wait…

cat = cache.rememberDuring('cat', 'Pitch', 200) // 'Pitch', because previous entry has expired

For this, the place for metadata is another Map object. We can’t use WeakMap because it doesn’t accept strings as key. Each metadata entry should be an object containing an expiration Date.
Prospective work:

When a Date object is passed instead of an integer, the Date object becomes the expiration. But then the method shouldn’t be named rememberDuring.
Alternatively, a callback function could be used as “shouldUpdateTheCache condition” (when truthy). In that case, I have to check if a function can be stored in the metadata Map, and run on retrieval.

Because of this, there is no need for a specific method: we could use remember with a 3rd parameter accepting either an integer (duration), either a Date (expiration moment) either a function (callback condition).
Second approach
At first sight, it will probably be more convenient to override most CacheMap inherited methods, in order to have control of what happens on item retrieval/modification. Gonna experiment this at some point.


Use GuildTextChannels instead of TextChannels

I added this to my bot to which my statistic voice channels stopped updating and started erroring (no setName function), when I made it inherit from GuildTextChannel instead it got fixed

Uhm so for some reason this broke all functions that GuildVoiceChannel would have and I realized setName belonged to GuildChannel, now my question is why I get "attempt to call method 'setName' (a nil value)"

After adding pcalls i even noticed both guildchannels stuff and guildvoicechannels' were missing

#2


Inter-DAG dependencies and the scheduler

How should one set up inter-DAG dependencies so that the priorities of the associated Tasks get set properly?
Consider the situation with three DAGs with the following IDs: (1) staging, (2) prod, and (3) derived.  The derived DAG has dependencies on prod, and prod has dependencies on staging.  I represent the dependencies via ExternalTaskSensors.  For example, the prod DAG has an ExternalTaskSensor for each output of staging on which the prod DAG depends.  The ExternalTaskSensors are then set as upstream of Tasks in prod based upon their dependencies.  Same idea for derived and its dependencies on prod.
What I find is happening is that the priority weights that are computed to determine what Tasks to run next only reflect the dependencies within the given DAG.  The priority weight computation simply looks at what is downstream within the DAG and does not account for inter-DAG dependencies.
Is there something in the setup of the DAGs that I should be doing differently?  I believe manually setting the default priority_weight of each DAG would solve the problem, but seems like it would lead to an inefficient schedule.  I'm going to adjust the priority_weights for my batch run tonight to see how the completion time compares, but I was hoping to avoid this.  Let me know if you have any feedback on adjustments I should make to my setup.  Thanks!

As of now, priority_weight don't compute across DAGs. Many other features don't go across DAGs, upstream and downstream dependencies (clearing, backfilling, ...) don't go across DAGs either.
 It may be that you want all these tasks in a single DAG since they seem to be tightly coupled. We have many DAGs with hundreds of tasks and they behave well.
Another option is to crank up the priority_weight artificially.

As a side note, at Airbnb we tend to segment our DAGs based on large-ish subject areas, and we keep the full lineage from staging to warehouse in the same DAG.

Thanks, @mistercrunch.  My DAGs aren't particularly big.  None of them have more than 100 tasks.  I'll probably manually override the priority_weight for now, but look to consolidate the DAGs at some point.


Feature/persist toolbar display

Issue: https://github.com/danielsaidi/RichTextKit/issues/115
Added in configuration to RichTextKeyboardToolbar that allows a user to choose if they would like to always display the toolbar. Defaults to false and config in initializer defaults to .standard if no config is defined in init.
One thought I had while doing this. Would you like me to split out RichTextKeyboardToolbarConfiguration and RichTextKeyboardToolbarStyle into their own files? It feels a little off for them to be living inside of the main RichTextKeyboardToolbar file especially if more options/features are added in the future.

This looks great @r-jarvis 🎉
Merging it now and will aim to release a new version soon.
I have also investigated using environment keys for styles and configurations, instead of injecting them into the initializer. This would allow us to apply e.g. .richTextToolbarStyle(...) anywhere within a view hierarchy.
This can help simplify styling e.g. toolbars, side panels etc. since we can inject these values into the view hierarchy instead of having to pass them down into the view that can inject them into the initializer.
If you think this makes sense, I think we should aim to introduce this pattern when going to 1.0.

@danielsaidi Yeah I really like the idea of that architecture pattern. I'll shoot to create a new PR that introduces it to the style/configuration for RichTextKeyboardToolbar.

Sounds great! :)


fix: the authentication.md link

Sorry, I forgot about this. We do still need to do this. Tram got the build process change in, so we can make this change to the generator now.


Refactor Ava test to work with the new TS generation logic

Hello,
This PR attempts to address the pending TODO, in NEWS, to refactor the Ava test. I decided to solve this to better accommodate myself with the code base and understand how this project works (Great work btw).
I had to update the testData.ts by hand to deal with the deprecation of allow-none. However, I am not sure if the changes I made are 100% correct, as this is my first time dealing with GLib, GIR and Gjs. Besides that, there are a lot of changes in this file, but they are all consequence of prettier formatting, if these are too cumbersome I can revert them.
Also, I changed some test cases results to accommodate some minor changes in how the TS code is generated now. Mostly, it was fixing the comments, adding namespace prefix and dealing with the changes in how construct-only is currently dealt with (#52).
Beside these changes, I also updated the vala-girs submodule, if this is undesired I can also revert it.

Thank you very much! I need to look at this more in detail. I was also thinking about using something completely different than ava for the tests. After I'm done with my current PR #63 the test will probably need to be adjusted again anyway, so I'll wait with the review yet

This would be great, you do not need to close it. Thank you!

@HeavenVolkoff Okay now you can continue :)
I am very happy that you want to contribute to this project, if you have any questions or need tasks, feel free to let me know. :+1:

Rebased the PR on the current master.
Most tests are failing, but thankfully no errors, just output differences, which is expected now that the project is using inheritance.
The only weird thing is the function and callback tests, which are getting empty data from the generator.
But overall, the rebase was mostly painless.

Like that's great, I can take another look at that if you like. And as soon as everything works out we can merge this.
But I have thought about the ava test again. I see the following disadvantages of the ava test:

The order of the methods and properties should not matter, it should only matter that they are there and correct.
It is tedious to add new tests because the gir XML is hard to write by hand.
When errors occur it tempts the developer to just copy the current result to make it fit, but this is not the purpose of such tests.

Therefore I would suggest to rethink the test, I would have the following idea:

Create simple vala classes for each test (see https://github.com/antono/vala-object to see how this can be implemented)
build the gir files from that
Run the generation logic / parser on that
Test if the desired data was parsed correctly

This way we could for example write Vala classes with methods that have certain parameter types and test if the parameters have the correct type in Typescript and if all methods are present.
The type generator could be tested separately by simply passing it the necessary data and seeing if the correct typescript is returned
What do you think?


ELisp parsing "

(Original issue 941 created by louis_kottmann on 2013-12-25T11:53:41.897421+00:00)
It doesn't recognize the \" escape sequence, example here

(Original issue 941 last updated on 2014-01-09T17:11:42.085287+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by birkenfeld on 2014-01-09T17:11:42.104918+00:00)
I can't reproduce that with the current tip.


Problem with absolute_path. Format but not save the file.

I use linux and yarn to install my npm packages.
When I save following message is show up.
OTE: Your PATH variable led me to check in the following directories:

    /home/bernardo/.cargo/bin
    /home/bernardo/bin
    /home/bernardo/.local/bin
    /usr/local/sbin
    /usr/local/bin
    /usr/sbin
    /usr/bin
    /sbin
    /bin
    /usr/games
    /usr/local/games

When I type the following command
which elm-format
/home/bernardo/.yarn/bin/elm-format

So I check the settings at sublime about elm-format-on-save and found the setting absolute_path. I put the path of elm-format :
{
    "absolute_path": "/home/bernardo/.yarn/bin/elm-format"
}

In this moment the format is working but the file isn't saved.
Look the problem:

I was not able to reproduce this on my computer.
Can you share your OS, version of Sublime Text, and any other details of your computer that may be relevant?
I believe any errors in a plugin script will show in Sublime Text -> View -> Show Console so there may be useful information for me in there as well.

No worries, glad it is working!


[nrf fromtree] Add functional PWM support for nRF54H20 - v3.6.99

pwm_api twister test was checked locally and it toggles pin as expected

checked locally blinky_pwm and fade_led - they work, but custom TOML is needed

@anangl , @carlescufi , could you merge?