Frequent Unexpected Kernel SDK Version when building local engine

I might be holding it wrong, but I've been getting this error frequently when building Flutter with a local engine. We might want a better error message.
In Flutter engine
flutter fetch --all
flutter pull
gclient sync
./tools/gn --unoptimized --simulator
./tools/gn --unoptimized --simulator --ios
autoninja -C ../out/host_debug_sim_unopt
autoninja -C ../out/ios_debug_sim_unopt

do everything again in a few hours, then in a Flutter project
flutter run --local-engine=ios_debug_sim_unopt

then I tend to get
Unhandled exception:
Unexpected Kernel SDK Version 5831471fac (expected 8e50ccae25).
#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:502:7)
#1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:534:7)
#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:518:21)
#4      IncrementalCompiler.prepareSummary (package:front_end/src/fasta/incremental_compiler.dart:1446:12)
#5      IncrementalCompiler.ensurePlatformAndInitialize (package:front_end/src/fasta/incremental_compiler.dart:1000:23)
<asynchronous suspension>
#6      IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:215:17)
<asynchronous suspension>
#7      IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart)
#8      CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:123:46)
#9      new Future.sync (dart:async/future.dart:223:31)
#10     CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:123:19)
#11     _rootRun (dart:async/zone.dart:1190:13)
#12     _CustomZone.run (dart:async/zone.dart:1093:19)
#13     _runZoned (dart:async/zone.dart:1630:10)
#14     runZoned (dart:async/zone.dart:1550:10)
#15     CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:122:12)
#16     IncrementalCompiler.computeDelta (package:front_end/src/fasta/incremental_compiler.dart:206:20)
#17     IncrementalCompiler.compile (package:vm/incremental_compiler.dart:69:46)
#18     FrontendCompiler.compile.<anonymous closure> (package:frontend_server/frontend_server.dart:524:59)
#19     new Future.<anonymous closure> (dart:async/future.dart:175:37)
#20     _rootRun (dart:async/zone.dart:1182:47)
#21     _CustomZone.run (dart:async/zone.dart:1093:19)
#22     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
#24     _rootRun (dart:async/zone.dart:1190:13)
#25     _CustomZone.run (dart:async/zone.dart:1093:19)
#26     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:1021:23)
#27     Timer._createTimer.<anonymous closure> (dart:async-patch/timer_patch.dart:18:15)
#28     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:397:19)
#29     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:428:5)
#30     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.

Haven't found a good way to get around it yet. Typically I just give up and try to rebuild everything for a different platform to keep testing.
Deleting the whole out/[ios/host]_debug_sim_unopt folder and rebuilding everything seems to fix it but is very time consuming.

