getting problem in dart files encoding.

The framework file is Visibility.dart

Flutter Doctor
Microsoft Windows [Version 10.0.17763.805]
(c) 2018 Microsoft Corporation. All rights reserved.
D:\flutter-app>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.17763.805], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.36.1)
[√] Connected device (1 available)

• No issues found!

D:\flutter-app>flutter doctor -v
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.17763.805], locale en-US)
    • Flutter version 1.7.8+hotfix.4 at D:\flutter
    • Framework revision 20e59316b8 (3 months ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at C:\Users\USER\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.36.1)
    • VS Code at C:\Users\USER\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.2.0

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

• No issues found!

Hi @rookie-12
to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

The above image shows problem in all files of dart without changing anything in android studio this problem occurs everytime when i open android studio for flutter.

Hi again @rookie-12
would you mind to run
 flutter channel stable
flutter upgrade
after that would be great if you could post
your updated flutter doctor -v
and the steps to reproduce the situation you are describing.
Please refrain
from posting pictures if not necessary.
Thank you

Sure.

`D:>flutter channel stable
Switching to flutter channel 'stable'...
git: From https://github.com/flutter/flutter
git:    1aedbb183..68587a091  stable          -> origin/stable
git:  * [new branch]          Hixie-patch-3   -> origin/Hixie-patch-3
git:  * [new branch]          Hixie-patch-4   -> origin/Hixie-patch-4
git:    a4d5266b7..e7236796b  master          -> origin/master
git:  * [new branch]          revert-40710-flutterGold -> origin/revert-40710-flutterGold
git:    1aedbb183..eb6877bf9  v1.9.1-hotfixes -> origin/v1.9.1-hotfixes
git:  * [new tag]             v1.9.1+hotfix.6 -> v1.9.1+hotfix.6
git: Your branch is behind 'origin/stable' by 1 commit, and can be fast-forwarded.
git:   (use "git pull" to update your local branch)
git: Already on 'stable'
D:>flutter upgrade
Upgrading Flutter from C:\src\flutter...
Updating c382b8e99..68587a091
25 files changed, 574 insertions(+), 331 deletions(-)
Building flutter tool...
Running pub upgrade...
Upgrading engine...
Flutter 1.9.1+hotfix.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 68587a0916 (6 weeks ago) • 2019-09-13 19:46:58 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.9.1+hotfix.6, on Microsoft Windows [Version 10.0.17763.805], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.36.1)
[√] Connected device (1 available)
• No issues found!
`

Hi @rookie-12
without looking at the code,
it's hard to tell what is the error, let alone the cause and
if it's related to flutter at all.
Could please post a self contained app on github
or the steps to reproduce it.
Your flutter run --verbose can help as well.
Thank you

`lutter run --verbose
[  +36 ms] Warning! The 'flutter' tool you are currently running is from a different Flutter repository than the one last used by this package. The repository from which the 'flutter'
tool is
currently executing will be used instead.
running Flutter tool: C:\src\flutter
previous reference  : D:\flutter
This can happen when you have multiple copies of flutter installed. Please check your system path to verify that you are running the expected version (run 'flutter
--version' to see
which flutter is on your path).
[  +14 ms] executing: [C:\src\flutter] git log -n 1 --pretty=format:%H
[  +45 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 68587a0916366e9512a78df22c44163d041dd5f3
[        ] executing: [C:\src\flutter] git describe --match v*.. --first-parent --long --tags
[  +33 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v1.9.1+hotfix.6-0-g68587a091
[   +8 ms] executing: [C:\src\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\src\flutter] git ls-remote --get-url origin
[  +31 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +70 ms] executing: [C:\src\flutter] git rev-parse --abbrev-ref HEAD
[  +32 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +90 ms] executing: C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +22 ms] Exit code 0 from: C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
[   +7 ms] No supported devices connected.
[   +9 ms] "flutter run" took 162ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:281:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:465:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:407:33)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)

#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:153:18)

#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:397:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)

#12     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:402:21)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)

#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)

#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)

#20     CommandRunner.run. (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#24     run.. (package:flutter_tools/runner.dart:63:22)

#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _runZoned (dart:async/zone.dart:1516:10)
#28     runZoned (dart:async/zone.dart:1500:12)
#29     run. (package:flutter_tools/runner.dart:61:18)

#30     AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)

#31     _rootRun (dart:async/zone.dart:1124:13)
#32     _CustomZone.run (dart:async/zone.dart:1021:19)
#33     _runZoned (dart:async/zone.dart:1516:10)
#34     runZoned (dart:async/zone.dart:1463:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)

#36     runInContext (package:flutter_tools/src/context_runner.dart:59:24)

#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)

#39     main (file:///C:/src/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate. (dart:isolate-patch/isolate_patch.dart:303:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
`
@iapicca this is flutter run --verbose response i am getting.

@rookie-12
would you mind to run it on a device? (physical or emulated)
[ +22 ms] Exit code 0 from: C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ ] List of devices attached
[ +7 ms] No supported devices connected.

Also looking at some code won't hurt.
Thank you

`>flutter run --verbose
[  +31 ms] executing: [C:\src\flutter] git log -n 1 --pretty=format:%H
[  +94 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 68587a0916366e9512a78df22c44163d041dd5f3
[        ] executing: [C:\src\flutter] git describe --match v*.. --first-parent --long --tags
[  +44 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v1.9.1+hotfix.6-0-g68587a091
[   +8 ms] executing: [C:\src\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\src\flutter] git ls-remote --get-url origin
[  +33 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +76 ms] executing: [C:\src\flutter] git rev-parse --abbrev-ref HEAD
[  +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +104 ms] executing: C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +25 ms] Exit code 0 from: C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[        ] List of devices attached
ce44cc49               device product:violet model:Redmi_Note_7_Pro device:violet transport_id:3
emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[  +19 ms] More than one device connected; please specify a device with the '-d ' flag, or use '-d all' to act on all devices.
[   +5 ms] C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe -s ce44cc49 shell getprop
[ +202 ms] ro.hardware = qcom
[   +3 ms] C:\Users\USER\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +39 ms] ro.hardware = ranchu
[   +3 ms] Redmi Note 7 Pro          • ce44cc49      • android-arm64 • Android 9 (API 28)
[   +5 ms] Android SDK built for x86 • emulator-5554 • android-x86   • Android 9 (API 28) (emulator)
[  +10 ms] "flutter run" took 451ms.
#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:281:7)

#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:465:11)

#3      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:407:33)

#4      AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)

#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:153:18)

#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:397:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)

#12     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:402:21)

#13     AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)

#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)

#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)

#20     CommandRunner.run. (package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#24     run.. (package:flutter_tools/runner.dart:63:22)

#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _runZoned (dart:async/zone.dart:1516:10)
#28     runZoned (dart:async/zone.dart:1500:12)
#29     run. (package:flutter_tools/runner.dart:61:18)

#30     AppContext.run. (package:flutter_tools/src/base/context.dart:154:29)

#31     _rootRun (dart:async/zone.dart:1124:13)
#32     _CustomZone.run (dart:async/zone.dart:1021:19)
#33     _runZoned (dart:async/zone.dart:1516:10)
#34     runZoned (dart:async/zone.dart:1463:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:153:18)

#36     runInContext (package:flutter_tools/src/context_runner.dart:59:24)

#37     run (package:flutter_tools/runner.dart:50:10)
#38     main (package:flutter_tools/executable.dart:65:9)

#39     main (file:///C:/src/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#40     _startIsolate. (dart:isolate-patch/isolate_patch.dart:303:32)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
well i run the code in redmi not 7 pro and i can show you code but i think the problem lies in android studio because the above action occurs impromptly and re opening android studio showsyour .idea/android/flutter.iml` workspace is corrupted but deleting and reopening the issue persist.

