Unable to Connect

Hello,
I've been trying to get this working with my TV (UN82MU8000FXZA) and no matter what I do I just get "Unable to connect to this Samsung TV device.".  I used wscat to get a token manually and added that to text file hoping it would work, but same message.  I have also tried it with SmartThings Key, same results. Any help would be appreciated.
Here is the log:

2020-03-31 18:03:51 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart] Try config with port: 8001
2020-03-31 18:03:51 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart.websockets] WS url ws://<IP_ADDRESS>:8001/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBUVg==
2020-03-31 18:03:51 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-03-31 18:03:51 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart] Working but unsupported config on port: 8001
2020-03-31 18:03:51 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart] Try config with port: 8002
2020-03-31 18:03:51 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart.websockets] WS url wss://<IP_ADDRESS>:8002/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBUVg==&token=
2020-03-31 18:03:52 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-03-31 18:03:52 DEBUG (SyncWorker_2) [custom_components.samsungtv_smart] Working but unsupported config on port: 8002
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart] Try config with port: 8001
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart.websockets] WS url ws://<IP_ADDRESS>:8001/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart] Working but unsupported config on port: 8001
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart] Try config with port: 8002
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart.websockets] WS url wss://<IP_ADDRESS>:8002/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW&token=18159156
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-03-31 18:06:50 DEBUG (SyncWorker_11) [custom_components.samsungtv_smart] Working but unsupported config on port: 8002
2020-03-31 18:07:38 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart] Try config with port: 8001
2020-03-31 18:07:38 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart.websockets] WS url ws://<IP_ADDRESS>:8001/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW
2020-03-31 18:07:38 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-03-31 18:07:38 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart] Working but unsupported config on port: 8001
2020-03-31 18:07:38 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart] Try config with port: 8002
2020-03-31 18:07:38 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart.websockets] WS url wss://<IP_ADDRESS>:8002/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW&token=18159156
2020-03-31 18:07:39 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-03-31 18:07:39 DEBUG (SyncWorker_59) [custom_components.samsungtv_smart] Working but unsupported config on port: 8002

From the log seems that this TV does not support WebSocket connection.
A couple of qustion:

when you try to setup the component, you see the popup on the TV screeen?
can you try to open from a browser the url "http://{host}:8001/api/v2/" (replace {host} with your TV ip) and send me back the result? Remove sensitive data (like Mac-Address)

Thx

Hey Ollo,
I’ll send over info from api URL in a bit.  I have the device connect prompt disabled (I also tried it with setting “First Time Only”) and no popup is displayed.
Thanks,
Cody

{ 	"device": { 		"FrameTVSupport": "false", 		"GamePadSupport": "true", 		"ImeSyncedSupport": "true", 		"OS": "Tizen", 		"TokenAuthSupport": "true", 		"VoiceSupport": "true", 		"countryCode": "US", 		"description": "Samsung DTV RCR", 		"developerIP": "<IP_ADDRESS>", 		"developerMode": "0", 		"duid": "uuid:3ee908bd-1557-4b0c-bd89-feebfc6b359d", 		"firmwareVersion": "Unknown", 		"id": "uuid:3ee908bd-1557-4b0c-bd89-feebfc6b359d", 		"ip": "<IP_ADDRESS>", 		"model": "17_KANTM_UHD", 		"modelName": "UN82MU8000", 		"name": "[TV] Living Room", 		"networkType": "wired", 		"resolution": "3840x2160", 		"smartHubAgreement": "true", 		"type": "Samsung SmartTV", 		"udn": "uuid:3ee908bd-1557-4b0c-bd89-feebfc6b359d", 		"wifiMac": "" 	}, 	"id": "uuid:3ee908bd-1557-4b0c-bd89-feebfc6b359d", 	"isSupport": "{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n", 	"name": "[TV] Living Room", 	"remote": "1.0", 	"type": "Samsung SmartTV", 	"uri": "http://<IP_ADDRESS>:8001/api/v2/", 	"version": "2.0.25" }

Device connect prompt must be "First Time Only". You also must delete all authorized device from your TV.
Then retry to configure the component, you should see the popup. When it apper, confirm immediatly.
Let me know.

I tried it with First Time Only and Off, neither worked, but I'll try it again

Put it back to First Time Onle, deleted all devices, same issue.  Log file shows:

2020-04-01 17:36:56 DEBUG (SyncWorker_55) [custom_components.samsungtv_smart] Try config with port: 8001
2020-04-01 17:36:56 DEBUG (SyncWorker_55) [custom_components.samsungtv_smart.websockets] WS url ws://<IP_ADDRESS>:8001/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW

The popup is shown on the TV during configuration?
Also delete the file "token-.txt" in the custom_component folder and be sure that there are no issue with the access permission to this folder (component must be able to read and write this file).

No popup occurs, I deleted token.txt and still getting same errors

2020-04-04 11:28:57 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart] Try config with port: 8001
2020-04-04 11:28:57 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart.websockets] WS url ws://<IP_ADDRESS>:8001/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW
2020-04-04 11:28:57 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-04-04 11:28:57 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart] Working but unsupported config on port: 8001
2020-04-04 11:28:57 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart] Try config with port: 8002
2020-04-04 11:28:57 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart.websockets] WS url wss://<IP_ADDRESS>:8002/api/v2/channels/samsung.remote.control?name=W0hvbWUgQXNzaXN0YW50XSBMaXZpbmcgUm9vbSBTYW1zdW5nIFRW&token=
2020-04-04 11:28:58 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart.websockets] Connection closed.
2020-04-04 11:28:58 DEBUG (SyncWorker_47) [custom_components.samsungtv_smart] Working but unsupported config on port: 8002

Hard to solve here. When you use wscat, what did you do? Does the popup appear in this case?

When I do
wscat -n -c https://<IP_ADDRESS>:8002/api/v2/channels/samsung.remote.control?name=U2Ftc3VuZyBUViBMaXZpbmcgUm9vbSBUaXplbg
I get the prompt on TV, and when I allow I get
{"data":{"clients":[{"attributes":{"name":"U2Ftc3VuZyBUViBMaXZpbmcgUm9vbSBUaXplbg"},"connectTime":1583718916730,"deviceName":"U2Ftc3VuZyBUViBMaXZpbmcgUm9vbSBUaXplbg","id":"2545101f-ca4a-4e40-9ae7-14b483b7758b","isHost":false}],"id":"2545101f-ca4a-4e40-9ae7-14b483b7758b","token":"16730934"},"event":"ms.channel.connect"}

hi, i have

The popup is shown on the TV during configuration?
Also delete the file "token-.txt" in the custom_component folder and be sure that there are no issue with the access permission to this folder (component must be able to read and write this file).

I tried to use your custom component to connect to my tv (samsung q70 2019), but hassio tells me it is impossible to connect to the tv. does anyone have any ideas on how to try?

{"data":{"clients":[{"attributes":{"name":"U2Ftc3VuZyBUViBMaXZpbmcgUm9vbSBUaXplbg"},"connectTime":1583718916730,"deviceName":"U2Ftc3VuZyBUViBMaXZpbmcgUm9vbSBUaXplbg","id":"2545101f-ca4a-4e40-9ae7-14b483b7758b","isHost":false}],"id":"2545101f-ca4a-4e40-9ae7-14b483b7758b","token":"16730934"},"event":"ms.channel.connect"}

This is exacly what I'm expecting back! Are you snding the wscat from the same machine where HA is running or are different machines?

I ran wscat from my laptop, HA runs in docker. I can try the wscat from within container if that helps? I do have my docker swarm and Samsung TV segregated on different VLANs, but no firewall rules between them.

Different VLAN do not work, same problem was here #3

Different VLAN do not work, same problem was here #5

ok, i move the tv in the same vlan, and now the configuration is complete. now i need to create in configuration.yaml for the additional setting? such as apps...

Yes, you can. App is suggested.

Ok, I suppose it is what it is then.  I'm having a hard time understanding why a different VLAN would make a difference but I'll play around and see if I can find a workaround.


SETUP.PackageUpdateCoreundefined

Whenever I try to update my modules, Pixels gives me a warning: SETUP.PackageUpdateCoreundefined
Module 0.1.0
Foundry Build 315

Any feedback on this please?

Same for me. But then again, there is no newer version than 0.1.0.

This is a core bug with that translation string. The warning should say that there is a newer version of the module available, but it requires a newer version of the core software. In this case, Pixels versions 0.2 and above require at least Foundry VTT Version 12. If you are still using Version 11 of the core software, version 0.1 is the only version of the Pixels module that is supported.


Usage of Tensorboard in Distributed MXNet

Hi all,
I tried to use Tensorboard to visualize my model training process. In the single-node training mode, the usage of Tensorboard is straightforward. Thing is different when it comes to the distributed training mode. Suppose I have 2 servers and 4 workers in my cluster, how can I use Tensorboard to track the overall training process? Basically, I can imagine there will be 4 different set of log files locate in each worker, and I need to use 4 separate Tensorboard processes to visualize the whole process.
After some research, I found the following question on StackOverflow, which said that in TensorFlow, only one of the workers need to write the log.
https://stackoverflow.com/questions/37411005/unable-to-use-tensorboard-in-distributed-tensorflow
I wonder what is the by-design usage of Tensorboard in Distributed MXNet? My main concern of writing summary on one of the worker is whether the log from a single worker can be a good representative to the overall learning process.
@zihaolucky Thanks a lot for your work to make the Tensorboard on MXNet come true. I wonder do you have any idea of my question?
Thanks in advance!
Bo

