Have been changing flutter SDK 1.20.0 to 1.22.4. but still have the same issue.
It's been 3 months that I can't code with Flutter

@dultcher
can you provide your flutter doctor -v and your flutter build apk -v

@dultcher
Please provide above requested details along with flutter run --verbose.
Thanks.

PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter run
Using hardware rendering with device Android SDK built for x86. If you notice
graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.

Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 31s
Running Gradle task 'assembleDebug'... Done                        93.7s
Exception: Gradle task assembleDebug failed with exit code 1
PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter verbose
Could not find a command named "verbose".
Run 'flutter -h' (or 'flutter  -h') for available flutter commands and
options.
PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter run --verbose
[ +201 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +198 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[  +36 ms] 1aafb3a8b9b0c36241c5f5b34ee914770f015818
[  +61 ms] executing: [C:\src\flutter/] git tag --points-at HEAD
[ +204 ms] Exit code 0 from: git tag --points-at HEAD
[        ] 1.22.4
[  +15 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{u}[ +147 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[ +134 ms] Exit code 0 from: git ls-remote --get-url origin
[ +126 ms] https://github.com/flutter/flutter.git
[ +170 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[ +179 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +255 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[  +80 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[  +40 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[  +20 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skippingupdate.
[  +21 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[  +59 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[   +3 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[  +61 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[  +66 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exedevices -l
[ +171 ms] List of devices attached
emulator-5554          device product:sdk_gphone_x86
model:Android_SDK_built_for_x86 device:generic_x86
transport_id:1
[  +11 ms] C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s
emulator-5554 shell getprop
[ +151 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping
update.
[  +40 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[  +13 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[  +77 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skippingupdate.
[  +42 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[   +2 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required,
skipping update.
[ +625 ms] Found plugin webview_flutter at
C:\src\flutter.pub-cache\hosted\pub.dartlang.org\webview_flutter-1.0.0
[ +471 ms] Found plugin webview_flutter at
C:\src\flutter.pub-cache\hosted\pub.dartlang.org\webview_flutter-1.0.0
[  +68 ms] Generating C:\Users\HP\Documents\IT Classroom\Information Technology
Projects\Flutter\verypass\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +69 ms] ro.hardware = ranchu
[  +66 ms] Using hardware rendering with device Android SDK built for x86. If you
notice
graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
[  +40 ms] Starting incremental build...
[  +32 ms] Initializing file store
[  +69 ms] Skipping target: gen_localizations
[  +46 ms] complete
[  +51 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode...
[  +14 ms] C:\src\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\src\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\src\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/--incremental --target=flutter --debugger-module-names
--experimental-emit-debug-metadata -Ddart.developer.causal_async_stacks=true
--output-dill
C:\Users\HP\AppData\Local\Temp\flutter_tools.53ffc24f\flutter_tool.2c9abfe8\app.dill --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts--track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build\cache.dill.track.dill
[ +157 ms] executing:
C:\Users\HP\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump xmltree
C:\Users\HP\Documents\IT Classroom\Information Technology
Projects\Flutter\verypass\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[ +379 ms] Exit code 0 from:
C:\Users\HP\AppData\Local\Android\sdk\build-tools\29.0.2\aapt dump xmltree
C:\Users\HP\Documents\IT Classroom\Information Technology
Projects\Flutter\verypass\build\app\outputs\flutter-apk\app.apk
AndroidManifest.xml
[   +3 ms] N: android=http://schemas.android.com/apk/res/android
E: manifest (line=2)
A: android:versionCode(0x0101021b)=(type 0x10)0x3e9
A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
A: package="com.example.verypass" (Raw: "com.example.verypass")
A: platformBuildVersionCode=(type 0x10)0x1c
A: platformBuildVersionName=(type 0x10)0x9
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
E: application (line=17)
A: android:label(0x01010001)="VeryPass" (Raw: "VeryPass")
A: android:icon(0x01010002)=@0x7f080000
A: android:name(0x01010003)="io.flutter.app.FlutterApplication"
(Raw: "io.flutter.app.FlutterApplication")
A:
android:appComponentFactory(0x0101057a)="androidx.core.app.CoreCo                 mponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
E: activity (line=22)
A: android:theme(0x01010000)=@0x7f0a0000
A: android:name(0x01010003)="com.example.verypass.MainActivity"                   (Raw: "com.example.verypass.MainActivity")
A: android:launchMode(0x0101001d)=(type 0x10)0x1
A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
A: android:hardwareAccelerated(0x010102d3)=(type
0x12)0xffffffff
E: meta-data (line=36)
A:
android:name(0x01010003)="io.flutter.embedding.android.Normal                     Theme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0a0001
E: meta-data (line=46)
A:
android:name(0x01010003)="io.flutter.embedding.android.Splash                     ScreenDrawable" (Raw:
"io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f040000
E: intent-filter (line=50)
E: action (line=51)
A: android:name(0x01010003)="android.intent.action.MAIN"
(Raw: "android.intent.action.MAIN")
E: category (line=53)
A:
android:name(0x01010003)="android.intent.category.LAUNCHER"                       (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=60)
A: android:name(0x01010003)="flutterEmbedding" (Raw:
"flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
[ +295 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe-s emulator-5554 shell -x logcat -v time -t 1
[ +171 ms] Exit code 0 from:
C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554
shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of main
11-23 21:55:53.502 I/DeviceStateChecker( 2806): DeviceStateChecker
cancelled
[   +3 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe-s emulator-5554 shell -x logcat -v time -t 1
[ +257 ms] Exit code 0 from:
C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554
shell -x logcat -v time -t 1
[   +2 ms] --------- beginning of main
11-23 21:55:53.502 I/DeviceStateChecker( 2806): DeviceStateChecker
cancelled
[  +48 ms] <- compile package:verypass/main.dart
[  +33 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exeversion
[ +150 ms] Android Debug Bridge version 1.0.40
Version 4986621
Installed as
C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +6 ms] executing: C:\Users\HP\AppData\Local\Android\sdk\platform-tools\adb.exestart-server
[ +314 ms] Building APK
[ +116 ms] Running Gradle task 'assembleDebug'...
[  +13 ms] gradle.properties already sets android.enableR8
[  +10 ms] Using gradle from C:\Users\HP\Documents\IT Classroom\Information
Technology Projects\Flutter\verypass\android\gradlew.bat.
[  +76 ms] C:\Users\HP\Documents\IT Classroom\Information Technology
Projects\Flutter\verypass\android\gradlew.bat mode: 33279 rwxrwxrwx.
[  +94 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java
-version
[ +778 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java
-version
[   +1 ms] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
OpenJDK 64-Bit Server VM (build 25.242-b01, mixed mode)
[  +46 ms] executing: [C:\Users\HP\Documents\IT Classroom\Information Technology
Projects\Flutter\verypass\android/] C:\Users\HP\Documents\IT Classroom\InformationTechnology Projects\Flutter\verypass\android\gradlew.bat -Pverbose=true
-Ptarget-platform=android-x86 -Ptarget=C:\Users\HP\Documents\IT
Classroom\Information Technology Projects\Flutter\verypass\lib\main.dart
-Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+29316 ms] > Task :app:compileFlutterBuildDebug
[ +294 ms] [ +251 ms] executing: [C:\src\flutter/] git -c log.showSignature=false
log -n 1 --pretty=format:%H
[  +30 ms] [ +820 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[   +1 ms] [   +1 ms] 1aafb3a8b9b0c36241c5f5b34ee914770f015818
[   +1 ms] [   +1 ms] executing: [C:\src\flutter/] git tag --points-at HEAD
[ +122 ms] [ +153 ms] Exit code 0 from: git tag --points-at HEAD
[ +230 ms] [        ] 1.22.4
[  +13 ms] [  +19 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref
--symbolic @{u}
[   +2 ms] [ +170 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}[   +1 ms] [        ] origin/stable
[  +32 ms] [        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[   +2 ms] [ +108 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[ +183 ms] [ +186 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD[ +212 ms] [ +208 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[  +70 ms] [        ] stable
[   +7 ms] [  +91 ms] Artifact Instance of 'AndroidMavenArtifacts' is not
required, skipping update.
[  +10 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required,
skipping update.
[   +6 ms] [   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required,skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required,skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
required, skipping update.
[   +4 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
required, skipping update.
[  +68 ms] [  +32 ms] Artifact Instance of 'MaterialFonts' is not required,
skipping update.
[   +6 ms] [        ] Artifact Instance of 'GradleWrapper' is not required,
skipping update.
[   +2 ms] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required,
skipping update.
[   +5 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required,
skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping
update.
[   +5 ms] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not
required, skipping update.
[   +5 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required,skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required,skipping update.
[   +4 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not
required, skipping update.
[   +2 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not
required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[   +1 ms] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required,
skipping update.
[  +45 ms] [ +130 ms] Initializing file store
[ +105 ms] [  +46 ms] Done initializing file store
[ +101 ms] [ +193 ms] Skipping target: gen_localizations
[+2095 ms] [+2006 ms] Skipping target: kernel_snapshot
[   +7 ms] [  +12 ms] debug_android_application: Starting due to {}
[+1505 ms] [+1579 ms] Manifest contained wildcard assets. Inserting missing file
into build graph to force rerun. for more information see #56466.
[ +584 ms] [ +572 ms] Persisting file store
[  +10 ms] [  +28 ms] Done persisting file store
[  +90 ms] [  +66 ms] Target debug_android_application failed:
FileSystemException: Cannot copy file to 'C:\Users\HP\Documents\IT
Classroom\Information Technology
Projects\Flutter\verypass\build\app\intermediates\flutter\debug\flutter_assets\service/Transport.png', path = 'C:\Users\HP\Documents\IT Classroom\Information
Technology Projects\Flutter\verypass\service\Transport.png' (OS Error: Access is
denied.
[   +6 ms]            , errno = 5)
[ +107 ms]            #0      _File.copy.
(dart:io/file_impl.dart:328:9)
[  +11 ms]            #1      _rootRunUnary (dart:async/zone.dart:1198:47)
[   +1 ms]            #2      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[   +2 ms]            #3      _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[  +15 ms]            #4      Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +4 ms]            #5      Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +1 ms]            #6      Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[   +1 ms]            #7      Future._asyncCompleteWithValue.
(dart:async/future_impl.dart:567:7)
[   +1 ms]            #8      _rootRun (dart:async/zone.dart:1190:13)
[   +1 ms]            #9      _CustomZone.run (dart:async/zone.dart:1093:19)
[   +1 ms]            #10     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
[   +1 ms]            #11     _CustomZone.bindCallbackGuarded.
(dart:async/zone.dart:1037:23)
[   +3 ms]            #12     _microtaskLoop
(dart:async/schedule_microtask.dart:41:21)
[  +16 ms]            #13     _startMicrotaskLoop
(dart:async/schedule_microtask.dart:50:5)
[   +4 ms]            #14     _runPendingImmediateCallback
(dart:isolate-patch/isolate_patch.dart:118:13)
[   +2 ms]            #15     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:169:5)
[ +131 ms] [ +299 ms] "flutter assemble" took 4,839ms.
[  +24 ms] [  +13 ms]
[   +1 ms]            #0      throwToolExit
(package:flutter_tools/src/base/common.dart:14:3)
[   +1 ms]            #1      AssembleCommand.runCommand
(package:flutter_tools/src/commands/assemble.dart:238:7)
[  +12 ms]            #2      _rootRunUnary (dart:async/zone.dart:1198:47)
[   +1 ms]            #3      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[   +5 ms]            #4      _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[   +5 ms]            #5      Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +5 ms]            #6      Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +1 ms]            #7      Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[   +1 ms]            #8      _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
[  +33 ms]            #9      _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
[  +32 ms]            #10     FlutterBuildSystem.build
(package:flutter_tools/src/build_system/build_system.dart)
[   +1 ms]            #11     _rootRunUnary (dart:async/zone.dart:1198:47)
[   +2 ms]            #12     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[   +1 ms]            #13     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[   +1 ms]            #14     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +1 ms]            #15     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +1 ms]            #16     Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[   +1 ms]            #17     _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
[   +1 ms]            #18     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
[   +1 ms]            #19     _BuildInstance._invokeInternal
(package:flutter_tools/src/build_system/build_system.dart)
[   +1 ms]            #20     _asyncErrorWrapperHelper.errorCallback
(dart:async-patch/async_patch.dart:91:64)
[   +1 ms]            #21     _rootRunBinary (dart:async/zone.dart:1214:47)
[   +1 ms]            #22     _CustomZone.runBinary (dart:async/zone.dart:1107:19)[   +2 ms]            #23     _FutureListener.handleError
(dart:async/future_impl.dart:157:20)
[   +7 ms]            #24     Future._propagateToListeners.handleError
(dart:async/future_impl.dart:708:47)
[   +1 ms]            #25     Future._propagateToListeners
(dart:async/future_impl.dart:729:24)
[   +1 ms]            #26     Future._completeError
(dart:async/future_impl.dart:537:5)
[   +1 ms]            #27     _AsyncAwaitCompleter.completeError
(dart:async-patch/async_patch.dart:47:15)
[   +1 ms]            #28     AndroidAssetBundle.build
(package:flutter_tools/src/build_system/targets/android.dart)
[   +1 ms]            #29     _asyncErrorWrapperHelper.errorCallback
(dart:async-patch/async_patch.dart:91:64)
[   +2 ms]            #30     _rootRunBinary (dart:async/zone.dart:1214:47)
[   +3 ms]            #31     _CustomZone.runBinary (dart:async/zone.dart:1107:19)[   +1 ms]            #32     _FutureListener.handleError
(dart:async/future_impl.dart:157:20)
[   +1 ms]            #33     Future._propagateToListeners.handleError
(dart:async/future_impl.dart:708:47)
[   +1 ms]            #34     Future._propagateToListeners
(dart:async/future_impl.dart:729:24)
[   +1 ms]            #35     Future._completeError
(dart:async/future_impl.dart:537:5)
[   +1 ms]            #36     _AsyncAwaitCompleter.completeError
(dart:async-patch/async_patch.dart:47:15)
[  +21 ms]            #37     copyAssets
(package:flutter_tools/src/build_system/targets/assets.dart)
[   +1 ms]            #38     _asyncErrorWrapperHelper.errorCallback
(dart:async-patch/async_patch.dart:91:64)
[   +1 ms]            #39     _rootRunBinary (dart:async/zone.dart:1214:47)
[        ]            #40     _CustomZone.runBinary (dart:async/zone.dart:1107:19)[        ]            #41     _FutureListener.handleError
(dart:async/future_impl.dart:157:20)
[   +1 ms]            #42     Future._propagateToListeners.handleError
(dart:async/future_impl.dart:708:47)
[   +1 ms]            #43     Future._propagateToListeners
(dart:async/future_impl.dart:729:24)
[   +1 ms]            #44     Future._completeError
(dart:async/future_impl.dart:537:5)
[   +1 ms]            #45     Future.wait.
(dart:async/future.dart:426:23)
[   +1 ms]            #46     _rootRunUnary (dart:async/zone.dart:1198:47)
[        ]            #47     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[        ]            #48     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[   +2 ms]            #49     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +1 ms]            #50     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +2 ms]            #51     Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[   +1 ms]            #52     _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
[   +1 ms]            #53     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
[   +1 ms]            #54     copyAssets.
(package:flutter_tools/src/build_system/targets/assets.dart)
[   +1 ms]            #55     _rootRunUnary (dart:async/zone.dart:1198:47)
[   +1 ms]            #56     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[   +1 ms]            #57     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[   +1 ms]            #58     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +1 ms]            #59     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +1 ms]            #60     Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[   +2 ms]            #61     _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
[   +2 ms]            #62     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
[   +7 ms]            #63     ForwardingFile.copy
(package:file/src/forwarding/forwarding_file.dart)
[   +2 ms]            #64     _rootRunUnary (dart:async/zone.dart:1198:47)
[   +1 ms]            #65     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[   +1 ms]            #66     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[   +1 ms]            #67     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +2 ms]            #68     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +2 ms]            #69     Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[   +3 ms]            #70     _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
[   +2 ms]            #71     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
[   +1 ms]            #72     ForwardingFile.copy
(package:file/src/forwarding/forwarding_file.dart)
[   +1 ms]            #73     _rootRunUnary (dart:async/zone.dart:1198:47)
[   +1 ms]            #74     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
[   +1 ms]            #75     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
[   +1 ms]            #76     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
[   +1 ms]            #77     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
[   +1 ms]            #78     Future._completeWithValue
(dart:async/future_impl.dart:529:5)
[  +40 ms]            #79     Future._asyncCompleteWithValue.
(dart:async/future_impl.dart:567:7)
[  +52 ms]            #80     _rootRun (dart:async/zone.dart:1190:13)
[   +1 ms]            #81     _CustomZone.run (dart:async/zone.dart:1093:19)
[   +1 ms]            #82     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
[        ]            #83     _CustomZone.bindCallbackGuarded.
(dart:async/zone.dart:1037:23)
[   +1 ms]            #84     _microtaskLoop
(dart:async/schedule_microtask.dart:41:21)
[   +1 ms]            #85     _startMicrotaskLoop
(dart:async/schedule_microtask.dart:50:5)
[   +1 ms]            #86     _runPendingImmediateCallback
(dart:isolate-patch/isolate_patch.dart:118:13)
[   +1 ms]            #87     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:169:5)
[   +1 ms] [   +4 ms] ensureAnalyticsSent: 1ms
[        ] [   +4 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [  +11 ms] exiting with code 1
[   +1 ms] > Task :app:compileFlutterBuildDebug FAILED
[   +1 ms] 1 actionable task: 1 executed
[   +1 ms] FAILURE: Build failed with an exception.
[   +1 ms] * Where:
[        ] Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle'
line: 904
[   +1 ms] * What went wrong:
[   +1 ms] Execution failed for task ':app:compileFlutterBuildDebug'.
[   +9 ms] > Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with
non-zero exit value 1
[   +2 ms] * Try:
[   +1 ms] Run with --stacktrace option to get the stack trace. Run with --info or--debug option to get more log output. Run with --scan to get full insights.
[   +4 ms] * Get more help at https://help.gradle.org
[   +1 ms] BUILD FAILED in 35s
[ +554 ms] Running Gradle task 'assembleDebug'... (completed in 37.5s)
[+4600 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +4 ms] "flutter run" took 46,568ms.
[   +9 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)           #1      RunCommand.runCommand
(package:flutter_tools/src/commands/run.dart:607:7)

#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:977:18)
#3      _rootRunUnary (dart:async/zone.dart:1198:47)
#4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#5      _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
#6      Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
#7      Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
#9      _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
#10     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
#11     RunCommand.usageValues
(package:flutter_tools/src/commands/run.dart)
#12     _rootRunUnary (dart:async/zone.dart:1198:47)
#13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#14     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
#15     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
#16     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#18     _AsyncAwaitCompleter.complete
(dart:async-patch/async_patch.dart:40:15)
#19     _completeOnAsyncReturn
(dart:async-patch/async_patch.dart:311:13)
#20     AndroidDevice.isLocalEmulator
(package:flutter_tools/src/android/android_device.dart)
#21     _rootRunUnary (dart:async/zone.dart:1198:47)
#22     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
#23     _FutureListener.handleValue
(dart:async/future_impl.dart:143:18)
#24     Future._propagateToListeners.handleValueCallback
(dart:async/future_impl.dart:696:45)
#25     Future._propagateToListeners
(dart:async/future_impl.dart:725:32)
#26     Future._completeWithValue (dart:async/future_impl.dart:529:5)
#27     Future._asyncCompleteWithValue.
(dart:async/future_impl.dart:567:7)
#28     _rootRun (dart:async/zone.dart:1190:13)
#29     _CustomZone.run (dart:async/zone.dart:1093:19)
#30     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#31     _CustomZone.bindCallbackGuarded.
(dart:async/zone.dart:1037:23)
#32     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#33     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#34     _runPendingImmediateCallback
(dart:isolate-patch/isolate_patch.dart:118:13)
#35     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:169:5)
[  +25 ms] ensureAnalyticsSent: 5ms
[   +2 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +8 ms] Shutdown hooks complete
[   +1 ms] exiting with code 1

@dultcher
can you provide your flutter doctor -v and your flutter build apk -v
C:\Users\HP>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.4, on Microsoft Windows [Version 10.0.18363.1198], locale en-GB)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code (version 1.51.1)
[√] Connected device (1 available)
! Doctor found issues in 1 category.
Instead I've installed Android, the most recent version with Dart, Flutter plugins in

The ERROR that I get
PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter run
Using hardware rendering with device Android SDK built for x86. If you notice
graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
FAILURE: Build failed with an exception.

Where:
Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 1m 31s
Running Gradle task 'assembleDebug'... Done                        93.7s
Exception: Gradle task assembleDebug failed with exit code 1
PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter verbose
Could not find a command named "verbose".
Run 'flutter -h' (or 'flutter  -h') for available flutter commands and
options.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

try running
flutter clean
flutter upgrade
it work for me.

anyone who found a solution yet?

@neezystudio
this issue was closed 3 months ago because not reproducible and therefore not workable
currently is not worked on
please follow the indication in this reply

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

@neezystudio
this issue was closed 3 months ago because not reproducible and therefore not workable
currently is not worked on
please follow the indication in this reply

Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.

Thanks I'll just die😂


addPostFrameCallback' cannot be called on 'WidgetsBinding?'

Error: Method 'addPostFrameCallback' cannot be called on 'WidgetsBinding?' because it is potentially null.
Hi i got this error, can you update the lib?

#21


Refactor navigation

Objective and Motivation

The trainers can go back and forth from one page to the other

@eduardavercosa there are conflicts here


Setup lint staged to fix linting of staged files

@issuehuntfest has funded $40.00 to this issue. See it on IssueHunt

@anshumanv has submitted a pull request. See it on IssueHunt

@anshumanv has rewarded $28.00 to @anshumanv. See it on IssueHunt

:moneybag: Total deposit: $40.00
:tada: Repository reward(20%): $8.00
:wrench: Service fee(10%): $4.00


v2.0.8 getGranularity returns 'NoneType'

Describe the bug
Error reading the granularity when launching.
Most likely a error reading the config file.
To Reproduce
docker-compose.yml
  pycryptobot_btc:
    image: ghcr.io/whittlem/pycryptobot/pycryptobot:latest
    container_name: pycryptobot_btc
    volumes:
      - ./market/btc-usd/config.json:/app/config.json
      - ./market/btc-usd/pycryptobot.log:/app/pycryptobot.log
      - ./market/btc-usd/graphs:/app/graphs
      - /etc/localtime:/etc/localtime:ro
    environment:
      - PYTHONUNBUFFERED=1
    deploy:
      restart_policy:
        condition: on-failure

config.json
{
    "api_url" : "https://api.pro.coinbase.com",
    "api_key" : "...",
    "api_secret" : "...",
    "api_pass" : "...",
    "config" : {
        "base_currency" : "BTC",
        "quote_currency" : "USD",
        "live" : 1,
        "verbose" : 0,
        "sellatloss" : 0
    }
}

Expected behavior
I expected the bot to use automatic granularity since it is not specified in the config.json.
Screenshots
--------------------------------------------------------------------------------
|                             Python Crypto Bot                                |
--------------------------------------------------------------------------------
|               Release :                                                      |
--------------------------------------------------------------------------------
|              Bot Mode : TEST - test trades using dummy funds :)              |
|           Bot Started : 2021-05-13 12:12:21.649132                           |
================================================================================
|          Sell At Loss : True  --sellatloss 1                                 |
|    Sell At Resistance : False  --sellatresistance                            |
|       Trade Bull Only : True  --disablebullonly                              |
|         Buy Near High : True  --disablebuynearhigh                           |
|          Use Buy MACD : True  --disablebuymacd                               |
|           Use Buy OBV : True  --disablebuyobv                                |
|     Use Buy Elder-Ray : True  --disablebuyelderray                           |
|    Sell Fibonacci Low : True  --disablefailsafefibonaccilow                  |
|  Candlestick Reversal : True  --disableprofitbankreversal                    |
|              Telegram : True  --disabletelegram                              |
|                   Log : True  --disablelog                                   |
|               Tracker : True  --disabletracker                               |
|      Auto restart Bot : False  --autorestart                                 |
================================================================================
TypeError("int() argument must be a string, a bytes-like object or a number, not 'NoneType'")
Traceback (most recent call last):
  File "/app/pycryptobot.py", line 1095, in <module>
    main()
  File "/app/pycryptobot.py", line 1058, in main
    runApp()
  File "/app/pycryptobot.py", line 1053, in runApp
    executeJob(s, app, state)
  File "/app/pycryptobot.py", line 232, in executeJob
    trading_data = app.getHistoricalData(app.getMarket(), app.getGranularity())
  File "/app/models/PyCryptoBot.py", line 212, in getGranularity
    return int(self.granularity)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Docker (please complete the following information):

Host OS: Debian
Bot Version: 2.0.8
Market: Coinbase Pro

Additional context
Bot runs fine on 2.0.7 and lower with the same config.json and docer-compose.yml.

I am having the exact same issue. It happened on the latest version but was not happening before I pulled the newest changes

I think this was all related to:
https://github.com/whittlem/pycryptobot/issues/178
I've fixed it. Can you try again please?

Puled the latest image  (ghcr.io/whittlem/pycryptobot/pycryptobot:latest) and I have the same problem.
xlm-eur    |   File "/app/pycryptobot.py", line 1099, in
xlm-eur    |     main()
xlm-eur    |   File "/app/pycryptobot.py", line 1045, in main
xlm-eur    |     telegram.send('Starting Coinbase Pro bot for ' + app.getMarket() + ' using granularity ' + str(app.getGranularity()))
xlm-eur    |   File "/app/models/PyCryptoBot.py", line 212, in getGranularity
xlm-eur    |     return int(self.granularity)
xlm-eur    | TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Your config has issue. You should have binance or coinbasepro entry first, then the apis, then the config as below.
{
    "binance" : {
        "api_url" : "https://api.binance.com",
        "api_key" : "",
        "api_secret" : "",
        "config" : {
            "base_currency" : "BTC",
            "quote_currency" : "GBP",
            "granularity" : "1h",
            "live" : 0,
            "sellatloss" : 0,
            "disablebullonly" : 1,
            "disablebuyobv" : 1,
            "disablebuyelderray" : 1,
            "disablelog" : 1,
            "disabletracker" : 1
        }
    },
    "telegram" : {
        "token" : "",
        "client_id" : ""
    }
}

The update fixed it for me!

For me too, had to update config.json to the new format

Glad it worked. Closing this ticket..


Yeah, repaired easter egg

Well, I activated the Easter egg, and now I can’t disable it, so I make this to restore the easter egg, and return it to the normal screen

Easter eggs aren't broken, you disable them by typing the code again
This PR is useless

I mean, I typed bb, and now I can’t get gf back, but with this, it will reset the Easter egg, not disabling it

You type bbpanzu not bb, close this already

TitleState.hx line 469


SPHERE marker type visualization

Adding the functionality to visualize the SPHERE marker type - very useful for visualizing error covariances.

I also assume your math is correct, I still need to test the changes.
Can you please format your calculations to something like this:
    iso.transform_point(
        &Point3::new(
            0.5 * scale.x *  ( ifl * step ).sin(),
            0.5 * scale.y *  ( ifl * step ).cos(),
            0.0,
    ));

(I also think you have too many brackets, but I would need to double-check)
Also, can you add a small comment what you are doing.
Last point, please squash your commits.

I have run cargo fmt and squashed the commits as requested.

Thank you for the fast response, I ran your code and it looks great.
One last thing from my side: can you change your commit message to something like:
Add the functionality to visualize the SPHERE marker type

very useful for visualizing error covariances.

I opened:
https://github.com/carzum/termviz/issues/78
We will add the style guides for contribution to the Readme so that it is clear for future PRs

Thanks

Agreed.  I would personally also skip the 'very useful part' .
Just "Add Sphere support for Markers" is good enough and explains it well

@MaxiMaerz This is embarrassing, but it seems that I had set the wrong git email address in the computer where I made all my commits (both PRs) - it should have been<EMAIL_ADDRESS>and I wrote it with .com domain instead, so github doesn't associate them with me - could you please change the email address on my commits?

@ViktorWalter Fixed it! We will be more fussy in the future :smile:

Thanks a lot 😄.


Clear permissions cache not working

When trying to update a user in the admin console, or changing the permissions for a node in the graph manager, the update fails because there is a hard-coded URL that assumes the context root is '/'. Needed to make a change to prepend the context root in both of these circumstances.
This required a change to Arches Core, PR is here:
https://github.com/archesproject/arches/pull/8425

PR with fix submitted to Arches Core today at 6am


Using frameworks supported by Russian institutions

Hello,
I just wanted to know if it is OK to use frameworks like https://pypi.org/project/etna/ from your perspective. This specific framework is supported by https://tinkoff-group.com/ which seems to be a Russian institution.
Many thanks

It's directly associated/coupled with Tinkoff.ru so I'd suggest boycotting it.


Slack thing that creates the Zenhub support ticket + a template or basic options

Background

Slack thing that creates the Zenhub support ticket + a template or basic options
Acceptance Criteria

[ ] Can raise support tickets via slack

Reference
How to write good user stories

Option to look at - https://github.blog/changelog/2022-10-19-github-app-in-slack-issue-create-and-manage-experience/

Zenhub slack integration wasn't working for us. We've also now tried the Github slack app. The down side of using this is that it is very noisy for the channel. A link to the issue is posted to the channel even if issues is unsubscribed from the channel. Going to abandon this for now.


fix(*): fix error message

Fixes error message when a deferred value can never be resolved to read more fluently.
I checked other usages in this file and found no other obvious violations, so this is unfortunately One Of Those:tm: prs.

[x] Docs
[ ] Tests

Testing Strategy:
N/A

@machour I assume changing this error resulted in some failures, thus the revert?

@c43721 Thank you for this 🙏🏼


New package: BellSoft.LibericaJRE.8 version 8u392+9

Pull request has been created with Komac v1.11.0 :rocket:

Resolve https://github.com/microsoft/winget-pkgs/issues/113719

Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain


Select language manually in preferences

Is there a way to add an override to what language you use?
I wrote the Norwegian translation but I'm guessing my language either identifies as "nb_NO" or "nn_NO" (two variations of Norwegian language). I made a pull request for simply "NO" as that's the language in general.
Would maybe an easy workaround for this be to let us choose language - or "auto" in preferences?

I think that's a feature I'd prefer not to have. System language detection should be sufficient. I also haven't found any apps on my Mac that have such a feature.

I've created a new issue for the bug related to Norwegian language detection: #90

Just found out that app-specific language overrides are supported by macOS itself: System Preferences → Language & Region → Apps.


Neovim Powerline Separator not working

Hi,
I have setup powerline but it is not working for neovim on osx... same config working on vim and neovim on ubuntu

I am sorry, I don't understand. Please follow the Guideline for reporting an issue

Oh, is that #993 and #994 fixes it?

@chrisbra hi just tested the pull request and it is working for me! (osx, iterm2, neovim) https://github.com/vim-airline/vim-airline/pull/994

closed by #994


Accessing optional nested struct value

I am trying to access a nested struct value using dot notation.
Something like this
// Model
class NestedModel {
var name: String?;
}
class Model {
var nestedModel: NestedModel?;
}
// layout.xml
    <UILabel
        width="100%"
        textColor="titleColor"
        text="{nestedModel.name}"
    />

The error says it is an unknown property.
 Unknown property name in nestedModel in nestedModel.name expression in text expression in UILabel in UIView

Is there any way to unwrap the optional value in the template

This looks like an oversight in Layout’s type system. I don’t think there’s a workaround other than making the value non-optional - I’ll try to fix it for the next release.

@silentninja this is now fixed on the develop branch.

Fixed in version 0.6.25


Add put and collectionOperations to resources

Issue #, if available: N/a
Description of changes:
This removes the collection trait in favor of adding put and
collectionOperations attributes on resources. With this change, an
idempotent operation that creates a resource using all of its
identifiers will now go under put, and create is reserved for
operations that don't include all the identifiers. This creates a clear
distinciton between create operations that work on the resource instance
vs the collection.
Additionally, a collectionOperations attribute was added that will
contain all operations that apply to the resource collection. Operations
in the regular operations list must now bind all the resources
identifiers. This makes the determination of which operations are
instance operations vs which are collection operations more explicit,
and allows for better validation.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

One more change: ModelSerializer needs to be updated https://github.com/awslabs/smithy/blob/master/smithy-model/src/main/java/software/amazon/smithy/model/shapes/ModelSerializer.java#L226

Updated the serializer


The result of each run is random

Thanks for your contribution, I pulled down your code and tested it on my data;
The slope and intercept of RANSAC implemented by Pytorch are stable at
'coef': [[-4.90434043]]
intercept: [323.05705421]
The slope and intercept obtained by your code are random each time
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 29.7956 ms.
1: Pt1:(59,16), Pt2:(53,38)
slope: -3.666667, intercept: 232.333333
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 25.977 ms.
1: Pt1:(52,90), Pt2:(61,36)
slope: -6.000000, intercept: 402.000000
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 26.7776 ms.
1: Pt1:(53,69), Pt2:(62,17)
slope: -5.777778, intercept: 375.222222
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 23.9506 ms.
1: Pt1:(42,112), Pt2:(56,50)
slope: -4.428571, intercept: 298.000000
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 27.3859 ms.
1: Pt1:(49,79), Pt2:(51,62)
slope: -8.500000, intercept: 495.500000
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 29.1753 ms.
1: Pt1:(46,94), Pt2:(53,36)
slope: -8.285714, intercept: 475.142857
root@9e1aa64f75aa:/work/GRANSAC/build# make -j8 && ./LineFittingSample
[100%] Built target Line Fitting Sample
[ INFO ]: Maximum usable threads: 8
RANSAC took: 23.9844 ms.
1: Pt1:(54,56), Pt2:(61,6)
slope: -7.142857, intercept: 441.714286

您好，我是林旭军，您的邮件我已经收到，我会尽快回复的，谢谢！祝您生活愉快！


Basics to support using in Objective-C Projects

To use a Swift class in an Objective-C project, the @objc annotation
must be used in front of the class. This annotation must also be used
on enums, in addition to adding the type to the enum.
Exposing enums to Objective-C was added in Swift 1.2.

@philackm, any chance you can merge this pull request, or make the changes yourself? I'd like to start using the cocoapod you created (thanks for that!) but can't until it supports using in an objective-c project.
Thanks!

Ah, this was supposed to be merged into 1.0.0, must have gotten lost somewhere along the way. 1.0.1 should be fine. Let me if you have any problems.


Merge novis.mac and vis.mac to make a single default executable

We currently have two macros (novis.mac and vis.mac) which differ only in that one of them has the visualization turned on. We should make a single, simple macro where we can turn on and off the visualization using a command. Thanks to @fdilodov for suggesting this.

Solved by #142


Running fusion dev with a concurrent process causes server error that requires manual refresh

I don't know how to describe this issue. Fusion seems to struggle to recover from some server errors and require a manual refresh to restart. If you run a concurrent process, such a monorepo babel watch process along with fusion dev, fusion will end up crashing and resulting in the following error:
Error: connect ECONNREFUSED <IP_ADDRESS>:53837
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)

You end up having to manually refresh everytime you boot up your server.
Type of issue
Feature request?
Current behavior
Server errors crash Fusion in the browser and require manual refresh in browser.
Expected behavior
Server errors should should automatically refresh the browser or recover itself if possible.
Steps to reproduce
I don't have a public repo for this, but can provide an Uber internal repo where this happens every time.

I have not seen the Error: connect ECONNREFUSED <IP_ADDRESS>:53837 error before.
SSR errors today do result in the "redbox error screen", which do require a full refresh to recover from. We would like to have this page automatically refreshed. We can keep this bug open to track that issue and see if it solves your manual refresh problems.


Arithmetic potential null values

Arithmetic values are not treated the same if null coalesce operator is used instead of HasValue on nullable integer types
Steps to reproduce
Project available here and source code
Two expressions that, imo, should yield the same result doesn't
1.
a => (a.A1.Cost ?? 0 + a.A2.Cost ?? 0 + a.A3.Cost) > limit;

SELECT *
FROM [SetA] AS [a]
LEFT JOIN [A3] AS [a.A3] ON [a].[A3Id] = [a.A3].[Id]
LEFT JOIN [A2] AS [a.A2] ON [a].[A2Id] = [a.A2].[Id]
LEFT JOIN [A1] AS [a.A1] ON [a].[A1Id] = [a.A1].[Id]
WHERE COALESCE([a.A1].[Cost], COALESCE(0 + [a.A2].[Cost], 0 + [a.A3].[Cost])) > 10
ORDER BY [a].[A3Id], [a].[A2Id], [a].[A1Id]

a => ((a.A1.Cost.HasValue ? a.A1.Cost.Value : 0) +
          (a.A2.Cost.HasValue ? a.A2.Cost.Value : 0)
          + a.A3.Cost) > limit;

SELECT*
FROM [SetA] AS [a]
LEFT JOIN [A3] AS [a.A3] ON [a].[A3Id] = [a.A3].[Id]
LEFT JOIN [A2] AS [a.A2] ON [a].[A2Id] = [a.A2].[Id]
LEFT JOIN [A1] AS [a.A1] ON [a].[A1Id] = [a.A1].[Id]
WHERE ((CASE
    WHEN [a.A1].[Cost] IS NOT NULL
    THEN [a.A1].[Cost] ELSE 0
END + CASE
    WHEN [a.A2].[Cost] IS NOT NULL
    THEN [a.A2].[Cost] ELSE 0
END) + [a.A3].[Cost]) > 10
ORDER BY [a].[A3Id], [a].[A2Id], [a].[A1Id]

Perhaps because if SQL server backwards compatability reasons, but couldn't above just be rewritten with ISNULL(..., 0)? Probably no performance gains, but the SQL would be more readable :)
Further technical details
EF Core version: 1.1.1
Database Provider:  Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 10
IDE: Visual Studio 2017 Community

Addition (+) has higher operator precedence in C# than coalesce (??). So effectively first expression becomes a => (a.A1.Cost ?? (0 + a.A2.Cost) ?? (0 + a.A3.Cost)) > limit; Which makes both the expressions different and yields different translation. (both of them are correct from what has been provided in user query).
Can you check what is the query generated when you write the first expression like this
a => ((a.A1.Cost ?? 0) + (a.A2.Cost ?? 0) + a.A3.Cost) > limit;

@smitpatel Thanks for quick answer.
a => (a.A1.Cost ?? 0) + (a.A2.Cost ?? 0) + a.A3.Cost > limit;

SELECT *
FROM [SetA] AS [a]
LEFT JOIN [A3] AS [a.A3] ON [a].[A3Id] = [a.A3].[Id]
LEFT JOIN [A2] AS [a.A2] ON [a].[A2Id] = [a.A2].[Id]
LEFT JOIN [A1] AS [a.A1] ON [a].[A1Id] = [a.A1].[Id]
WHERE ((COALESCE([a.A1].[Cost], 0) + COALESCE([a.A2].[Cost], 0)) + [a.A3].[Cost]) > 100
ORDER BY [a].[A3Id], [a].[A2Id], [a].[A1Id]

Looks good 👍

Is there any way that is "better" than the other? The generated SQL looks more attractive, I'll use it soley for that ;)

According to https://docs.microsoft.com/en-us/sql/t-sql/language-elements/coalesce-transact-sql,
The COALESCE expression is a syntactic shortcut for the CASE expression and rewritten by query optimizer into CASE statements.
So, both are same performance-wise. COALESCE generates a shorter (and prettier may be) query. 😄

@smitpatel Shorter is always better - at least when it comes to code ;)

@smitpatel
Added three statements with ??-operator and everything works, of course, but there seem the be exessive parenthesis
a => (a.A1.Cost ?? 0) + (a.A2.Cost ?? 0) + (a.A3.Cost ?? 0) > limit;

produces
((COALESCE([a.A1].[Cost], 0) + COALESCE([a.A2].[Cost], 0)) + COALESCE([a.A3].[Cost], 0))

Tried adding parenthesis around the three statements but the generated sql is the same

During our SQL generation, we don't try to reason about operator precedence in SQL. It would require us to look into all nodes together & apply complex logic. Also precedence can vary between different providers. Therefore we just generate SQL with explicit operator precedence.
I would expect a + b + c which is interpreted by compiler (and thus query parser) as (a + b) + c would be translated to SQL with parenthesis only.

Fair point :)

@smitpatel "All of a sudden" my custom sorting expressions stopped working. The generated SQL is
Microsoft.EntityFrameworkCore.Query.Internal.SqlServerQueryCompilationContextFactory:Warning: The LINQ expression 'orderby ((((?[p.Instagram].Cost?) ?? 0) + ((?[p.Blog].Cost?) ?? 0)) + ([p].Youtube.Cost ?? 0)) desc' could not be translated and will be evaluated locally

instead of correctly applying COALESCE operator. However this issue is not present in the linked test project allthough they reference the same version of EF, namely Microsoft.EntityFrameworkCore.SqlServer-v.1.1.0.
The project that doesn't work is a ASP.NET Core MVC project so perhaps some other library causing this missmatch.
Function:
public static Expression<Func<Profile, int>> OrderByCost()
            {
                return p => (p.Instagram.Cost ?? 0) +
                    (p.Blog.Cost ?? 0) +
                   (p.Youtube.Cost ?? 0);
            }

This works in EF.

So this will be incredibly hard to debug... I'll add a WebApplication project and see if I can reproduce it within that context. It runs fine in console mode and only referencing EF-packages

Not a big surprise that there was a application error - a change in the datamodel was the cause. Had a property on my domain model that no longer mapped against a column in the database hence the issue.
Sorry for taking your time!


move logback-test.xml to completely resolve issues 1813 & 709

see #1813 & #709

Any reason this hasn't been approved/pulled? This file is causing major issues for anyone using Swagger that also wants to use their own logback file. Seems to me the logback-test.xml file is currently in the wrong place, since it would seem it should be in the test resources.

@frantuma

@frantuma any chance you could update the swagger-project/swagger-servlet version to 1.5.17 to push the change to Maven repo? Or do you have a timeframe for when that might happen?


[build] Don't reset 'swiftlib_link_flags_all' unnecessarily

Done in #29017 but this variable has already been set just above, so all subsequent flags added are wiped, which breaks setting the soname for target libraries on Android (@SDGGiesbrecht, let me know if this patch fixes the Android linking issue you mentioned on the forum, it should), among others.
@devincoughlin, I don't know if this was a temporary change you needed or if those prior modified flags were affecting your Catalyst work somehow, let me know.

let me know if this patch fixes the Android linking issue you mentioned

Quite possibly, but I won’t be able to definitively test it until it is merged and Azure has created an artifact with it. I left a reminder for myself to check in a few days.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b0498fa03d6baeca46b956237c5edd427315204b

Build failed
Swift Test Linux Platform
Git Sha - b0498fa03d6baeca46b956237c5edd427315204b

Both CI failures appear to be spurious: the mac one didn't even get past git checkout of other Swift repositories, while I have no idea why that SwiftPM test would fail on linux, as it passed for me locally on an Android host with this pull.

@swift-ci please test

Good to go?

I think @devincoughlin should pitch in before merging this. The line might be internally important for Apple, but it is obviously affecting some other platforms. In the meantime, can you adapt this after #29807?

Rebased.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - b0498fa03d6baeca46b956237c5edd427315204b

Build failed
Swift Test OS X Platform
Git Sha - b0498fa03d6baeca46b956237c5edd427315204b

@devincoughlin, this broke the Android SDK a couple months ago, can you chime in?

I think we can go ahead with this, it's fairly obvious that he made a mistake.

Ping @CodaFi, the Swift SDK for Android has been broken for the last couple months since this line slipped in, would be good to get this in before the 5.3 branch.

I am not the right person to review CMake changes.
Saleem added this line, so @compnerd could you look this over?

Saleem added this line

No, that's what a quick git blame will show, but it was actually added by the Catalyst changes, see the OP. Saleem simply moved it in one of his subsequent CMake refactors. I don't care who reviews it, but @drodriguez seemed okay with it, and it has sat in limbo for several weeks since the original author has not responded to repeated pings.
@CodaFi, I was just hoping you'd prod someone about this, or it's a really simple one-line removal to review, which doesn't really make sense before this patch, as explained in the OP.

Ah, then @devincoughlin is probably right.

@CodaFi I think that this is correct, but it should be tested with the catalyst build as it was previously dropping the linker flags.

Given that it is dropping flags, let’s merge cause the flags should be applied, we can filter our flags that catalyst may end up with issues on.

@buttaface, the issue I noted is no longer a problem (though so much time passed in between that it’s hard to say whether this was the thing that fixed it).

Well, it should be pretty easy, just check what commit of Swift master worked, because this pull was just reverted. If the few commits with this patch work, but the latest master doesn't, you know that this fixed it (or maybe the builds you're using have this and other fixes locally applied, I don't know what they do).


[5.8] fix container resolveDependencies method

some php predefined class constructor parameter is optional and has not default value
but container's resolveDependencies method not support this case.
so currently below code will cause an error.
app(\DateTime::class) // Error
app(\ArrayObject::class) //Error

ps)
I use laravel cointainer's object resolver instead of php new keyword.
because I use it when testing(mock)

I am closing this pull request because it lacks sufficient explanation, tests, or both. It is difficult for us to merge pull requests without these things because the change may introduce breaking changes to the framework.
Feel free to re-submit your change with a thorough explanation of the feature and tests - integration tests are preferred over unit tests. Please include it's benefit to end users; the reasons it does not break any existing features; how it makes building web applications easier, etc.
Thanks!


Implement /search route

Does search find parties?
Does search find messages inside a party?

Both?


[question] How do I render line numbers on the server-side?

is there a way to add line count when i use hljs in node.js? (it can be anything, plugins, code or whatever that works)

https://github.com/taufik-nurrohman/highlight.ln.js
Let me see if I can add support for Node.js

@joshgoebel to add support for Node.js, do I need to install jsdom and then define window and document variable from there? Or, is it okay to just add UMD pattern in my plugin?

I don't know.  That is a very unusual way to use Highlight.js - I wouldn't encourage it.  The best way to do complex line numbers is to walk the parse-tree (or provide an alternative emitter - see lowlight) and then render the line numbers side by side with the original content.  But first I'd find out what the real requirements are here.  MANY, many users don't need mixed output at all... a block of line numbers and a block of code (separately) just styled smartly with CSS do the job... and this is usually only a few lines of JS to build the line numbers.
For example a one-liner (though not guaranteed to be performant, a loop would be better) to generate the HTML:
"" + new Array(lines).fill().map((x,i) => `${i}`).join("\n") + ""

And then use something like flexbox to do the CSS positioning...

Ok, after glancing at your plugin again, you do that... you just use the DOM.  I personally would forget about the DOM and just render the HTML as a string.  So your plugin would add a method for users who wanted to generate html and it would return raw code... and you'd alter your plugin calls to just call that method and then have 1-2 lines of glue to add it to the DOM, IE:
// add a new function
highlightWithLineNumbers(...)

That's just off the top of my head.

So, something like code.innerHTML = lines + code.innerHTML is good to go?
I wonder how you make hljs.initHighlightingOnLoad() to make it work in Node.js, since they have document event listener and document query selector.

None of that matters inside Node.js... inside Node.js there is no DOM, there is no browser...  Someone is going to call a function you provide and expect some HTML, you give them that HTML.  You're done.  IE, perhaps you give them:
line numbers
real code

Then the plugin portion of your code calls that function ALSO, and your plugin shrinks to something like:
let html = generateHTMLWithLineNumbers(code, language)
block.innerHTML = html

May be a little more complex setting CSS classes on the parent node, etc... but again you're already doing it... just most of the code needs to move inside generateHTMLWithLineNumbers and you need to work with strings not DOM.  Only using DOM at the very end (for the plugin portion).

Closing as asked and answered. :)


Change default currency for pt locale to EUR

Having euro as a default currency for the Portuguese locale is a lot more convenient than a Brazilian dollar.
Closes #296

@googlebot I signed it!

Just realized that this file is autogenerated based on CLDR.
Nevertheless, there was a related conversation in Angular. According to the comment by @lgalfaso, CLDR does not define default currencies for language locales without country code, so it is unclear to me on what basis this choice is made.
And according to the same conversation, but to the comment by @mgallag, Angular also uses http://go/generate_number_constants.py for generating similar file, which is probably a closed Google's tool. I don't know how to approach this issue then.
I will document the manual change as requested by the file's header and hope that PR will either be merged or maintainers and/or Googlers will review http://go/generate_number_constants.py to determine whether or not this choice has a solid base.
From what I can assume, this tool takes the next specific locale and uses it as a default currency, which is tricky.

Closing this, as Portuguese (Brazil) [pt_BR] is the default content locale for Portuguese [pt].


Allow null value when deserializing response

MessagingPlan and Region in Eventhub are TrackedResource and TrackedResource has a "tags"(a dictionary) property. The response of MessagingPlan and Region has "tags":null, which causes error in deserialization.

Has filed a S360 ticket to AppService teams, waiting for response

@m-nash disagree this change in autorest.csharp, as we can use directive to omit this kind of error, so close it


[Modified] remover/variable

Hello dear developer,
Thank you for providing us scapers this cool feature to shorten tedious names.
Is there a possibility to remove the [Modified] display ingame? Or change it to [M]?

Cheers

https://github.com/ejaz-karim/reword-manager/issues/7
If you can convince Nightfirecat, the runelite plugin moderator, then sure. Otherwise, I won't be able to remove the tag.


GCP Permission issues

Hey all!
I am trying to setup opencost to monitor a test gcp cluster for finical improvement etc. I have given an API key Compute Admin and Billing Project Manager. When doing this I get an error about not being able to view reserved instances. Should I be giving different permissions on this? or should I just follow the cost analyzer doc for the permissions the key or SA would need?
Thanks!

Is this a duplicate of https://github.com/opencost/opencost-helm-chart/issues/87?

No, in this case I am getting told that I cannot view reserved instances with error 403 compute.commitments.list permissions for my project. I have tested with a key that has compute admin, and a key that had all APIs.
When I use a SA and it's key, opencost won't start at all, that SA has project manager for billing, computer viewer and user.
So what I am wondering is there a doc with proper permission sets a key or SA needs.

Kubecost has a doc with more comprehensive settings: https://docs.kubecost.com/install-and-configure/install/cloud-integration/gcp-out-of-cluster
OpenCost doesn't have billing reconciliation but I would recommend reviewing that for anything that may have been overlooked in the OpenCost docs: https://www.opencost.io/docs/configuration/gcp-opencost
If you find the answer and it's something lacking in our documentation, please let us know. Thanks!

It took me some time to deal with it, but I managed to run OpenCost in the GCP Managed Kubernetes.
The following instructions are for the OpenCost v1.20.0 (the latest version of this helm chart at the moment of writing this comment).

Create an API key and restrict its usage only to Billing API (no need to add Compute Engine API or BigQuery API to it)

Create an IAM Service Account and add the following roles to it:

roles/bigquery.user
roles/compute.viewer
roles/bigquery.dataViewer
roles/bigquery.jobUser
roles/iam.serviceAccountTokenCreator

For example, with this CLI command:
$ gcloud projects add-iam-policy-binding dexter-general<EMAIL_ADDRESS>--role=roles/bigquery.user

Make sure you have the Workload Identity enabled and configured properly

Add the roles/iam.workloadIdentityUser role to link the IAM Service Account to the GCP one; simplest option would be to use the gcloud CLI tool again:
$ gcloud iam service-accounts add-iam-policy-binding<EMAIL_ADDRESS>--role roles/iam.workloadIdentityUser --member "serviceAccount:your-project.svc.id.goog[your-namespace/your-k8s-service-account-name]"

Add the Workload Identity annotation to the K8S Service Account created by this chart
serviceAccount:
 annotations:
   iam.gke.io/gcp-service-account<EMAIL_ADDRESS>

Wait a few minutes for changes to propagate and restart the OpenCost pod(s) to pick up the changes


feat(backend): mount resource server routes explicitly

Changes proposed in this pull request

Instead of using a "magic for-loop", the backend app now mounts each resource server route explicitly.

Context

Fixes #916.
It has been pointed out that the for loop that is used to mount resource server routes onto the backend app isn't very readable. In the interest of code readability, this has been refactored to mount each route explicitly, so it's easy to understand what routes the backend extends.
Checklist

[ ] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass
[ ] Postman collection updated

For some reason, tests pass in Github actions but the limits.test.ts suite fails on my machine.


Environment variable for tls auth missing

This is similar to the issue at:
https://caddy.community/t/caddy-tls-plugins-ignore-env-variables/2394
My digital ocean token in my docker-compose.yml is not recognized by the dnsprovider plugin and complains with:
Activating privacy features... 2018/02/22 16:03:38 DigitalOcean credentials missing
Simplified compose file:
caddy:
  ...
  environment:
  - DO_AUTH_TOKEN=blablabla

Am I missing something or is this a bug? Thanks in advance :)

I can't see why env vars should not be passed. Do you mind verifying in the container to see if the env var is present. Something like the command below should be all you need provided the container has not exited.
docker-compose exec caddy sh -c 'env | grep DO'

Also, this container actually doesn't bundle DO plugin, are you using an image based on this ?

To be honest due to time limits, i changed the caddy tls setting to email and it was solved for the time beeing. Passing the env variables into the container works as expected (i just tried adding a new one). Sorry for causing such panik. But thanks for the suggestion.


Password changed?

hello, im testing your project, but when i install plugins, the password typed for the administrator account is:
https://github.com/tomatophp/tomato-roles/blob/03c143a381ac6dc306be789a5b47d62810468541/config/tomato-roles.php#L23
but this password not match with:
https://github.com/tomatophp/tomato-roles/blob/03c143a381ac6dc306be789a5b47d62810468541/database/migrations/2023_01_01_114555_fill_default_admin_user_and_permissions.php#L44
its right?
in console output its wrong,

but in the docs its right

Checking in DeveloperController.php from TomatoPHP\TomatoRoles
I found this, maybe can help you to check session()->put('dev_password', Crypt::encrypt($request->get('password')));


measure should be on node, not style.

The measure callback seems to be designed for text, but the text is stored in the node itself not in the style of a node, which means to use the node.style.measure callback you need to create a new closure for every node that reflects back to the node's value.
node.style.measure = function(width) {
var text = node.textContent;
return measureText(text, width);
};
instead if the method was placed on node itself you wouldn't need a closure for every node which is better for memory usage and startup performance.
Node.prototype.measure = function(width) {
return measureText(this.textContent, width);
};

Please send a pull request if that's something you want to see. This seems like a good idea

The measure function does exist on the node and not the style now. Closing this.


refactor: to complete the playground rewrite

to complete the playground rewrite, you can refer to the https://github.com/element-plus/element-plus-playground

go to https://github.com/destyler/playground


stage sync stuck at execution phase

Describe the bug
The node always stuck at stage=Execution checkpoint=0 target=41293952
Steps to reproduce
docker run
-d
'ghcr.io/bnb-chain/bsc-reth:v1.0.1'
node
--full
--chain=bsc
--instance=5
--http --http.api=all --http.addr=<IP_ADDRESS>
--ws --ws.api=all --ws.addr=<IP_ADDRESS>
Node logs
2024-08-15T02:00:28.339362Z  INFO Initialized tracing, debug log directory: /root/.cache/reth/logs/bsc
2024-08-15T02:00:28.342648Z  INFO Starting reth version="1.0.3 (17adc97a)"
2024-08-15T02:00:28.343403Z  INFO Opening database path="/root/.local/share/reth/bsc/db"
2024-08-15T02:00:28.357091Z  INFO Configuration loaded path="/root/.local/share/reth/bsc/reth.toml"
2024-08-15T02:00:28.387827Z  INFO Verifying storage consistency.
2024-08-15T02:00:28.427339Z  INFO Database opened
2024-08-15T02:00:28.427704Z  INFO
Pre-merge hard forks (block based):
- Frontier                         @0
- Homestead                        @0
- Tangerine                        @0
- SpuriousDragon                   @0
- Byzantium                        @0
- Constantinople                   @0
- Petersburg                       @0
- Istanbul                         @0
- MuirGlacier                      @0
- Ramanujan                        @0
- Niels                            @0
- MirrorSync                       @5184000
- Bruno                            @13082000
- Euler                            @18907621
- Nano                             @21962149
- Moran                            @22107423
- Gibbs                            @23846001
- Planck                           @27281024
- Luban                            @29020050
- Plato                            @30720096
- Berlin                           @31302048
- London                           @31302048
- Hertz                            @31302048
- HertzFix                         @34140700
Post-merge hard forks (timestamp based):
- Shanghai                         @1705996800
- Kepler                           @1705996800
- Feynman                          @1713419340
- FeynmanFix                       @1713419340
- Cancun                           @1718863500
- Haber                            @1718863500
2024-08-15T02:00:28.429110Z  INFO Transaction pool initialized
2024-08-15T02:00:28.429637Z  INFO Loading saved peers file=/root/.local/share/reth/bsc/known-peers.json
2024-08-15T02:00:28.435980Z  INFO StaticFileProducer initialized
2024-08-15T02:00:28.439203Z  INFO started listening to network block event
2024-08-15T02:00:28.439218Z  INFO started fork choice notifier
2024-08-15T02:00:28.439222Z  INFO started chain tracker notifier
2024-08-15T02:00:28.439333Z  INFO Pruner initialized prune_config=PruneConfig { block_interval: 5, recent_sidecars_kept_blocks: 0, segments: PruneModes { sender_recovery: Some(Full), transaction_lookup: None, receipts: None, account_history: Some(Distance(10064)), storage_history: Some(Distance(10064)), receipts_log_filter: ReceiptsLogPruneConfig({}) } }
2024-08-15T02:00:28.440133Z  INFO Consensus engine initialized
2024-08-15T02:00:28.440398Z  INFO Engine API handler initialized
2024-08-15T02:00:28.443093Z  INFO RPC auth server started url=<IP_ADDRESS>:8951
2024-08-15T02:00:28.443348Z  INFO RPC IPC server started path=/tmp/reth.ipc-5
2024-08-15T02:00:28.443352Z  INFO RPC HTTP server started url=<IP_ADDRESS>:8541
2024-08-15T02:00:28.443354Z  INFO RPC WS server started url=<IP_ADDRESS>:8554
2024-08-15T02:00:28.443575Z  INFO Starting consensus engine
2024-08-15T02:00:28.444176Z  INFO Preparing stage pipeline_stages=1/14 stage=Headers checkpoint=41293952 target=None
2024-08-15T02:00:28.444378Z  INFO Target block already reached checkpoint=41293952 target=Hash(0xdcf19a1549e97acc0c419ef1571781d3a124628e4629c3550b8b908369a702da)
2024-08-15T02:00:28.444397Z  INFO Executing stage pipeline_stages=1/14 stage=Headers checkpoint=41293952 target=None
2024-08-15T02:00:28.444423Z  INFO Finished stage pipeline_stages=1/14 stage=Headers checkpoint=41293952 target=None stage_progress=100.00%
2024-08-15T02:00:28.444491Z  INFO Preparing stage pipeline_stages=2/14 stage=Bodies checkpoint=41293952 target=41293952
2024-08-15T02:00:28.444496Z  INFO Executing stage pipeline_stages=2/14 stage=Bodies checkpoint=41293952 target=41293952
2024-08-15T02:00:28.444500Z  INFO Finished stage pipeline_stages=2/14 stage=Bodies checkpoint=41293952 target=41293952 stage_progress=100.00%
2024-08-15T02:00:28.444508Z  INFO Preparing stage pipeline_stages=3/14 stage=SenderRecovery checkpoint=41293952 target=41293952
2024-08-15T02:00:28.444518Z  INFO Executing stage pipeline_stages=3/14 stage=SenderRecovery checkpoint=41293952 target=41293952
2024-08-15T02:00:28.444521Z  INFO Finished stage pipeline_stages=3/14 stage=SenderRecovery checkpoint=41293952 target=41293952 stage_progress=100.00%
2024-08-15T02:00:28.444526Z  INFO Preparing stage pipeline_stages=4/14 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:00:28.444536Z  INFO Executing stage pipeline_stages=4/14 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:00:31.441636Z  INFO Status connected_peers=0 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:00:56.441019Z  INFO Status connected_peers=1 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:01:21.441773Z  INFO Status connected_peers=6 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:01:31.487748Z  INFO Received forkchoice updated message when syncing head_block_hash=0x2989a6cb03158b7be02690e2ee58300ed2742b1171792b9cd5d5369a4932b0e1 safe_block_hash=0x0000000000000000000000000000000000000000000000000000000000000000 finalized_block_hash=0x0000000000000000000000000000000000000000000000000000000000000000
2024-08-15T02:01:46.441339Z  INFO Status connected_peers=11 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:02:11.441220Z  INFO Status connected_peers=13 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:02:36.441251Z  INFO Status connected_peers=15 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:03:01.441392Z  INFO Status connected_peers=21 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:03:26.441603Z  INFO Status connected_peers=19 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:03:51.441058Z  INFO Status connected_peers=20 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:04:16.441408Z  INFO Status connected_peers=24 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:04:41.441712Z  INFO Status connected_peers=28 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:05:06.441427Z  INFO Status connected_peers=29 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:05:31.441251Z  INFO Status connected_peers=34 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:05:56.441433Z  INFO Status connected_peers=36 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:06:21.441759Z  INFO Status connected_peers=37 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:06:46.441078Z  INFO Status connected_peers=37 freelist=8 stage=Execution checkpoint=0 target=41293952
2024-08-15T02:07:11.441196Z  INFO Status connected_peers=40 freelist=8 stage=Execution checkpoint=0 target=41293952

Platform(s)
Linux (ARM)
What version/commit are you on?
1.0.3 (17adc97a)
What database version are you on?
None
Which chain / network are you on?
BSC
What type of node are you running?
Archive (default)
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

2024-08-21T12:11:41.618665Z Warning that long-term read transaction has timed out open_duration=300.000073122s

Pay attention to this issue: https://github.com/paradigmxyz/reth/issues/10149
Continue to pay attention to whether versions after merge v1.0.5 have been fixed.


Format problems with long titles

Issue
Description
When the title of a book is too long, it takes up another line, causing the card to be longer than one with a shorter title. Is it possible to make it so that the text cuts off with ellipsis instead of going to a new line.

Screenshot

Hi @CONALLJN
Have a look at the CSS property text-overflow: ellipsis;
https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow


CREST-137-143: Implemented command illumio-object-provision & illumio…

Implemented object provision command and service binding create command.

Hey @dsommerville-illumio, we've made the changes as per our discussion in the call and made the changes. Please let us know if anything else needs to be changed.


Feat:add ffmpeg sidecar for ffmpeg installation

/claim  #194
/closes  #194

@Mubashirshariq hey thanks for this!
this is a good start, but this is just a function unused in a corner
here's what's missing:

instructions to test and see screenpipe works without having manually ffmpeg installed beforehand
running this somewhere, say in the CLI screenpipe-server.rs
i can run the install instructions from README without the ffmpeg part and it works
i can remove the ffmpeg installation in brew and it works
i can remove the ffmpeg installation from app pre build and it works

i'd add tips for things like (but optional):

h265 encoding which should reduce storage required
well tested on all OSes and i don't have to test myself
good unit tests that check in CI that ffmpeg is usable on all OSes using different runners

sure i will test it and share the video

@Mubashirshariq are you on Linux wayland ?
ATM screenpipe vision does not work with Linux wayland (but does with X)

yeah i am Linux Wayland,so i think i need to wait for this one ,i am getting a new machine next week

@louis030195  i did comment the ffmpeg installation code in prebuild and pushed some changes and it is now working perfect ,attaching the recording the same
https://drive.google.com/file/d/16BROsTSFbuMbSA7LAumNpqkxMMtSqH2T/view?usp=drive_link

I have gave you the access

@louis030195, have you looked into this video and the overall PR?

@Mubashirshariq i just think this is missing lot of things, if i merge i will have to remove all the rest of the things that install ffmpeg myself like pre_build.js script, CI/CD, etc etc

@louis030195 if it is working fine and you tested  it will remove those that is not an issue

@louis030195  can you look i have removed the ffmpeg installation from prebuild and workflows


MSO tag breaks replying and forwarding

There are some mails that contain a mso tag like so:

If you reply or forward this mail and you add some more text, this new text will not be visible/
Expected behavior

Read an email containing mso tags.
Reply to it and add extra text
Open the new email and see the content plus the extra added text from the reply.

Actual behavior

Read an email containing mso tags.
Reply to it and add extra text
Open the new email and see the original content but the extra text from the reply is not visible because the extra text is included in the commented block.

Steps to reproduce

Receive an email with mso tags
Reply to it
The new text is appended to the commented block with the mso tags so it will not be visible.

Environment
K-9 Mail version: 5.208
Android version: Android 7
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

Duplicate of #2148

@cketti
#2148 is closed.
This issue is still reproducing.
Why close it ?

This is an issue tracker for the development of the app. We close issues as soon as they are fixed in the source code repository.
It usually takes a while for fixes to show up in a stable release. This one is included in K-9 Mail v5.301 (which is an alpha release, but should be pretty stable).


Android touch controls doesn't work good

Describe your bug here.
I Dont know how i can explain this, just watch...
(this also happens in song selector)
https://github.com/user-attachments/assets/ae358457-d7b6-48d4-994c-2dcc387bd2f7
Crash Log or logcat logs (if existing)
No response
Are you modding a build from source or with Lua?
I am not modding
What is your build target?
Android
Which psych engine version you're on?
1.0 (Final)
Did you edit anything in this build? If so, mention or summarize your changes.


Howto for extending Dapr using custom components

Co-authored-by: Phil Kedy<EMAIL_ADDRESS>Description
Organization may have a requirement to add custom functionality to Dapr, such as integration with propriety or legacy systems. Custom Components is a point of extension that allows third-party functionality to run alongside the existing building blocks that ship with Dapr. For example, you have an existing library for encryption and decryption that you would like to expose as a building block to your applications. Applications will connect to this custom component via a gRPC endpoint which is the same mechanism the Dapr SDKs uses.
In this feature we'll be extended Dapr by using it as a library. Simply create a new Go project and copy the original main.go from Dapr Github source code to this new project(using Dapr as library here), next stitch together all the Components(Dapr runtime) in the same way as it was present in the original main.go, next register Custom component in runtime. The new binary created after compilation is a custom Daprd binary with a new gRPC endpoint as a custom component.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

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

This depends upon following PRs

Component-Contrib
Dapr
Samples

Given that this will depend on go anyway. Should we consider building the client component portion of this into the go SDK? We already have the gRPC serving capability there so adding this would be trivial.

Hi @pulkitmehra, we've reviewed this design and decided to tackle custom components differently in a future Dapr release. Thank you for your contributions to Dapr, we greatly value your expertise and look forward to future input & contributions. Please let us know if you have any questions!

Hello @AaronCrawfis . Do you have any updates on when / how this would be implemented? We have the same requirement and the inability to extend or add components has been a roadblock to the full adoption of Dapr. Namely, we want to do some payload processing of the messages for pub-sub for GDPR purposes and allow for tokenization.


45.multi-layer-search : Incorrect location 2nd time

Example : 45.multi-layer-search
When the same restaurant is clicked 2nd time in search bar it take to the wrong location.

Closing the issue. Let me submit a solution instead.


"exists" syntax does not exist

Line: components.minecraft:written_book_content.generation=exists:false
Optifine behaviour: Checks if item has "generation" component, if it does not, selects the texture.
CIT Resewn behaviour: Does not do anything/ shows vanilla texture
Expected behaviour: Optifine behaviour

Duplicate of #204


Add Apple floppy types

Hi! For Adafruit, it's my intention to extend the Greasweazle protocol so that it can support Apple II-style floppy drive interfaces. I'm new to Apple II disk reading & preservation so I will have a lot to learn.
Compared to a PC or Shugart interface, there are some notable differences:

Instead of step & direction, there are 4 "winding activation" signals. The GW-compatible hardware will generate these outputs on hardware-defined pins.
While the track spacing is the same as a PC "double density" disk, the read/write head can be positioned 1/4 as finely as a single track spacing. Apparently, this is used in copy protected Apple II software, similar to fat/half tracks in Commodore 64, just worse.
There is no "track 0" sensor, instead the "bang your head into a wall" algorithm is used.
There is no index sensor, though we anticipate recommending a reflective IR sensor modification and are OK if it is required
The 'write' signal is different than for a PC drive: a flux reversal is written when the write data line is inverted, rather than when it is pulsed.

Consequently, I would like to allocate two new numbers for 'bus type': Apple2 and Apple2QuarterTrack. These would be accessed with --drive APPLE2 and --drive APPLE2_QUARTERTRACK in the GW commandline.
Together with pending changes in fluxengine,

I was wrong on (2): Of course it is hard to only accept supported drive letters at arg parse time as we haven't opened the GW device at that time. We'll just have to come up with an elegant descriptive error message at the time of attempting to set the bus type.

(2) is now fixed well enough in master

I've updated and revised this PR. Thank you for adding the improved error handling! Adafruit_Floppy does use a BadCommand response for an unsupported bus type, so that is great for us.
Now, the --drive arguments are --drive APPLE2 and --drive APPLE2_QUARTERSTEP, and all sites that take --drive have their help updated. The Apple II 20-pin connector only supports a single drive, so at this time there's no need to support APPLE2:1. While there is a 19-pin connector that supports a chain of 2 drives, this connector is difficult to obtain, so it's nothing we're interested in doing at this time.
With Adafruit_Floppy's gw-compatible firmware, a hand-wired interface board, and a modified fluxengine (https://github.com/davidgiven/fluxengine/pull/492) it's possible to read and write standard Apple II floppies using a Disk II drive.
I hope you'll consider merging this PR to officially allocate the bus type numbers for Apple 5.25" disks, so that the changes in fluxengine can move forward.

The drive id names may change after I pull this. I will intend them to be stable from next Greaseweazle tools release.

Thank you!

I think we should stick with one Apple2 bus type, this should always quarter step, and if you want half or whole steps this can be done in the Greaseweazle --tracks TSPEC option. For example, --tracks=c=0-39:step=4 will read 40 cylinders with 4 quarter steps between each cylinder. Or --tracks=c=0-79:step=2 to read 80 half tracks. Etc.
I therefore propose to rename Apple2Quarter to Apple2, and remove the old Apple2 assignment.

@davidgiven can fluxengine do the equivalent? If so this sounds great to me.

fluxengine has fancy config file stuff now that should handle this even better. Probably a couple of different disk types with nice names, which hide the actual ranges and stepping multipliers.

Yup, that's a good idea --- in fact, I recently added a configuration stanza for drive configuration.
Currently dealing with different disk and drive types is a mess and barely works, and it needs redesigning, so this is as good an opportunity as any. I'll take a look.

I've done a gigantic FluxEngine refactor to make it less of a mess, and also improve reading and writing where the drive track spacing doesn't match the format track spacing (e.g. a 40-track format on an 80-track drive). This should now, hopefully, support Apple II drives on Greaseweazle. However, I don't have one and so can't test. Can someone try plz?
The code's at: https://github.com/davidgiven/fluxengine/tree/logical
The necessary command is:
fluxengine write apple2 apple2_drive -i someimage.img -d drive:0
The apple2_drive profile contains the settings for the drive, which I believe to be 192 tpi, 160 tracks, with a head width of 4.


Added a generic JsonConverter

Added a generic JsonConverter and changed the base types of some of the existing converters to this new generic JsonConverter where relevant. This fulfills #585.

I like this a lot!

LGTM

I rolled back the changes to the built-in converters because I want to have converters start avoid loading types until the actual conversion.

That's cool. I'm just glad it's being added. Does that mean we can seal some of the methods?

Hmmm, yes they could be sealed.


Recursive functions and the Church-Turing thesis

This issue is about the chapter on recursive functions. I'm using the Incompleteness and Computability book, so I'll refer to various parts of it as sections 2.x.
Here's what I've gathered so far, just so I don't get the terms mixed up:

Primitive recursive functions are zero, succ, and projection, closed under composition and recursion.
Partial recursive functions are the same as primitive recursive ones but additionally closed under unbounded search.
Recursive functions are partial recursive functions that are total.
General recursive functions are the same as primitive recursive ones but additionally closed under unbounded search over regular functions.
General recursive functions are the same as recursive functions.
Primitive r.f. ⊂ general r.f. ⊂ partial r.f.

In the Introduction (section 2.1), it states that by the Church-Turing thesis, recursive functions (so, general recursive functions) can simulate other models of computation, which means that general recursive functions are the same as Turing-computable functions. This is restated in section 2.14 on Non-Primitive Recursive Functions, as well as the summary at the end of the chapter.
But shouldn't Turing-computable functions correspond to partial recursive functions? It doesn't seem like general recursive functions could simulate Turing machines that don't halt on some inputs, since these functions are total. Turing machines could also compute partial recursive functions, and not halt on inputs where the function is undefined.
This was slightly difficult to look up, since other sources (e.g. Wikipedia) use the term "(general) recursive function" to mean what we would call partial recursive functions, while others use "total recursive function" to mean what we would call general recursive functions. But in any case, it seems that the functions involved in computability should at least be partial.

Turing computability as originally defined by Alan Turing (1936-1937) covered only total recursive functions. During the '40s Stephen Kleene (who defined for the first time the set of partial recursive functions for another formalism) modified the original version of Turing machines to account also for partial recursive funtions (also inspired by detailed analysis of Turing formalism by Emil Post). Then Kleene proved the equivalence of Turing's definition and his with respect to total recursive functions. So: total Turing-computable functions are the same as total recursive functions of another formalism and partial Turing-computable functions are the same as partial recursive functions of the same other formalism. The Church-Turing thesis regards only the total functions (it was first proposed when partial recursive functions didn't had appeared yet), but it can be easily generalized to partial ones and we may call this generalization Kleene's thesis (Judson Webb and Martin Davis call it so): every mechanically computable partial function is partial recursive, where for recursive we can substitute one of the equivalent formalism, such as Turing-computable (Kleene's version), lambda-definable and so on. The fact that all these formalisms are equivalent is due to Kleene's normal form theorem.

Concretely: if you are working with total functions, you apply Church-Turing thesis to your chosen formalism for recursivity; if you are working with partial functions, you apply Kleene's thesis again to your preferred formalism for recursivity.

I think @Umberto-C 's perfectly correct comment notwithstanding, the issue for the books is one of consistency. Wherever the CT thesis is defined it should be defined so that its invocations are appropriate (ie, if we define it for total functions we should only invoke it for partial functions). A discussion of the partial/total issue is needed too.
Right now the definition of Turing computable applies only to total arithmetical functions so we're technically in the clear. @ionathanch asked how general recursive functions can simulate partial functions -- they cannot. But if a Turing machine computes a total function the simulation by general recursive function will work because in that case the T predicate yields a regular function. Ie: if e is the index of a TM that computes a total function f, then for every x there is a y st T(e,x,y) holds -- y is the record of the halting computation of M_e on input x). So h(y,x) = 0 if T(e,x,y) and =1 otherwise is regular and U(\mu h(y,x) = 0) is general recursive and gives f(x).

Let's leave it open, I should go through and make sure this is all right and add stuff on the total/partial issue