Hi @rookie-12
doesn't look like this code run anywhere
[  +19 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
regardless, as you are identifying the issue in your android studio installation,
I recommend you to proceed with a fresh install following this documentation.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

i have encountered this issue and seem it is solved by deleting cache folder from your android directory
In windows
C:\Users\user_name\.AndroidStudio3.4\system\caches

@rookie-12 thanks you bro, it work


Improvements to localised CSS architecture

This pulls out the unbranded GOV.UK styles from the council stylesheets so that councils who haven't localised yet can do so easier, and councils who already have can choose whether or not to use the GOV.UK styles.
It also includes instructions for removing the GOV.UK styles as an optional step in the readme.

Fixes #256.


index out of range with one broken scaler

Report
When the KEDA operator tries to use a ScaledJob which has a misconfigured scaler address (though it may be any error with a ScaledJob), and there is only one ScaledJob, the operator will crash with the error panic: runtime error: index out of range [0] with length 0.
Expected Behavior
Operator logs error and continues without crashing.
Actual Behavior
Operator crashes.
Steps to Reproduce the Problem

Deploy a ScaledJob with an incorrect scaler address.

Logs from KEDA operator
I0312 21:33:59.840327       1 request.go:655] Throttling request took 1.042572281s, request: GET:https://<IP_ADDRESS>:443/apis/autoscaling/v2beta1?timeout=32s
2021-03-12T21:33:59.843Z	INFO	controller-runtime.metrics	metrics server is starting to listen	{"addr": ":8080"}
2021-03-12T21:33:59.844Z	INFO	controllers.ScaledObject	Running on Kubernetes 1.18+	{"version": "v1.18.9-eks-d1db3c"}
2021-03-12T21:33:59.845Z	INFO	setup	Starting manager
2021-03-12T21:33:59.845Z	INFO	setup	KEDA Version: 2.1.0
2021-03-12T21:33:59.845Z	INFO	setup	Git Commit: 4866ce69c4897df532b43390bafe4477275bf65a
2021-03-12T21:33:59.845Z	INFO	setup	Go Version: go1.15.6
2021-03-12T21:33:59.845Z	INFO	setup	Go OS/Arch: linux/amd64
I0312 21:33:59.845296       1 leaderelection.go:243] attempting to acquire leader lease keda/operator.keda.sh...
2021-03-12T21:33:59.845Z	INFO	controller-runtime.manager	starting metrics server	{"path": "/metrics"}
I0312 21:34:17.252946       1 leaderelection.go:253] successfully acquired lease keda/operator.keda.sh
2021-03-12T21:34:17.253Z	INFO	controller	Starting EventSource	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledObject", "controller": "scaledobject", "source": "kind source: /, Kind="}
2021-03-12T21:34:17.253Z	INFO	controller	Starting EventSource	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledJob", "controller": "scaledjob", "source": "kind source: /, Kind="}
2021-03-12T21:34:17.353Z	INFO	controller	Starting Controller	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledJob", "controller": "scaledjob"}
2021-03-12T21:34:17.353Z	INFO	controller	Starting EventSource	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledObject", "controller": "scaledobject", "source": "kind source: /, Kind="}
2021-03-12T21:34:17.353Z	INFO	controller	Starting workers	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledJob", "controller": "scaledjob", "worker count": 1}
2021-03-12T21:34:17.353Z	INFO	controllers.ScaledJob	Reconciling ScaledJob	{"ScaledJob.Namespace": "vineyard", "ScaledJob.Name": "vineyard-consumer-test-resource"}
2021-03-12T21:34:17.353Z	INFO	controllers.ScaledJob	Detected ScaleType = Job	{"ScaledJob.Namespace": "vineyard", "ScaledJob.Name": "vineyard-consumer-test-resource"}
2021-03-12T21:34:17.453Z	INFO	controller	Starting Controller	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledObject", "controller": "scaledobject"}
2021-03-12T21:34:17.453Z	INFO	controller	Starting workers	{"reconcilerGroup": "keda.sh", "reconcilerKind": "ScaledObject", "controller": "scaledobject", "worker count": 1}
2021-03-12T21:34:17.453Z	INFO	controllers.ScaledJob	Deleting jobs owned by the previous version of the scaledJob	{"ScaledJob.Namespace": "vineyard", "ScaledJob.Name": "vineyard-consumer-test-resource", "Number of jobs to delete": 8}
2021-03-12T21:34:17.453Z	INFO	controllers.ScaledJob	Initializing Scaling logic according to ScaledObject Specification	{"ScaledJob.Namespace": "vineyard", "ScaledJob.Name": "vineyard-consumer-test-resource"}
2021-03-12T21:34:17.620Z	ERROR	external_scaler	error	{"error": "rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing dial tcp: lookup vineyard-scaler-service.default.svc.cluster.local on <IP_ADDRESS>:53: no such host\""}
github.com/go-logr/zapr.(*zapLogger).Error
	/go/pkg/mod/github.com/go-logr/zapr@v0.3.0/zapr.go:132
github.com/kedacore/keda/v2/pkg/scalers.(*externalScaler).GetMetricSpecForScaling
	/workspace/pkg/scalers/external_scaler.go:152
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScaledJobScalers
	/workspace/pkg/scaling/scale_handler.go:236
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers
	/workspace/pkg/scaling/scale_handler.go:198
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop
	/workspace/pkg/scaling/scale_handler.go:130
panic: runtime error: index out of range [0] with length 0
goroutine 353 [running]:
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScaledJobScalers(0xc000bd2940, 0x2a098a0, 0xc00004cf80, 0xc000db7a40, 0x1, 0x1, 0xc000bfa380, 0x0, 0xc000256780, 0x0)
	/workspace/pkg/scaling/scale_handler.go:238 +0x99f
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).checkScalers(0xc000bd2940, 0x2a098a0, 0xc00004cf80, 0x2563f20, 0xc000bfa380, 0x29d4f20, 0xc000518ef8)
	/workspace/pkg/scaling/scale_handler.go:198 +0x23f
github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).startScaleLoop(0xc000bd2940, 0x2a098a0, 0xc00004cf80, 0xc0004fe500, 0x2563f20, 0xc000bfa380, 0x29d4f20, 0xc000518ef8)
	/workspace/pkg/scaling/scale_handler.go:130 +0x205
created by github.com/kedacore/keda/v2/pkg/scaling.(*scaleHandler).HandleScalableObject
	/workspace/pkg/scaling/scale_handler.go:98 +0x385

KEDA Version
2.1.0
Kubernetes Version
1.18
Platform
Amazon Web Services
Scaler Details
Custom

@fjmacagno  This is happening only if you use ExternalScaler, right?

Yes

Unfortunately this is not limited to any one scaler. There's another issue open for it already but its a general thing. I'm 99% sure it's because we don't deepcopy the objects before launching the background scaler goroutines but haven't had cycles to check because work crunch time. Happens about once an hour to me using the rabbit scaler.

This is not the same issue, this is related to ScaledJob, when there is one External Scaler with incorrect metadata. Then there s a problem when returning metricSpecs, which are not returned and this could result in Operator panic.


Fix the name of AOSiP.

This fixes the issue where clang_host_linux-x86 coudlnt be downloaded because of the incorrect repo name.

Works for me🤔

Its not incorrect, works fine as it is...

Then why wasnt i able to repo sync the repo until i changed it ? @akhilnarang

No clue, this has been this way for months, nobody has reported a single issue.


Fix warnings about exceding UIColor range

This was causing this warning to appear in the console:
[Graphics] UIColor created with component values far outside the expected
range. Set a breakpoint on UIColorBreakForOutOfRangeColorComponents to debug.
This message will only be logged once.

It looks like master isn't passing Travis either.


Support loading graph from HuaWei Cloud OBS

FYI
https://www.huaweicloud.com/product/obs.html
https://support.huaweicloud.com/sdk-c-devg-obs/obs_20_0004.html

We will add AWS S3 support (#51 ) in Jan, which will be compatible with Huawei OBS and other storages.
See: https://blog.csdn.net/weixin_39132936/article/details/103260024

Another option: try https://github.com/huaweicloud/huaweicloud-obs-obsfs


shadowsocks-local not support udp

shadowsocks-local not support udp
error getting request: socks command not supported

UDP Association not support yet


✏ Fix typo in Benchmarks

Fixed grammatical error in the benchmarks documentation.

Should this be merged?

Good catch, thanks! :coffee:


[Question] Can you load same named assembly as plugin but different version?

Hi there im new to this plugin, it looks amazing! just one question is it possible to load plugins with the same name but a different version?
Like setting assembly info Version and this famework can load and read the version of that plugin but will only load one of each version. you could also activate and deactivate versions and access a plugin based on the version from the rest of the application.
Something like this would enable hot version control & upgrade / downgrade of a running application.

I am on the same boat .. @GammaSoul  did you find a way to load multiple version ?

I am on the same boat .. @GammaSoul did you find a way to load multiple version ?

Hi mate sorry for the late reply. I think its just not possible to do it. So what i am working on is basically creating an MSbuild workflow based on the major/minor version of the plugin assembly that will change the assembly name to include the major and minor version at the end of the plugin name. Doing it this way you can use what is the same functional assembly but with different names. Its Also a good and easy way to keep track of versions.  I will also add a way to automatically copy over (or create symlink for) the files to a directory stucture that includes the plugin based on version and any resources/dlls that it needs so that the main application can easyload the plugin when you build the solution. When i get around to it I will post what ive done for others to use or get an idea from.

keep me posted !


Extend CRD validation to allow IPv6 CIDRs

Uncomment the code to accept IPv6 CIDR ranges in k8s policies, and add some basic unit tests to ensure they are reasonable.
Related-to: #4000

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

Failed due to #4042.

test-me-please

@joestringer removed the ready-to-merge.
Yesterday we have discussed that this PR will be merged but we need to add a note in the documentation that a downgrade will not be possible for users that create an IPv6 cidr-based policy. Can you add this note in the documentation? Probably in the upgrade section.
cc @raybejjani

@aanm @raybejjani any thoughts on how that affects 1.0 backport? Should we avoid backporting for this reason?

@joestringer this will be backported therefore the downgrade concerns

test-me-please

@aanm wanted to confirm before merging that this is good to go, is it?

@rlenglet had asked me to ensure that we aren't supporting IPv4-compatible IPv6 addresses, and we aren't.

test-me-please

test-me-please

test-docs-please


Enable Vulkan Android builds on buildbots.

It was indicated in the Skia sync that the Vulkan machinery is easier to test on Android in the Flutter buildroot than on Fuchsia it its own buildroot.
We stopped building Vulkan on Android a few weeks ago. We should enable the same and ensure the tests are run on that variant.

Fixed in https://chromium-review.googlesource.com/c/chromium/tools/build/+/1106701

FYI @eseidelGoogle @tvolkert.


ts: migrate web/src/gear_menu.js to typescript

This PR addresses the migration of file web/src/gear_menu.js to typescript.
Fixes:

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Nit: The commit message needs an update ts: migrate web/src/gear_menu.js to typescript  -> ts: Migrate web/src/gear_menu.js to typescript.
For reference: https://zulip.readthedocs.io/en/latest/contributing/commit-discipline.html#commit-messages

@zulipbot add "integration review"

@PIG208 fixed.

It looks like you only addressed one of several places where you'd added a blank line.

It looks like you only addressed one of several places where you'd added a blank line.

done


bugfix(carelink): Fix login error 400 when logging in as carepartner

Thanks for the explanations and work on this! Well done!
Does using v5 with the hotfix currently work, or is this required to restored functionality?
Are you currently using this as a standalone run script or in Nightscout as a plugin?
I think this change requires additional changes in Nightscout to make it work properly.
Going forward, I'm targeting future development on Medtronic support in nightscout-connect.  I think it's "feature complete" in terms of comparison to this module and improvements to it, like this one, won't require changes to Nightscout as well.
https://github.com/nightscout/nightscout-connect/pull/4
Any possibility you could test?

Merged and release in 1.5.5.


[DRAFT] Macro Madness

I like this a lot! It makes the idea of using reactor-uc as a standalone library actually feasible!
A few comments:

The macro arguments which represent values (e.g. sizes etc) should always be referred to with paranthesis in the macro-body because they might be expressions. You will see this with the other macros I defined.
Can we find another name than CONSTRUCT_X since we aren't constructing it, but defining the constructor. I would argue that defining the constructor should be part of DEFINE_X
Connections are still todo. Would be nice with a CONNECT(output, input) macro instead of CONN_REGISTER_UPSTREAM and CONN_REGISTER_DOWNSTREAM.
Can we figure out something clever for the reactors? There are some boilerplate fields such as Trigger * _triggers[numTriggers],  Reaction *_reactions[numReactions and Reactor *_children[numChildren]. It is also the initializing of those fields. Might be very hard, maybe impossible

@erlingrj
2.) I guess the reason I left it two different things is that, the constructor needs to know the type of the parent reactor, which is defined after all the reactor components.
I am happy to merge it but then, we need to empty declaration of the reactor at the top.


Generate new key (rails)

Hello everyone,
I installed a new copy today by creating a snapshot (in DigitalOcean) from an existing installation, and recreating a new install with a new Droplet.
So far everything good, just need to figure out how to re-generate the rails key (bottom key located in the postal.yml file).
Any help would be much appreciated.

According to https://github.com/atech/postal/blob/master/script/generate_initial_config.rb#L13, that key is generated using a Ruby standard library https://ruby-doc.org/stdlib-2.3.0/libdoc/securerandom/rdoc/SecureRandom.html
As long as your new key is as long as your old key and contains 0-9 and a-f only, it should be fine. I believe the length is currently 256 characters (128 * 2);

Hello,
So it means, the same key can be used in multiple installs?


MINOR: [Java] Revert io.grpc:grpc-bom to 1.65.0

Rationale for this change
I missed that gRPC (Protobuf) cannot be upgraded due to one of our CI jobs using an older libstdc++.
What changes are included in this PR?
This reverts commit 1a6de9d6590c6cc9afb28d7d5590378ee3d0844f.
Are these changes tested?
Yes
Are there any user-facing changes?
No

@github-actions crossbow submit -g java


Algorand API receiver

Is your feature request related to a problem? Please describe.
Create a receiver that can read algorand messages
Describe the solution you'd like
Use https://developer.algorand.org/docs/features/indexer/ to index algorand and filter for mailchain messages

closed by #702


Add content message about your details are incomplete

Context
When a candidate has not completed all sections of ‘Your details’, and they go to the ‘Your applications’ tab, we show the following content:
You can add up to 4 applications at a time.
You will not be able to submit applications until you have completed your details.
The second line disappears if all sections are completed in ‘Your details’

@MaeveRoseveare @tomas-stefano
Would it be worth making "your details" at the end of the sentence a link here?

@inulty-dfe on adding a link to your details: Great spot!... the answer is, I'm unsure. I added links like this to the prototype but when we tested the personal statement stuff, no one saw them or used them and used the nav instead. However, we weren't testing navigation specifically. When we tested continuous applications the first time, some users got stuck and didn't notice the nav. So we have like half seeing the nav and half not. But my assumption is that as people log in and out, the nav is learnable and people don't read content in general. But it could still be helpful too!!
Also, if we add a link there, we should probably add links to other places where we mention 'your details' and how to apply in the content e.g. where we block candidates from submitting and where we tell them they can now add their applications.

So my suggestion is, I'm going to add this to my list of design things to look at that came out of the last bug party and ticket it up with whatever comes out of the bug party on Thur. Then I can get Laura and Kate's input too.

Looks good @tomas-stefano and the content appears disappears as expected.
I was testing on Garfield Reichert's application and the section 'Ask for support if you're disabled' was Incomplete. When I checked it as 'Complete' and selected the 'Continue' button. It navigated me to the 'Your applications' tab from the continue button. It should go to the 'Your details' page so the user can see the completed task list. Is this a bug or did you set it up that way to test this functionality easily?

This sounds like a bug, can you create a bug card stating how to replicate, please? I am happy to investigate in a separate PR :)


Commenting out the PR template

This is an idea for a slight improvement to our PR template. Considering that we intend for the author to delete the PR template (it's just a message) we can just comment it out (HTML style) and if they accidentally leave it in it won't be shown.
As POC, I haven't touched the PR template for this PR. Contributors can see it by attempting to edit my message.

Thank you!! Haha 😆

Want to retarget at a patch branch so it can be merged up?

I've rebased onto 4. The docs say:

You must create templates on the repository's default branch. Templates created in other branches are not available for collaborators to use.

It's only worth merging up to master then :)


Bugfix and Update Novonix

@shijingsun-TRI
Todo

[X] Change convention for discharge capacity to increase from beginning of discharge to end of discharge cycle. Thus discharge capacity should increase as discharge steps progress, and charge capacity should increase as charge steps progress. For each cycle, discharge capacity is now calculated within the cycle as (max_capacity_of_charge_step_of_cycle - discharge_capacity_of_data_point) for each data point in the discharge step.
[X] Similarly change convention for discharge energy
[X] Allow for summary file to be passed into NovonixDatapath.from_file and have it be easily accessible within the class as NovonixDatapath.external_summary.
[X] Automatically extract basic metadata from the raw Novonix file; previously no metadata was recorded. Update novonix conversion to include metadata.
[X] Fix and include step_type_number in schema:

Noxonix conversion schema now contains fields mapping the step_type_num to the name of the step type. this is now in the raw data, so for any given data point you can see in plain English the step type (e.g, point 999 was cv_hold_charge)
Novonix conversion schema also now maps these step types directly onto whether they are charge or discharge steps.

[X] Add NovonixDatapath to the docs and data requirements pages.
[X] New tests ensuring discharge capacity is monotonically increasing as dchg step progresses
[X] New tests for ensuring Novonix metadata is correctly extracted
[X] New tests for ensuring Novonix test file actually passes its own validation

More general improvements:

[X] Better __repr__ for looking at cycler run metadata
[X] Include ability to mask (exclude) cycle indices from interpolation

[X] Add new test for excluding these cycle indices

Need input

The capacity on the discharge steps for the Novonix test file (just looking at the raw file, not doing any beep processing) seems to be increasing... is this actually correct? Shouldn't the raw value of capacity (before doing beep processing) be decreasing as the discharge steps progress?
Should we apply the same logic to discharge_energy (i.e., increasing as dchg step progresses)?
Should the externally loaded summary file be merged with the beep summary, or kept as a separate attribute such as NovonixDatapath.external_summary? I am leaning towards the latter because it is less code and less potential for random errors (such as beep detecting a different number of cycles than the Novonix summary file...)

This is incorrect. The error arises due to Step Number and Step Type are not 1-to-1 match in Novonix raw file. Let's use Step Type to identify charge vs. discharge steps in raw data.
Yes, we should apply the same logic
Yes, I also agree having an optional NovonixDatapath.external_summary is better than merging the internal and external summaries, this way we can avoid confusions from the users on data source.

For (2) and (3) this sounds good.
For 1, I am not sure how this applies. We are already using only step_type (as far as I can tell) to determine charge and discharge steps. I mean if you look at the raw file (like load it in a pandas dataframe directly, or just look at the capacity numbers in the raw file), you'll see the capacity is monotonically increasing regardless of charge/discharge step or step type.
To test this, try cutting out everything above the header line in the raw file and name it tmp.csv. Then run:
import pandas as pd

raw = pd.read_csv("tmp.csv", sep='\t', header=None)
data = raw
raw = raw[0].str.split(',', expand=True)
headers = raw.iloc[0]
data = pd.DataFrame(data.values[1:], columns=headers, index=None)

print(raw)

print(raw["Capacity (Ah)"].is_monotonic)

It outputs
0              Date and Time Cycle Number  ... Step Number Step position
0     2022-04-11 10:58:07 AM            1  ...           1             0
1     2022-04-11 10:58:08 AM            1  ...           1             0
2     2022-04-11 10:58:09 AM            1  ...           1             0
3     2022-04-11 10:58:10 AM            1  ...           1             0
4     2022-04-11 10:58:11 AM            1  ...           1             0
...                      ...          ...  ...         ...           ...
3937   2022-04-12 4:23:59 AM            1  ...           3             0
3938   2022-04-12 4:24:02 AM            1  ...           3             0
3939   2022-04-12 4:24:05 AM            1  ...           3             0
3940   2022-04-12 4:24:08 AM            1  ...           3             0
3941   2022-04-12 4:24:11 AM            1  ...           3             0

[3942 rows x 15 columns]
True

So the capacity is monotonically increasing throughout all the different steps... what is going on here?!?

So the capacity is monotonically increasing throughout all the different steps... what is going on here?!?

Thanks a lot for sharing the test! Super helpful for us to debug. I think I figured out why - the test file we are using is a shortened version of the full cycling, because of the high complexity of this protocol, the shortened version didn't capture all the steps.

@shijingsun-TRI I think this is ready for review now


Make libdawn_native a shared library.

PTAL. This is a bit more complicated than I expected because it forces us to sort-out our dependencies. (previously they leaked between binaries and dawn_native, making it compile when deps weren't set up properly).

Also needs reformat

We don't have a good description of what the different targets are, I'll rework the README after the shared lib work.


”Neaua” is listed in the drop-down menu

Description:
"Neaua" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Neaua" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Neaua, MUREȘ".


Please include examples for all dynamic provider functions (python)

File: themes/default/content/docs/concepts/resources/dynamic-providers.md
The examples included on the page (at least for python) show create, update, and delete. The additional linked example is typescript. It would be helpful to have examples for at least check and diff in python.

Thank you @meggers for submitting this issue! We will be taking a look into it.


[Publisher bot] publisher.md has no "remote" instrs, and "local" instrs may be out of date

Background / The issue
This file:
https://github.com/oceanprotocol/pdr-backend/blob/main/READMEs/publisher.md
Has sections for local, remote testnet, and remote mainnet.
The "remote" stuff has "FIXME".
TODOs for this issue

[ ] update publisher.md to reflect what we actually have / what we actually do

[ ] for local
[ ] for remote

Done


[libxml2] Add iconv and charset linkage in vcpkg-cmake-wrapper on osx

closes #11001
makes #10770 work on osx

/azp run

@Neumann-A
Could you please resolve the conflict?

/azp run

This looks great! Thanks @Neumann-A :)


Chore: remove instances of return-await pattern

Hello there! In this PR, I continued work on removing return-await patterns throughout the codebase. While I was there, I also updated the std dependency to v0.109.0.
P.S. If you don't mind, it would be great if this PR was opted into Hacktoberfest. Adding the hacktoberfest-accepted label to this PR should be sufficient. Thanks! 🎉

@manyuanrong Should I merge PRs while you are busy?


Undocumented schema for ML predictions

Hello, first of all, thank you for your great project! Seems very useful!
I am trying to to connect some custom ML backends. In order to do that, I would need to understand what format the various tasks expect as a response. The ML examples all use the same schema which, if I understand correctly, is for a classification task. I am trying to connect a NER task and I cannot figure out what is the schema of the expected response.
Is this documented anywere (possibly for other tasks too)?

What I did to figure out the required format for the responses was to study a JSON file in the completions folder. Once any example is labeled manually, a file should appear in the completions folder and contain the schema. Then, you would only have to identify where your values from the backend have to be inserted.

Thank you, that works! Still, I will leave this open, since it would be better to have it documented explicitly

I'll add it into docs. Also in 0.7.5 it will be more comfortable way to explore the task body.

It would be nice to get an example JSON similar to task creation.
Also, please document, that fields can be left empty.
We have different tasks for annotation of the same image, it took me a while to figure out, that I could leave some results empty.

https://labelstud.io/guide/predictions.html now contains more details and example JSON


Use custom SQL query in FHIR Engine

Is your feature request related to a problem? Please describe.
See comment in https://github.com/opensrp/fhircore/issues/2066#issuecomment-1473385899:
Write raw queries instead of using the FHIR Engine search API. I had to add a method inside FhirEngine to allow raw queries and return a raw Cursor

Describe the solution you'd like
Provide an API so that developers can write custom SQL queries to search the offline FHIR Engine database.
Describe alternatives you've considered
@ekigamba can you please provide some examples of the custom queries you need to write? And we can see if there're any alternative approach we can take.
Additional context
https://github.com/opensrp/fhircore/issues/2066
Would you like to work on the issue?
Potentially

We don't need this at this point. We can close this


Fixing ® and other things

I have run a locally patched version of vale, fixing https://github.com/errata-ai/vale/issues/410, over the documentation, using the new vale setup from https://github.com/aiven/devportal/pull/510.
This has been useful for "proving" and improving https://github.com/aiven/devportal/pull/510
I have not altered the vale setup in this branch itself - it's still the same as on main.
This is a lot of changes:

If you would prefer it to be staged as smaller PRs, do ask and I shall do so
When it comes to merging, it may be best if I do the merge, in case of merge conflicts

In this PR I have:

added in ® and ™ to make the new rules happy
I've added attribution for Elasticsearch in the files where we reference it
replaced "MirrorMaker2" with "MirrorMaker 2" in a variety of places
in https://github.com/aiven/devportal/blob/tibs-fix-reg-marks/docs/products/opensearch/index.rst and https://github.com/aiven/devportal/blob/tibs-fix-reg-marks/docs/products/opensearch/dashboards/getting-started.rst I've added attribution for Apache Lucene®. In the former I've also added attribution for Kibana (and Elasticsearch).
in https://github.com/aiven/devportal/blob/tibs-fix-reg-marks/docs/products/kafka/concepts/auth-types.rst and https://github.com/aiven/devportal/blob/tibs-fix-reg-marks/docs/products/kafka/howto/use-zookeeper.rst I've added attribution for Apache ZooKeeper™
in https://github.com/aiven/devportal/blob/tibs-fix-reg-marks/docs/products/kafka/kafka-connect/concepts/list-of-connector-plugins.rst I've added some marks and/or attributions, but I'm not sure if (a) I've done everything that needs it and (b) whether all the things I've added are absolutely necessary.
I ran make html and fixed a few things

I believe this also introduces some new ® symbols into the table of contents sidebar. I've edited _toc.yml to remove those at the top level (Flink and ClickHouse) and one other lower down, but have decided to leave further curation of the contents sidebar for another PR, since there are other issues we should probably also address.

@ftisiot Ooh - lots of lovely suggestions. I may not get to them right away, but a quick skim looks very useful, thanks.

Let me know (probably after the next round of revision) if you'd like me to rebase the branch to sort out the conflicts?

Thanks for all the comments, @ftisiot - they were all good.
I shall aim to rebase and fix the conflicts tomorrow.

@ftisiot @lornajane Now rebased and I hope I got all the fixes!

@ftisiot Thanks for the comments (good as always). Should now be fixed.


Receiving a 401 invalid_signature with each request

Description
I'm trying to make API Calls protected with OAuth 1.0. The authorization with OAuthSwift is already working and giving me a token and a token secret. Sadly I get a 401 invalid_signature back when making calls afterwards. Looking at the requests and checking an online signature generator I see that the generated signatures indeed differ. I just don't know why, because I have no experience with the matter so far. What do you need from me to help me out?
OAuth Provider

Custom: Car2Go

OAuth Version:

[x] Version 1
[ ] Version 2

OS (Please fill the version) :

[x] iOS :
[ ] OSX :
[ ] TVOS :
[ ] WatchOS  :

Installation method:

[x] Carthage
[ ] CocoaPods
[ ] Manually

Library version:

[x] head
[ ] v1.0.0
[ ] v0.6
[ ] other: (Please fill in the version you are using.)

Xcode version:

[x] 8.0 (Swift 3.0)

[ ] 8.0 (Swift 2.3)

[ ] 7.3.1

[ ] other: (Please fill in the version you are using.)

[ ] objective c

Could you provide a failed request sample

Of course :) I'm using OAuthSwiftAlamofire for the request, but I tested it with the standard oauth.client.get and have the same result ...
This is where I make the request:
func getUserData(completion: @escaping Callback) {

    let url = "https://www.car2go.com/api/v2.1/accounts?oauth_consumer_key=\(consumerKey)&format=\(format)"

    getOAuthSessionManager() { sessionManager in

        guard let AlamofireWithOAuth = sessionManager else {
            let error = APICallResult.error(code: 0, codeDetail: "not_logged_in", message: "No user credentials stored for Car2Go!", parentFunction: #function)
            completion(error)
            return
        }

        let request = AlamofireWithOAuth.request(url, method: .get, encoding: URLEncoding.default).response { callback in

            print(callback.response ?? "No response")

        }

        debugPrint(request)

    }

}

And this is the getOAuthSessionManager() where I get the stored Token and Token Secret from Keychain or generate a new one:
fileprivate func getOAuthSessionManager(completion: @escaping (SessionManager?) -> Void) {
    let oauthSessionManager = SessionManager.default
    if let savedCredential = credential {
        oauthswift.client.credential.oauthToken = savedCredential.oauthToken
        oauthswift.client.credential.oauthTokenSecret = savedCredential.oauthTokenSecret
        oauthSessionManager.adapter = OAuthSwiftRequestAdapter(oauthswift)
        completion(oauthSessionManager)
    } else {
        authorizeHerbieNowForCar2Go() { response in
            guard let newCredential: OAuthSwiftCredential = response.getDetails() else {
                completion(nil)
                return
            }
            self.oauthswift.client.credential.oauthToken = newCredential.oauthToken
            self.oauthswift.client.credential.oauthTokenSecret = newCredential.oauthTokenSecret
            oauthSessionManager.adapter = self.oauthswift.requestAdapter
            completion(oauthSessionManager)
        }
    }
}

The console shows the following output:
$ curl -i \
	-H "Accept-Language: de-DE;q=1.0, en-US;q=0.9" \
	-H "Authorization: OAuth oauth_consumer_key="HerbyNow", oauth_nonce="F847B367", oauth_signature="qyPSyjttpRhfA1gOQ30z8WebFNo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1484728545", oauth_token="tXPsbgaPC47rYWdfEtuLYg8C", oauth_version="1.0"" \
	-H "User-Agent: HerbieNow/1.0 (de.lmu.HerbieNow; build:1; iOS 10.2.0) Alamofire/4.3.0" \
	-H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
	"https://www.car2go.com/api/v2.1/accounts?oauth_consumer_key=HerbyNow&format=json"
----------------------------------------------------------------------------------------------------
<NSHTTPURLResponse: 0x17402eaa0> { URL: https://www.car2go.com/api/v2.1/accounts?oauth_consumer_key=HerbyNow&format=json } { status code: 401, headers {
    "Content-Language" = "en-US";
    "Content-Length" = 0;
    Date = "Wed, 18 Jan 2017 08:35:45 GMT";
    "Www-Authenticate" = "OAuth realm=\"car2go_api\", oauth_problem=\"signature_invalid\"";
} }

try to not add oauth_consumer_key=xxx in your request
maybe your provider need it, but that's not standard
OAuthSwift manage all oauth* parameters, and maybe oauth_consumer_key is excluded from signature

Indeed, this fixed the problem. Thanks for taking the time to help me!

con you help me for recive json from magento ?

@J-Arji no


[feat] Add support for OP_NOP2 & OP_NOP3 in compiler

Add the following Opcodes to the compiler & opcodes list :
OP_NOP2 -> 0xb1 ( Same as Opcode::OP_CHECKLOCKTIMEVERIFY )
OP_NOP3 -> 0xb2 ( Same as Opcode::OP_CHECKSEQUENCEVERIFY )
References
opcodes
compiler

@b-j-roberts can I work on this one?

Please can I be assigned to this issue ?

@b-j-roberts can I work on this?

@b-j-roberts can I work on this one?

Sure, I'll assign you. Thanks


[X264] Add arm64-windows by disabling asm

Describe the pull request
These changes enable build of arm64-windows triplet for x264 by passing --disable-asm option.

What does your PR fix?
Adds arm64-windows support

Which triplets are supported/not supported?

Yes

Thanks!


Add nearest library and mobile library stop

As a member of the public
I want to see my nearest library and mobile library stop
So that I can quickly find which ones are relevant to me

For mobile libraries call https://api.mobilelibraries.org/api/stops/nearest?longitude=-1.5&latitude=51.2


How to get the request parameters in the get or post method?

eg: https://example.com/?a=1&b=2
How to get 'a=1 b=2'
const puppeteer = require('puppeteer');

(async () => {
    const browser = await puppeteer.launch({
        headless: false,
        // devtools: true,
        ignoreHTTPSErrors: true,
    });
    const page = await browser.newPage();
    const url = 'https://example.com/?a=1&b=2'
    page.on('requestfinished', async request => {
        if (request.url().match(/dcs\.gif/)) {
            const data = await request.postData()
            const param = await request.url()
        }
    })
    await page.goto(url).then(response => {
    })
    // await page.waitFor(3000)
    // await browser.close();
})()

One way is to get the url and filter based on &, is there any other way?


Back up guardian config+keys via the admin UI

tracks https://github.com/fedimint/fedimint/issues/4039

See also  #4415

closed with https://github.com/fedimint/ui/pull/388


first migration [Bug]:

What happened?
Illuminate\Database\QueryException
SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value
for 'ended_at' (Connection: mysql, SQL: create table streak_histories (id bi
gint unsigned not null auto_increment primary key, user_id bigint unsigned not
null, activity_id bigint unsigned not null, count int not null default '1',
started_at timestamp not null, ended_at timestamp not null, created_at ti
mestamp null, updated_at timestamp null) default character set utf8mb4 collate
'utf8mb4_unicode_ci')
How to reproduce the bug
i try to do fresh migrate
Package Version
2
PHP Version
8
Laravel Version
10
Which operating systems does with happen with?
Windows
Notes
No response

I need more information on the bug than what you have provided

When I installed the package following the steps , I tried to migrate and I got that error

Can you be more specific? Write step-by-step the steps you take until you hit the error


fix: don't re-start ended matches

Codecov Report

Merging #165 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #165      +/-   ##
==========================================
+ Coverage   83.53%   83.54%   +0.01%
==========================================
  Files          56       56
  Lines        1603     1604       +1
  Branches      179      180       +1
==========================================
+ Hits         1339     1340       +1
  Misses        258      258
  Partials        6        6

Impacted Files
Coverage Δ

src/games/services/game-event-handler.service.ts
88.05% <100%> (+0.18%)
:arrow_up:

Continue to review full report at Codecov.

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


rawhide: rootless(?): unable to create pod cgroup

On current rawhide:
$ podman pod create --infra=false
Error: unable to create pod: unable to create pod cgroup for pod f6e5b1f4226f5145fbe5da90a5fa43da4b2ab9255180da764a1f3c555df6c70e: error creating cgroup user.slice/user-libpod_pod_f6e5b1f4226f5145fbe5da90a5fa43da4b2ab9255180da764a1f3c555df6c70e.slice: dial unix /run/user/0/bus: connect: permission denied
     >>>> ----- be sure to note the /run/user/0 above   ---^^^^^
$ echo $?
125
$ id
uid=1000(fedora) gid=1000(fedora) groups=1000(fedora) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

With --log-level=debug:
...
DEBU[0000] using runtime "/usr/bin/crun"
DEBU[0000] Created cgroup path user.slice/user-libpod_pod_0b61d20bd8cfa2af93e649ed85ddd24a5417ae764080073d95ab3722da19a1ad.slice for parent user.slice and name libpod_pod_0b61d20bd8cfa2af93e649ed85ddd24a5417ae764080073d95ab3722da19a1ad

podman-1.5.2-0.46.dev.git1d8a940.fc32.x86_64
crun-0.7-2.fc31.x86_64
package runc is not installed
kernel  5.3.0-0.rc5.git2.1.fc32.x86_64

looks like XDG_RUNTIME_DIR is not configured correctly.
Have you created the user session through sudo?
Could you print your environment variables?

Session opened via su - from root. There is no XDG_* in env; only relevant variables are HOME=/home/fedora, LOGNAME=fedora, USER=fedora.
I realize that there's this new fancy systemd dbus XDG universe but some of us are very old UNIX users and don't use that stuff; and we can't just say "use dbus for everything" to people who have functional workflows.

@edsantiago Is this fixed? I think we got this one with the XDG_RUNTIME_DIR fixes

Seems to be fixed - closing


Implement Sigstore signing for trained models

Is your feature request related to a problem? Please describe.

N/A
Describe the solution you'd like

Sigstore is a widely-adopted tool for artifact provenance in the container/cloud world. It would be cool if we could apply it towards AI models by integrating it into instruct-lab.
Additional context

(Opening this issue to track work on https://github.com/instructlab/instructlab/pull/1181.)

@mbestavros do you have an update on this?


Add additional footer links

This change modifies the base page template to add footer links to:

Download website errors (including 404s) as CSV
Download website redirects as CSV
Explore website data via API: pages, components, errors, redirects

With this change, the footer now looks like this:

Thanks @brandon-rusk! Going to merge this and we can iterate on design feedback.


fix(compass): remove type whitelist

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 81.171%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
4492

Relevant Lines:
5534

💛  - Coveralls


karma-openui5 does not load properly

Hi I am using karma 0.13.15.
Attempting to load openUI5 and I get the following error:
Uncaught Error: sap-ui-core.js: could not identify script tag!
at C:/resources/sap-ui-core.js:25
I only see the script tags that load openUI5 when going into the Karma debug runner.
Here is my config file; what am I doing wrong? ( I have stripped out my code and tests, while trying to narrow down the problem.  The result is the same with my code and test files included.)
// Karma configuration
// Generated on Fri Nov 06 2015 16:48:28 GMT-0500 (Eastern Standard Time)
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: './',

// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ["openui5"],

  files: [

      { pattern: 'build/tmp/bootRun/unpackedOpenuiRuntimeDependencies/resources/**/*', served: true, included: false, watched: false },

  ],

openui5: {
  path: 'build/tmp/bootRun/unpackedOpenuiRuntimeDependencies/resources/sap-ui-core.js',
  useMockServer: false
},

client: {
  openui5: {
      config: {
          theme: 'sap_bluecrystal',
          libs: 'sap.m',
          resourceroots: {
              'sap.m': 'build/tmp/bootRun/unpackedOpenuiRuntimeDependencies/resources/sap/m',
              //'my.namespace': '/base/src/my/namespace'
          },
          themeroots: {
              'sap_bluecrystal': 'build/tmp/bootRun/unpackedOpenuiRuntimeDependencies/resources/sap/m/themes/sap_bluecrystal'
          }

      }
  }
},

// list of files to exclude
exclude: [
],

// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
preprocessors: {
    //'spec/sapui.html' : 'html2js'
},

// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],

// web server port
port: 9876,

// enable / disable colors in the output (reporters and logs)
colors: true,

// level of logging
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
logLevel: config.LOG_DEBUG,

// enable / disable watching file and executing tests whenever any file changes
autoWatch: true,

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],

// Continuous Integration mode
// if true, Karma captures browsers, runs the tests and exits
singleRun: false,

// Concurrency level
// how many browser should be started simultanous
concurrency: Infinity

})
}

Did you already try to run this without the resourceroots/ themeroots configuration?
If you are using the extacted zip from http://openui5.org/download.html it should find the libraries and themes without any further configuration.
resourceroots: {
    'sap.m': 'build/tmp/bootRun/unpackedOpenuiRuntimeDependencies/resources/sap/m',
    //'my.namespace': '/base/src/my/namespace'
},
themeroots: {
    'sap_bluecrystal': 'build/tmp/bootRun/unpackedOpenuiRuntimeDependencies/resources/sap/m/themes/sap_bluecrystal'
}

I could not reproduce the issue mentioned by you locally using the openui5-runtime-1.32.5.zip.

Closing this for now. Please feel free to add comments if the issue is still relevant.

I got the same issue just now. It happens because karma-openui5 appends a cachebuster string to the sap-ui-core.js script tag and the regex used in the lookup does not expect that:
mMatch = sSrc.match(/(.*\/)sap-ui-core\.js$/i)

actual script tag karma generates:
<script type="text/javascript" src="/base/node_modules/@openui5/sap.ui.core/src/sap-ui-core.js?c130a88260d05608009c66b87e5a6c57c4f9fab0" crossorigin="anonymous"></script>

I'm not really shure why this does not happen in our other projects. Will investigate and keep you updated.

@cevou fair enough. This needs to be addressed in the https://github.com/SAP/openui5 project. Feel free to file a pull-request.

I just had the same problem and noticed that this only happens with "self-contained" builds if i build the normal build dose not have this script check


docker-compose.override.yml and the docker-compose -f flag

https://docs.docker.com/compose/extends/#multiple-compose-files

the docker-compose.override.yml implicitly merges config with the docker-compose.yml file
when you specify multiple docker-compose files with the -f flag, each subsequent files overrides and merges with the previous

currently config allows specifying multiple docker-compose files, but they aren't merged
if we merge them, the docker-compose.override.yml would just have to specified in the include array
if not, we may need another a merge-include or some such

merging wont be as simple as converting yaml to object then doing a deep extend,
because of polymorphic structures like build (#158)
But.. If, as a rule, all strings that could potentially be objects were converted into object form first then merging would be as simple as deep extend


Broken links at projects page

I've noticed that all links called Ver repositório at https://opensource.globo.com/projetos/ are not working. Some images are not loading as well. Those links are really down or am I just crazy? :rofl:

Hi @matheusmosca ,
Thanks! We will fix it soon =)


Adjust index Announcement Bar style

The announce bar won't appear on my local build. Got any clue?

Seemingly it appears only once?
You can try clearing the cookie and cache (or even the proxy) and try again.


install from source with CUDA support?

I see in the README that pip install ctransformers[cuda] will be able to install ctransformers with CUDA support. However, there is no instruction on how installing from source would have CUDA support. Is there a way to do that?

If you are installing from repo, you can use:
CT_CUBLAS=1 pip install git+https://github.com/marella/ctransformers

If you want to install from your local clone of repo:
CT_CUBLAS=1 pip install /path/to/ctransformers


Display quick links in the navbar on smaller screens

Quick links are only visible on larger screens (e.g. desktops and laptops) but are hidden on smaller screens (e.g. mobile phones). It would be useful to have them displayed on all screen sizes.

Adding quicklinks to the navbar on the mobile menu may not be optimal. The links themselves are currently small (but this can be changed) and may pose as difficult to use for people with larger fingers. Further testing is required.


Invalid prop intent of value info supplied to ForwardRef(IconButton)

Description
I was about to use toaster.notify(). I just opened the console in the browser and I saw there is an error.
Error appears only with notify() function usage. Any other functions success(), danger(), warning() are not causing problems.
I was trying to find out, what is going on, but I could not see anything. Probably I was searching bad.
Could you please tell me how to resolve the issue?
Screenshot
Screenshor from thr browser console

I'm having the same problem as the one described by @patrikmasiar . This didn't happen to me with version 5.1.2 though, so perhaps it's a bug on the latest version?

@amolerca I am using 6.4.0 version and it is happening there as well. I tried to check the source code of the package but I did not find anything related to this.

@patrikmasiar yes, this started happening to me when I upgraded to 6.4.0, not before. That's why I believe it must be some newly introduced bug.

hi @patrikmasiar, seems interesting and a good starting point for a beginner. Can I work on this work?

Same happens when we make a custom appearance theme

I have rectified this warning. Already made a PR.

The intent propType warning should be resolved as of v6.5.2 by #1341 and the button propType warning should be resolved in v6.6.3 with #1287. Feel free to open a new issue if you find this is still happening. Thanks 👍


Update to neopython v0.8.3

Problem
solving #150
Update neo-python to v0.8.3
Solution
change configs and docker-compose
Checklist

[x] I have ran the tests locally.
[x] I branched off of the develop branch and not master.
[x] I did not change the VERSION file.

When running make start I see the following output

[neo-local] Network running! tada
[neo-local] Attaching terminal to neo-python client
Open wallet (password: 'coz'):	 open wallet ./neo-privnet.wallet
Test smart contract:		 build /smart-contracts/wake_up_neo.py test 07 05 True False main
Privatenet useragent '/Neo:2.9.0/', nonce:<PHONE_NUMBER>

The command for opening a wallet and deploying a contract have changed

open wallet ./neo-privnet.wallet

should become

wallet open neo-privnet.wallet

build /smart-contracts/wake_up_neo.py test 07 05 True False main

should become

sc build_run /smart-contracts/wake_up_neo.py True False False 07 05 main

Note how it includes a 3rd boolean (for the payable flag) and the order of flags vs input/return types has changed.
Other than that it appears to sync as expected, it uses the 0.8.3 code as expected and I can open the provided wallet. This tells me the rest should work fine as far as the cli. If there are no other areas that interact with neo-python then the above changes should be all.

Ho, yes, i forgot those changes. Ok , thanks

fyi; we've released 0.8.4 about 1.5 weeks ago. This was an urgent release to support attaching fees to all transactions and smart contract deployments to work with the new policy change on the network. Otherwise TX's bigger than 1024 bytes would all fail.
I think there's not much else to do for neo-local other than including the new version. There should be no breaking changes.

OK, i will upgrade today later. Thanks


Feature Request: Make Consistent Analysis Compression toggleable

problem
Consistent Analysis compression is currently not toggle-able and on by default. This

has performance implication on potato computers
causes confusion when people use ConsistentAnalysisFormat.text and sees garbled output in text editor (as they assume text format output is directly openable by text editable, while they actually need to unzip it first).

expectation

Offer a way to disable the compression
Consider making the compression off by default (or at least off by default for ConsistentAnalysisFormat.text.

notes
Here was an instance of downstream zinc user asking why ConsistentAnalysisFormat.text yields garbled output

I'm having issues using the new ConsistentAnalysisStore in Mill. I tried to use ConsistentAnalysisStore.text in https://github.com/com-lihaoyi/mill/pull/4065/files#diff-d7eb4aebc8fc9a837dc90a5215cee479037fef11cc4071bf4a6242fc6baf2014R486, but the generated zinc.txt file still seems to be binary. Would you be able to take a look and see if I'm missing anything obvious?

(https://discord.com/channels/632150470000902164/635669047588945930/1313414992267182133)

TIL "potato computer"


Cant pass anything to CanvasItemShader

Since setting shader's paramiters is only a available in MaterialShader, which can't be attached to CanvasItems, there is no way to pass any variables to shader in 2D - like uniforms. I tried to make a material and then use get_shader(), but returned shader hasn't got any binded values after doing it. I know that it can be done from the inspector, but I need that functionality incode.

+1

+1! Be able to get/set shader uniforms from code is very important, and it is already present in the 3D shaders.

@jsalem666 just found, that there are two lines missing in canvas_item.cpp ( around line 880 ):
ObjectTypeDB::bind_method(_MD("set_shader_param","param","value"),&CanvasItem::set_shader_param);
ObjectTypeDB::bind_method(_MD("get_shader_param","param"),&CanvasItem::get_shader_param);

I'd be very glad for pushing it asap to official master...


Add persistent flag to Metric.add_state

What does this PR do?
Adds persistent flag to Metrics, to allow the user to disable state being
added to the state_dict.

Ugh, the persistent flag for register_buffer was not available in PyTorch 1.3

Hello @teddykoker! Thanks for updating this PR.

In the file pytorch_lightning/metrics/metric.py:

Line 81:121: E501 line too long (124 > 120 characters)

Can we add test for this? One metric class with and one without the persistent flag on their state, and then check their state dict.

Can we add test for this? One metric class with and one without the persistent flag on their state, and then check their state dict.

Done :)

Why would someone want to save a metric to the state_dict?
When you add metrics to the state_dict by default, you cannot load checkpoints any longer after you make changes to any of the metrics.
I feel pretty natural to add or update metrics of an already trained module.
For example, in my issue #4666


readthedocs history

Do we have a version history somewhere?  It can be very useful for people to know what is changing with each release. For example, if someone happened to use 1.0.2 and nothing worked, then they can't say that we did not warn them.  Also, is there a way to make 1.0.0-1.0.2 inaccessible through conda?  There is no reason to allow people to install something that we know is broken.

The versioned  documentation do not show all the details of the code functions. There is a minor difference between the main release tag and the Docs branch. The version history is based on the main release tag which is not used for building the documentation.

Where is this history? This can be something manually posted, like for smog2.
https://smog-server.org/smog2/history.html
Is there something like this?  Basically, something that we annotate so that we can tell people what is new and when bugs were found/fixed?

This info is added on each release on GitHub. People can track the modifications there.
I will make "active" the other released versions on read the docs but it will show nothing on the module page.

Sounds good.
On Friday, August 20, 2021, Vinícius Contessoto @.***>
wrote:

This info is added on each release on GitHub. People can track the
modifications there.
I will make "active" the other released versions on read the docs but it
will show nothing on the module page.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/smog-server/OpenSMOG/issues/34#issuecomment-902414694,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUWQ7EDOCU74AEBF22FHKTLT5XIHPANCNFSM5CO2QO3Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

I am closing it since we have the documentation versioned.


Support for AXPath

Do you plan to add support for finding Elements via AXPath (e.g. /AXApplication[@AXTitle='Calculator']/AXWindow) ?
We have have a hybrid (Mac native & WKWebView) App which we can automate with AXPath in the legacy mac driver but we would like to switch to mac2-driver to be future proof. With mac2-driver/XCUI XPath we cannot select the web content inside the WKWebView.

If the content is not reflected in the page source then it means XCTest does not fetch it. Only Apple could fix that.

Thanks for the feedback, actually XCUITest is able to select the Elements in the WebView. But we choose to rather use  XCUITest directly, so this is not an issue for us.


Fixes: Prevent color leak due to drag in settings.

Fixes:#26480

Screenshots and screen captures
image representing the dragging state

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

I have changed the background color which had 20% transparency (initially)  to a hsl value with no transparency.

@amanagr @sahil839 @karlstolley could you please review the PR , thanks!

@AkhileshJyotishi thanks for the PR. Please update the commit message to follow the commit message guidelines.

@sahil839  I have made the necessary changes , can you please review the changes,  thanks!

The commit message does not follow the guidelines still. Specifically, a better can be used instead of "Fixes" and the prefix should start with a lowercase letter. Would be good to have a careful read of the documentation link I shared above. Also, would be nice to add some explaination in the commit message about how your change fixes the bug.

Yeah, I don't understand how this change fixes the bug and I also see how it affects a LOT of other components in the app (and it's unclear if that will break anything), so this PR is not reviewable in its current state.


HCCDOC-967a - Malware quick start

@dayleparker This is the second iteration of the Malware quick start for Insights for RHEL team. Please provide a peer review and let me know if there are any edits or if it is ready to be published. Once I get your okay, I will open an issure in RHCLOUD. Thanks.

Hi @CodeDuchess
The new version looks great and builds well as expected!
I've done a peer review (using the quick start guidelines) and noted any edits/suggestions/comments in this Gdoc:
https://docs.google.com/document/d/1YF4iz3EXt1BVipW0Z_cbECBg4k31OIB7jX_Nhd27EUw/edit
I think it's almost ready to go!
Nice work :)

/ok-to-test


Clean up macros and static functions

This pull request removes unused internal function declarations and reduces macro usage in the header file.
Closes #21.

Tested successfully on macOS.


Fix simultaneous click and mousemove events fire as was done in dragula

I noticed that react-dragula does not distinguish between a mousemove and click event. I saw that this was fixed in dragula: https://github.com/bevacqua/dragula/commit/301350208d46d8587e03481599050594223d6721
Are you working on a similar fix for react-dragula?

Updated package


Things to be taken into account for the stub files

Prep for #541
Collection of things to take into considerations. Discussions welcome and preferably on Slack / track-ruby

[ ] Implementation
[ ] Comments in stub file:

not alienating for experienced devs,
avoid the term 'stub file'

[ ] Should the TDD instructions move to... somewhere? Or can they stay in the Readme?
[ ] This is an opportunity to add some scaffolding for writing instance methods instead of the current class methods, while the students still need to write one method only (because from a track anatomy point of view, we want to keep it to one line methods first).

Inspired by JS:
// Write your code for the 'Hello World' exercise in this file.
// Make sure to look at hello_world_test.rb --that should give you some hints about what is
// expected here.

I believe the comment style of // is not valid for Ruby.  We can use mult-line comments there, if that is preferable.  But the file should be strictly valid Ruby.

=begin
Write your code for the 'Hello World' exercise in this file. Make the tests in
hello_world_test.rb pass.

To get started with TDD, see the readme file in your
Hello World directory.
=end

class HelloWorld
  # your code here
end

I'm closing this, as all exercises now have a stub file.


Node support?

Is it possible to add Node support? I have tests for workers code that run in node environment but I get this:  throw new Error('SubtleCrypto not supported!')
I also saw this issue and it seems like the same problem. However, this doesn't help:
import { webcrypto } from 'node:crypto'
Object.defineProperty(globalThis, 'crypto', {
  value: { subtle: webcrypto.subtle },
})

For me, the code above works in a test if imported before importing cloudflare-worker-jwt

I use node 18

import { webcrypto } from 'node:crypto'
Object.defineProperty(globalThis, 'crypto', {
  value: { subtle: webcrypto.subtle },
})

import { expect, describe, test } from 'vitest';
import JWTService from '@template-app/service-jwt'; //<-- Just a wrapper around cloudflare-worker-jwt

describe('When', () => {
	test('Then', async () => {
		const jwtService = new JWTService();
		const token = await jwtService.encode({ test: 123 }, 'secret');
		const valid = await jwtService.verify(token, 'secret');
		expect(valid).toBeTruthy();
		const decoded =  await jwtService.decode(token, 'secret');
		expect(decoded.payload.test).toEqual(123);
	});
});

Here is my working test code, just checked it with node 18, still works.

This is my test file
import { webcrypto } from 'node:crypto'
Object.defineProperty(globalThis, 'crypto', {
  value: { subtle: webcrypto.subtle },
})
import jwt from '@tsndr/cloudflare-worker-jwt'
jwt.verify('', '')

This is my launch command
"test:manual": "nodemon --exec 'node --experimental-specifier-resolution=node --loader ts-node/esm' ./testRua.test.ts"

Did you set environment: "miniflare", in vitest.config.ts?

I'm running my tests without a vitest.config at the moment. But with your test file I also get the error now

For me this works for testing (on node 16 and 18):
https://github.com/tsndr/cloudflare-worker-jwt/blob/1bdbd0a5c5f92901913718ab24158a8bcacccf86/index.test.js#L1-L4


Added 1431-kids-with-the-greatest-number-of-candies

Related Issue
Added 1431-kids-with-the-greatest-number-of-candies
Description
Added 1431-kids-with-the-greatest-number-of-candies
Type of PR
closes #1944

[ ] Bug fix
[x] Feature enhancement
[ ] Documentation update
[ ] Security enhancement
[ ] Other (specify): _______________

Screenshots / Videos (if applicable)
[Attach any relevant screenshots or videos demonstrating the changes]
Checklist

[ ] I have performed a self-review of my code.
[ ] I have read and followed the Contribution Guidelines.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have followed the code style guidelines of this project.
[ ] I have checked for any existing open issues that my pull request may address.
[ ] I have ensured that my changes do not break any existing functionality.
[ ] Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.
[ ] I have read the resources for guidance listed below.
[ ] I have followed security best practices in my code changes.

Additional Context
[Include any additional information or context that might be helpful for reviewers.]
Resources for Guidance
Please read the following resources before submitting your contribution:

[ ] Code Harbor Hub Community Features
[ ] Docusaurus Documentation
[ ] React.js Documentation
[ ] Markdown Guide
[ ] MDX Documentation
[ ] Mermaid Documentation

Resources for DSA Features on Our Site:

[ ] Tabs: Switch Languages
[ ] Line Numbering
[ ] Math Equations

Contribution Guidelines
Thank you for considering contributing to our project! To ensure smooth collaboration and effective contribution management, please adhere to the following guidelines:
Issue Creation

Limit on Issues:

Each contributor is allowed to create a maximum of 4 issues per day. This helps us manage and address issues efficiently.

Contribution Levels

Basic Contributions:

This project is primarily focused on documentation. Most of the setup has been completed, so contributors will generally need to work on basic code tasks, such as writing tests.
For these tasks, issues will be assigned the level1 label.

Acknowledging Hard Work:

If a contributor puts in significant effort on a task, the issue will be upgraded to level2. This is our way of recognizing and appreciating extra effort.

Feature Additions and Component Work:

Contributors working on new features or components using JSX/TSX will be assigned a level based on the complexity and quality of their work.
The more complex and valuable the contribution, the higher the level assigned.

Level Definitions

Level1:

Tasks are straightforward, such as fixing minor bugs, writing tests, or making simple documentation updates.

Level2:

Tasks require more effort, such as addressing complex bugs, improving existing features, or making substantial documentation improvements.

Level3:

Tasks are highly complex and involve significant new feature development, major refactoring, or extensive contributions to the project’s core components.

We look forward to your contributions and appreciate your effort in helping us improve the project!

@Ajay-Dhangar  Please assign me the issue

@Ajay-Dhangar  Please Review it soon


Bug Fix: Name sometimes falls under 2nd child not last-child

Update your profile to:

Show Business opportunities you provide
Or open to job opportunities

attempt to scrape your profile or anyone's that shows such data, there is an additional div of class: pv-top-card-row which would be the last-child.
To provide the correct name field whethere anyone has such data or not, use the 2nd child

Is there a specific reason why this hasn't been merged? I'm interested in having a fix for names as well.

Thank you for the collaboration @muchai-mercy
@dbecker215 It's hard to test new changes, I have to do all tests manually. Please let me know if you guys have any interest in maintaining this project so I can include more people here to be able to push new changes faster.
I receive so many requests about this project (most of them directly into my personal e-mail) and sometimes I'm lost on priorities, I wasn't aware how important this was, sorry :cry:
Now it was merged and published, please update your version to v1.0.13

No worries. I appreciate the response. My group would like to help out with this repo as we expect to be using it for a while. You can add myself and @kf6kjg.

We’ll do what we can. We’ve a fair bit of experience with automation and testing.


[Enhancement]: Enhancing Color Game

Is your enhancement request related to a problem? Please describe.➕
Game enhancement
Currently the UI of Color Game is not very interactive.

Describe the solution you'd like
Solution steps
I want to work on this issue
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @akankshachanana1 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @akankshachanana1 👋!
@kunjgit here,
Hope you are doing extremely well 😇
It's confirmed 🥳, GameZone is taking part in hacktoberfest and ready to have another 💥
Ready to have some amazing contributions once again also thank you for you support in GSSoC23 you have took us on top 5 ❤🔥
if you still haven't joined us join us on Discord
See you soon 😊

Hey @akankshachanana1 👋!
@kunjgit here,
Hope you are enjoying this hacktober 😀
We are excited to share that we are opening issue from our side where you will be going to add games on our website 🚀
Work on this issue 🔥
and help us building GameZone 💗
if you still haven't joined us join us on Discord
See you soon 😊

Hello @akankshachanana1, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @akankshachanana1 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Invalid Type Exception with Modelio

Hi, there, I try to use the app with this  basic model

but when y ran the jhipster-uml it throws me the following error
λ jhipster-uml spyderfox.xmi
Parser detected: MODELIO.
C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\modelio_parser.js:62
throw new InvalidTypeException(
^
Error
at Object. (C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\modelio_parser.js:329:34)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\editors.js:3:22)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
Thanks in advance!

Hi!
I may be wrong, but I doubt 'Date' (from the 'Credito' entity) exists for your database type. Date is only supported by JHipster for Cassandra. If you're using a SQL database, or a MongoDB one, the error is normal.
However, another issue is pointer by your proble:m the display of exceptions. We're currently trying to make it work as intended (Javascript doesn't make it easier for us), and help users see their mistakes, or --better, our mistakes.
I'm not closing this thread until the JHipster-UML fixes the exception problem.
I hope my answer helped you, thanks for using JHipster-UML!

The exception problem is now fixed as of the last commit.

Ok, i see the correct error right now
The type 'Date' isn't supported by JHipster, exiting now.
Error...
and  I modify my model with LocalDate Class

And there is a new error message
The type 'EDate' isn't supported by JHipster, exiting now.
Error
at Object. (C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\modelio_parser.js:333:34)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (C:\Users\narciso.parra\AppData\Roaming\npm\node_modules\jhipster-uml\lib\editors\editors.js:3:22)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
I don´t know is this is for a bug or something wrong whit  the manner of i design the model

You must have chosen the wrong date type. EDate could be the Ecore type. Something's wrong with your diagram. Try to export it to XMI and look for the EDate DataType or PrimitiveType.
If there's one, you have your error.

You are right. I fix my model and it run well. its awesome
And Again Thanks!

Happy to help =)


Add chorus, distortion, echo, reverb, bitcrush, and frequency crush in envelopes

There's some technical issues with this that make it difficult to work on

Slarmoo's Box adds this


systemd-boot does not install/update if efiSysMountPoint != bootMountPoint and a XBOOTLDR partition exists

Describe the bug

I have efiSysMountPoint = /efi
I have an xbooldr partition, but don't have systemd-boot configured to try to use it.
I had it mounted via fileSystems, though my understanding is that the generator would end up mounting it anyway.
A cursory review of bootctl code indicates that it auto-sniffs out my xbootldr partition mounted at /boot, and presumptively uses it, (and/or particularly when efiSysMountPoint is set to something else.

This results in it trying to install some loader files to /boot, when that is not the intent I've expressed (to some arguable extent) in my nixos configuration.
I think there's a guard in systemd-boot-builder.py that doesn't set the boot location flag under a condition. Relaxing that conditional so it's more/always explicitly set, could be a simple fix, I think. This is assuming bootctl will handle the efi and boot flags both being set to (again, in my case /efi)
Steps To Reproduce
Steps to reproduce the behavior:

...
...
...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

Metadata

Add a :+1: reaction to issues you find important.

cc: @ElvishJerricco


[2.x.x] Rebuild 2.15.1 for for python312

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@maxbachmann, obviously, we'll see what CI has to say but maybe take a look if you have a chance to make sure this is what you suggested.

Yes this was what I did mean. Apparently it is failing because of some of the breaking changes in later alpha releases.  I will look into it.

Hmm, seeing:
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      insertion, deletion, substitution = kwargs.get("weights", (1, 1, 1))
      weights.insert_cost = insertion
      weights.delete_cost = deletion
      weights.replace_cost = substitution
      self.context = weights
      self.dtor = KwargsDeinit
                  ^
  ------------------------------------------------------------

  /home/conda/feedstock_root/build_artifacts/rapidfuzz_1696620205910/work/src/rapidfuzz/distance/metrics_cpp.pyx:307:16: Cannot assign type 'void (RF_Kwargs *) except *' to 'void (*)(RF_Kwargs *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (RF_Kwargs *) except *'.

@maxbachmann, can you have a look and see if you have a suggestion?  No rush.

Not sure in which format conda requires the patch, but it still requires the following change:
diff --git a/src/rapidfuzz/distance/metrics_cpp.pyx b/src/rapidfuzz/distance/metrics_cpp.pyx
index 3d4940b..0a89219 100644
--- a/src/rapidfuzz/distance/metrics_cpp.pyx
+++ b/src/rapidfuzz/distance/metrics_cpp.pyx
@@ -289,7 +289,7 @@ def levenshtein_opcodes(s1, s2, *, processor=None, score_hint=None):
     ops.editops = levenshtein_editops_func(s1_proc.string, s2_proc.string, c_score_hint)
     return ops.as_opcodes()

-cdef void KwargsDeinit(RF_Kwargs* self):
+cdef void KwargsDeinit(RF_Kwargs* self) noexcept:
     free(<void*>self.context)

 cdef bool LevenshteinKwargsInit(RF_Kwargs* self, dict kwargs) except False:

with this I can build it successfully on my local machine

I had another thought about this and it would probably make sense to make a quick 2.15.2 release of the library with the fix, so it works for the poetry version from pypi as well.

I started the release procedure. This takes a couple hours to build all the binary wheels. Afterwards we can base this on rapidfuzz 2.15.2 without any patches.

I agree, that sounds like a much better way to handle this.  Thank you very much!

Closing this in favor of #155


Help with training

Hi,
I wish to use the MossFormer to separate reverberant speech.
But I am struggling in loading the WHAMR! dataset to modelscope.
The example you provided uses Libri2Mix_8k dataset, which is hosted by modelscope, while WHAMR! is not hosted and seems to require different preprocessing than Libri2Mix_8k.
Can you please provide some instructions on how to load the WHAMR! dataset to modelscope.
Or can you please upload the model that was trained on the WHAMR! dataset?
Thanks in advance

Hi,
I met the same problem before.
You can generate csv file from your own dataset, csv file need to include three keys(mix_wav:FILE, s1_wav:FILE, s2_wav:FILE) .
and use MsDataset.load('/path/to/my_file.csv') to load your own dataset.
Good Luck!

@mayccc1  hello . do you mean the same way as speechbrain do data preprocessing ?
thanks in advance

Hi, I don't know speechbrain data preprocessing method, can't help you.SORRY

Hi, if you want to try on WHAM! or WHAMR! dataset, please use our latest model 'MossFormer2' from the link: https://modelscope.cn/models/damo/speech_mossformer2_separation_temporal_8k/summary . Thanks.

MossFormer2 is also described in github: https://github.com/alibabasglab/MossFormer2

I'm wondering if I can fine-tune MossFormer on my dataset. Is this possible?


rs.error: Couldn't query adapter board / motion module FW version!

Required Info

Camera Model
ZR300

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)
4.4.0-53-generic

Build System
Makefile

mkhansen@mkhansen-skull:~/catkin_ws/src/realsense_workspace/librealsense$ bin/cpp-motion-module
rs.error: Failed to get firmware version
rs.error: Couldn't query adapter board / motion module FW version!
There are 1 connected RealSense devices.
Using device 0, an Intel RealSense ZR300
Serial number:<PHONE_NUMBER>
Firmware version: <IP_ADDRESS>
I've seen this frequently, sometimes re-plugging the camera resolves it, however, that's not a viable option for remote usage.
I've tried rebooting and it persists across reboots.
Is this a known issue? Is there a way to resolve it without re-plugging the camera each time?

Note - I also see this issue when running cpp-enumerate. This was the simplest way I could find to reproduce it.

When you re-plug the camera, what is the output from cpp-enumerate-devices (the topmost block)?
Might be a case of older firmware versions.
Does this reproduce consistently and how do you manage to reproduce this?

I discovered the cause of this was actually a boost::mutex problem, in my code. For some reason sometimes I was getting a boost::mutex error on shutdown, and after that, I would see this rs.error. I don't know why the mutex error caused this, but I was able to fix it by replacing the boost::mutex with a std::mutex. I'm closing this issue.


Add a CSS to give a roll to dice

On clicking dice, there should be a roll
We can either go with CSS or a gif to achive that

Hey @vishu1089 , I would like to work on this issue, can you please assign it to me?

Assigned, enjoy your task!

Hey @vaishnavi-2901 , Please review the PR, if it's fine then let's merge this else if any discussion is required let's do it.

Closing this!


Realtime Security Bug

Describe the bug
When the realtime module is not enabled, but the table is realtime enabled, the "initial" results are sent to the client, but a nats error is logged on space cloud
Expected behaviour
An auth error must be sent to the client
Actual behaviour
No error is sent to the client
Steps to reproduce
Your environment

Space Cloud version:
OS:
The client api version (if applicable):
Browser (if applicable):

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately.
👍

Fixed in v0.12.0


[cmor]: enable shuffle option by default

we should enable the shuffle options for compression by default using cmor_set_deflate

see also: https://github.com/PCMDI/cmor/issues/403


Make RedisRateLimiter extensible?

Hey guys!
In order to be able to rate limit per user API key (versus basing the limit on the route) I had to extend RedisRateLimiter to make isAllowed(String routeId, String apiKey) calculate the limits based up on the route and the apiKey. Please see the full thing here: https://stackoverflow.com/questions/50988095/rate-limiting-based-on-user-plan-in-spring-cloud-gateway
As you see it is somewhat hackish there because there's no good way to extend RedisRateLimiter - see I had to decorate it, copy some private/default scoped methods over as well as hack the @Primary annotation so it gets into the bean factory well.
Do you think RedisRateLimiter would be re-architected to be easier to extend?
Thanks!

I suppose an interface that could be implemented to determine replenish rate and burst capacity could be useful. I'm not keen on having folks extend the rate limiter.


how to dynamically add more item to dataset

is there a way to dynamically update the dataset given to the at mention.
Eg. let say on init we have [ "jacob", "thomas", "emma"] as the mentioned data set.
If i want to add more names to the mentioned list after init is that possible?

Doc says, "You can invoke this method to load data when data is empty". But what if we want to add more items to existing data?
https://github.com/ichord/At.js/wiki/APIs#load


initial commit of sphinx documentation

As per issue#8 this PR adds the raw materials to create the gh-pages using sphinx using the develop branch as a basis.
In order to make the gh-pages you will still need to run make html and commit the newly generated html to the gh-pages branch. This html will be generated in a folder called gh-pages in the base directory of the repo. After the gh-pages/html directory is created, open the index.html page within Google Chrome and you should be able to see the pages rendered as they will appear on the gh-pages branch. Right now the process is manual, but ideally this will be wired up as a git hook on commits to master that will generate the HTML and then turn around and commit the changes to the gh-pages branch.
You will need to install sphinx and the sphinx theme that we are using via pip to make sure it looks good on your end:
pip install sphinx
pip install sphinx-rtd-theme

If it looks good give the goahead with a  LGTM.

Coverage remained the same at 91.288% when pulling f62d55810b0e31ee3a895033cb28f659b70c1051 on sphinx into f5905ba229c970b3e50ffbf3b348cc694c132b78 on develop.


Fix OperationalSessionSetup notifying success with inactive sessions.

When a success callback marks the session defunct for some reason, the other succcess callbacks should probably not be called.

Closing in favor of https://github.com/project-chip/connectedhomeip/pull/33822; that one is much better.