The validation was added in https://dart-review.googlesource.com/c/sdk/+/150343 . I think this computes an SDK hash and embeds it into the kernel, which might break incremental builds that touch parts of the SDK.
@xster you might try using the --no-verify-sdk-hash gn flag (I'm not sure if it is exposed in flutter) to see if it improves the situation.

You mean add this thing https://cs.opensource.google/dart/sdk/+/master:tools/gn.py;l=378;drc=ea96424c027582722afd906d52b98d5948350da2
to https://cs.opensource.google/flutter/engine/+/master:tools/gn;l=1;drc=26488499b8716f07c908724e10fa7634bedde7f9?
Though what's the underlying root problem this check is meant to detect that I'm circumventing? Could it be addressed?

Yeah - the problem has more to do with incorrectly reusing kernel files across SDK releases, not so much for local development.

Does that imply if we sync the engine over a DEPS that brings in a new Dart SDK and don't have some ways of automatically invalidating the various .dill files in the out/ directories, we're going to have undefined behaviors our users never see?

I thought we were using clobber builds for the most part. But I don't think you will see any weirdness unless you're modifying the kernel format/optimizations

Try building host_debug_unopt instead of host_debug_sim_unopt (see https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart#L392)

wait you're saying the fact that our engine GN can build a ios_debug_sim_unopt is a bug and a discrepancy with our tools which will never use it? 🤣

I meant that flutter tools pairs ios_debug_sim_unopt pairs with host_debug_unopt, not with host_debug_sim_unopt.

oops, mistype. I meant host_debug_sim_unopt too. Sounds like we should have never made it possible to generate it from our gn tools.

Yeah, possibly shortly after https://github.com/flutter/flutter/pull/27765 landed.

For the record, this applies to both Android and iOS. @aam can we just remove all of the target dir changes applied to host directories in the GN script? https://github.com/flutter/engine/blob/03395debde37a59bf839f5c18c0e354b28eae4de/tools/gn#L23

@aam, I've been following your mapping between android/ios and host for a while and it's been working. But I'm getting Unexpected Kernel SDK Version in google3. Do you know if the mapping is different? For instance, I have matching host_release_unopt_arm64, android_release_unopt_arm64 and host_release_unopt, but I'm still getting Unexpected Kernel SDK Version.

I don't think mapping changed.
What are you trying to do when you get this error?
I've seen that flutter test doesn't fully support --local-engine option, so if one wants to run some flutter_tools tests for example, they have to manually override three folders in flutter cache folder:
ln -s /usr/local/google/home/aam/p/f/flutter/engine/src/out/host_debug_unopt/flutter_patched_sdk $FH/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk
ln -s $FH/engine/src/out/host_debug_unopt $FH/flutter/bin/cache/artifacts/engine/linux-x64
ln -s $FH/engine/src/out/host_debug_unopt/dart-sdk $FH/flutter/bin/cache/dart-sdk

Oops sorry, disregard my last comment. It did work in g3. I had the wrong files copied when I was testing. The same mapping still applies.

Same issue. Build a new dart with gn and ninja -C out/host_debug It works for me.

Ensure gclient sync -D and then
gn --no-prebuilt-dart-sdk --unopt with both host_debug_unopt and android_debug_unopt or ios_debug_unopt, then try again?
@avimone

I faced this error. did anyone solve this problem?
Unhandled exception:
Crash when compiling package:projectname/main.dart,
at character offset null:
Unexpected Kernel Format Version 75 (expected 77) when reading file:///E:/AndroidStudio/SDK/flutter_sdk/flutter/bin/cache/artifacts/engine/common/flutter_patched_s
dk_product/platform_strong.dill.
#0      BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:640:9)
#1      Timeline.timeSync (dart:developer/timeline.dart:157:22)
#2      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)
#3      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:467:10)
#4      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:413:13)

#5      generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:75:31)

#6      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#7      kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:62:29)

#8      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:61:10)

#9      kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)

#10     compileToKernel (package:vm/kernel_front_end.dart:389:22)

#11     FrontendCompiler.compile (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:583:17)

#12     starter (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1433:12)

#13     main (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:10:14)

#0      BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:640:9)
#1      Timeline.timeSync (dart:developer/timeline.dart:157:22)
#2      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)
#3      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:467:10)
#4      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:413:13)

#5      generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:75:31)

#6      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#7      kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:62:29)

#8      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:61:10)

#9      kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)

#10     compileToKernel (package:vm/kernel_front_end.dart:389:22)

#11     FrontendCompiler.compile (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:583:17)

#12     starter (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1433:12)

#13     main (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:10:14)

FAILURE: Build failed with an exception.

Where:
Script 'E:\AndroidStudio\SDK\flutter_sdk\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1156

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

Process 'command 'E:\AndroidStudio\SDK\flutter_sdk\flutter\bin\flutter.bat'' finished with non-zero exit value 1

Try:
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 13s
Running Gradle task 'assembleRelease'...                           15.0s
Gradle task assembleRelease failed with exit code 1

Unhandled exception:
Crash when compiling file:///Users/avipatel/Documents/untitled%20folder%202/engine/src/flutter/third_party/tonic/tests/fixtures/tonic_test.dart,
at character offset null:
Unexpected Kernel SDK Version 580a4ad62f (expected 0180af250f).
#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)
#1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:643:7)
#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)
#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)
#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)
<asynchronous suspension>
#6      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:79:29)
<asynchronous suspension>
#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#8      kernelForProgramInternal.<anonymous closure> (package:front_end/src/api_prototype/kernel_generator.dart:59:29)
<asynchronous suspension>
#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)
<asynchronous suspension>
#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)
<asynchronous suspension>
#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)
<asynchronous suspension>
#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)
<asynchronous suspension>
#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)
<asynchronous suspension>
#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)
<asynchronous suspension>

#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)
#1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:643:7)
#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)
#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)
#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)
<asynchronous suspension>
#6      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:79:29)
<asynchronous suspension>
#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#8      kernelForProgramInternal.<anonymous closure> (package:front_end/src/api_prototype/kernel_generator.dart:59:29)
<asynchronous suspension>
#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)
<asynchronous suspension>
#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)
<asynchronous suspension>
#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)
<asynchronous suspension>
#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)
<asynchronous suspension>
#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)
<asynchronous suspension>
#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)
<asynchronous suspension>

[4147/5265] ACTION //flutter/lib/ui:_dsk__ds_ui_unittests_fixtures(//build/toolchain/mac:clang_x64)
FAILED: gen/flutter/lib/ui/assets/kernel_blob.bin
python3 ../../build/gn_run_binary.py ../../flutter/prebuilts/macos-x64/dart-sdk/bin/dart /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/flutter/prebuilts/macos-x64/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/out/host_debug_unopt/flutter_patched_sdk --target flutter --sound-null-safety --output-dill gen/flutter/lib/ui/assets/kernel_blob.bin --depfile /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/out/host_debug_unopt/gen/flutter/lib/ui/snapshot__dsk__ds_ui_unittests_fixtures.depfile.d /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/flutter/lib/ui/fixtures/ui_test.dart
result ba93b235-5bdb-4c01-b45c-2e933c45a9d2
Unhandled exception:
Crash when compiling file:///Users/avipatel/Documents/untitled%20folder%202/engine/src/flutter/lib/ui/fixtures/ui_test.dart,
at character offset null:
Unexpected Kernel SDK Version 580a4ad62f (expected 0180af250f).
#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)
#1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:643:7)
#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)
#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)
#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)
<asynchronous suspension>
#6      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:79:29)
<asynchronous suspension>
#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#8      kernelForProgramInternal.<anonymous closure> (package:front_end/src/api_prototype/kernel_generator.dart:59:29)
<asynchronous suspension>
#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)
<asynchronous suspension>
#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)
<asynchronous suspension>
#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)
<asynchronous suspension>
#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)
<asynchronous suspension>
#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)
<asynchronous suspension>
#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)
<asynchronous suspension>

#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)
#1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:643:7)
#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)
#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)
#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)
#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)
<asynchronous suspension>
#6      generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:79:29)
<asynchronous suspension>
#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)
<asynchronous suspension>
#8      kernelForProgramInternal.<anonymous closure> (package:front_end/src/api_prototype/kernel_generator.dart:59:29)
<asynchronous suspension>
#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)
<asynchronous suspension>
#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)
<asynchronous suspension>
#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)
<asynchronous suspension>
#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)
<asynchronous suspension>
#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)
<asynchronous suspension>
#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)
<asynchronous suspension>

[4149/5265] ACTION //flutter/lib/snapshot:platform_strong_dill_linkable(//build/toolchain/mac:clang_x64)
ninja: build stopped: subcommand failed.

I'm also getting the same error,i am compiling the flutter engine please help me out.

have you solved this?  I faced the same with you. please help me out.

Unhandled exception:

Crash when compiling file:///Users/avipatel/Documents/untitled%20folder%202/engine/src/flutter/third_party/tonic/tests/fixtures/tonic_test.dart,

at character offset null:

Unexpected Kernel SDK Version 580a4ad62f (expected 0180af250f).

#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)

#1      BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:643:7)

#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)

#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)

#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)

#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)

#6      generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:79:29)

#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#8      kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:59:29)

#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)

#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)

#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)

#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)

#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)

#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)

#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)

#1      BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:643:7)

#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)

#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)

#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)

#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)

#6      generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:79:29)

#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#8      kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:59:29)

#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)

#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)

#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)

#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)

#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)

#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)

[4147/5265] ACTION //flutter/lib/ui:_dsk__ds_ui_unittests_fixtures(//build/toolchain/mac:clang_x64)

FAILED: gen/flutter/lib/ui/assets/kernel_blob.bin

python3 ../../build/gn_run_binary.py ../../flutter/prebuilts/macos-x64/dart-sdk/bin/dart /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/flutter/prebuilts/macos-x64/dart-sdk/bin/snapshots/frontend_server.dart.snapshot --sdk-root /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/out/host_debug_unopt/flutter_patched_sdk --target flutter --sound-null-safety --output-dill gen/flutter/lib/ui/assets/kernel_blob.bin --depfile /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/out/host_debug_unopt/gen/flutter/lib/ui/snapshot__dsk__ds_ui_unittests_fixtures.depfile.d /Users/avipatel/Documents/untitled\ folder\ 2/engine/src/flutter/lib/ui/fixtures/ui_test.dart

result ba93b235-5bdb-4c01-b45c-2e933c45a9d2

Unhandled exception:

Crash when compiling file:///Users/avipatel/Documents/untitled%20folder%202/engine/src/flutter/lib/ui/fixtures/ui_test.dart,

at character offset null:

Unexpected Kernel SDK Version 580a4ad62f (expected 0180af250f).

#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)

#1      BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:643:7)

#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)

#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)

#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)

#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)

#6      generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:79:29)

#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#8      kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:59:29)

#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)

#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)

#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)

#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)

#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)

#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)

#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:611:7)

#1      BinaryBuilder.readComponent. (package:kernel/binary/ast_from_binary.dart:643:7)

#2      Timeline.timeSync (dart:developer/timeline.dart:163:22)

#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:627:21)

#4      ProcessedOptions.loadComponent (package:front_end/src/base/processed_options.dart:492:10)

#5      ProcessedOptions.loadSdkSummary (package:front_end/src/base/processed_options.dart:438:13)

#6      generateKernelInternal. (package:front_end/src/kernel_generator_impl.dart:79:29)

#7      withCrashReporting (package:front_end/src/fasta/crash.dart:122:12)

#8      kernelForProgramInternal. (package:front_end/src/api_prototype/kernel_generator.dart:59:29)

#9      kernelForProgramInternal (package:front_end/src/api_prototype/kernel_generator.dart:58:10)

#10     kernelForProgram (package:front_end/src/api_prototype/kernel_generator.dart:50:11)

#11     compileToKernel (package:vm/kernel_front_end.dart:366:22)

#12     FrontendCompiler.compile (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:555:17)

#13     starter (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/lib/frontend_server.dart:1385:12)

#14     main (file:///opt/s/w/ir/cache/builder/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:9:14)

[4149/5265] ACTION //flutter/lib/snapshot:platform_strong_dill_linkable(//build/toolchain/mac:clang_x64)

ninja: build stopped: subcommand failed.

I'm also getting the same error,i am compiling the flutter engine please help me out.

have you solved this?  I faced the same with you. please help me out.

No, I'm not able to solve this error still trying.
I was trying to use custom flutter engine for generating tvos builds from here
https://github.com/LibertyGlobal/flutter-tvos-demo
I'm still trying i will update this thread if anything works for me.
Let me know if you find any solutions.

Same error here.
/Volumes/MyExternal/ExternalRefCode/flutter/bin/flutter --local-engine-src-path=/Volumes/MyExternal/ExternalRefCode/engine/src --local-engine=android_debug_unopt_x64 run
Running "flutter pub get" in hello_package...                      433ms
Resolving dependencies...
Got dependencies!
Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib/main.dart on sdk gphone x86 in debug mode...
Unhandled exception:
Unexpected Kernel SDK Version e6f442530a (expected d9b59caa8d).
#0      BinaryBuilder._readAndVerifySdkHash (package:kernel/binary/ast_from_binary.dart:627:7)
#1      BinaryBuilder.readComponent.<anonymous closure> (package:kernel/binary/ast_from_binary.dart:659:7)
#2      Timeline.timeSync (dart:developer/timeline.dart:166:22)
#3      BinaryBuilder.readComponent (package:kernel/binary/ast_from_binary.dart:643:21)
#4      _InitializationFromSdkSummary._prepareSummary (package:front_end/src/fasta/incremental_compiler.dart:2486:12)
#5      _InitializationFromUri.initialize (package:front_end/src/fasta/incremental_compiler.dart:2560:23)
<asynchronous suspension>
#6      IncrementalCompiler._ensurePlatformAndInitialize (package:front_end/src/fasta/incremental_compiler.dart:1422:25)
<asynchronous suspension>
#7      IncrementalCompiler.computeDelta.<anonymous closure> (package:front_end/src/fasta/incremental_compiler.dart:312:11)
<asynchronous suspension>
#8      IncrementalCompiler.compile (package:vm/incremental_compiler.dart:68:50)
<asynchronous suspension>
#9      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:572:11)
<asynchronous suspension>
#10     listenAndCompile.<anonymous closure> (package:frontend_server/frontend_server.dart:1223:11)
<asynchronous suspension>
the Dart compiler exited unexpectedly.
the Dart compiler exited unexpectedly.
Running Gradle task 'assembleDebug'...

Ensure recompile the local engine of "host" platform by command ninja out/host_debug first may work. After you change flutter_engine revision, the dart compiler in host_debug leaves the previous version. @KeroppiMomo

in https://github.com/flutter/flutter/issues/50885#issuecomment-882045381
seems to work with me

Closing, see https://github.com/flutter/flutter/issues/50885#issuecomment-882045381


avoid installing pycache directories

the current prometheus wheels include __pycache__ directories in their package data files.

How do you build your wheels? I couldn't find it to test with. I tested with the current standard python3 -m build . and it didn't include any pycache files in sdist or wheel, nor did python3 setup.py bdist_wheel (setuptools 65.6.3). So maybe it's less the manifest and more the release process that's doing it?


[BUG] milvus向量库上传文档报错

milvus可以进行知识库文档，但是向milvus上传新的文档报错信息如下：
INFO:     <IP_ADDRESS>:57820 - "POST /knowledge_base/search_docs HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 322, in jsonable_encoder
data = dict(obj)
TypeError: 'numpy.float32' object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 327, in jsonable_encoder
data = vars(obj)
TypeError: vars() argument must have dict attribute
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 419, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
return await self.app(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/applications.py", line 119, in call
await self.middleware_stack(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/routing.py", line 762, in call
await self.middleware_stack(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/routing.py", line 782, in app
await route.handle(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/routing.py", line 297, in handle
await self.app(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/starlette/routing.py", line 72, in app
response = await func(request)
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/routing.py", line 315, in app
content = await serialize_response(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/routing.py", line 170, in serialize_response
return jsonable_encoder(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
jsonable_encoder(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 235, in jsonable_encoder
return jsonable_encoder(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
encoded_value = jsonable_encoder(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 287, in jsonable_encoder
encoded_value = jsonable_encoder(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 301, in jsonable_encoder
jsonable_encoder(
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/fastapi/encoders.py", line 330, in jsonable_encoder
raise ValueError(errors) from e
ValueError: [TypeError("'numpy.float32' object is not iterable"), TypeError('vars() argument must have dict attribute')]
2024-03-06 05:35:13,656 - _client.py[line:1027] - INFO: HTTP Request: POST http://<IP_ADDRESS>:7861/knowledge_base/search_docs "HTTP/1.1 500 Internal Server Error"
2024-03-06 05:35:13.658 Uncaught app exception
Traceback (most recent call last):
File "/root/anaconda3/envs/env_rag/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
exec(code, module.dict)
File "/root/jgy/Langchain-Chatchat/webui.py", line 64, in
pages[selected_page]["func"](api=api, is_lite=is_lite)
File "/root/jgy/Langchain-Chatchat/webui_pages/knowledge_base/knowledge_base.py", line 328, in knowledge_base_page
data = [
File "/root/jgy/Langchain-Chatchat/webui_pages/knowledge_base/knowledge_base.py", line 329, in
{"seq": i + 1, "id": x["id"], "page_content": x["page_content"], "source": x["metadata"].get("source"),
TypeError: string indices must be integers

请问这个问题解决了吗，我也遇到了同样的问题

@dosu-bot


Istanbul + coveralls integration

Changes Unknown when pulling 23fa5314f3a1018f71543f673b1ee719aa65b0ef on task/code-coverage-report into ** on master**.


[Bug] Block objects not JSON serializable

Issue Type
[x] bug report
[ ] feature request

Current Behavior
On call to
omg submitblock 0x3bb369fecdc16b93b99514d8ed9c2e87c5824cf4a6a98d2e8e91b7dd0c063304

Client Returns;
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Server returns;
TypeError: Object of type 'Block' is not JSON serializable

Expected Behavior
Submit block transaction would be executed.
Steps to Reproduce

Follow readme to have software running as intended
execute command for submit block (as in sample)

Suggested Fix
Perhaps we should provided explicit serialization of Block objects..?
Motivation for Change
Current implementation doesn't run as expected.

Note that one might be tempted to try including inheriting from JSONEncoder as follow
from json import JSONEncoder

class Block(rlp.Serializable, JSONEncoder):
    ETC...

but this doesn't seem to cut the mustard... Back to the drawing board

Added a fix for this. Needed to RLP encode the response before sending it to the client. Can you confirm fix is working?


Halo_Mythic3dot5 - line endings fix

Changed line endings to LF as required by the repo.
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.

#9450

If you update the initial PR message to include fixes #9450, the issue with automatically close when this PR is merged.
Example of this github feature: #6551

I believe this was resolved by Jeff earlier today: https://github.com/Roll20/roll20-character-sheets/commit/7b57aeaa9e99e080274ee2c63ec407f9ad26e3f2
If this isn't resolved, feel free to reopen the PR.


Update Composer dependencies (2023-12-13-00-17)

Visual regression test passed!
View the visual regression test report


[Question] relative URL for cards?

This is a question rather than an issue, my apologies.
I'm trying to set up Cards, but I want the url to point to a local location (i.e. "myfile.html") rather than a hard-coded URL - is this possible? I can't seem to figure it out.

Solved it

Solved it

@YozoraXCII how did you solve it?

Solved it

@YozoraXCII how did you solve it?

- title: TMDb Icon
  content: This is a test
  image: ../assets/icons/tmdb.png
  url: "../tmdb"

Solved it

@YozoraXCII how did you solve it?

::cards:: cols=5 image-bg
- title: TMDb Icon
  content: This is a test
  image: ../assets/icons/tmdb.png
  url: "../tmdb"

great thanks, thats how I am doing it also. I was having issues with submodules and monorepo building the entire "site"


Error on windows

On windows, it partially fails with this message:  "Error: Command failed: rm -rf ./ios/build && rm -rf ./android/.gradle && rm -rf ./android/app/build && rm -rf ./android/build"
This is because rm does not exists on windows (unlike linux or osx (unix)). it is replaced by rmdir (or rd). So you shoud use "rd /s /q" instead of "rm -rf" when run on windows.
And also invert the path slashes (on windows it would be rm -rf .\android.gradle for example)
One other thing, when chaining commands like this (with &&), if one fails, all commands after that would not be executed. So if /ios/build does not exists for example, android/.gradle, /android/app/build and /android/build would not be deleted. So you should execute these commands in seperate command calls so that one failing do not impact all the others...
Except from that, good package, saved me some time compared to doing it by hand ;)

Hey @ramsestom , Thank you for pointing it out and for the tips.
Done fixing it! 😉


Fix selection list focus

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/29080
PROPOSAL: https://github.com/Expensify/App/issues/29080#issuecomment-1752827570
Tests

[X] Verify that no errors appear in the JS console

Acceptance criteria for single selection

On the initial render, focus the initial item only if there is a pre-selected item; otherwise, no item should be focused.
Focus on the first item when the text input changes.
When the text input is cleared, remove focus completely

Acceptance criteria for multiple selections list:

If there are no selected items, do not focus on any item.
If there are selected items and the text input changes, focus on the first non-selected item.
When the text input is cleared, remove focus completely

Test:

Open the app
Open settings->profile->timezone
Select any timezone from the visible timezones when scrolled to the top eg: type as and selectAfrica/Asmara
Search any term in search (eg: tr) and observe that focus is changed to the first value as it normally does for all other similar UI

Besides the previous test, all other tests should abide the previous requirements criteria

Profile -> Pronouns
Workspace -> Members
Workspace -> Members -> Invite
Workspace -> Settings -> currency

Offline tests

Acceptance criteria for single selection

On the initial render, focus the initial item only if there is a pre-selected item; otherwise, no item should be focused.
Focus on the first item when the text input changes.
When the text input is cleared, remove focus completely

Acceptance criteria for multiple selections list:

If there are no selected items, do not focus on any item.
If there are selected items and the text input changes, focus on the first non-selected item.
When the text input is cleared, remove focus completely

Test:

Open the app
Open settings->profile->timezone
Select any timezone from the visible timezones when scrolled to the top eg: type as and selectAfrica/Asmara
Search any term in search (eg: tr) and observe that focus is changed to the first value as it normally does for all other similar UI

Besides the previous test, all other tests should abide the previous requirements criteria

Profile -> Pronouns
Workspace -> Members
Workspace -> Members -> Invite
Workspace -> Settings -> currency

QA Steps

[x] Verify that no errors appear in the JS console

acceptance criteria for single selection

On the initial render, focus the initial item only if there is a pre-selected item; otherwise, no item should be focused.
Focus on the first item when the text input changes.
When the text input is cleared, remove focus completely

Acceptance criteria for multiple selections list:

If there are no selected items, do not focus on any item.
If there are selected items and the text input changes, focus on the first non-selected item.
When the text input is cleared, remove focus completely

Test:

Open the app
Open settings->profile->timezone
Select any timezone from the visible timezones when scrolled to the top eg: type as and selectAfrica/Asmara
Search any term in search (eg: tr) and observe that focus is changed to the first value as it normally does for all other similar UI

Besides the previous test, all other tests should abide the previous requirements criteria

Profile -> Pronouns
Workspace -> Members
Workspace -> Members -> Invite
Workspace -> Settings -> currency

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] If we are not using the full Onyx data that we loaded, I've added the proper selector in order to ensure the component only re-renders when the data it is using changes

[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)

[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/59809993/63642f16-3d5d-4599-ac08-2325a9096ee8

Android: mWeb Chrome
https://github.com/Expensify/App/assets/59809993/c1b32ce8-48d1-42b9-b324-6270ca48046a

iOS: Native
https://github.com/Expensify/App/assets/59809993/9efbf3a2-a2ec-422d-b4ff-f08b958383be

iOS: mWeb Safari
https://github.com/Expensify/App/assets/59809993/61689217-e642-4eb4-9207-888f95e65908

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/59809993/2e57afec-5dc7-4bd0-a1e1-6953853579aa
https://github.com/Expensify/App/assets/59809993/a4c03757-bef4-4bae-a002-84497a4e2747

MacOS: Desktop
https://github.com/Expensify/App/assets/59809993/e37ac770-2644-4e94-a6d2-23d8c77d6247
https://github.com/Expensify/App/assets/59809993/667bc157-68ac-458c-a346-17009a8c9a23

@fedirjh done

i have migrated the new changes to typescript as the file on the main was changed to ts.
please check this comment and let me know if we should cover the selection focus as well https://github.com/Expensify/App/issues/29080#issuecomment-1896331033

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/MonilBhavsar in version: 1.4.42-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.42-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


interleaveGenerator

I have added a couple of comments.
interleaveGenerator is a nice helper to combine together multiple iterables. And I think that helps to implement a family of new functions in a more readable way.
I have a few questions:

I am not sure about the name. It does interleave. But not strictly alternating between iterables. Also unsure about generator. Maybe interleaveIterableFactory ?
are we sure we want to expose this outside? it looks a bit weird given that is the only function with that kind of interface
do you still want to reimplement zip/zipAll with this?

To your questions:
I still plan to use it internally. It will used to implement collate (interleave by comparator), interleave (round robin), and asyncInterleaveReady (if you still want that).
I'm a bit flexible on the name. Perhaps the prefix custom would denote the level of its flexibility better? I wanted generator as part of the name to cue the user in to the fact that they need to plug a generator function into it. I should also do a better job in the README of explaining right up front what you would be trying to accomplish when you need this function, and needing to plug a generator in.
Finally I want the name to look good as a decorator since I anticipate that the community will eventually demand decorator support for plain functions:
@interleaveGenerator
function * interleaveAABB(canTakeAny, a, b) {
  while (canTakeAny) {
    if (a.canTake()) yield a.take()
    if (a.canTake()) yield a.take()
    if (b.canTake()) yield b.take()
    if (b.canTake()) yield b.take()
  }
}

As to whether it should be exposed at all, well, do you think that looking a bit weird carries a risk?

I still plan to use it internally. It will used to implement collate (interleave by comparator), interleave (round robin), and asyncInterleaveReady (if you still want that).

I still want those :+1:

As to whether it should be exposed at all, well, do you think that looking a bit weird carries a risk?

the fact that is exposed should not be a problem. How you present it, it might lead to confusion.
We might present it as "interleaveHelper(generator, ...iterables)" and that would sits a bit more naturally between the other functions. You can still use it as a decorator because of the curry. But you can also use it like any other function. What do you think ?

I'm ready to merge this. @sithmel any final thoughts?

I thought we decided to make it an internal function, and to use to implement all others "merge" functions

Oh, maybe we did. I couldn't remember where we left this so I was just looking through the comments on this thread.
I'd still like to make it public. My intent was to offer a replacement for the public merge API that I still plan to deprecate. It'd be nice to be able to tell anyone who was using that that they should use this instead.

I know it's a bit different from other things in the library, but I think anyone who sees an example is gonna grok the concept pretty quick.

I don't think is the right level of abstraction for iter-tools. This was the main regret I had for "merge", it required to fiddle with merging detail.
I would rather deal with the common cases.

merge by position (sync/async)
merge by value (sync/async)
merge by time (async)

Remind me what you mean by "merge by position"?

Just a round robin collate right...

possibly in 5 distinct function ;-)
I think the best thing for now is to make interleave generator "internal" and merge.

Could we call it "experimental" instead of internal? We could make an section of the docs for experimental methods and call this one experimentalInterleaveGenerator.
We could link each method to an issue e.g. promote experimentalInterleaveGenerator to interleaveGenerator and request that people who want to see the method promoted thumbs up the initial description, while anyone who feels the API is not well designed could give a thumbs down. We could also encourage people to share their use cases in the issue comments.

Anything with no thumbs or use cases we'd delete or make internal as appropriate after some length of time.

I don't see why we should leave the design of the library to some passer-by. Surely they won't be involved enough to make a thoughtful decision.
If this is really important to you, maybe you can move in the utility section. I really wouldn't want to expand the library with a family of decorator.
Do you have any other decorators in mind by any chance ?

I absolutely do think there will be other decorators. Two of them exist already in some form: throttle, and buffer..
Eventually I see these being used as:
@throttle(10)
function * myThrottledGenerator(throttledSource) { ... }
// and
@buffer(2)
function * myBufferedGenerator(bufferedSource) { ... }

I imagine we'll come up with more too. If you think these all fall outside the scope of the library, then I can create somewhere else to publish them.

The cool thing is that because the asyncThrottle and asyncBuffer functions are curried, they already work like this (or they will as soon as js supports decorators on non-class-method functions).

Actually now that I look at it it seems fairly unlikely to be that throttle and buffer will be used that way. A consumer needs to be responsible for buffering and throttling, and in that example those concerns are on the producer of values, which doesn't make much sense.

Shall we go with the utility section for now ?

I realize I'm being thick-skulled here. This doesn't need to be interleaveGenerator at all, it can just be interleave. As I've pointed out, our currying syntax already facilitates usage of our regular functions as decorators, if that ever becomes appropriate.
Once you take that away, interleave looks very much like every other method in the library, except that it expects you to pass a generator function in place of a normal callback.

@sithmel Would such a change allay your fears about introducing this concept of decorators and widening the definition of what belongs in the library?

Would such a change allay your fears about introducing this concept of decorators (no longer needed) and widening the definition of what belongs in the library?

yes :-)
Last thing.
We are now back with something similar to what "merge" is.
I understand you found the name "merge" confusing. Are you sure of "interleave" ?
But I won't insist on this, if you can't come up with anything better, I am happy with interleave (I couldn't figure out a better name, anyway).

I like merge. Merge can be mistaken conceptually with spreading as in Object.merge, and since the previous method was called merge it's an added bonus that this one, which works quite differently, does not share the same name.

Now I just to add the uncurried version of the typedefs

Added uncurried typedefs.


FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi'

Hello,
I was trying to setup local run on my mac and got this error when running: "torchserve --start --ts-config config.local.properties --foreground" And got a no module named "nvgpu" error.
Doing  "pip install nvgpu" I get this error repeating:
2024-06-10T19:29:06,095 [WARN ] pool-3-thread-1 org.pytorch.serve.metrics.MetricCollector - worker pid is not available yet.
2024-06-10T19:29:06,384 [ERROR] Thread-6 org.pytorch.serve.metrics.MetricCollector - Traceback (most recent call last):
File "/Users/test2/Yusha-rebase/yusha-app/AnimatedDrawings/torchserve/.venv/lib/python3.12/site-packages/ts/metrics/metric_collector.py", line 27, in
system_metrics.collect_all(sys.modules['ts.metrics.system_metrics'], arguments.gpu)
File "/Users/test2/Yusha-rebase/yusha-app/AnimatedDrawings/torchserve/.venv/lib/python3.12/site-packages/ts/metrics/system_metrics.py", line 119, in collect_all
value(num_of_gpu)
File "/Users/test2/Yusha-rebase/yusha-app/AnimatedDrawings/torchserve/.venv/lib/python3.12/site-packages/ts/metrics/system_metrics.py", line 71, in gpu_utilization
info = nvgpu.gpu_info()
^^^^^^^^^^^^^^^^
File "/Users/test2/Yusha-rebase/yusha-app/AnimatedDrawings/torchserve/.venv/lib/python3.12/site-packages/nvgpu/init.py", line 7, in gpu_info
gpus = [line for line in _run_cmd(['nvidia-smi', '-L']) if line]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/test2/Yusha-rebase/yusha-app/AnimatedDrawings/torchserve/.venv/lib/python3.12/site-packages/nvgpu/init.py", line 32, in _run_cmd
output = subprocess.check_output(cmd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File<EMAIL_ADDRESS>line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File<EMAIL_ADDRESS>line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi'
What do I do?

Hi, any update on this?

The same

I'd recommend asking this question to the nvgpu folks:
https://pypi.org/project/nvgpu/
However, my hunch is that your development environment doesn't have a GPU,
which is why nvidia-smi, which is a CLI used for managing and monitoring
GPU devices, cannot be found.
On Mon, Dec 9, 2024 at 6:11 AM T1murKO @.***> wrote:

The same
—
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/AnimatedDrawings/issues/290#issuecomment-2528069675,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABS52DARICVRCZTQIIZ3AZT2EWQHPAVCNFSM6AAAAABJCASBQ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRYGA3DSNRXGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Best,
Harrison Jesse Smith


privacy design strategies and tactics link is broken

The link privacy design strategies and tactics in the pbd lib documentation is broken.

fixed


Support unit testing on MacOS and more.

Support unit testing on MacOS.
Refactor code structure.
Fix lint errors.
Remove demo test cases (To be re-added as future unit tests).

/approve


chore(main): release 0.50.0

:robot: I have created a release beep boop
0.50.0 (2024-08-21)
Features

Analytics: track events  and viewed page (#665) (c967a98)
Databases: better count of  tables rows (#668) (6599d63)
Databases: display better count of rows (6599d63)

Bug Fixes

analytics: Remove last trailing slash in /analytics/track endpoint (b4224fa)
analytics: Remove trailing slash to the analytics endpoint (b89903b)
Connections: check if connection fields is defined (#637) (9f1234b)
deps: update dependency @apollo/client to v3.10.8 (#649) (64aad8d)
deps: update dependency @heroicons/react to v2.1.5 (#656) (57a7a5d)
deps: update dependency @sentry/nextjs to v7.118.0 (#650) (dc1874d)
deps: update dependency @tanstack/react-table to v8.19.3 (#651) (be27e36)
deps: update dependency @types/lodash to v4.17.7 (#662) (b31835b)
deps: update dependency @types/node to v20.14.14 (#659) (7f14d76)
deps: update dependency @uiw/react-codemirror to v4.23.0 (#660) (eb84f93)
deps: update dependency cookies-next to v4.2.1 (#661) (68fe428)
deps: update dependency cronstrue to v2.50.0 (#663) (9be2683)
deps: update dependency filesize to v10.1.4 (#657) (40a2155)
deps: update dependency graphql to v16.9.0 (#664) (02d187a)
deps: update dependency react-i18next to v14.1.2 (#643) (415c79c)
deps: update dependency react-i18next to v14.1.3 (#658) (72144b6)
Pipelines: ensure default value is an array for multiple choices param (2085272)
Pipelines: fix typo on delete pipeline (#652) (c771f48)
Pipelines: set default value as array for multi choices param (#667) (2085272)

Miscellaneous

deps: update dependency autoprefixer to v10.4.20 (#670) (3b7ea53)
deps: update dependency deepl-node to v1.13.0 (#644) (566657c)
deps: update dependency postcss to v8.4.39 (#654) (2ea63d2)
deps: update dependency postcss to v8.4.41 (#672) (1f05756)
deps: update dependency prettier to v3.3.3 (#646) (640012a)
deps: update dependency prettier-plugin-tailwindcss to ^0.6.0 (#647) (3a334a3)
deps: update dependency tailwindcss to v3.4.5 (#655) (f49141f)
deps: update graphqlcodegenerator monorepo (#631) (937287c)
deps: update testing-library monorepo (#635) (0c719b8)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/BLSQ/openhexa-frontend/releases/tag/0.50.0 :sunflower:


chore: Update codeowners

Update codeowners as @arschles @asw101 @ajanth97 are no longer actively contributing.
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

@arschles @asw101 @ajanth97 if you are planning to contribute more again, please let me know and we can keep you in.

Hi @tomkerkhove I have been quite busy lately but I would like to get back to contributing soon

Great! Should I keep you in then or prefer to see how things go?

Well ... keep me in for the time being. thanks

let's create a team in the organization to manage contributors/codeowners like with do in other repos, WDYT?

@JorTurFer Feel free to do so and let me know!

the team already exists, it's @kedacore/keda-http-contributors , you can use it in you PR or I can open another PR, as you prefer

Done


April 2023 Performance Audit

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

This is a tracking issue for another from-scratch performance audit to identify performance bottlenecks in our app.
View all open jobs on GitHub

Hey, we are still working on this, and will provide results by next week, stay tuned! 😊


Use https:// for dstool by default

As for some reason 8765 now gets encrypted.

Embedded UI endpoint can be encrypted or not depending on the cluster options.
Current Ansible playbooks, as well as Docker image, enable TLS now.
Both HTTP and HTTPS are poor choices for external users now, as we do not have any working mechanism for automated authentication of Embedded UI. Probably GRPCS should be used instead. It breaks some old internal scripts, though.

@zinal yes, this will likely need to be switched to grpcs once dstool is updated on pypi.


Missing AccessToken param on LoginWithGoogleAccountRequest object cause compile error when using TypeScript

It should be noted in the doc that LoginWithGoogleAccountRequest object for PlayFabClient.LoginWithGoogleAccount API call is missing accessToken param. This is fine in JavaScript, but this will cause compile error in TypeScript. A workaround is to add a type with the missing param that extends LoginWithGoogleAccountRequest
interface LoginRequest extends PlayFabClientModels.LoginWithGoogleAccountRequest { 	AccessToken: string; }
And cast the type when using the API
PlayFabClient.LoginWithGoogleAccount( 			{ 				AccessToken: accessToken, 				CreateAccount: true, 			} as LoginRequest

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

ID: 69b2a31e-9970-fe80-7402-5890ad60efa4
Version Independent ID: 09c0149b-cf8f-d7f5-f5d9-2ee8956e623c
Content: Setting up PlayFab authentication using Google and HTML5 - PlayFab
Content Source: playfab-docs/features/authentication/platform-specific-authentication/google-html5.md
Product: playfab
GitHub Login: @joannaleecy
Microsoft Alias: joanlee

Have the exact same problem with Unity SDK #188


Add github.com/bjesus/pipet

https://github.com/bjesus/pipet

Thank you.

https://github.com/aquaproj/aqua-registry/pull/27575

v4.231.0 is out 🎉
https://github.com/aquaproj/aqua-registry/releases/tag/v4.231.0


Parallelization for speed improvement

I just wanted to try to calculate DBCV for my HDBSCAN result (312 points) and this takes me now forever. As I look into the code, it seems that it may be rather simple to parallelize e.g. the computation of mutual reachability graph as it takes so far the most time... I might fork and make a pull-request then.

no, ... go ahead
2018-08-07 12:20 GMT+01:00 Christopher Jenness<EMAIL_ADDRESS>
@alexeyegorov https://github.com/alexeyegorov have you looked at this
at all? If not, I'll make a branch this weekend.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/christopherjenness/DBCV/issues/6#issuecomment-411022787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQbJeDjD4qvXUN-P2on5WUM2vwXJOBx7ks5uOXfigaJpZM4UmhVY
.

@christopherjenness I did start it, but had some other issues and did not follow up on it. Feel free to work on it! 👍

Profiling branch: https://github.com/christopherjenness/DBCV/tree/profiling

Looking at where we're getting jammed up: Because of the way I looped through data, the current program makes 2*n2 calls to the distance function.  We could easily cut the runtime in half by only making n2 calls.  But do we even need to calculate all pairwise distances? If not, we could save a lot of time.  If so, I bet something like https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.distance.pdist.html would really speed up the program...

dec6be2c9802d305625c21f75086c2d0ccef8d6b anecdotally speeds it up dramatically, but I will profile it and make sure it's still calculating the metric as expected when I get a chance.

This sounds really good and your thoughts do make sense. Probably a kind of
test of same result would be the way. Thanks that you are taking care of
it. :)
Alexey Egorov
Wissenschaftlicher Mitarbeiter
Technische Universität Dortmund
Fakultät für Informatik, LS 8
Otto-Hahn-Straße 12
44227 Dortmund
<EMAIL_ADDRESS>www-ai.cs.uni-dortmund.de
Am So., 12. Aug. 2018 um 15:40 Uhr schrieb Christopher Jenness <
<EMAIL_ADDRESS>
dec6be2
https://github.com/christopherjenness/DBCV/commit/dec6be2c9802d305625c21f75086c2d0ccef8d6b
anecdotally speeds it up dramatically, but I will profile it and make sure
it's still calculating the metric as expected when I get a chance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/christopherjenness/DBCV/issues/6#issuecomment-412343613,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AE3c-8bGj5RmRWxgdrnAMH4lW89V4V51ks5uQDAvgaJpZM4UmhVY
.

This update gave a 53x speed improvement on a sample of 300 points (692 seconds down to 13 seconds)
New profiling results: 91307a3d142349f2fa871f574dfe7b83485d64ca

And, scores look good.


model

Can you upload the pretained models?

Have you finished running the code？

I have not finished running the code. In the ae main.py, the author use chamfer to contrast trans_input and pc_1(line 429), pc_1 is the output complete point clouds, but trans_input is the incomplete point clouds, in my opinion, chamfer is used to minimize GT and pc_1, so it really confuses me.

Have you finished running the code？

I have not finished running the code. In the ae main.py, the author use chamfer to contrast trans_input and pc_1(line 429), pc_1 is the output complete point clouds, but trans_input is the incomplete point clouds, in my opinion, chamfer is used to minimize GT and pc_1, so it really confuses me.


lvm-operator vs topolvm

Hi,
I'm looking at this operator to add Dynamic Storage Provisioning to an SNO (without the ability to use ODF) and I stumbled upon this operator.
Is there a bit more documentation on what this operator provides compared to what topolvm already does? Is it planned to be made available in the Openshift's OperatorHub soon? I'd like to avoid an operator not yet in the OperatorHub.
Is the ODF LVM Operator in the 4.10 OperatorHub related to this operator? What is the subscription required for this Operator, only ODF or the whole RHACM is required as specified here (https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html/deploying_openshift_data_foundation_on_single_node_openshift_clusters/installing-odf-logical-volume-manager-operator-using-rhacm_sno)
Thank you for your time!

Hi,
Topolvm requires VGs to be precreated. This operator does the initial LVM vg creation and deploys the topolvm CSI driver.
Yes, it is the same as the ODF LVM Operator that is available in OperatorHub. Please note it is still in Tech preview.
You can also install it via YAMLs.


Shorter Allas examples

The Allas tutorials / example documents are good and thorough, but perhaps even too so. Could we make very concise command examples, along the lines of batch job example page, for the most used simple commands?

available in here: https://docs.csc.fi/data/Allas/#example-commands-for-puhti-and-mahti


Make command line reference more prominent

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

Line 16: [Error] Restore nuget package W:\vdkv-s.optemp\packages\opbuild.scripts.1.28.3\tools\packages.config in folder:W:\vdkv-s.optemp\packages failed, possibly due to transient errors from nuget servers. Please retry building your content. If the issue still happens, open a ticket in http://MSDNHelp. Detailed error: Unable to find version '2.13.2' of package 'docfx.console'.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Build fails 😢

Thanks @ErikEJ


Add evaluation tests for class static initializers

This adds some runtime evaluation tests for super references in static initializers.

I'm not 100% sure that's a valuable test since SuperProperty call has been around for awhile, but I'll add it.


DATAJDBC-637 - Time conversion now preserve nanosecond precision.

The standard JSR 310 converters are no longer used for conversions between java.util.Date and java.time.*.
New converters based converting to/from Timestamp are used.
This preserves the precision because both the java.time.* API and Timestamp have nanosecond precision, while java.util.Date has not.
See DATAJDBC-637

That's merged, polished, and backported now.


strict mode in zip causes extra type errors

Environment data

Language Server version: v2021.9.4
OS and version: Win10
Python version (& distribution if applicable, e.g. Anaconda): 3.10

Expected behaviour
No error warnings.
Actual behaviour
Below code doesn't cause any warnings:
names = ["John", "Jess"]
ages = [20]
for name, age in zip(names, ages):
    pass

However when using the new strict mode for zip function added in Python 3.10 (PEP 618):
names = ["John", "Jess"]
ages = [20]
for name, age in zip(names, ages, strict=True):
    pass

I am getting 3 errors now:

1 on zip function itself, this appears with type checking at basic
No overloads for "__new__" match the provided arguments
Argument types: (list[str], list[int], Literal[True])
strict type checking also introduces errors for each unpacked variable:
Type of "name"/"age" is unknown

Code Snippet / Additional information
Additionally, strict is not in the candidates list when typing in zip.

This was just fixed in typeshed.

Thanks. This will be included in our next release.


Subscribers with Founder badge aren't accurately filtered with author.subbed

Subscribers who also have the founder badge are not filtered correctly with author.subbed. To fix this, I have to create the following filter to filter all subscribers, even those who are founders:
author.subbed || ((author.badges) contains ("Founder"))

Windows 10, Chatterino 2.3.2

I assume this would just be fixed by including 'founder' in here along with subscriber?
https://github.com/Chatterino/chatterino2/blob/0a51252b761ac4a846725ce6b6e8cf8bba5efdf4/src/controllers/filters/parser/FilterParser.cpp#L50-L53

@tatemusante thanks for a bug report! I managed to fix the issue. Pull Request fixing it has been merged in to master and Chatterino version that has the fix is available in nightly build. Feel free to download it, give it a try and in case of any issues/questions feel free to ping me in this issue.
P.S. Sorry that it took so long to get to it, we have a big backlog ;p


GAM usage by non super admins

gam 3.45 x64 (Windows 8.1).
I am wondering if the tool supports admins who are user created (non super admins)?
Does anyone have any experience with this?
Also how does one get back to the original scopes screen?
Select the authorized scopes for this token. Include a 'r' to grant read-only
access or an 'a' to grant action-only access.
[]  0)  Group Directory API (supports read-only)
[]  1)  Organizational Unit Directory API (supports read-only)
[]  2)  User Directory API (supports read-only)
[]  3)  Chrome OS Device Directory API (supports read-only)
[]  4)  Mobile Device Directory API (supports read-only and action)
[]  5)  User Email Settings API
[]  6)  Calendar Resources API
[]  7)  Audit Monitors, Activity and Mailbox Exports API
[]  8)  Admin Settings API
[]  9)  Groups Settings API
[] 10)  Calendar Data API (supports read-only)
[] 11)  Audit Reports API
[] 12)  Usage Reports API
[] 13)  Drive API (create report documents for admin user only)
[] 14)  License Manager API
[] 15)  User Security Directory API
[] 16)  Notifications Directory API
[] 17)  Site Verification API
() 18)  IMAP/SMTP Access (send notifications to admin)
() 19)  User Schemas (supports read-only)
 20)  Select all scopes
 21)  Unselect all scopes
 22)  Continue

Thanks in advance,

Can you post your question in the GAM discussion list:
https://groups.google.com/forum/#!forum/google-apps-manager
the issue tracker is meant for bug reports and doesn't do well with discussions. Happy to respond over on the list.


Suggestion: empty input should not run kubectl

Firstly, thanks a lot for this incredibly useful tool. One minor issue I have though, is that often in REPLs, I'll press enter a few times just to add some empty lines after the previous output. However, with kubectl-repl, pressing enter on an empty prompt runs kubectl by itself, which shows the verbose help documentation.
I guess I can accomplish the same thing by just typing ; itself, but it would be nice if empty lines (and possibly just whitespace-only lines in general) could be a no-op.

Hi, thank you for the feedback. This is indeed a minor annoyance that I would like fixed as well. For me it mostly manifests when submitting something in an exec which then exits.
Until I get to it, which may in in the next few days, I will label this for others that may in interested in contributing.

I've never written Go code before until now, but I gave it a try: #12


fix: PR#17 –'removed jekyll-last-modified-at

Run bundle exec jekyll build --trace --baseurl "/blog "
bundle exec jekyll build --trace --baseurl "/blog "
shell: /usr/bin/bash -e {0}
env:
GITHUB_PAGES: true
JEKYLL_ENV: production
JEKYLL_GITHUB_TOKEN:
JEKYLL_LOG_LEVEL: debug
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll.rb:28: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of jekyll-4.3.4 to add csv into its gemspec.
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/safe_yaml-1.0.5/lib/safe_yaml/transform.rb:1: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec. Also contact author of safe_yaml-1.0.5 to add base64 into its gemspec.
Couldn't load liquid/c. Skipping.
PluginManager: Required jekyll, kramdown, sassc-embedded, minima, rake
Couldn't load jekyll-compose. Skipping.
Couldn't load jekyll-docs. Skipping.
Couldn't load jekyll-import. Skipping.
Logging at level: debug
Jekyll Version: 4.3.4
Logging at level: debug
Jekyll Version: 4.3.4
Configuration file: /home/runner/work/blog/blog/_config.yml
Theme: minima
Theme source: /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/minima-2.5.2
Requiring: jekyll-feed
Requiring: jekyll-seo-tag
Requiring: jekyll-feed
Requiring: jekyll-seo-tag
Requiring: jekyll-optional-front-matter
Dependency Error: Yikes! It looks like you don't have jekyll-optional-front-matter or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. If you've run Jekyll with bundle exec, ensure that you have included the jekyll-optional-front-matter gem in your Gemfile as well. The full error message from Ruby is: 'cannot load such file -- jekyll-optional-front-matter' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
bundler: failed to load command: jekyll (/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/bin/jekyll)


Fix typo

Fixes #36834

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

Verified the update; merging.
@Potapy4 Thanks for submitting this fix.


moved thread_safety_analysis::ts_unchecked_read to absl namespace

This solves issue #127

I've signed CLA after receiving this message, so check should be restarted and label "cla: no" should be removed, I guess.

So, what do we do here? Rename TS_UNCHECKED_READ to ABSL_TS_UNCHECKED_READ?
It is possible to make non-breaking change with something like this:
%%(c++)
#define ABSL_TS_UNCHECKED_READ(x) absl::thread_safety_analysis::ts_unchecked_read(x)
// Deprecated. Use ABSL_TS_UNCHECKED_READ instead
#define TS_UNCHECKED_READ(x) ABSL_TS_UNCHECKED_READ(x)
namespace absl {
namespace thread_safety_analysis {
// ts_unchecked_read_here
}
}
namespace thread_safety_analysis {
template
ABSL_DEPRECATED("use absl::thread_safety_analysis::ts_unchecked_read") inline const T& ts_unchecked_read(const T& v) NO_THREAD_SAFETY_ANALYSIS {
return absl::thread_safety_analysis::ts_unchecked(v);
}
// ...
}
%%

You can't change the definition of TS_UNCHECKED_READ because of the macro redefinition issue. This is something the team is going to have to handle when we have time. We will need to release a tool to update code that depends on this API.


Upgrade kubespray 2.20.0

Upgrade kubespray 2.20.0
Some considerations:

k8s.gcr.io repository is changed to registry.k8s.io.

Done.


[deps] Add support for latest django-rest-framework-version

Add support for latest django-rest-framework-version (tox, ensure tests pass, update compatibility table).

Hello, I will like to take this, Can you guide me a little bit @nemesisdesign .

#223 is running the test against DRF 3.12 and tests are passing after a few minor fixes.

Closed by #223, thanks @dhaval-mehta :+1:

Closed by #223, thanks @dhaval-mehta :+1:

Just realized that the CI build doesn't seem to test with the latest version of DRF.

Just realized that the CI build doesn't seem to test with the latest version of DRF.

Done in #266


Time machine incorrectly reports disk size when using an external volume.

Hi, thanks for the container, seems to work well, except there is a slight flaw - the network volume is incorrectly reporting free space when I try to use a much larger external USB drive. I am running a high capacity 6TB USB drive but the mounted volume on my mac is only reporting the total capacity of the built in hard drive on my server which is much lower..

I am having the same issue. I also added the --privileged flag but it does not change. I have only 34GB available, though there are more than 500GB free.
What steps did you exactly do?

I have same problem.

I found solution:
add user command was wrong
Last argument need be under /timemachine folder
Wrong:  docker exec timemachine add-account pi passBLAbla123  tm /home/pi/tm
Correct: docker exec timemachine add-account pi passBLAbla123  tm /timemachine
But now i have another issue: a lot of erros by adding user
chown: /timemachine: Operation not permitted
...


create what's in design system section for homepage

https://github.com/cagov/design-system/pull/289


Footnotes parsed as images?

Not sure this is a bug or an expected Markdown behaviour.
Hello![^footnote] has ![^footnote] parsed as an image:
imageReference (1:6-1:18, 5-17) [identifier="^footnote"][referenceType="shortcut"]

If this is considered as a bug, a fix might be to not allow imageReference's identifiers to start with a caret (^) when remark is configured with footnotes: true.

When I refactored the footnote stuff recently, I saw that for a second, and actually though that this wouldn’t show up that much, but your example is quite convincing, so I’ll do that in the next major!

Thanks a bunch!


Add support for input files being supplied from xcode's Build Phase inputs

When creating a build phase, there is a way to add "input files". We should allow this way of pointing generator to source files.

Fixed in ea3fdef.


Advanced mode did not manage properly unannotated training phrases

The bulk_create_intent_from_dataframe and bulk_update_intents_from_dataframe did not manage properly training phrases that had no annotations (parameter_id is NA).
Added a condition that solves the issue in src/dfcx_scrapi/tools/dataframe_functions.py file.
Also added an example:

a notebook and .py files to help understand how to work with annotated training phrases
2 CSV files for sample intent and params

Discussed with team today.
While the proposed change does fix the immediate issue, the DataFrame generated by bulk_intent_to_df advanced mode is likely the more systemic issue that needs to be addressed.
@MRyderOC is going to triage since they are working on some similar methods at the moment and have good context for this fix.

Ready to Merge!