@LakeCarrot Here is an example https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/contrib/tensorboard.py in which we use the callback to log training/eval metrics.
In functionality, I suppose the usage of TensorBoard would have no difference than in TensorFlow, as we just write something to the event file. So if you want to log/monitor the overall learning process, I think you should dive into the logging mechanism of MXNet.
But I haven't try distributed MXNet before, I'm not sure whether the example above could help. It depends on how these metrics are aggregated and computed, and where the event file is.

@zihaolucky Thanks for your reply. I have read through that example.

@LakeCarrot There're some discussions on this issue, https://stackoverflow.com/questions/40830085/tensorboard-can-not-read-summaries-on-google-cloud-storage. As far as I know, I haven't seen this feature in origin TensorBoard, and our standalone version only supports reading from local. This feature has been raised in https://github.com/dmlc/tensorboard/issues/39, I'll follow this issue and update the status.

@zihaolucky Good to know. Thanks a lot!


zsh crush

Hi
When i installed zsh and oh-my-zsh, I restart my Macbook pro,I got those error below.
and i can't run any command on /bin/zsh, even i toggle to /bin/bash
how can i uninstall zsh and rollback?

Error: Failed to install vendor Ruby.

Related: https://github.com/Linuxbrew/brew/issues/255


Accessibility

I was expecting to see only one commit in this pull request.
I don't understand why the old commits are coming again. I made this Accessibility branch in my fork after I merged your upstream master to my master.
Jerry please let me know if there's something I should do to get this into shape to be merged.


Fix Link 2016

The third volume download should be Office 2016.  You have 2019 listed twice but the link goes to 2016.

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

ID: 88987141-eb61-186f-ada4-6b8765764737
Version Independent ID: 9264a57c-554a-c69e-b408-4c3196788ec5
Content: Activate volume licensed versions of Office by using Active Directory - Deploy Office
Content Source: DeployOffice/vlactivation/activate-office-by-using-active-directory.md
Product: office-perpetual-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@chadwanderson   Thanks for letting us know about that error. It's been fixed. We also checked to make sure that the same error didn't appear elsewhere in the volume activation content.


banning doesn't work

title moment

nvm, another plugin for some reason was messing with this one, really cool plugin and surprised that's its free!


Highlight a single unconnected node on hover.

Wasn't happening before.
Fixes #787

@foot Need rebasing on master for circle to pass.

LGTM (still need rebase?)

I think Simon already rebased (the test passed)

I rebased 9 days ago, could do w/ another one.
On 13 January 2016 at 15:18, Tom Wilkie<EMAIL_ADDRESS>wrote:

I think Simon already rebased (the test passed)
—
Reply to this email directly or view it on GitHub
https://github.com/weaveworks/scope/pull/790#issuecomment-171303136.


flutter build web: allow passing experiment flags

Steps to reproduce
execute flutter build web --enable-experiment=macros --wasm
Expected results
build success
Actual results
Target dart2wasm failed: ProcessException: Process exited abnormally with exit code 64:
Could not find an option named "enable-experiment".

Usage: dart compile wasm [arguments] <dart entry point>
-h, --help                  Print this usage information.
-o, --output                Write the output to <file name>.
                            This can be an absolute or relative path.
-v, --verbose               Print debug output during compilation
    --enable-asserts        Enable assert statements.
-D, --define=<key=value>    Define an environment declaration. To specify multiple declarations, use multiple options or use
commas to separate key-value pairs.
                            For example: dart compile wasm -Da=1,b=2 main.dart

Run "dart help" to see global options.
  Command: D:\software\flutter\bin\cache\dart-sdk\bin\dart.exe compile wasm --packages=.dart_tool/package_config.json
  --extra-compiler-option=--dart-sdk=D:\software\flutter\bin\cache\dart-sdk
  --extra-compiler-option=--platform=D:\software\flutter\bin\cache\flutter_web_sdk\kernel\dart2wasm_platform.dill
  --extra-compiler-option=--delete-tostring-package-uri=dart:ui
  --extra-compiler-option=--delete-tostring-package-uri=package:flutter --extra-compiler-option=--import-shared-memory
  --extra-compiler-option=--shared-memory-max-pages=32768 -Ddart.vm.product=true --enable-experiment=macros
  -DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/d35a1a603c80e8b310ed89ccc1525c3cbc81e19d/
  -DFLUTTER_WEB_AUTO_DETECT=false -DFLUTTER_WEB_USE_SKIA=false -DFLUTTER_WEB_USE_SKWASM=true
  --extra-compiler-option=--depfile=E:\code\csdn_git\schedule-self\schedule-self-client\.dart_tool\flutter_build\2b270b379f2f7e
  b6fc453ef01b7cfc4c\dart2wasm.d -O4 --no-name-section -o
  E:\code\csdn_git\schedule-self\schedule-self-client\.dart_tool\flutter_build\2b270b379f2f7eb6fc453ef01b7cfc4c\main.dart.wasm
  E:\code\csdn_git\schedule-self\schedule-self-client\.dart_tool\flutter_build\2b270b379f2f7eb6fc453ef01b7cfc4c\main.dart
#0      RunResult.throwException (package:flutter_tools/src/base/process.dart:122:5)
#1      _DefaultProcessUtils.run (package:flutter_tools/src/base/process.dart:318:19)
<asynchronous suspension>
#2      Dart2WasmTarget.build (package:flutter_tools/src/build_system/targets/web.dart:329:5)
<asynchronous suspension>
#3      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:867:9)
<asynchronous suspension>
#4      Future.wait.<anonymous closure> (dart:async/future.dart:534:21)
<asynchronous suspension>
#5      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:805:32)
<asynchronous suspension>
#6      Future.wait.<anonymous closure> (dart:async/future.dart:534:21)
<asynchronous suspension>
#7      _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:805:32)
<asynchronous suspension>
#8      FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:634:16)
<asynchronous suspension>
#9      WebBuilder.buildWeb (package:flutter_tools/src/web/compile.dart:92:34)
<asynchronous suspension>
#10     BuildWebCommand.runCommand (package:flutter_tools/src/commands/build_web.dart:230:5)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1393:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:372:9)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#16     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:308:5)
<asynchronous suspension>
#17     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#18     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#19     main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>

Compiling lib\main.dart for the Web...                             428ms
Error: Failed to compile application for the Web.

Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
[✓] Flutter (Channel master, 3.22.0-35.0.pre.10, on Microsoft Windows [版本 10.0.22631.3593], locale zh-CN)
• Flutter version 3.22.0-35.0.pre.10 on channel master at D:\software\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ddd6c86950 (17 hours ago), 2024-05-14 22:00:17 -0400
• Engine revision d35a1a603c
• Dart version 3.5.0 (build 3.5.0-154.0.dev)
• DevTools version 2.36.0-dev.5
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at D:\software\repository\android\sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = D:\software\repository\android\sdk
• Java binary at: D:\Users\justd\AppData\Local\Programs\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.5)
• Visual Studio at D:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.7.34202.233
• Windows 10 SDK version 10.0.22621.0
[✓] Android Studio (version 2023.3)
• Android Studio at D:\Users\justd\AppData\Local\Programs\Android Studio
• 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 17.0.10+0--11572160)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.1)
• IntelliJ at D:\Users\justd\AppData\Local\Programs\IntelliJ IDEA Ultimate
• 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
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.22631.3593]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 124.0.6367.158
• Edge (web)        • edge    • web-javascript • Microsoft Edge 124.0.2478.97
[✓] Network resources
• All expected network resources are available.
• No issues found!

I think we should move this to dart-lang/sdk, since this seems like an issue with dart2wasm.

Closing from here. @nulideaqian Please file this in https://github.com/dart-lang/sdk/issues

See https://dart-review.googlesource.com/c/sdk/+/366820


Google Assistant Component imports MYQ garage devices from HA incorrectly after 90.2

When using the Google Assistant Component (not home assistant cloud), Google is incorrectly importing exposed MYQ devices from Home Assistant > 90.2.  In GA, when attempting to turn such devices ON/OFF, google responds with

It looks like that device hasn't been set up yet.

I noticed that in 90.2, my Garage Door appears as a switch (see pic) of my Google devices imported from HA 90.2. Notice the icon next to Garage appears as a switch. After updating > 90.2 that icon appears as whatever the icon for Amazon is (a remote?) below in the Harmony section.

Duplicate of https://github.com/home-assistant/home-assistant/issues/22740


Adding Open-Source Flutter Apps to Repository

adding several open-source Flutter apps to our current repository to foster collaboration and provide valuable resources to the community. Below is a list of the apps I am  suggesting to include:
Reflectly
GitHub Repository: [https://github.com/topics/reflectly]
Description: Reflectly is a journaling app designed to help users foster a positive mindset and improve their mental well-being through daily reflections.
Inkino
GitHub Repository: [https://github.com/dreambuilder00/inKino-Flutter]
Description: Inkino is a movie discovery app that allows users to explore movies playing in theaters, check showtimes, and read reviews.
Watermaniac
GitHub Repository: [https://github.com/artur-ios-dev/watermaniac]
Description: Watermaniac is a hydration tracking app that helps users stay hydrated throughout the day by providing reminders and tracking water intake.
Natrium
GitHub Repository: [https://github.com/appditto/natrium_wallet_flutter]
Description: Natrium is a Nano cryptocurrency wallet app, providing users with a secure and intuitive way to manage their Nano funds.

can u pls assign me this issue...its my first time contributing to an open source..so i want to learn more about it

thnku...can u also tell me what the next step to do...is it the pull request

Yes, send across a PR.

i have send a PR...can u check it if everything is okay or not..

Replied on the PR. Make sure you make the requisite changes.


Resurrect docs interlinking

Summary of changes
This change eliminates all the sphinx warnings and recovers
all the broken interdoc references, and gets rid of the
syntactic typos.
Fixes #2424
Pull Request Checklist

[x] Changes have tests
[x] News fragment added in changelog.d. See documentation for details

This change includes a commit from #2425 so if it's accepted earlier, it's okay to close that PR.
I've recovered references to orphans in order for nitpicks to be satisfied. I hope that @alvyjudy will clean that up once we have automatic breakage enforcement in place. I've also noticed some document duplicates that will probably need to be dropped but I'm not trying to decide on any refactoring as a part of this PR: I just want the build to be green and correct.
In general, this should prevent contributors from supporting broken docs.

@webknjaz it really cringes me how many mistakes I have made while working on the docs. I had planned on getting an outline out there and add in the details later (obviously the second step didn't happen and I feel quite embarrassed by such work ethics:(. I think I will go through them these days and fix the issues

@alvyjudy hey! Don't feel ashamed. Your initial contribution was good, it's okay to miss things sometimes. I only added comments for you so that it'd be easier to track stuff when you get to it in the spirit of collaboration :)
Also, it's totally not your fault that strict mode was off in the sphinx setup. Now that it'll be fixed and enforced, it'll be a helpful tool for everyone to catch mistakes.

@jaraco mind labeling this PR as hacktoberfest-accepted?


protoc-gen-elixir: init at 0.12.0

Description of changes
This is a protoc plugin for generating Elixir code.
https://github.com/elixir-protobuf/protobuf
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 326961 run on x86_64-linux 1

1 package built:

protoc-gen-elixir

Result of nixpkgs-review pr 326961 run on x86_64-linux 1

1 package built:

protoc-gen-elixir

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4325


button example does not handle hovering correctly on macOS in debug mode

Bevy version
e900bd9e1285d664568402c0e7a54fdf5b192395 (main)
Relevant system information
OS: macOS Monteray (12.6.3)
What you did
Run the button UI example in debug mode:
cargo run --example button

What went wrong
I expected the button to change the text form "Button" to "Hovered" when moving the cursor over to the button. Instead, it does not change the text when I move the cursor to the button. This occurs on native macOS builds in debug mode; release mode and the web example works fine.
Additional information
It seems like the Interaction state does not update when simply moving the cursor to the UI button. Instead, if you click and hold outside the UI button and drag the cursor over to the UI button, it will update as expected. Setting different WinitSettings did not have any effect.
https://user-images.githubusercontent.com/9679284/233463606-c60a0190-53c7-4de2-9e85-f7542b5a0256.mov

OS: macOS Monterey (12.6.3)
Apple Air M2
Test run:
https://user-images.githubusercontent.com/59328030/234423219-0b7ae7ba-acc6-474b-b408-8c58a5b18c13.mov


Update stable version in repo from 2.0.9 to 2.1.0

Think about update stable version to 2.1.0
Version: stable=2.0.9 (237 days old) => latest=2.1.0 (15 days old)
Installs: stable=264 (90.1%), latest=23 (7.85%), total=293
Click to edit

Done


Unable to set "nofile" limit before starting tomcat instance

Under debian it is not possible to set the number of allowed open files before starting the specific tomcat instance:
In this file: tomcat.init.erb it is not possible to inject any code before:
$SU <%= @owner %> -c "umask <%= @umask %>; $CATALINA_HOME/bin/catalina.sh start" > /dev/null
Are there any other approaches for increasing the number of open files on this platform?

@dankristensen you should use tomcat::ulimit.


Add support for Silex 2.x

This adds support for Silex 2.x, I'm pretty sure this can't get merged anytime soon since there is no stable Silex 2.x yet but it can be useful for some people.
Also, no backwards compatibility with older Silex versions..

Given that Silex 1 will still live for a long time IMO (simple proof is the time since this PR was opened, and Silex 2 is still not released), I don't want to merge this.
Bumping the major version of KnpMenu because of a change in the supported Silex version also looks wrong to me (and cannot be enforced by Composer because it is an optional dependency). My plan is to create a separate package for the Silex provider (same than the bundle being separate). I contacted @docteurklein about this. This will allow us to support both Silex 1 and 2 in separate versions of this package, without impacting the library itself. The provider being shipped in this library will then be deprecated.
And regarding the support of Pimple 3, see #220.

What is the current for this integration ?

version 2 seems to be released. i guess nobody created that separate repository yet. #220 with pimple 3 support is in, however. i suggest that if you need this, you write the integration in a separate repository and do a PR to the documentation to link to your integration repository.


P4_16 v1.1.0 and P4_14 v1.0.5 release

Final tweaks to change log, versions, and dates in preparation for release.

@mbudiu-vmw I'll wait for your signal before merging and tagging these as the official release versions.

On a plane right now, will review tomorrow.


[v6 rc4] START_SUBMIT not dispatched when there's a file input

It seems like START_SUBMIT doesn't get dispatched when there's a field with a file input. Is there any documentation around handling file uploads?
<Field name="file" type="file" component="input" />
It also seems the file input doesn't get reset when the form is reset.

Closing due to inactivity.
In case you still have problems, please open a formal bug report.
Otherwise, please ask for help at StackOverflow.


ET demo texture size is too big.

Describe the bug
There are two large files under Eye Tracking examples folder. 36MB and 15MB.
Not sure if the PSD file is used. Map example texture needs optimization.

Branch
mrtk_development

Closed via #4628


[GOBBLIN-1770] Allow null values for fields in GaaSObservabilityEvent.Issue fields which are optional

Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1770

Description

[x] Here are some details about my PR, including screenshots (if applicable):
When looking into the IssueRepository before the creation of GaaSObservabilityEvents, many issues do not populate their fields for details and summary. This is because the Issue details are composed of a stack trace, but since Issues can be composed of warn/error logs and stack traces, it is not guaranteed that every issue has a corresponding stack trace.

However, from investigation it looks like the automated troubleshooter will always populate the issue severity, code, and summary.
This PR accounts for this when creating a GaaSObservabilityEvent by modifying the schema to allow both null and String/Map values.
Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:
The unit test will take the generate the event and attempt to serialize this against the schema. Previously, this would fail with a NullPointerException

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3630 (ffc186b) into master (3dd0657) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3630      +/-   ##
============================================
- Coverage     49.01%   48.99%   -0.02%
- Complexity     9185     9186       +1
============================================
  Files          1751     1751
  Lines         67864    67893      +29
  Branches       7734     7739       +5
============================================
+ Hits          33261    33264       +3
- Misses        31502    31523      +21
- Partials       3101     3106       +5

Impacted Files
Coverage Δ

...ice/monitoring/GaaSObservabilityEventProducer.java
11.86% <ø> (ø)

...lin/util/filesystem/FileSystemInstrumentation.java
85.71% <0.00%> (-7.15%)
:arrow_down:

...bblin/data/management/copy/OwnerAndPermission.java
20.00% <0.00%> (-5.00%)
:arrow_down:

...a/org/apache/gobblin/cluster/GobblinHelixTask.java
60.21% <0.00%> (-4.31%)
:arrow_down:

...lin/data/management/copy/ManifestBasedDataset.java
51.78% <0.00%> (-3.99%)
:arrow_down:

...a/management/copy/publisher/CopyDataPublisher.java
73.54% <0.00%> (-1.95%)
:arrow_down:

...nt/copy/writer/FileAwareInputStreamDataWriter.java
73.17% <0.00%> (-0.47%)
:arrow_down:

...pache/gobblin/runtime/kafka/HighLevelConsumer.java
0.00% <0.00%> (ø)

...lin/service/monitoring/SpecStoreChangeMonitor.java
0.00% <0.00%> (ø)

...obblin/data/management/copy/CopyConfiguration.java
86.95% <0.00%> (ø)

... and 5 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Loading a view through app.setRoot() does not set the isProcessing flag

Durandal has code that protects against two lifecycles occurring simultaneously, using an "isProcessing" flag in router.js.  The flag is set whenever a navigation event occurs and reset at the end of the composition lifecycle.
The problem is that app.setRoot() loads a view without going through the navigation code and so this flag does not get set, but it does get cleared when the shell is finished composing, leaving open the possibility of this:

shell begins activation
user navigates to view A.  this is allowed because isProcessing is false.
that navigation causes isProcessing to be set true.
shell completes composition.  this clears the isProcessing flag.
user navigates to view B.

at this point Durandal is processing both views A and B.
Workaround for us was for our app to not expose the navigation controls until after the shell had completed composition (it had been after activation).  That seems more correct anyway but still a bug in the framework.

Actually, I've personally run into this issue. Sadly, I think it will not be fixed. The router has a few issues that have been resolved in Aurelia and otherwise have reasonable workarounds in Durandal. @EisenbergEffect recommend close.

Actually, this issue is exactly what we're seeing in https://github.com/aurelia/framework/issues/212. Seems that most of the code is conceptually identical.

interesting :)


[Feedback]Make a GraphQL request for a nested query

Page: /lib/q/platform/ios
Feedback:
Hi there!
I'm trying to update a fairly straightforward app from the old Amplify SDK to the new Amplify Library. The docs don't have any migration guide sadly.
One thing that isn't at all clear is how you go about using custom queries with the API exposed by the library. The docs show how to fetch a single or list of a model, but not how to make a GraphQL request for, say, a nested query.
Please could you advise?
Many thanks!

To add another (very related) query: By using custom queries I'm wanting to fetch nested objects with a single HTTP request but also wanting to avoid over-fetching of data by allowing engineers on the client side to specify which subset of fields they require.

I believe a custom query where you pass a custom selection set is the first step to getting a subset of fields required on the client side. Are you constructing a GraphQLRequest with the graphql document containing customized selection set?
Then what is the responseType used when deserializing the response data? Are you using the Model classes generated from amplify codegen models or are you using an hand crafted Codable types that contain a subset of the fields?

I had imagined that a code gen step could/would be run that would generate models for a specific query, but in a strongly typed language like Swift it can be difficult to do well.
There are three approaches that I feel you could consider. Let's imagine you have a GraphQL schema like so, with a user and a post, and a many-to-many connection between users and posts.
type User
  @model
{
  id: ID!
  username: String!
  sub: String!
  posts: [UserPost] @connection(keyName: "byUser", fields: ["id"])
  createdAt: AWSDateTime!
}

type Post
  @model
{
  id: ID!
  associated: [UserPost] @connection(keyName: "byPost", fields: ["id"])
  title: String!
  body: String!
  createdAt: AWSDateTime!
}

type UserPost
  @model
  @key(name: "byUser", fields: ["userPostUserId", "userPostPostId"])
  @key(name: "byPost", fields: ["userPostPostId", "userPostUserId"])
{
  id: ID!
  user: User! @connection(fields: ["userPostUserId"])
  userPostUserId: ID!
  post: Post! @connection(fields: ["userPostPostId"])
  userPostPostId: ID!
  createdAt: AWSDateTime!
}

You may want to get a list of posts by created date or whatever and just render the the authors name next to each post. So you may create a GraphQL query like (haven't created this IRL, so may not be perfect):
query postsByCreatedAtQuery(input: { limit: 25} ) {
  posts {
    items {
       post {
         id
         title
         body
         createdAt
         associated {
           items {
             user {
               username
             }
           }
         }
       }
    }
  }
}

So here, you have a query that gets all the fields for the Post type, but only one field (the username) for the associated users.
I think you have three options:

Codegen a type called postsByCreatedAtQuery_user, which is specific to the user fetched for this query and only gives the developer access to the username field on that type. This is essentially how the Amplify SDK worked I believe.
Code gen a single User type but make all fields optional.  It is simpler for new developers to understand, but on a larger codebase can be tricky for people to figure out what data has been fetch and what has not.
Create a new type, MUST_FETCH. And each code gen'd model now has fields that are a union type of some sort, i.e. username can be of type String | MUST_FETCH (a bit like a result type I suppose). You can now return your User model in this case, but all fields other than username are set to MUST_FETCH and if the code tries to read from them the code throws an error (in development at least), essentially indicating to the developer than they need to add the field to their GraphQL query.

You could also add some linting/static analysis to ensure that only fields which have been fetched are accessed. Relay does this for example, but requires adding fragments for each component. This doesn't work very well with UIKits programming model, but would work very well with SwiftUI.

Hello,
We have an example to create custom GraphQL requests for nested data queries through the custom selection set feature.
https://docs.amplify.aws/cli/migration/lazy-load-custom-selection-set/#custom-selection-sets
Let us know if this works for you.

@armenr Please open an issue in the JS repo with your question: https://github.com/aws-amplify/amplify-js


Repo sync for protected CLA branch

The pull request is created from master637588565919559489 to master to fix git push error for protected CLA branch

@opbld15 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Index.html report generation

May I know when will be the index.html file generated?

HI @subbu3397, the index.html will be created when you run ./gradlew test. I would recommend to always run ./gradlew clean test to make sure that no old test results are part of the report.


Add default digits for all bases, refactor code

This pull request removes redundant code and uses a for loop to add default digits from all bases from 2 through 64.

Thanks for cleaning up my code @safwansamsudeen!

Sure, anytime.


Is the compilation process supposed to take a few minutes?

I haven't learned too much about C++ after the basics. So should compiling a project like this take a long time?

not really, compiling a individual file is really fast on an average computer but when tons & tons of files are to be compiled it starts to take time.
unfortunately when compiling a project this large for the first time, yea things get really slow, but you can always use -j<num-jobs> with GNU Make or --parallel <num-jobs> in cmake to parallel-y compile multiple files which speeds up the process by alot!
now fortunately another way to speed up this process is not rebuilding anything which has not changed, most of programs like GNU Make & CMake basically compare the time when a particular file was changed and if it was built or not, if it was changed but wasn't built, it will be then re-built.
so for the first time it will take some time but then after when you re-compile only the things that have changed will be re-built.

So basically, first compile times are huge, but later compiling is fast. Thanks!

So basically, first compile times are huge, but later compiling is fast. Thanks!


Configuration

Adds top level configuration object.
Moves user agent functionality to the configuration object.

Addresses https://github.com/molybdenum-99/infoboxer/issues/63.

Hey, that's a lot of work!
There is one imporant thing that is still to be done: Infoboxer is not only Reality backend/Wikipedia client, it is generic MediaWiki client, which targets to work with any MediaWiki installation in existance (and there are plenty of useful ones, not speaking of different language versions of Wikipedia).
Therefore, the right way of configuring things, for me, is following:

allow Infoboxer::MediaWiki instance to be configured on creation, like

w = Infoboxer::MediaWiki.new('http://tardis.wikia.com',
                              user_agent: MY_UA,
                              cache_path: '/tmp/tardis-wikia')

then allow "default config" to be set for entire infoboxer
...while considering (maybe for future versions) things like "settings pattern":

Infoboxer.configure do |c|
  c.cache_path '/tmp/%{domain}'
end

Per-wiki configuration, makes sense.

OK. Sorry for discouraging you!
Some matters here are, kinda, complicated :(


Multi-AZ and High availability for Interoperator

Refresh catalog in broker on health check
Honor relica count in mcd provisioner
Use topologySpreadConstraints for pods
Remove unused caching of provisioner deployment
Restart provisioner from the instance/binding controller
Restart if current watch list is different from at startup
Restart only for k8s deployments

Feature: HCPCFS-2472

Pull Request Test Coverage Report for Build 4469

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 89.315%

Files with Coverage Reduction
New Missed Lines
%

data-access-layer/db/src/DBManager.js
1
99.48%

Totals

Change from base Build 4467:
0.0%

Covered Lines:
9346

Relevant Lines:
10105

💛  - Coveralls

@anoopjb @jayeshjk Please review


[SP-6125] Backport of BISERVER-14832 - Memory leak by executing data …

…transformation (8.3 Suite)
Original PRs:

pentaho-kettle#8247
pentaho-kettle#8270

@bcostahitachivantara @renato-s @andreramos89

:warning: Build finished in 25m 49s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 1 test(s) failed:
org.pentaho.di.trans.steps.csvinput.CsvInputContentParsingTest.testEnclosures (click to expand)
Wrong row: [[B@7e6d3401, [B@3834b6b9, [B@368e2e30]: array lengths differed, expected.length=21 actual.length=20

Tests run: 4882, Failures: 1, Skipped: 7    Test Results

:information_source:  This is an automatic message


Suggestion: singular or plural field treated as one

I don't know if this is possible, and if so, not sure of its implications (could be negative?).
I find myself having to duplicate my where conditions to take into account the singular and plural field name. Eg,
`where contains(alias, "Index") OR contains(aliases, "Index).
I've since decided to just always use the plural even for a single alias, but I'd rather not have to go back and change them all if there is some quicker way to taken both singular and plural into account.

This would be finnicky to do in general, but I can add special treatment of alias/aliases since it is a Obsidian-recognized special field.

It could be useful, but I am now determined to always use the plural for all my fields so that I can avoid the issue in the future.  Not such a hard fix on my end - probably easier than what you would have to deal with ;-)


Integrating the Microsoft Office Outlook with TestCafe

Hi Team,
THis Dipesh More from Sterling Talent Solutions. We are doing a proto-type with testcafe tool and in process of exploring the various features for the same.
What is your Test Scenario?
While doing so,, we have come across a scenario where we need integration with Microsoft Outlook
What are you suggesting?
We want to do certain operations like (Clicking on Button, Links ) came as part of an email.
What alternatives have you considered?
We did not find any information regarding this. Requesting you to provide any ways where we could achive these scenarios..
Additional context
Example : Suppose, after performing any operation on my UI application, I am recieving xyz link through email and to test it further, I have to click on link (which came in email) to automate remaining flow. We need to achive this through Test Cafe.

Hi Dipesh,
Thank you for your interest in our testing tool. TestCafe is designed to interact only with the browser. However, you can make it interact with your mail server via the web interface. Feel free to contact us if this approach doesn't cover your scenario or you face any difficulties while implementing it. We will be happy to help.


[BUG]

Describe the bug

I have a problem using the UnsupervisedDetector models in a pipeline. I have tried a two different simple linear pipelines, one with a standardizer and LOFDetector and one with standardizer and IForestDetector. It seems like the fit! function doesn't work properly
on the detector models when they are in a pipeline since no training seems to take place and when I try to transform new data
with the machine it gives an error message:
"ERROR: MethodError: objects of type OutlierDetectionPython.IForestDetector are not callable"
To Reproduce

Hopefully the code example isn't too long.
using Pkg

Pkg.add("MLJ")
Pkg.add("OutlierDetection")
Pkg.add("DataFrames")
using MLJ
using OutlierDetection
using DataFrames

fake_dataframe = DataFrame(A=rand(100).-10 .*10,B= rand(100).+10 .*10)

#Load models
LOF = @iload LOFDetector() pkg= OutlierDetectionNeighbors
IForest = @iload IForestDetector() pkg = OutlierDetectionPython

#Instantiate models
model_standardizer = Standardizer();
model_IForest = IForest();
model_LOF = LOF();

#Create pipelines
pipe_standardized_LOF = model_standardizer |> model_LOF
pipe_standardized_Iforest = model_standardizer |> model_IForest

#Create machines
mach_standardizer_LOF = machine(pipe_standardized_LOF,fake_dataframe)
mach_standardizer_Iforest = machine(pipe_standardized_Iforest,fake_dataframe)
mach_LOF = machine(model_LOF,fake_dataframe)

#fit machines
fit!(mach_standardizer_LOF);
fit!(mach_standardizer_Iforest);
fit!(mach_LOF);

#=
Here the transformation gives an error for pipelines but not for a single machine.
=#
fake_dataframe_1 = MLJ.transform(mach_standardizer_LOF,fake_dataframe)
fake_dataframe_2 = MLJ.transform(mach_standardizer_Iforest,fake_dataframe)
fake_dataframe_3 = MLJ.transform(mach_LOF,fake_dataframe)

# Trying another unsupervised model to rule out that
#all unsupervised models doesn't work:

KMeans = @iload KMeans pkg=ParallelKMeans
model_KMeans = KMeans();
pipe_standardized_KMeans = model_standardizer |> model_KMeans
mach_standardizer_KMeans = machine(pipe_standardized_KMeans,fake_dataframe);
fit!(mach_standardizer_KMeans);

fake_dataframe_4 = MLJ.transform(mach_standardizer_KMeans,fake_dataframe)

Expected behavior

I expect the transform function to output an anomaly score from a machine that first standardizes the data and then do some kinde of
detector model on it.
Additional context

I have tried the same thing (as is in the code above) with other unsupervised models and it seems to work fine on them so the problem
is probably isolated to the OutlierDetection package.
I've also tried a PCA model instead of a standardizer with a oulierdetection model in a pipeline with the same problem.
Versions

Please run the following code snippet and paste the output here:
from sktime import show_versions; show_versions()  <--- I didn't get this one to work at all so I will send the information from versioninfo instead.
From versioninfo:
Julia Version 1.6.7
Commit 3b76b25b64 (2022-07-19 15:11 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =

I totally didn't understand that the arrows was for comments.. Rookie mistake.

I still hade to make some minor fixes on my bad description.

Hey! The reason might be that pipelines only support
const SUPPORTED_TYPES_FOR_PIPELINES = [
    :Deterministic,
    :Probabilistic,
    :Interval,
    :Unsupervised,
    :Static]

models, but outlier detection algorithms are currently modeled as a separate entity (Annotator <: Model) in MLJ.

I'm not sure if that's really the reason for the mentioned error
I'm not sure if it would make sense to add support for annotators to pipelines because then we would also have to add support to a lot of other scattered places all over MLJ. I would prefer to subtype Detector directly from Unsupervised or Supervised, but that too would require some major changes.

In the meantime, however, you could directly use the learning networks API to achieve your desired pipeline:
using MLJ
using OutlierDetection
using DataFrames

fake_dataframe = DataFrame(A=rand(100) .- 10 .* 10, B=rand(100) .+ 10 .* 10)

#Load models
LOF = @iload LOFDetector() pkg = OutlierDetectionNeighbors
IForest = @iload IForestDetector() pkg = OutlierDetectionPython

#Learning networks
Xs = source(fake_dataframe)
Xstd = MLJ.transform(machine(Standardizer(), Xs), Xs)
lof_mach = MLJ.transform(machine(LOF(), Xstd), Xstd)
forest_mach = MLJ.transform(machine(IForest(), Xstd), Xstd)

fit!(lof_mach)
lof_mach(fake_dataframe)

fit!(forest_mach)
forest_mach(fake_dataframe)


Fix end of previous line wrongly being included in highlight

when the highlight span starts at the very begining of a line, the highlight currently includes the line above
Before:

After:

oh sweet. Nice catch!

ugh, looks like this does break some tests. These rules have been really tricky to get right :(

Fixed the tests, the changes in highlight border box changed the frame width

Nevermind that part is my fault. Can you remove the diffs on the headers and I'll just merge this? And can you add a test that covers this corner case?

done


Configure Cesium to be used without an Ion Token

Resolve #16
@marySalvi, note the base branch
This did require bumping the CesiumJS version
I added all of the same basemaps that we've been using from GeoJS. Here is a preview:

https://user-images.githubusercontent.com/22067021/143147478-0a0731dc-a61f-4456-9483-8582ea95ed68.mov

I also edited the search polygon tool to end on a double left click instead of a right-click to be consistent with GeoJS in the old viewer. And I changed the colors:

Is there a Cesium Ion token configured with netlify that we need to remove?

Yes, I will remove it once this gets merged.

This looks great. Thanks for the help!


default-src should not be added to script-src and style-src when it is 'none'

When you set default-src to none and then use csp_nonce() (Twig) to generate CSP nonces the policy for style-src becomes none nonce-1234abc. The none part here will be ignored by the browser so it's not a direct problem, but it is superfluous and looks rather weird.

script-src and style-src should probably never be set to none but to unsafe-inline for browser that don't support nonces. Closing this issue.


Mouseover feature on row

Added a mouseover feature on row.

@DorkasV Thanks for the PR. Can you please fork from develop branch and resubmit the PR again?

Merged for v1.7


.test_optimizer.dart cleanup is skipped on SIGINT

Description
When a long-running test suite is terminated using CMD + C, .test_optimizer.dart is not cleaned up, and the file persists.
Steps To Reproduce

Create a new Flutter application with very_good create flutter_app <project_name>
Modify app_test.dart and add the following code to simulate a long-running test:

await tester.runAsync(() async {
    await Future<void>.delayed(const Duration(seconds: 60));
});

Run the test suite using very_good test
Terminate the test suite before it finishes using CMD + C.
.test_optimizer.dart is not deleted automatically.

Expected Behavior
.test_optimizer.dart should be cleaned up automatically and should not persist.
Additional Context
It seems like the CLI is not catching the SIGINT signal. Implementing signal handling could help perform cleanup before termination of the application:
import 'dart:io';

void main() {
  ProcessSignal.sigint.watch().listen((signal) {
    // Perform cleanup...
  });
}

@ishchhabra this issue has been labelled with a P2, which means it is an important issue but not at the top of the work list. Is it blocking you? Are you interested in contributing and solving it?


Sample to Calculate an Average Over a Cluster's Property?

There's lot of examples in this repo for how to use clusterProperties and data-driven expressions to apply various aggregations to a cluster, but an average is not one of them.
It seems like something that would be trivial (i.e. sum the value for the entire cluster, divide by the cluster's point count), but I failed to get that working after a few hours of trying.
Is an average not possible with data-driven expressions? If it is possible, a sample would be very helpful

The average won't be able to be calculated as a cluster property. You would have to calculate the sum, and then in a data drive style calculate the average using the point count (or calculate it before presenting it in a popup). Here is an example:
<!DOCTYPE html>

    <title></title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />

    <link href="https://atlas.microsoft.com/sdk/javascript/mapcontrol/2/atlas.min.css" rel="stylesheet" />

    <fieldset style="width:calc(100% - 30px);min-width:290px;margin-top:10px;">
        <legend>Cluster aggregates</legend>
        This sample shows how to define custom properties on clusters that are defined using data-driven style expresison calculation.
        These calculations aggregate values across all points contained within the cluster.
    </fieldset>

Made a PR that adds the above sample to this project.


add instructions for creating a new project.

Added the get started guide and link to the docs for the respective frameworks.

Sure, I'll make the changes.

Great, thanks for working on this!


[TIR] Add SHash and SEqual to IndexMap

Looks like the CI failure is a flaky test, previously reported in https://github.com/apache/tvm/issues/11580.


1.2.0

You can't change the settings on the actual CanvasRenderingContext2D after it's initialized so I think it's okay if this prop only works at mount time. To make it reactive we'd have to get a new context and re-init the LayerManager whenever it changes, which feels like overkill for this minor feature.


same ip with different namespace name

torjail zsh
torjail -n otherns zsh

interfaces ip of namespace torjail and otherns are the same,  only the first one will work.

I was thinking about the same, @lesion. It's easy to resolve, though. I might take this on next.

would be nice, how do you want to solve this?

Uh, actually I thin I must have just accidentally lied. At first I was thinking of using packet iptables packet tagging... But... Let me do some research. The thing is that until today I had only read theoretical stuff about ip netns stuff, now I finally get to play with it. It's actually pretty amazing stuff.
Have you tried creating 3rd level netns ?

yep namespaces in general are amazing :)
to fix this issue here, the only thing to do is to found a clear way to generate a unique ip for the "external" interface, this way we could bind another instance of tor to it. i was thinking something about counting the number of netns or going incrementally until a free ip is found

Why not move tor inside namespace instead, use just one common external, so different tor instances could use their instance-specific internal ip, and they'd get MASQUERADE out to internet through this common single "external"? I think it's even possible to tie iptables rules to process number and/or user id, if I remember correctly...

real external <- virtual external (-j MASQUERADE) <------- namespace1  intenral1
                                                                                |----- namespace2 internal2

If you know what I mean

mmmm I'm not sure I got the point:  torjail's reason is that there's no way I can accidentally (or not) break the jail.
if tor instance is running inside namespace (and so iptables rules), an user can easily break the jail.

what if tor is outside but the listening ports are on the inside, instead of outside?

what if tor is outside but the listening ports are on the inside, instead of outside?

what do you mean? what do you achieve doing it? I'm not getting the point sorry.
the issue here is that, using two different torjail namespaces is not working because the two netns will use the same ip as the external interface, so the iptables rules will not work.
we only need to specify a different ip for external iface. that's it I think.

well, you could let the script choose the external IP itself...
I personally wanna make create a way to run an hidden site more securely, so in case somebody penetrates through web they wouldn't be able to find out the public IP of the system. That being said, the webserver should definitely be running in the jailed context... we'll, I'll try to do some tests when I get more time

Just a small remark:
you can utilise loopback interface on the inside
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=64 time=0.070 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=64 time=0.058 ms
64 bytes from <IP_ADDRESS>: icmp_seq=12 ttl=64 time=0.055 ms
64 bytes from <IP_ADDRESS>: icmp_seq=13 ttl=64 time=0.056 ms
64 bytes from <IP_ADDRESS>: icmp_seq=14 ttl=64 time=0.080 ms
^C
--- <IP_ADDRESS> ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13010ms
rtt min/avg/max/mdev = 0.054/0.069/0.125/0.020 ms
[root@harlyhallikas torjail]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 407  bytes 86937 (84.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 407  bytes 86937 (84.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

out-torjail: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet <IP_ADDRESS>  netmask <IP_ADDRESS>  broadcast <IP_ADDRESS>
        inet6 fe80::d8f6:ff:fec6:6bc0  prefixlen 64  scopeid 0x20<link>
        ether da:f6:00:c6:6b:c0  txqueuelen 1000  (Ethernet)
        RX packets 136  bytes 58916 (57.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 241  bytes 37359 (36.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

On Fri, Aug 11, 2017 at 04:35:48PM -0700, Harly Hallikas wrote:

Just a small remark:
you can utilise loopback interface on the inside

this is true, but I think this is not an issue because that loopback
interface is inside that netns (is another iface from the external one,
so if you have anything binded to lo in your host, you could not reach
it from torjail netns).

well, you could let the script choose the external IP itself...
I personally wanna make create a way to run an hidden site more securely, so in case somebody penetrates through web they wouldn't be able to find out the public IP of the system. That being said, the webserver should definitely be running in the jailed context... we'll, I'll try to do some tests when I get more time

this is an interesting usage:
I'll suggest to consider to use -f flag to run firejail inside torjail and
let firejail manage a "better chroot" (using mount namespace).
I was thinking, you'll need to modify tor configuration to run an hidden
service, probably would be nice to have a flag to do it from cli,
something like:
sudo torjail -f -s <HiddenServiceDir> <HiddenServicePort> apache
sounds good ?

fixed with c45d8d76b28f042cfda2d6aad3cee38bdcd6bcce and c1aa56eb28810438c794e534da5f40bc79d65e66


Refresh token

#176 solution works and I am able to login
Once you get the access token, how do you refresh the token after 24 hours ?
I tried the following piece of code and it fails.
    def relogin_oauth2(self):
        '''
        (Re)login using the Oauth2 refresh token
        '''
        url = "https://api.robinhood.com/oauth2/token/"
        data = {
            "grant_type": "refresh_token",
            "refresh_token": self.refresh_token,
            "scope": "internal",
            "client_id": self.client_id,
            "expires_in": 86400,
        }
        print(data)
        res = self.session.post(url, data=data)
        print(res)
        res = res.json()
        self.access_token   = res["access_token"]
        self.refresh_token  = res["refresh_token"]
        self.mfa_code       = res["mfa_code"]
        self.scope          = res["scope"]

@anilshanbhag have you figured out how to refresh the token?

@brianschardt on the mainline codebase, refreshing the tokens is implemented.


fix: Error in output for port and hostname

Description
While using this module we get this error:
 2023/08/08 07:55:46 Terraform apply | Error: Error in function call
 2023/08/08 07:55:46 Terraform apply |
 2023/08/08 07:55:46 Terraform apply |   on .terraform/modules/icd_redis/outputs.tf line 44, in output "hostname":
 2023/08/08 07:55:46 Terraform apply |   44:   value       = length(var.service_credential_names) > 0 ? nonsensitive(ibm_resource_key.service_credentials[keys(var.service_credential_names)[0]].credentials["connection.rediss.hosts.0.hostname"]) : length(var.users) > 0 ? nonsensitive(flatten(data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].hostname)) : null
 2023/08/08 07:55:46 Terraform apply |     ├────────────────
 2023/08/08 07:55:46 Terraform apply |     │ while calling flatten(list)
 2023/08/08 07:55:46 Terraform apply |     │ data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].hostname is "45bd37dc-9c75-46d9-99e7-a943bcfcd340.497129fd685f442ca4df759dd55ec01b.databases.appdomain.cloud"
 2023/08/08 07:55:46 Terraform apply |
 2023/08/08 07:55:46 Terraform apply | Call to function "flatten" failed: can only flatten lists, sets and tuples.
 2023/08/08 07:55:46 Terraform apply |
 2023/08/08 07:55:46 Terraform apply | Error: Error in function call
 2023/08/08 07:55:46 Terraform apply |
 2023/08/08 07:55:46 Terraform apply |   on .terraform/modules/icd_redis/outputs.tf line 49, in output "port":
 2023/08/08 07:55:46 Terraform apply |   49:   value       = length(var.service_credential_names) > 0 ? nonsensitive(ibm_resource_key.service_credentials[keys(var.service_credential_names)[0]].credentials["connection.rediss.hosts.0.port"]) : length(var.users) > 0 ? nonsensitive(flatten(data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].port)) : null
 2023/08/08 07:55:46 Terraform apply |     ├────────────────
 2023/08/08 07:55:46 Terraform apply |     │ while calling flatten(list)
 2023/08/08 07:55:46 Terraform apply |     │ data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].port is 32276
 2023/08/08 07:55:46 Terraform apply |
 2023/08/08 07:55:46 Terraform apply | Call to function "flatten" failed: can only flatten lists, sets and tuples.

The terraform provider documentation states that the hostname and port are strings and those can't be flattened. Therefore this PR removes this part.
After this we got these error messages:
 2023/08/08 08:57:20 Terraform apply | Error: Invalid function argument
 2023/08/08 08:57:20 Terraform apply |
 2023/08/08 08:57:20 Terraform apply |   on .terraform/modules/icd_redis/outputs.tf line 44, in output "hostname":
 2023/08/08 08:57:20 Terraform apply |   44:   value       = length(var.service_credential_names) > 0 ? nonsensitive(ibm_resource_key.service_credentials[keys(var.service_credential_names)[0]].credentials["connection.rediss.hosts.0.hostname"]) : length(var.users) > 0 ? nonsensitive(data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].hostname) : null
 2023/08/08 08:57:20 Terraform apply |     ├────────────────
 2023/08/08 08:57:20 Terraform apply |     │ while calling nonsensitive(value)
 2023/08/08 08:57:20 Terraform apply |     │ data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].hostname is "45bd37dc-9c75-46d9-99e7-a943bcfcd340.497129fd685f442ca4df759dd55ec01b.databases.appdomain.cloud"
 2023/08/08 08:57:20 Terraform apply |
 2023/08/08 08:57:20 Terraform apply | Invalid value for "value" parameter: the given value is not sensitive, so
 2023/08/08 08:57:20 Terraform apply | this call is redundant.
 2023/08/08 08:57:20 Terraform apply |
 2023/08/08 08:57:20 Terraform apply | Error: Invalid function argument
 2023/08/08 08:57:20 Terraform apply |
 2023/08/08 08:57:20 Terraform apply |   on .terraform/modules/icd_redis/outputs.tf line 49, in output "port":
 2023/08/08 08:57:20 Terraform apply |   49:   value       = length(var.service_credential_names) > 0 ? nonsensitive(ibm_resource_key.service_credentials[keys(var.service_credential_names)[0]].credentials["connection.rediss.hosts.0.port"]) : length(var.users) > 0 ? nonsensitive(data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].port) : null
 2023/08/08 08:57:20 Terraform apply |     ├────────────────
 2023/08/08 08:57:20 Terraform apply |     │ while calling nonsensitive(value)
 2023/08/08 08:57:20 Terraform apply |     │ data.ibm_database_connection.database_connection[0].rediss[0].hosts[0].port is 32276
 2023/08/08 08:57:20 Terraform apply |
 2023/08/08 08:57:20 Terraform apply | Invalid value for "value" parameter: the given value is not sensitive, so

Therefore we removed the nonsensitive call as well.
Release required?
Identify the type of release. For information about the changes in a semantic versioning release, see Release versioning.

[ ] No release
[x] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content
If a release is required, replace this text with information that users need to know about the release. Write the release notes to help users understand the changes, and include information about how to update from the previous version.
Your notes help the merger write the commit message for the PR that is published in the release notes for the module.
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

Merge actions for mergers

Use a relevant conventional commit message that is based on the PR contents and any release notes provided by the PR author. The commit message determines whether a new version of the module is needed, and if so, which semver increment to use (major, minor, or patch).
Merge by using "Squash and merge".

/run pipeline

https://github.com/terraform-ibm-modules/terraform-ibm-icd-redis/pull/189 needs to be merged first to unblock pipeline

/run pipeline

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use upstream ansible modules for keystone setup

We get access to os_user, os_keystone_role, and os_user_role now so lets
use them. Also we need to set up the admin user to have admin role on
the default domain, which is a new keystonev3 thing.

retest

retest

retest

retest

+1


Implement ~ pattern matching operator

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
DataFusion supports the LIKE operator which has a limited form of regular expression matching
It also supports regexp_match which adds support to extract matched strings (kudos to @seddonm1  !)
However, it doesn't expose any way to do full on posix style regular expression matching, such as ~ as described in the postgres manual: https://www.postgresql.org/docs/9.3/functions-matching.html
Describe the solution you'd like
Support syntax such as the following:
select * from foo where column ~ 'a.*b';

Describe alternatives you've considered
N/A
Additional context
@atingchen asked about this downstream in IOx: https://github.com/influxdata/influxdb_iox/issues/2137

I'd like to work on this issue.

That is awesome @b41sh  -- thank you!


Steps needs to run wasm

@Geequlim
What's a good way to use the existing javascript implementa to execute wasm with no technical changes?
Will asm.js work?

Pausing for now prototyping with ts.


Instantiate a BIP32 class from a private key?

the methods .fromEntropy and .fromExtendedKey allow instantiating a class from a BIP39 phrase or an extended private/public key, but how can I do it using the hex (ascii) representation of a private key alone?

Are you sure you have the right repository?
I think you are mistaken.

I'm sorry.  the libraries between python (the language I'm using) and NodeJs are similarly named and I didn't realise I was here.  however, the same applies.  is there a way, do you  know? because this repo doesn't seem to offer that either


[Epic] Rollout materials

This issue is linking the backlog items related to samples, blogs, videos and any others rollout materials

This issue is closed as the project is no longer maintained


Reduce failure chance with reconnecting joycons.

I've been having some troubles with reconnecting joycons (as seen in #66 ), so I decided to try to rewrite the scanning code to fix this.
I don't fully think this is the best solution to the problem of reconnecting, but it is a solution that does work. And you can decide if it is appropriate for this project or not. A different solution could be that joycons that are reconnected are instead treated as a new joycon, but this would change the current api, and also need changed examples.
I have only updated the standard_full_report.rs example to support reconnecting. Running StandardFullMode::new(driver)  must be done after each connect/reconnect, as otherwise the joycon doesn't send the correct data. The other examples also need to be updated if you decide to merge this.

Reduce failure chance with reconnecting joycons.
Simplify + refactor manager.rs scan.
Reduce creation of unnecessary Joycon objects.
Rewrite standard_full_report example to also support reconnecting joycons.

I appreciate your contribution, @carl-anders !!

but it is a solution that does work

It's the most important matter for me. And I have no reason to deny to marge your update. You helped me a lot!

I have a plan to release v0.7.0, then the merge destination of this PR will be changed.


Introduce a single main function for the hub client sample

Purpose
Introduce a single main function for the hub client sample, to allow successful compilation and testing.

Closing the PR since we are going to exclude these packages. So redeclared main function wont be a problem then.


[ie/hotstar] Support /clips/ URLs

Closes #7699
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Copilot Summary

🤖 Generated by Copilot at 462b368
Summary
🎞🔧✅

Support clips category in HotStar extractor. Update yt_dlp/extractor/hotstar.py to handle clips URLs and extract metadata from content API endpoint.

We're the extractors of the night
We rip the clips from HotStar's site
We update our regex to catch them all
We map them to the content and we make them fall

Walkthrough

Update regex for matching HotStar video URLs to include clips category (link)
Add new key-value pair to _FEED_TYPES dictionary to map clips type to content endpoint (link)
Add test case for a video from the clips category with expected metadata and format information (link)

Thanks @pukkandan and @bashonly for promptly resolving this bug or defect. When should this PR be available in the executable - in stable or nightly release?

In next nightly https://github.com/yt-dlp/yt-dlp/actions/runs/5701254976


Add progress bar to Snorkel

For requests that take over a certain amount of time, dynamically inject a loading bar onto the page that updates itself every raf() cycle.
Use Reef itself to render into the UI.

Snorkel has been removed


Vivadi stable is newer than Vivaldi unstable.

I was eagerly waiting for a Vivaldi update, especially after noticing a pull request was opened last week. Being on the unstable channel, I expected the update to hit the repo sooner. However, it seemed to be taking much longer than usual, so I decided to dig into the issue.
Today, I finally discovered the reason behind the delay, and it seems rather backwards. Based on the screenshots below, the latest update was pushed to the stable channel, while the unstable channel is still lagging behind. This doesn't make much sense unless there's something I'm missing here. I also checked for any new pull requests on Vivaldi, but there doesn't seem to be any open.
Is this an error, or is there an explanation for this?

Please use the issue template next time.
CC @otwieracz @badmutex

Channel's blocked, just wait. Follow https://nixpkgs-tracker.ocfox.me/?pr=338489 for updates.


Nitrokey hmac-secret blocked after use of openpgp

I use my NK3 mainly for local authentication of my linux user through systemd-homed (which uses the fido2 hmac-secret extension if I am not mistaken) as well as for managing my openpgp keys.
After updating to firmware version 1.7.0 I noticed that every time I accessed my pgp keys, I was afterwards unable to use my nitrokey for local authentication. Running something like sudo would result in the pin being requested only to then switch to password authentication as a fallback.
This only happens after the pgp keys on the nitrokey are used.
Removing the nitrokey and plugging it back in does not help. So far only rebooting seems to solve the issue.
Updating to 1.7.1 and 1.7.2 has not resolved the issue either.

I think the bug you're referring is not linked to nk3, but heads firmware? Have you upgraded nitrokey firmware for your machine, not the USB security dongle?

Not using heads

Hi,
Thank you for the report.
Can you pleas give me the following details:
Which device are you using:

NK3 A Mini
NK3 NFC

What tool are you using to use PGP? (I suppose GPG).
Are you using the secure element backend? (You can get this information through: nitropy nk3 get-config opcard.use_se050_backend).

The device is a NK3 A Mini
The gpg version is: GnuPG 2.4.5, libgcrypt 1.11.0
nitropy nk3 get-config opcard.use_se050_backend returns true
If I recall correctly, the secure element is used by default after version 1.7.0 and I did not set specific options during deployment.
In case it is relevant: The private pgp keys were created outside the nitrokey and imported afterwards, keytype is ed25519

This sounds like you imported the keys after the update.  Is that correct?  Did you already use both OpenPGP (with the same device) and systemd-homed before the update?

I completely reset and updated the nk3 to version 1.7.0 before importing the private pgp keys. Afterwards I setup systemd-homed again with the nk3 as authenticator (and fscrypt key)
Before the reset/update I already used the same setup with the same pgp keys and the same nk3 but on firmware version 1.6.x
The issue only started after updating to firmware version 1.7.0

I see.  And I understand that authentication works before using the OpenPGP keys.  Are there any log messages related to the FIDO authentication for the failed attempts?  You can change the log level using the SYSTEMD_LOG_LEVEL , e. g. when running homectl authenticate.  Feel free to send us the log via mail if you don’t want to share it publicly.

Without changing the loglevel, I didn't notice any relevant log entries in the journal when the authentication failed.
However, when I run homectl authenticate (without first triggering the bug by using the pgp keys) it also fails with Too frequent login attempts for user user, try again later. The normal login works though (until pgp is used). This commands works just fine for any homed use that only uses a password for authentication though. I will look into this a bit more tomorrow and file a bug against systemd if this turns out to be a different issue.
A small correction of the original post: Removing the nk3 and plugging it back in does fix the issue as well.
I am going to try to get the debug log during login

Here are some relevant log entries I found after triggering the bug:
systemd-homework[3056]: libfido2: fido_hid_open: flock timeout
systemd-homework[3056]: libfido2: fido_dev_open_tx: dev->io.open
systemd-homework[3056]: Failed to open FIDO2 device /dev/hidraw2: FIDO_ERR_INTERNAL
systemd-homework[3056]: Token returned error during pre-flight: Input/output error
login[3045]: pam_systemd_home(login:auth): Failed to acquire home for user fira: Failed to execute operation: Input/output error
systemd-homed[693]: Got notify message lacking both ERRNO= and SYSTEMD_LUKS_LOCK_FD= field, ignoring.
systemd-homed[693]: Worker reported error code EIO.
systemd-homed[693]: Activation failed: Input/output error
systemd-homed[693]: Sent message type=error sender=n/a destination=:1.22 path=n/a interface=n/a member=n/a cookie=97 reply_cookie=4 signature=s error-name=org.freedesktop.DBus.Error.IOError error-message=Failed to execute operation: Input/output error
systemd-homed[693]: changing state activating-for-acquire → inactive

If you also want the entire log with mostly libfido entries, I can try to setup a testsystem and send that to you if required.

Another observation of the bug:
After using the pgp keys, I can still use webauthn, e.g. to login to Github.
But if I try to login locally first and then try to authenticate to github using its passkeys method, it fails after entereing the pin (but before requesting touch verification) with Authentication failed and the following in the browser console log:
Uncaught (in promise) DOMException: The request is not allowed by the user agent or the platform in the current >
    prompt webauthn-get-element.ts:186
    AsyncFunctionThrow self-hosted:803
    (Async: async)
    handleWebauthnSubtle webauthn-get-element.ts:75
    prompt webauthn-subtle-element.ts:12
    s bind.js:73

Update:
I tried to reproduce the issue on another system with a different nk3 and the issue did not reappear.
The first system is running arch and the nitrokey was reset and private keys imported after upgrading to firmware 1.7.2
The second system is running Debian Bookworm and the nitrokey was not reset.
Potential triggers would be:

system configuration
different software versions
hardware issue

Since both nitrokeys were bought together they should be from the same batch, therefore I think it is unlikely related to the hardware.

I reproduced the issue on the first nk3 with both a vanilla Arch Linux iso and Debian Bookworm, therefore it does not seem to be related to software version or configuration.
Unlike a few month ago, I do get a different output when using homectl authenticate though:

Operation on home user failed: Failed to execute operation: Input/output error

When using SYSTEMD_LOG_LEVEL=debug I can reproduce the attached log file.
Note that while the first time I run homectl authenticate (after triggering the bug by using a secret pgp key stored on the nk3) I am asked for my pin before the command fails (see log1). When I try the command again (even in a different shell) I am not asked for my pin and it just fails with mostly the same error message (see log2)
To summarize:

The issue is unrelated to operating system or version
The issue did not appear on another nk3 that was not reset and had its pgp keys imported before firmware version 1.7.2
Potential sources of the issue seem to be either the specific hardware token or the imported keys (the private pgp keys were imported the same way on both devices, using opgpcard)
The only way to recover from the issue is to unplug the nk3

Please find attached the requested log files
log1.txt
log2.txt


Refactor IPSec tests for SNO, SNO+1, and MNO

Previously the tests only worked on a simple SNO cluster

lgtm


show syntax check status in status bar after toggle

slight nit pick, could it be Rust syntax checking?

Sure, I changed the name.


puzzle-splashscreen is broken

It doesn't work the way it should.
There are some weird issues with white images.

Enable "Disable splashscreen logo blending" in the options to fix this :)


Merge small and large fixes

checking now to make sure code for first occupation code variable is same as code for second variable in each survey

all occup and occup_2` var code checked and edited, run 2016 to verify mid year change

resolved age distribution across years, but waiting for consensus on multiple minimum ages in same year until I code it. Also completed harmonizing hhsize code

continue with #52

verifying weight variables

all small changes have been addressed in #61 except for #66 (to be discussed in meeting). Code runs for all years. Ready to double-check value label codings in merging branch


Add MultilabelConfusionMatrixResult

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7623973) to head (9983696).
Report is 7 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #214      +/-   ##
===========================================
+ Coverage   99.78%   100.00%   +0.21%
===========================================
  Files          78        78
  Lines        1874      1874
  Branches      178       178
===========================================
+ Hits         1870      1874       +4
+ Misses          4         0       -4

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


Deprecated {OPENSSL,CRYPTO}debug_mem{push,pop}

They were only used for recursive ASN1 parsing.
Even if the internal memory-debugging facility remains, this simplification seems worthwhile.

Travis failures are very relevant

Travis failure aside, could this be the first nine inch nail in mdebug's coffin?  I have some hopes :wink:

Fixup commit pushed.  (I missed this, because I switched over from mdebug to your clang-sanitize approach.)
I tend of think of "nine inch nails" a little differently, https://www.youtube.com/watch?v=ao-Sahfy7Hg :)

Re documentation, I think we already have examples where it's not removed, but the functions are described as deprecated. The history section should probably have a note.

added a commit to fix the docs, to mark things as deprecated; thanks.

I fear I led you astray on docs.  See https://github.com/openssl/openssl/blob/master/doc/man3/OpenSSL_version.pod for an example of how we usually document deprecation (see the SYNOPSIS)

Additional commit fixed.  I also trimmed down the big scary (and inaccurate) "NOTES" warning.

The CI loop sometimes finds memory leaks (there is a config with crypto_mem_debug) enabled?
Is there a plan to replace this in the CI loop with a valgrind equivalent run?

I tend of think of "nine inch nails" a little differentl
Or the more tame version from black mirror :)
https://www.youtube.com/watch?v=HWcKNhueAIc

The CI loop sometimes finds memory leaks (there is a config with crypto_mem_debug) enabled?
Is there a plan to replace this in the CI loop with a valgrind equivalent run?

See https://github.com/openssl/openssl/issues/8322 and https://github.com/openssl/openssl/pull/8323.

I am wondering how long the valgrind variant is going to take to run...
Maybe that should be figured out before accepting this PR?

This PR does not remove the builtin memdebug stuff.  It only removes a push/pop to record some "extra" state which as you see from the diff, isn't used very much.
FWIW, when I replace memdebug with CLANG leak-checking, it runs in one-third the time.

I am wondering how long the valgrind variant is going to take to run...
Maybe that should be figured out before accepting this PR?

This PR doesn't do the valgrind replacement. It keeps the existing backtrace/leak stuff, and only removes a "commentary" part.

Pushed update.

@slontis, @mspncp, if one of you reconfirm, I can merge

This is ready to merge

All squashed and merged.
e7aa7c11c71e84b2d6c06b1c81d130e8c1fba296 Deprecated {OPENSSL,CRYPTO}debug_mem{push,pop}


FI-1860 Clean up assertion failure language.

Just alters the language slightly to remove 'Bad' from assert failure language.
This may break some downstream unit tests, but should be easily fixable with a s/r and obvious what is wrong.

Codecov Report
Base: 73.62% // Head: 94.16% // Increases project coverage by +20.53% :tada:

Coverage data is based on head (8ec6b4e) compared to base (4490a9d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #300       +/-   ##
===========================================
+ Coverage   73.62%   94.16%   +20.53%
===========================================
  Files         190      114       -76
  Lines        9270     3049     -6221
  Branches      767      353      -414
===========================================
- Hits         6825     2871     -3954
+ Misses       2037      178     -1859
+ Partials      408        0      -408

Flag
Coverage Δ

backend
94.16% <100.00%> (ø)

frontend
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

lib/inferno/dsl/assertions.rb
91.07% <100.00%> (ø)

...s/TestSuite/TestSuiteDetails/TestSuiteMessages.tsx

...nt/src/components/TestSuite/TestSuiteUtilities.tsx

.../TestSuite/TestSuiteDetails/TestListItem/helper.ts

...ite/TestSuiteDetails/TestListItem/MessagesList.tsx

...nt/src/components/RequestDetailModal/CodeBlock.tsx

...ponents/TestSuite/ConfigMessagesDetails/styles.tsx

client/src/components/App/App.tsx

client/src/store/devtools.ts

client/src/components/LandingPage/LandingPage.tsx

... and 67 more

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

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


adding supporting for interpolating down to 60 second timesteps

change log

adding supporting for interpolating down to 60 second timesteps with Config parameter sim_step_size_seconds
adding resampling of output data to aggregate and match input formats with Config parameter output_step_size_seconds

closes https://github.com/ecobee/building-controls-simulator/issues/88


6/15 PM Publish

Docs Build status updates of commit c3c9852:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azps-8.0.0/azps-versioning-release-cadence.md
:white_check_mark:Succeeded
View (azps-8.0.0)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add level utility class

This PR adds a level utility class.
It currently adds a variety of functions for the following levels:

Network level
Seasonal event level

I will create a new class for game-specific levels, after the game objects are complete.

looks good


Discrete Bar chat using ng2d3

I'm submitting a ...  (check one with "x")
[ ] feature request
Current behavior
I am new to angular 2 and d3, I find ng2d3 useful to my project. But I found discrete bar chart missing in the example
Expected behavior
Expecting discrete bar chart feature in ng2d3 if unavailable
If discrete bar chart could be drawn using ng2d3, could you please provide me an example of the same. I believe that would be helpful to many in future. Appreciate the support given

What do you mean by "Discrete" bar chart? Any examples?
We support several types of bar charts, you can see all of them on the demo page:
https://swimlane.github.io/ng2d3/

You can view here http://krispo.github.io/ng2-nvd3/ . You can select discreteBarChart value in the dropdown to show the chart

Yes, the vertical and horizontal bar charts support that.

Appreciate that. Just now checked the demo and changed the data. Its working. Closing the issue


Running one container from each image with one command

Hello,
I would like to run multiple images, each in a container. These images can depend on one another. Let's say that I already know how to link them. I still need to write multiple commands in my command line to run each container. What I want to do is to run all containers with one command. It is possible to write the commands in a file and use one command to execute that file. Yet is this the proper approach or not?
Thanks

Sure, you could use a shell script to run multiple commands, e.g.
docker run --name a foobar:latest && docker run --name b baz:latest

However, Docker Compose may be a better solution, as it is designed for that;
https://docs.docker.com/compose/overview/
I'll close this issue, because this is not a bug, and the GitHub issue tracker is not intended as a general support forum; https://forums.docker.com, the #docker IRC channel or StackOverflow may be better locations for that.


Use the global image pull policy flag in the sidecar-injector ConfigMap

In addition to the changes done in #5401, also updated imagePullPolicy in sidecar-injector ConfigMap to follow the global flag.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @costinm

@ymesika: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-simple

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-simple

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-simple

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-simple

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@ymesika: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-simple

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-bookInfoTests-v1alpha3.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-bookInfo-envoyv2-v1alpha3

prow/istio-pilot-e2e.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
060eaafde979edfbbb5004d681aa62a5440db422
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: gyliu513
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gyliu513, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: gyliu513, linsun, sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [linsun,sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment