Verify VSCode Experience (MacOS)

This is the "out of the box" experience.
When you open this project in VSCode does it Just Work?
related #17

On a 2020 M1 MacBook Air, running macOS Ventura 13.3.1a, I used setup-cpp to install dependencies, but it was using the wrong path for homebrew, so I had to install some dependencies manually.
With everything set up, I get the following error when trying to configure the project through cmake:
[main] Configuring project: robco-term-game
[proc] Executing command: /Users/james/cmake/cmake-3.26.4-macos-universal/CMake.app/Contents/bin/cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/Users/james/repos/robco-term-game/out/install/unixlike-clang-debug -S/Users/james/repos/robco-term-game -B/Users/james/repos/robco-term-game/out/build/unixlike-clang-debug -G Ninja
[cmake] -- The CXX compiler identification is AppleClang <IP_ADDRESS>30022
[cmake] -- The C compiler identification is AppleClang <IP_ADDRESS>30022
[cmake] -- Detecting CXX compiler ABI info
[cmake] -- Detecting CXX compiler ABI info - failed
[cmake] -- Check for working CXX compiler: /usr/bin/clang++
[cmake] -- Check for working CXX compiler: /usr/bin/clang++ - broken
[cmake] CMake Error at /Users/james/cmake/cmake-3.26.4-macos-universal/CMake.app/Contents/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:60 (message):
[cmake]   The C++ compiler
[cmake]
[cmake]     "/usr/bin/clang++"
[cmake]
[cmake]   is not able to compile a simple test program.
[cmake]
[cmake]   It fails with the following output:
[cmake]
[cmake]     Change Dir: /Users/james/repos/robco-term-game/out/build/unixlike-clang-debug/CMakeFiles/CMakeScratch/TryCompile-TFUPcN
[cmake]
[cmake]     Run Build Command(s):/opt/homebrew/bin/ninja -v cmTC_70530 && [1/2] /usr/bin/clang++   -std=c++20 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -MD -MT CMakeFiles/cmTC_70530.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_70530.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_70530.dir/testCXXCompiler.cxx.o -c /Users/james/repos/robco-term-game/out/build/unixlike-clang-debug/CMakeFiles/CMakeScratch/TryCompile-TFUPcN/testCXXCompiler.cxx
[cmake]     [2/2] : && /usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L"/Users/james/llvm/lib" CMakeFiles/cmTC_70530.dir/testCXXCompiler.cxx.o -o cmTC_70530   && :
[cmake]     FAILED: cmTC_70530
[cmake]     : && /usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L"/Users/james/llvm/lib" CMakeFiles/cmTC_70530.dir/testCXXCompiler.cxx.o -o cmTC_70530   && :
[cmake]     ld: warning: ignoring file /Users/james/llvm/lib/libc++.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
[cmake]     ld: in '/Users/james/llvm/lib/libunwind.dylib', building for macOS-arm64 but attempting to link with file built for macOS-x86_64
[cmake]     clang: error: linker command failed with exit code 1 (use -v to see invocation)
[cmake]     ninja: build stopped: subcommand failed.
[cmake]
[cmake]
[cmake]
[cmake]
[cmake]
[cmake]   CMake will not be able to correctly generate this project.
[cmake] Call Stack (most recent call first):
[cmake]   CMakeLists.txt:18 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[proc] The command: /Users/james/cmake/cmake-3.26.4-macos-universal/CMake.app/Contents/bin/cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/Users/james/repos/robco-term-game/out/install/unixlike-clang-debug -S/Users/james/repos/robco-term-game -B/Users/james/repos/robco-term-game/out/build/unixlike-clang-debug -G Ninja exited with code: 1

On an Intel Macbook Pro, Ventura 13.6.1. I ran setup-cpp. Cmake had a config error from not finding ninja. I figured out that setup-cpp configured .cpprc for bash in .profile. I'm using zsh, so I had to copy/paste to .zprofile. Cmake config passed. Now when I try to run tests I get the following:
[main] Building folder: test tests
[build] Starting build
[proc] Executing command: /Users/jhoward1/cmake/cmake-3.27.4-macos-universal/CMake.app/Contents/bin/cmake --build /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug --parallel 14 --target tests
[build] [1/1] Linking CXX executable test/tests
[build] FAILED: test/tests test/tests_tests-f9b55b5.cmake /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/tests_tests-f9b55b5.cmake
[build] : && /Users/jhoward1/llvm/bin/clang++ -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -fcf-protection  -D_GLIBCXX_ASSERTIONS -g -flto=thin -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L"/Users/jhoward1/llvm/lib"     -fsanitize=address,undefined test/CMakeFiles/tests.dir/tests.cpp.o -o test/tests  src/sample_library/libsample_library.a  _deps/catch2-build/src/libCatch2Maind.a  _deps/catch2-build/src/libCatch2d.a && cd /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test && /Users/jhoward1/cmake/cmake-3.27.4-macos-universal/CMake.app/Contents/bin/cmake -D TEST_TARGET=tests -D TEST_EXECUTABLE=/Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/tests -D TEST_EXECUTOR= -D TEST_WORKING_DIR=/Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test -D TEST_SPEC= -D TEST_EXTRA_ARGS= -D TEST_PROPERTIES= -D TEST_PREFIX=unittests. -D TEST_SUFFIX= -D TEST_LIST=tests_TESTS -D TEST_REPORTER=XML -D TEST_OUTPUT_DIR=. -D TEST_OUTPUT_PREFIX=unittests. -D TEST_OUTPUT_SUFFIX=.xml -D TEST_DL_PATHS= -D CTEST_FILE=/Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/tests_tests-f9b55b5.cmake -P /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/_deps/catch2-src/extras/CatchAddTests.cmake
[build] -macosx_version_min has been renamed to -macos_version_min
[build] dyld[25848]: Library not loaded: @rpath/libunwind.1.dylib
[build]   Referenced from: <3623496B-B072-3271-987B-4284E8F47FB5> /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/tests
[build]   Reason: tried: '/Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/libunwind.1.dylib' (no such file), '/Users/jhoward1/llvm/lib/clang/15.0.3/lib/darwin/libunwind.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/jhoward1/llvm/lib/clang/15.0.3/lib/darwin/libunwind.1.dylib' (no such file), '/Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/libunwind.1.dylib' (no such file), '/Users/jhoward1/llvm/lib/clang/15.0.3/lib/darwin/libunwind.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/jhoward1/llvm/lib/clang/15.0.3/lib/darwin/libunwind.1.dylib' (no such file), '/usr/local/lib/libunwind.1.dylib' (no such file), '/usr/lib/libunwind.1.dylib' (no such file, not in dyld cache)
[build] CMake Error at /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/_deps/catch2-src/extras/CatchAddTests.cmake:60 (message):
[build]   Error running test executable
[build]   '/Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug/test/tests':
[build]
[build]
[build]     Result: Subprocess aborted
[build]     Output:
[build]
[build]
[build]
[build] ninja: build stopped: subcommand failed.
[proc] The command: /Users/jhoward1/cmake/cmake-3.27.4-macos-universal/CMake.app/Contents/bin/cmake --build /Users/jhoward1/VSCodeProjects/test/out/build/unixlike-clang-debug --parallel 14 --target tests exited with code: 1
[driver] Build completed: 00:00:03.649
[build] Build finished with exit code 1


TestBrokerWithConfig waits for Topic in Requirement phase (#3563)

When running many tests in parallel, waiting for the Topic might start
much earlier than creating the Broker/Topic and it can time out (see
below). This change ensures that waiting for the topic starts later.
=== CONT
TestBrokerWithConfig/Broker_KafkaTopic_config_from_Broker_configmap/Setup/Topic_is_ready
wait.go:136: kafka knative-broker-test-msvvevxa-broker-dtbsqwrn not
found kafkatopics.kafka.strimzi.io
"knative-broker-test-msvvevxa-broker-dtbsqwrn" not found
topic.go:73: kafka.strimzi.io/v1beta2, Resource=kafkatopics did not
become ready, timed out waiting for the condition

OCF Webhook is merging this PR


Still valid?

Hi,
Looking to use this to add VAT in the UK. Just checking it's still maintained?
Thanks.

I'm also looking forward to use this plugin on our Killbill implementation in Indonesia. Is this plugin still managed?


fixed bug for kuma adaptor

Signed-off-by: kumarabd<EMAIL_ADDRESS>Description
This PR fixes #1522
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

looks good to me!


Easy Notify

@maximkulkin
I am trying dynamic_services example.
How can i use a function like
void notify (int relayid, bool position) {
...?

 }

so i can call notfiy easliy?

Not sure I understand the question.

I was trying to manually trigger accessory to on-off with a function;
note that i added
  c->value = new_value;
  c->value.bool_value = on;
  // I think both works

because homekit_characteristic_notifyis not enough if your iPad or iPhone is turned off. It only notfiy if your HomeKit screen is open.
void relay_write_fbin(int relay, bool on) {
  printf("relay_write_fbin %d %s\n", relay, on ? "ON" : "OFF");
  gpio_write(relay, on ? 1 : 0);
  homekit_value_t new_value = HOMEKIT_BOOL(on);
  printf("relay_write_fbin Notifying homekit that current door state is now '%s'\n", on ? "ON" : "OFF");
  homekit_accessory_t *accessory = accessories[0];
  homekit_service_t *service = accessory->services[1 + yeni];
  homekit_characteristic_t *c = service->characteristics[1];
  assert(c);
  c->value = new_value;
  c->value.bool_value = on;

  homekit_characteristic_notify(c, new_value);
}

Thank you for reply.

homekit_cahracteristic_notify() is to notify all connected controllers about the new state. If you will do just that, controllers will think that you have new state, while your internal state will remain the same. When controller gets disconnected and reconnected back, it will query full information and thus old state that you have internally.
Also, you do not need to reset it twice:
c->value = HOMEKIT_BOOL_(on);
homekit_characteristic_notify(c, c->value);


lib_cxng: Align CRC32 include on CRC16

Description
lib_cxng: Align CRC32 include on CRC16
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Linked to https://github.com/LedgerHQ/app-seed-tool/pull/1

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

Project coverage is 59.66%. Comparing base (746bf91) to head (87f84ba).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #607   +/-   ##
=======================================
  Coverage   59.66%   59.66%
=======================================
  Files          12       12
  Lines        1676     1676
=======================================
  Hits         1000     1000
  Misses        676      676

Flag
Coverage Δ

unittests
59.66% <ø> (ø)

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

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


Support performance and stress testing in testgrid

Description:
Currently, we support functional testing in testgrid. We need to support performance and stress testing as well..
Performance and stress testing are two different concepts. But I think there's good amount of implementation that'll be common to both of them. So, thought to create one task to track both. We can sub-task from here as necessary.
cc @chaminda @dilinisg
Deliverables
A report that details the,

Ideal TPS (avg and max) for HTTP-based and other services
Server health over each TPS level

Affected Product Version:
0.9.0-m22
OS, DB, other environment details and versions:
IS/APIM/EI
AWS
Steps to reproduce:
N/A
Related Issues:
#688

Created two subtasks #778 and #779 to track this task


Broken on ruby-2.2.0 because of deprecated rb_thread_select

It builds but breaks when using it. Eventmachine had to deal with this too and fixed it with this PR: https://github.com/eventmachine/eventmachine/pull/503

It looks like rb_thread_fd_select is ruby1.9.2+. Does this library still want to support 1.8?

Yes, I still want to support ruby 1.8.

Because I am still using it in places and I haven't seen the pain of continuing to supporting it to be very large.

@korczis rumor has it a certain popular social network still uses 1.8.7 in production #JustSayin


SWS Notes disappear after Undo

I guess duplicate of https://github.com/reaper-oss/sws/issues/1812
I've noticed that changes in the Notes do make the project dirty but no undo point is created in the Undo history. Maybe this is the reason why when the last action which immediately followed or preceded Notes editing is undone the Notes changes are undone as well.
Re-doing restores both the change in REAPER and in the Notes.
Alongside my own GIF i'm uploading another user's demo of the issue from the thread [t=277263]
(also linked here https://github.com/reaper-oss/sws/issues/1743#issuecomment-1483661629)

https://github.com/user-attachments/assets/8953d493-5399-46f9-abb9-eeb46504c1c8

Closing as duplicate of the mentioned other issue.


404 for https://github.com/Documentation/Configuration

I'm looking for samples of PersistenceService , SetCreatePersistenceMethod and SetUpdatePersistenceMethodbut I'm not findind anything. Is there a way of persisting data in NBuilder without using an ORM for Mocking purposes? Any sample somewhere?

@dgroh The url in that link is a typo. Try https://github.com/nbuilder/nbuilder/wiki/Configuration

I fixed the link in the wiki.


remote branch support with depth option

When clone git repository with depth option only, clone master branch.
So if the user had set a value other than origin/master for base_remote_branch doesn't work.
I add --branch option when depth option enable.

Coverage remained the same at 67.647% when pulling<PHONE_NUMBER>6ff59beaaa143b1a94454feb7ce3c8 on ota42y:depth_branch_support into ec251e61adc687ae0589e5283f1773ece07521c0 on sanemat:master.


Use the "classicvirtio" to improve support for classic Mac OS clients.

The classicvirtio project adds a number of firmware-level drivers for classic Mac OS clients running in QEMU, both 68k and PPC. It adds support for virtio-tablet-pci/virtio-tablet-device (non-capturing mouse), virtio-9p-device (shared folders), virtio-vga, and virtio-serial. I've used it myself with great results.

does that get any nearer allowing printing or print to pdf and export of files? eg from os 9.2

Yup!
You'd still need to install something like Adobe Acrobat (not Acrobat Reader) to add print to PDF. That's exactly how I have it set up using QEMU by itself.

In the latest UTM version I get an error when using it with a PPC 9.2.1:
QEMU error: QEMU exited from an error: qemu-ppc-softmmu: -device loader,addr=0x4000000,file=/Users/patrick/Documents/classicvirtio-drivers-latest/ndrv/ndrvloader: Cannot load specified image /Users/patrick/Documents/classicvirtio-drivers-latest/ndrv/ndrvloader


Update header information

This issue is imported from pivotal - Originaly created at Nov 15, 2017 by Thijs Kinkhorst

Estimation: 2h (Michiel Kodde - Nov 20, 2017)


Calicoctl endpoint <ep_id> profile (append|set|remove) should require a profile

The calicoctl endpoint <endpoint_id> profile (append|set|remove) command is written in docopt as:
calicoctl endpoint <ENDPOINT_ID> profile (append|remove|set) [--host=<HOSTNAME>]
    [--orchestrator=<ORCHESTRATOR_ID>] [--workload=<WORKLOAD_ID>]  [<PROFILES>...]

This allows the user to ignore the <PROFILES> argument entirely.  This has strange output:
# This does not actually add any profiles.
$ calicoctl endpoint d79123c4784511e5bd1a080027f532f6 profile append
Profiles  appended

$ calicoctl endpoint d79123c4784511e5bd1a080027f532f6 profile show
+------+
| Name |
+------+
| PROF |
+------+

# This doesn't remove any profiles, but still succeeds.
$ calicoctl endpoint d79123c4784511e5bd1a080027f532f6 profile remove
Profiles  removed.

$ calicoctl endpoint d79123c4784511e5bd1a080027f532f6 profile show
+------+
| Name |
+------+
| PROF |
+------+

# This sets the profile to be an empty string (no profiles)
$ calicoctl endpoint d79123c4784511e5bd1a080027f532f6 profile set
Profiles  set.

$ calicoctl endpoint d79123c4784511e5bd1a080027f532f6 profile show
Endpoint has no profiles associated with it.

The <PROFILES> param should be required.

Actually, it doesn't really make much sense to have the other flags in this command either...
I imagine this command used to be merged with the endpoint <ENDPOINT_ID> profile show command, which would explain this and why the <PROFILES> param is optional here.
Something like this:
calicoctl endpoint <ENDPOINT_ID> profile (append|remove|set|show) [--host=<HOSTNAME>]
    [--orchestrator=<ORCHESTRATOR_ID>] [--workload=<WORKLOAD_ID>]  [<PROFILES>...]

The reason the <PROFILES> param is optional is to allow the set command to use an empty list of profiles to remove all profiles.
The change should be to update the output of the commands to be more clear what is going on.

Fixed by #568


grpc request error:"upstream connect error or disconnect/reset before headers" when using kubernetes and consul registry

Describe the bug
A clear and concise description of what the bug is.
with kubernetes and consul registry , services send grpc request using kubernetes domain, envoy report error as blew.
I can guarantee that it will work in only kubernetes registry. This problem will come up in the registry of kubernetes and consul together.
2018-08-06 06:20:13.836][109][debug][filter] external/envoy/source/extensions/filters/listener/original_dst/original_dst.cc:18] original_dst: New connection accepted
[2018-08-06 06:20:13.838][109][debug][main] external/envoy/source/server/connection_handler_impl.cc:217] [C26] new connection
[2018-08-06 06:20:13.848][21][debug][upstream] external/envoy/source/common/network/dns_impl.cc:147] Setting DNS resolution timer for 3749 milliseconds
[2018-08-06 06:20:13.848][21][debug][upstream] external/envoy/source/common/network/dns_impl.cc:147] Setting DNS resolution timer for 2811 milliseconds
[2018-08-06 06:20:13.848][21][debug][upstream] external/envoy/source/common/upstream/upstream_impl.cc:1046] async DNS resolution complete for istio-pilot.istio-system
[2018-08-06 06:20:13.874][109][debug][http2] external/envoy/source/common/http/http2/codec_impl.cc:620] [C26] setting stream-level initial window size to 268435456
[2018-08-06 06:20:13.874][109][debug][http2] external/envoy/source/common/http/http2/codec_impl.cc:642] [C26] updating connection-level initial window size to 268435456
[2018-08-06 06:20:13.929][109][debug][http] external/envoy/source/common/http/conn_manager_impl.cc:191] [C26] new stream
[2018-08-06 06:20:13.929][109][debug][filter] src/envoy/http/mixer/filter.cc:60] Called Mixer::Filter : Filter
[2018-08-06 06:20:13.929][109][debug][filter] src/envoy/http/mixer/filter.cc:204] Called Mixer::Filter : setDecoderFilterCallbacks
[2018-08-06 06:20:13.929][109][debug][http] external/envoy/source/common/http/conn_manager_impl.cc:488] [C26][S2797322792474070721] request headers complete (end_stream=false):
':authority', 'foo'
':path', '/com.test.foo.Service/get'
':method', 'POST'
':scheme', 'http'
'content-type', 'application/grpc'
'te', 'trailers'
'user-agent', 'grpc-java-netty/1.6.1'
'grpc-accept-encoding', 'gzip'

[2018-08-06 06:20:13.929][109][debug][filter] src/envoy/http/mixer/filter.cc:122] Called Mixer::Filter : decodeHeaders
[2018-08-06 06:20:13.929][109][debug][filter] ./src/envoy/utils/header_update.h:46] Mixer forward attributes set: CjgKGGRlc3RpbmF0aW9uLnNlcnZpY2UubmFtZRIcEhpleGFtcGxlLWZvby5zZXJ2aWNlLmNvbnN1bAoqCh1kZXN0aW5hdGlvbi5zZXJ2aWNlLm5hbWVzcGFjZRIJEgdkZWZhdWx0Cj4KE2Rlc3RpbmF0aW9uLnNlcnZpY2USJxIlZXhhbXBsZS1mb28uZXhhbXBsZS5zdmMuY2x1c3Rlci5sb2NhbApACgpzb3VyY2UudWlkEjISMGt1YmVybmV0ZXM6Ly9leGFtcGxlLWFwaS04N2M3ZmRkNmItcWZjZmguZXhhbXBsZQpDChhkZXN0aW5hdGlvbi5zZXJ2aWNlLmhvc3QSJxIlZXhhbXBsZS1mb28uZXhhbXBsZS5zdmMuY2x1c3Rlci5sb2NhbA==
[2018-08-06 06:20:13.929][109][debug][filter] src/envoy/http/mixer/filter.cc:211] Called Mixer::Filter : check complete OK
[2018-08-06 06:20:13.929][109][debug][router] external/envoy/source/common/router/router.cc:253] [C26][S2797322792474070721] cluster 'outbound|9090||foo.test.svc.cluster.local' match for URL '/com.test.foo.Service/get'
[2018-08-06 06:20:13.929][109][debug][router] external/envoy/source/common/router/router.cc:304] [C26][S2797322792474070721] router decoding headers:
':authority', 'foo'
':path', '/com.test.foo.Service/get'
':method', 'POST'
':scheme', 'http'
'content-type', 'application/grpc'
'te', 'trailers'
'user-agent', 'grpc-java-netty/1.6.1'
'grpc-accept-encoding', 'gzip'
'x-forwarded-proto', 'http'
'x-request-id', '98eb6f5c-1468-9dd9-a1b1-d551e57c4fd7'
'x-envoy-decorator-operation', 'foo.test.svc.cluster.local:9090/*'
'x-b3-traceid', '8fc74420787b3b87'
'x-b3-spanid', '8fc74420787b3b87'
'x-b3-sampled', '1'
'x-istio-attributes', 'CjgKGGRlc3RpbmF0aW9uLnNlcnZpY2UubmFtZRIcEhpleGFtcGxlLWZvby5zZXJ2aWNlLmNvbnN1bAoqCh1kZXN0aW5hdGlvbi5zZXJ2aWNlLm5hbWVzcGFjZRIJEgdkZWZhdWx0Cj4KE2Rlc3RpbmF0aW9uLnNlcnZpY2USJxIlZXhhbXBsZS1mb28uZXhhbXBsZS5zdmMuY2x1c3Rlci5sb2NhbApACgpzb3VyY2UudWlkEjISMGt1YmVybmV0ZXM6Ly9leGFtcGxlLWFwaS04N2M3ZmRkNmItcWZjZmguZXhhbXBsZQpDChhkZXN0aW5hdGlvbi5zZXJ2aWNlLmhvc3QSJxIlZXhhbXBsZS1mb28uZXhhbXBsZS5zdmMuY2x1c3Rlci5sb2NhbA=='

[2018-08-06 06:20:13.929][109][debug][client] external/envoy/source/common/http/codec_client.cc:25] [C27] connecting
[2018-08-06 06:20:13.929][109][debug][connection] external/envoy/source/common/network/connection_impl.cc:570] [C27] connecting to <IP_ADDRESS>:20833
[2018-08-06 06:20:13.929][109][debug][connection] external/envoy/source/common/network/connection_impl.cc:579] [C27] connection in progress
[2018-08-06 06:20:13.930][109][debug][http2] external/envoy/source/common/http/http2/codec_impl.cc:613] [C27] setting max concurrent streams to<PHONE_NUMBER>
[2018-08-06 06:20:13.930][109][debug][http2] external/envoy/source/common/http/http2/codec_impl.cc:620] [C27] setting stream-level initial window size to 268435456
[2018-08-06 06:20:13.930][109][debug][http2] external/envoy/source/common/http/http2/codec_impl.cc:642] [C27] updating connection-level initial window size to 268435456
[2018-08-06 06:20:13.930][109][debug][pool] external/envoy/source/common/http/http2/conn_pool.cc:97] [C27] creating stream
[2018-08-06 06:20:13.930][109][debug][router] external/envoy/source/common/router/router.cc:972] [C26][S2797322792474070721] pool ready
[2018-08-06 06:20:13.930][109][debug][http] external/envoy/source/common/http/conn_manager_impl.cc:848] [C26][S2797322792474070721] request end stream
[2018-08-06 06:20:13.930][109][debug][filter] src/envoy/http/mixer/filter.cc:152] Called Mixer::Filter : decodeData (12, true)
[2018-08-06 06:20:13.930][109][debug][connection] external/envoy/source/common/network/connection_impl.cc:466] [C27] connected
[2018-08-06 06:20:13.930][109][debug][client] external/envoy/source/common/http/codec_client.cc:63] [C27] connected
[2018-08-06 06:20:13.933][109][debug][connection] external/envoy/source/common/network/connection_impl.cc:451] [C27] remote close
[2018-08-06 06:20:13.933][109][debug][connection] external/envoy/source/common/network/connection_impl.cc:133] [C27] closing socket: 0
[2018-08-06 06:20:13.934][109][debug][client] external/envoy/source/common/http/codec_client.cc:81] [C27] disconnect. resetting 1 pending requests
[2018-08-06 06:20:13.934][109][debug][client] external/envoy/source/common/http/codec_client.cc:104] [C27] request reset
[2018-08-06 06:20:13.934][109][debug][pool] external/envoy/source/common/http/http2/conn_pool.cc:189] [C27] destroying stream: 0 remaining
[2018-08-06 06:20:13.934][109][debug][router] external/envoy/source/common/router/router.cc:458] [C26][S2797322792474070721] upstream reset
[2018-08-06 06:20:13.935][109][debug][filter] src/envoy/http/mixer/filter.cc:191] Called Mixer::Filter : encodeHeaders 2
[2018-08-06 06:20:13.935][109][debug][http] external/envoy/source/common/http/conn_manager_impl.cc:1042] [C26][S2797322792474070721] encoding headers via codec (end_stream=true):
':status', '200'
'content-type', 'application/grpc'
'grpc-status', '14'
'grpc-message', 'upstream connect error or disconnect/reset before headers'
'date', 'Mon, 06 Aug 2018 06:20:13 GMT'
'server', 'envoy'

[2018-08-06 06:20:13.935][109][debug][http2] external/envoy/source/common/http/http2/codec_impl.cc:500] [C26] stream closed: 0
[2018-08-06 06:20:13.935][109][debug][filter] src/envoy/http/mixer/filter.cc:257] Called Mixer::Filter : onDestroy state: 2
[2018-08-06 06:20:13.935][109][debug][pool] external/envoy/source/common/http/http2/conn_pool.cc:125] [C27] destroying primary client
[2018-08-06 06:20:13.935][109][debug][filter] src/envoy/http/mixer/filter.cc:273] Called Mixer::Filter : log
[2018-08-06 06:20:13.945][112][debug][router] external/envoy/source/common/router/router.cc:253] [C0][S5632665852964996641] cluster 'zipkin' match for URL '/api/v1/spans'

Expected behavior
A clear and concise description of what you expected to happen.
the grpc request will be ok with kubernetes and consul registry, no matter use kubernetes domain or consul domain.
Steps to reproduce the bug
Steps to reproduce the behavior.
edit the pilot deployment as blew, thus can use consul registry on kubernetes. then send grpc request between any services.
         - name: discovery
          image: "docker.io/istio/pilot:0.8.0"
          imagePullPolicy: IfNotPresent
          args:
          - "discovery"
          - "--consulserverURL"
          - "<IP_ADDRESS>:8500"
          - "--registries"
          - "Consul,Kubernetes"

Version
What version of istio and Kubernetes are you using? Use istioctl version and kubectl version
kubernetes 1.9
istio 1.0.0
Is Istio Auth enabled or not?
Did you install the stable istio.yaml, istio-auth.yaml.... or if using the Helm chart please provide full command line input.
not
Environment
Which environment, cloud vendor, OS, etc are you using?
Cluster state
If you're running on Kubernetes, consider following the
instructions
to generate "istio-dump.tar.gz", then attach it here by dragging and dropping
the file onto this issue.

anyone help? (:

Can you show your target service definitions?
I just got same problem when using headless service. You can try by changing service to be cluster ip.

@tanapoln the target service is registered both in kubernetes and consul. the client use kubernetes service name to request, the kubernetes definition is below:
apiVersion: v1
kind: Service
metadata:
  name: foo
  labels:
    app: foo
spec:
  ports:
  - port: 9080
    name: http
    targetPort: 10833
  - port: 9090
    name: grpc
    targetPort: 20833
  selector:
    app: foo
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: foo
spec:
  template:
    metadata:
      labels:
        app:  foo
    spec:
      containers:
      - name:foo
        image: docker.xxx.io/foo
        imagePullPolicy: Always
        ports:
        - containerPort: 10833
        - containerPort: 20833
        env:
        - name: SPRING_APPLICATION_INSTANCE
          value: "1"

@wansuiye your kubernetes service definition was not match the case that I found because it is not a headless service. Not sure that I can help you.
By the way, can you provide these informations:

Kubernetes Service IP
All Server Pod IPs
a dig result of Kubernetes DNS for domain foo.test.svc.cluster.local
a dig result of Consul DNS for domain foo.test.svc.cluster.local
a new logs of error, specifically the line that looks like this [2018-08-06 06:20:13.929][109][debug][connection] external/envoy/source/common/network/connection_impl.cc:570] [C27] connecting to <IP_ADDRESS>:20833


Topics in the raw data

Hello
I found a topic called "/davis/left/odometry" when downloading ESVIO's raw data running on MVSEC dataset, what does it stand for? In addition, do you have ESIO raw data on the MVSEC and VECtor datasets?

Thank you very much for your answer！


[docs] Update the upgrade guide

Motivation
The original PR https://github.com/apache/pulsar/pull/4770 is merged before I could give some feedback, so I just create a new pull request.
Modifications

Refine the structure, remove some unnecessary info currently. Thus it is displayed to users as a complete guide.
Refine the language part, make it clear and concise.
Though "upgrade ZooKeeper" is optional, could we add information for it? So users can decide whether they want to upgrade ZooKeeper. When they upgrade ZooKeeper, they know how to upgrade.

@sijie Could you please add the content for "Upgrade ZooKeeper (optional)" section? Thank you.

Is there any update on this PR? Any issue, feel free to comment. Thank you.

@sijie Thank you very much for your content. I've added "Upgrade ZooKeeper" section. PTAL.


[Bug]: External DNS cannot find other account domain

Welcome to Amazon EKS Blueprints!

[X] Yes, I've searched similar issues on GitHub and didn't find any.

Amazon EKS Blueprints Release version
4.0.4
What is your environment, configuration and the example used?
Terraform 1.0.9
EKS 1.22
IAM configuration for shared service account hosting the domain done with another provider
  enable_external_dns        = true
  eks_cluster_domain         = var.route53_external_zone_id
  external_dns_irsa_policies = [module.external_dns_irsa_role.iam_role_arn]
  external_dns_helm_config = {
    version = "1.9.0"
  }

What did you do and What did you see instead?
 Error: no matching Route53Zone found
│
│   with module.eks_blueprints_kubernetes_addons.module.external_dns[0].data.aws_route53_zone.selected,
│   on .terraform/modules/eks_blueprints_kubernetes_addons/modules/kubernetes-addons/external-dns/data.tf line 1, in data "aws_route53_zone" "selected":
│    1: data "aws_route53_zone" "selected" {
│

I was expecting to get a parameter to override it or an assume policy
Additional Information
External provider :
resource "aws_iam_openid_connect_provider" "eks_provider" {
  provider = aws.ssvc
  url      = "https://${module.eks_blueprints.eks_oidc_issuer_url}"

  client_id_list = ["sts.amazonaws.com"]

  thumbprint_list = []
}

module "external_dns_irsa_role" {
  providers                     = { aws = aws.ssvc }
  source                        = "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"
  version                       = "4.24.0"
  role_name                     = "${var.APPLI}-${var.ENV}-external-dns"
  attach_external_dns_policy    = true
  external_dns_hosted_zone_arns = ["arn:aws:route53:::hostedzone/${var.route53_external_zone_id}"]

  oidc_providers = {
    ex = {
      provider_arn               = aws_iam_openid_connect_provider.eks_provider.arn
      namespace_service_accounts = ["kube-system:external-dns"]
    }
  }
}

is the zone you want to use as cluster zone private?

yes that zone is private

your example is close but we'll have to make some changes to support this - in this repo we'll have to allow disabling the IRSA role we create here and allow users to pass in the externally created IRSA role from the external account
Ref: https://aws.amazon.com/blogs/containers/cross-account-iam-roles-for-kubernetes-service-accounts/

We just put "private = true" in https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/kubernetes-addons/external-dns/data.tf


feat: update README.md to add note about Python 3.9

Updates README.md to add a note about why Python 3.9 is important to Windows users

Python 3.9 is MANDATORY for any OS in order to run Hydra. I see no need for this disclaimer since it's already marked in the README.


[in_app_purchase][Android] 'queryPastPurchases' returns empty list

in_app_purchase ^3.0.6
in_app_purchase_android: 0.2.3+1

I use 'queryPastPurchases' for query existing purchase, It returns empty list.
if (Platform.isAndroid) {
      final InAppPurchaseAndroidPlatformAddition androidPlatform = InAppPurchase.instance.getPlatformAddition<InAppPurchaseAndroidPlatformAddition>();
      final QueryPurchaseDetailsResponse purchaseResponse = await androidPlatform.queryPastPurchases();
      print("xxx:${purchaseResponse.pastPurchases.length}");    // ------------------>return 0
      for (var purchase in purchaseResponse.pastPurchases) {
        PurchaseWrapper billingClientPurchase = purchase.billingClientPurchase;

        if (!billingClientPurchase.isAutoRenewing) {
          // Subscription is cancelled and will not renew when it expires. You should still deliver/ enable the content.
        }

        // Verify the purchase and deliver the content.
      }
    }

But when I add native code into my app(eg: add code and Billing 5.0 into MainActivity Android then It can get last purchases normally)
source kotlin:
        val params = QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.SUBS)
        billingClient.queryPurchasesAsync(
            params.build(),
        ) { billingResult, list ->
            print(list.size) // ------------------>return 2
        }

Hi @vietgameplay, I believe this is a duplicate of https://github.com/flutter/flutter/issues/107454.
queryPastPurchases and restorePurchases both call the same API on the native android side, and the issue lies with the current implementation of queryPurchasesAsync on the native side of the plugin which is being addressed in https://github.com/flutter/plugins/pull/6106.
I'll be closing this as a duplicate for now, but in case this issue is not resolved after https://github.com/flutter/plugins/pull/6106 is merged, we can revisit this issue.
Thank you


PR for Feature request: ToNullable() with select and ToOption() with map function

Added interop function as requested in issue #18. Also added documentation and tests for theses.

Thanks! I'll release this and the non-equality fix in Monday latest.


Not comapable with angular -17

Will there be any new update coming for working with angular 17

I'll push support for v17 and v18

@Mahi0011 v17 and latest (v18) are now supported, please check README


feat: support Starknet mainnet

I assume it's about adding Herodotus support (so it will be blocked by Herodotus team making some fixes there)? Because Starknet mainnet is supported right now.

Right


Probably README should be updated.

[nvim-cmp] sources[number].opts is deprecated.
[nvim-cmp] Please use sources[number].option instead.

to:
sources = {
  { name = 'luasnip', options = { use_show_condition = false } },
  -- more sources
},

Do you want to send a pull request or I can update it myself :)

Do you want to send a pull request or I can update it myself :)


Send to name does not work in Desktop

When you type the name ex. stoyanstoyanstoyan.chain you get a msg that it's an invalid name... but if I scan the QR code for the account the name is pointed to it works...

It still is not working if user types too fast.


Is it not possible to access the route api using fetch on the React Server Component?

I created the "app/about/page.tsx" file from the "next-typescript-starter" example and wrote the following code.
export default async function About() {
   await fetch('http://localhost:3000/api/refresh-token', {
    method: 'GET',
    cache: 'no-store'
  });

  return (

page

  )
}

I ran it and it's not working. Did I do something wrong?

Sorry, I think I made nextjs app router common mistake.
Thanks for your reply.
I will close the issue.


Fix: Fixed crash that would occur when using drag & drop as admin

Resolved / Related Issues

[x] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Closes #12390

Validation
How did you test these changes?

[ ] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[ ] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[ ] Did you implement any design changes to an existing feature?

[ ] Was this change approved?

[ ] Are there any other steps that were used to validate these changes?

Open app ...
Click settings button ...

Should we display an modal to inform the user why drag and drop is disabled, or is that not posible?

Should we display a modal to inform the user why drag and drop is disabled, or is that not possible for the same reason drag & drop doesn't work?

We could display a modal. Should it be displayed once at the start of the app as a reminder, or everytime a drag is attempted?

My suggestion is to show it every time but with an option to "don't show again".

Sorry for the lack of answer, I am currently unable to dedicate time to Files. Thanks for having see it through, I'll handle the dialog box as soon as I can.


ESPtime

I get this error when i use your library
In file included from src/esphome/components/display/display_buffer.cpp:1: src/esphome/components/display/display_buffer.h:276:99: error: 'esphome::time::ESPTime' has not been declared
No matter what i do to get the time, your library wants the ESPtime so its not working.
I suppose this huppens because a fundamentally change huppent to ESPhome as matter the time
https://esphome.io/changelog/2023.6.0.html
Move ESPTime into core esphome namespace [esphome#4926](https://github.com/esphome/esphome/pull/4926) by [@jesserockz](https://github.com/jesserockz) (breaking-change)

esphome-gui is based on the old display_buffer classes we are working on updating the code in a short while.

Thank you for your work.
I am not in a rush, i just bought a Lilygo s3-Display Amoled that i tried with your library.


[DDW-497] Adds support for non-Latin characters in spending password

This PR Adds support for non-Latin characters in spending password.
Summary:
Daedalus does not support spending password in non-Latin. i.e. Russian or Japanese.
Steps to Reproduce:

Run Daedalus > Create a wallet.
Go to Setting > Create Password
Enter "ЬнЫгзукЗфыыцщкв123" as a spending password string.

Review Checklist:
Basics

[ ] PR is updated to the most recent version of target branch (and there are no conflicts)
[ ] PR has good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance tests are passing (yarn run test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn run dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn run package / CI builds)
[ ] There are no flow errors or warnings (yarn run flow:test)
[ ] There are no lint errors or warnings (yarn run lint)
[ ] Text changes are proofread and approved (Jane Wild)
[ ] There are no missing translations (running yarn run manage:translations produces no changes)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn run storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly documented and commented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-rendering
[ ] Any code that only works in Electron is neatly separated from components

Testing

[ ] New feature / change is covered by acceptance tests
[ ] All existing acceptance tests are still up-to-date
[ ] New feature / change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review:

[ ] Merge PR
[ ] Delete source branch
[ ] Move ticket to done on the Youtrack board

@DmitriiGaico please ping me tomorrow and I will provide you link to installers for this PR.
This fix is not going into release/0.12.0 but still we need to test it. Thanks!

This PR will be released in the scope of release/0.12.0. Here's the PR which ports the changes to release/0.12.0 branch: https://github.com/input-output-hk/daedalus/pull/1197


Feature: Supports Http3

This feature added to next branch. You can test it with:
cargo run --bin example-hello-h3


adding field returning GraphQLListType on user object

Thinking out loud here...Im trying to get my head around this.
So if I have a user and then i want that user to be able to return a list of of data, what would that look like.
If this is my standard schema generally...how would I convert that to a contextible format.
Lets assume I have set up place.js by copying user.js, how would i call the places query from user?
Something like this in root.js?
async getUsers (args) {
      let {User} = this.$context;
      let data = (await User.findAll(args)) => Place.find({});
      return data.map((d) => new User(d));
     //something else here..
    },

standard graphql sudo...
type Query {
        user(_id: String!): User
        place(_id: String): Place
        places: [Place]
      },
     type User {
      _id: String!
     name: String!
     places: [Place]
     },
      type Place {
        _id: String!
        name: String!
        address: String!
        city: String!
        votes: Int!
      }

Thanks.

@idkjs graphql-example should help.

This is a full example for your schema:
var {graphql, buildSchema} = require('graphql');
var {Context, Schema} = require('contextable');

/* Contextable */

var placeSchema = new Schema({
  fields: {
    userId: {type: 'Integer'},
    name: {type: 'String'}
  }
});

var userSchema = new Schema({
  fields: {
    id: {type: 'Integer'},
    name: {type: 'String'}
  },
  instanceMethods: {
    places () {
      return this.$context.fakeDB.places.filter((data) => (
        data.userId === this.id
      )).map((data) => (
        new this.$context.Place(data)
      ));
    }
  }
});

var rootSchema = new Schema({
  instanceMethods: {
    users () {
      return this.$context.fakeDB.users.map((data) => (
        new this.$context.User(data)
      ));
    }
  }
});

var ctx = new Context({
  fakeDB: {
    users: [
      {id: 1, name: 'John'},
      {id: 2, name: 'Bob'},
    ],
    places: [
      {userId: 1, name: 'New York'},
      {userId: 2, name: 'San Francisco'}
    ]
  }
});
ctx.defineModel('Place', placeSchema);
ctx.defineModel('User', userSchema);
ctx.defineModel('Root', rootSchema);

/* GraphQL */

var schema = buildSchema(`
  type Query {
    users: [User]
  }
  type User {
    name: String!
    places: [Place]
  }
  type Place {
    name: String!
  }
`);

var root = new ctx.Root();

graphql(schema, `{
  users {
    name
    places {
      name
    }
  }
}`, root).then((response) => {
  console.log(JSON.stringify(response, null, 2));
});

The new API will be even simpler (ref. https://github.com/xpepermint/contextablejs/issues/7).

Thanks for that. I just reread some of the readme. The new language is what I am trying to get my head around. So an instance is an instantiated class and/or an extended class with its own methods. I'll take another looks to figure out what virtual fields compare to as a concept. You might consider a tl;dr at the top of your monolithic explanation. Lead with the facts!
Thanks for sharing the project.

I agree, the docs should be shorter. The new API with better docs will be available in ~January.


proposal: spec: allow type assertion on type parameter value

Hi all,
When using the Go 1.18 generics implementation I've found myself several times wishing I had compile time type assertions. When looking to see why these didn't exist I found the FAQ entry about it, which contains the following:

We removed this facility because it is always possible to convert a value of any type to the empty interface type, and then use a type assertion or type switch on that.

I started doing this as that's what was recommended, however I quickly ran into an issue: if I accidentally asserted on the wrong thing (ie the struct instead of a field, or the wrong field, etc.) this would result in a silent failure (no error, the type switch would just fail) because anything can be stuffed into an empty interface. In one concrete example I typed the following:
switch v := (interface{})(item).(type) { …

and was having trouble figuring out why my code was failing. What I had meant to type was item.Value or something along those lines which is a generic member of the struct, however, because anything could be boxed into an interface the code happily compiled and ran, resulting in fallback behavior even though I knew the type was correct (and confusing me for quite a while until I spotted the typo).
If however compile time type switching and assertions existed this would have failed because item is not an interface type. I would have then realized my mistake and been able to fix it thanks to the nice error message. Another benefit is that at compile time the type switch or assertion could result in a compile error if one of the branches or the assertion was a value that does not meet the interface, adding a layer of compile time safety and reducing dead code, or possibly catching some accidental uses of the wrong type.
In just a few days of using generics on a real project I have run into this and similar issues several times, so I'd like to request that the lack of compile time assertions be reconsidered.
The other reason mentioned for not doing them is that it can be confusing which type we're asserting on:

Also, it was sometimes confusing that in a constraint with a type set that uses approximation elements, a type assertion or type switch would use the actual type argument, not the underlying type of the type argument

However that confusion is not reduced by using a runtime type switch as evidenced by the example later on in this section where similar confusion occurs at runtime. I believe the potential for silent failures to be worse than the potential for confusion about the types (though that is entirely anecdotal based on a very limited amount of time using the most recent proposal for anything that's not just a toy).
I will volunteer to write a proper proposal if this is something the Go team is willing to reconsider in a future version of Go.

I was assuming type switching on a value but being able to treat it as the final concrete type because only the correct branch would be compiled in and at this point there is no uncertainty about what type the value is

Hi @SamWhited, is there some overlap with what you wrote in that quote with #45380? (And I happen to like this earlier example in https://github.com/golang/go/issues/45346#issuecomment-812963757).

I don't see any particular reason why a type switch on a generic value couldn't be allowed (although the "reduced to just the correct line at compile time" aspect is an implementation detail and probably wouldn't be the case with the current GC-shape stenciling implementation).
I'm biased of course, but I think that #45380 provides a nicer and more generally useful facility. For example, if printFooOrBar returned a value of type T it wouldn't be possible to return t without a type assertion, even if this proposal were accepted.

is there some overlap with what you wrote in that quote with #45380?

Yes, that looks the same. Thanks for the link!

although the "reduced to just the correct line at compile time" aspect is an implementation detail

Yes, that's definitely the case.

Placed on hold.
— rsc for the proposal review group

Really we want to examine the type parameter though, not the variable, right?. Perhaps it would be more useful if we switched on the type parameter itself.
switch T.(type) {
case rune:
    ...
case ~string:
    ...
case int, uint:
    ...
}

Perhaps it would be more useful if we switched on the type parameter itself.

That's exactly what #45380 proposes.

Not sure if this specific use case is part of a proposal (the issue trackers are a bit tricky to search through sometimes), but.
Say I have these type constraints:
type SignedInt interface {
  ~int | ~int8 | ~int16 | ~int32 | ~int64
}

type UnsignedInt interface {
  ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64
}

type BigInt interface {
  ~*big.Int
}

type MaybeBigInt interface {
  BigInt | SignedInteger | UnsignedInteger
}

And have a function which takes MaybeBigInt as a T:
func CheckParseMaybeBigInt[T MaybeBigInt](val T) *big.Int {
   ...
}

Currently I have to do a type switch using (interface{})(val).(type) and check all the possible type values within those constraints (ie. int, int8, etc.), where being able to do
switch n := val.(type) {
case SignedInteger:
  return big.NewInt(int64(n))
case UnsignedInteger
  return new(big.Int).SetUint64(uint64(n))
case BigInt:
  return n
}

would be infinitely cleaner and far easier to code.

I realize this is on hold, but FWIW started migrating a codebase to generics today and accidentally did a similar thing as mentioned in the description when using any() to perform a type cast:

In one concrete example I typed the following:
switch v := (interface{})(item).(type) { …

and was having trouble figuring out why my code was failing. What I had meant to type was item.Value or something along those lines

@dc0d I don't really understand your question. As you've shown, you can currently do a type switch on a generic value (https://go.dev/play/p/arj825wElvB) - your typeSwitchLab2 would work if it did the type switch on any(val).
In your typeSwitchLab1 example, it would work fine to switch on Left[int] or Right[string] as opposed to Either[int, string] - both of those being concrete types allowed by the Either constraint.
See this issue for a proposal that would allow putting a constraint in a type switch case: https://github.com/golang/go/issues/45380.
If that were implemented, you could do:
func typeSwitchLab3[T any](val T) {
	switch type T {
	case Either[int, string]:
		fmt.Println("Either")
	default:
		fmt.Println("Other")
	}
}

@rogpeppe As stated at the end, it was not a question. It was an "opinion" based on the speculated required changes needed for this feature (including re-scoping type constraints with multiple overloaded meaning/semantics - including type switching over type constraints and not just types). The amount of complexity and cognitive load added by this feature could surpass the value it provides.


Failed to activate the atom-material-ui theme

In Themes menu, click gear icon to right of UI Theme dropdown after selecting "Atom Material Theme"
Scroll down to settings and click Primary color box. Select a new color (I selected a bright pink).

After that the error occurred and the UI styles were completely broken. I switched to another UI theme, and back to Atom Material Theme and my color changes were intact and the UI was looked as it should again.
Atom Version: 1.7.4
System: Mac OS X 10.11.5
Thrown From: atom-material-ui package, v1.2.13
Stack Trace
Failed to activate the atom-material-ui theme
At missing opening `(` in /Users/ldinapoli/.atom/packages/atom-material-ui/styles/custom.less:2:3

LessError: missing opening `(`
  at /Users/ldinapoli/.atom/packages/atom-material-ui/styles/custom.less:2:3

Commands
     -3:22.3.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.seti-ui-no-icons.use-animations.theme-solarized-dark-syntax.theme-atom-material-ui.has-custom-icons)

Config
{
  "core": {
    "disabledPackages": [
      "front-icons",
      "file-type-icons",
      "minimap-pigments"
    ],
    "themes": [
      "atom-material-ui",
      "solarized-dark-syntax"
    ]
  },
  "atom-material-ui": {
    "colors": {
      "abaseColor": {
        "red": 255,
        "green": 48,
        "blue": 108,
        "alpha": 1
      }
    }
  }
}

Installed Packages
# User
atom-material-ui, v1.2.13
autoclose-html, v0.23.0
emmet, v2.4.3
file-icons, v1.7.13
pigments, v0.29.1
solid-completions, v2.0.0

# Dev
No dev packages

Did you set the color manually or by using the <select> with the color presets?

Just tried using both methods to change colors (presets and picking my own). With the packages you listed and without them. Can't reproduce this error.
You can reset the colors settings by opening Atom's dev console (Cmd+Alt+i) and entering the following snippet:
atom.config.set('atom-material-ui.colors');
Or, alternatively, you can open your Atom config file and get rid of the colors object:
# …
"atom-material-ui":
    colors: # <-- this key right here
        abaseColor:
            red: 236
            green: 64
            blue: 122
            alpha: 1
        accentColor:
            red: 70
            green: 255
            blue: 193
            alpha: 1
        predefinedColor: "Pink"
# …

I had used the color wheel, clicking around until I found the color I liked best. I have tried this a few times as well with new colors and haven't been able to reproduce the error either.

Well, there was an issue with Atom's color picker where it would return invalid color values (both HEX and RGB) but I think it was resolved some time ago.

This might be fixed in Material UI 2.0 (available for Atom 1.17-beta)


Should(/can?) resholve do anything about paths in test/[ ] ?

This section in mons is giving resholve a little trouble:
lib='%LIBDIR%/liblist.sh'
[ ! -r "$lib" ] && { "$lib: library not found."; exit 1; }
. "$lib"

The ~intended approach for cases like this is to use a fix directive to replace $lib with the $out-relative path (lib/libshlist/liblist.sh) and then let resholve handle resolving them to absolute paths whenever it makes sense to do so--but in this case the result is roughly:
lib='/nix/store/arzpg3i5zh14yj1s7d20086a9rjmlfvx-mons-20200320/lib/libshlist/liblist.sh'
[ ! -r "lib/libshlist/liblist.sh" ] && { echo "lib/libshlist/liblist.sh: library not found."; exit 1; }
. "/nix/store/4pby883d4wypprmvkzz92c0c62iz4cxs-resholved-mons-20200320/lib/libshlist/liblist.sh"

Then the check fails at runtime.
I'm not certain, but I imagine it's common enough to be worth handling if we can. That said, we definitely can't resolve every test -f or test -r etc., so the question is more about how we'd narrow the scope to ensure we're only resolving them when it makes sense.
I guess the two main candidate approaches would be:

Treat test with file/dir flags as its own thing that resholve cares about (i.e., require every one of them to either resolve to a known file at resolve-time, or require a directive exempting the path).
Automatically resolve paths matching some heuristics (like actually resolved during this invocation, present in inputs/scripts, present in $out?) and ignore the rest

Maybe it's worth plumbing andy's real-world shell collection to see what all cases of the various test file/dir flags you can find and how these approaches stack up against them.

The effort to resholve airgeddon hinges on this as well. https://github.com/v1s1t0r1sh3r3/airgeddon/blob/c58bb8f086ab47cf918399f019bd502dbd430b76/airgeddon.sh#L383 for example will fail into trying to download the strings.


Add ResultUpdater in dispatcher

Acceptance Criteria

[ ] A ResultUpdater class is added on the dispatcher side
[ ] upsert_lattice_data is added to ResultUpdater and removed from Result
[ ] upsert_electron_data is added to ResultUpdater and removed from Result
[ ] insert_electron_data is added to ResultUpdater and removed from Result

persist will also need to be moved to the result updater, as well as methods that call insert etc.

Instead of a ResultUpdater class, we will simply add a module with these functions in it


[ENHANCEMENT] Make Config More Simple

I think it would be better with a simple config.json file. I am happy to do this but currently aren't able to get the required modules/dependencies to work.

We'd like to hear about your detailed suggestion.


Add test in LTI functions

Purpose
Ensure that the LTI code functions correctly and as expected.
Proposal
Add tests on each view responsible for an LTI function.

[X] LTIConfigView
[X] LTISelectView
[X] LTIRespondView
[X] LTIRequestView
[x] Refactor utils sign_parameters

This PR remains in draft status, as we are currently in the process of refactoring sign_parameters within the django-lti-toolbox project. However, you can review it.

@jmaupetit I've adopted the structure used by the Marsha organization. Would you prefer a single test file, or do you find this organization more convenient for quickly accessing specific tests?

@jmaupetit I have updated django-lti-toolbox and use the proper utils function to sign parameters. The PR is now ready for review and can be merged. I'll fix the issues #88 #89 #90 in dedicated PRs.

@jmaupetit I've adopted the structure used by the Marsha organization. Would you prefer a single test file, or do you find this organization more convenient for quickly accessing specific tests?

No it's fine. I don't have a strong opinion on this. :wink:


Catch an empty result with a Json query on google geo api

First of all, thanks for the brilliant work done here. Second, not a coder by nature, but playing around.
When trying to parse a Json on the google API, it seems that the my If Response.StatusCode = WebStatusCode.Ok Then gets a pass with 'OK', though the produced URL returns an empty result (and the status on the Json is actually 'zero result').
I got this error on addresses that are not spelled correctly. The URL is constructed the way it should, but the spelling error is not caught on the webstatuscode.ok. So what does the line 'If Response.StatusCode = WebStatusCode.Ok Then' actually checks.
For what I try to achieve is that if the response returns 'zero results' that the rest is not executed, and that I do not try to fetch fields that are not there (for there is no result).
Hope this makes sense.

I do apologize, for I should have give it a bit more of a thought before posting.
Solution would be very simple, where a simple Response.Data("status") = "ZERO_RESULTS" Then does the trick.


New indicators: Aroon, Williams %R, Stochastic Oscillator

I added new indicators:
Aroon indicator,
Williams %R,
Stochastic oscillator (momentum indicator I think)

will it be added soon?

I have not been keeping up with this one. There had been a number of commits since my last review and I was waiting for @fojt to let me know when done, for final review and merge.

Sounds good. Also wondering if it would be a good idea to keep indicators out of the core and put them into separate files. So, people add them when required. I am very new to D3 just throwing my ideas around :)

Definitely something I've been thinking about. Specifically regarding #26 I was thinking to build an add on adapter that will use these calculations and plot in a d3 way, but kept out of the core of techanjs.

@andredumas  I think you can make final review.

@andredumas #26 looks exciting. Can't wait for it :) :+1:

This would be really great to have.  When is this going to be merged?

@priikone This should've been merged a while back, but by the time i realised it was ready to be merged there were a few conflicts. I haven't got around to seeing what they are.

I reworked the fojt's original work on top of the current Techan master.  See the pull request
https://github.com/andredumas/techan.js/pull/104
Will merge cleanly on top of today's master.  All tests pass.  I also tested all indicators.  Fojt gets the Author credits.

@priikone Very nice work :+1:
Thanks for keeping @fojt authorship too.

Good work!!! Looks awesome.


The Bracket push exercise has an unused error return

The Bracket-push exercise requires a (bool, error) return value. But every test case the error value should be "nil". As any string can be tested for paired brackets the error return value is not required, and the Brackets function should just return a bool.

You are right. I believe back when things were less organized around common test cases there was an error used to indicate the lack of any brackets in the string.
Seems sort of ambiguous to me still based on the README. The description states:

Given a string containing brackets [], braces {} and parentheses (), verify that all the pairs are matched and nested correctly.

To me Given a string containing would indicate that if the string did not have any of these it could be an error condition. I'll bump it up to the problem-specifications repo and see what comes of it.


Unable to have nothing selected after multi select dialog appears

Hello,
I am having an issue when after showing the dialog and items are selected, if you deselect them all and tap the positive button it crashes with an ArrayOutOfBoundsException.
Here is my code and the error.
10-28 12:55:38.164 24908-24908/com.droid.visneta E/AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=6; index=-1
10-28 12:55:38.164 24908-24908/com.droid.visneta E/AndroidRuntime:     at com.afollestad.materialdialogs.MaterialDialog.sendMultichoiceCallback(MaterialDialog.java:324)
10-28 12:55:38.164 24908-24908/com.droid.visneta E/AndroidRuntime:     at com.afollestad.materialdialogs.MaterialDialog.onClick(MaterialDialog.java:343)

final MaterialDialog.Builder builder = new MaterialDialog.Builder(getContext())
    .widgetColor(AppUtils.getColor(visnetawrap, R.color.dark_blue))
    .positiveText("Submit")
    .positiveColor(AppUtils.getColor(visnetawrap, R.color.dark_blue))
    .negativeText("Cancel")
    .negativeColor(AppUtils.getColor(visnetawrap, R.color.dark_blue))
    .typeface(visnetawrap.helveticaBoldFont, visnetawrap.helveticaLightFont)
    .items(formElementHolder.formMultiSpinner.itemsList.toArray(new String[formElementHolder.formMultiSpinner.itemsList.size()]))
    .itemsCallbackMultiChoice(formElementHolder.formMultiSpinner.selectedItemIndexes,
            new MaterialDialog.ListCallbackMultiChoice() {
                @Override
                public boolean onSelection(MaterialDialog materialDialog, Integer[] integers, CharSequence[] charSequences) {
                        formElementHolder.formMultiSpinner.selectedItemIndexes = integers;
                        formElementHolder.formMultiSpinner.selectedItems.clear();
                        for (CharSequence charSequence : charSequences) {
                                formElementHolder.formMultiSpinner.selectedItems.add(charSequence.toString());
                        }
                        formElementHolder.formMultiSpinner.updateSelection();
                        if (charSequences.length == 0) {
                                objectItem.setQuestionAnswer("");
                        } else {
                                objectItem.setQuestionAnswer(formElementHolder.formMultiSpinner.buildSelectedItemString());
                        }
                        visnetawrap.smartFormAct.updateSaveFormButton();
                        return true;
            }
    }).show();

I updated your comment for correct spacing and syntax highlighting. Please do so for any future issues, otherwise it's hard to read.

The line numbers in the crash log don't match up with anything in the current codebase, which would suggest you're using an old version.

And there is not any code in sendMultichoiceCallback() that would cause this kind of error internally, so there must be something about the array you pass in that causes the issue.

I am using <IP_ADDRESS>, that is the latest?

Hmmm ok I will look into it more myself, thanks.

The line numbers are probably off because code has changed in the repository which hasn't been released yet.
The only thing that I think could cause this is if the .items() array got out of sync with what is selected. sendMultichoiceCallback() looks like this:
private boolean sendMultichoiceCallback() {
    if (mBuilder.listCallbackMultiChoice == null) return false;
    Collections.sort(selectedIndicesList); // make sure the indicies are in order
    List<CharSequence> selectedTitles = new ArrayList<>();
    for (Integer i : selectedIndicesList) {
        selectedTitles.add(mBuilder.items[i]);   // the error is probably here
    }
    return mBuilder.listCallbackMultiChoice.onSelection(this,
            selectedIndicesList.toArray(new Integer[selectedIndicesList.size()]),
            selectedTitles.toArray(new CharSequence[selectedTitles.size()]));
}

But I've had any issues with that, so I'm assuming your array gets modified after the dialog is open or something.

Is it possible to pass empty selected indexes? I think I may be passing -1 and it is crashing. Also sorry about the syntax highlighting, I am new to github comments still.

Yeah, like the README shows in the Multi Choice List Dialogs section, you pass null to indicate no preselection. -1 for single choice lists.

And no worries, there's a lot of cool stuff you can do with Markdown on GitHub 😀

Ohhh, so you were passing -1 inside an Integer array there? That makes a lot more sense.

Yeah that is the issue, I didn't realize you could pass null. I am used to using -1 :P thank you for the help!

Glad I could help!


Miken/makepeoplelikemeforwritingtests

ScopesConstructionTests.kt  is the bulk of it, notice how easy it is to swap dependencies within your tests.

bah lint, fixing main now


revert preserve ordering in bulk

Revert changes from "Preserve ordering in bulk" - https://github.com/Azure/azure-sdk-for-java/pull/35892

Reverting this in order to build support for splits before pushing this as a public surface change.

API change check
API changes are not detected in this pull request.

/azp run java - cosmos - tests

Failed two tests:
queryMetricsForReadAllItemsOfLogicalPartition - tested locally and passed
conflictCustomLWW - Known flaky tests

/check-enforcer override


Can't archive logic app diagnostics logs in Azure storage account

According to the document operation, I can't archive logic app diagnostics logs in Azure storage account, nothing created in Azure storage account.

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

ID: a1a1a0ec-679d-ef82-2b6f-b6dad27c9eb0
Version Independent ID: 3d72d0e4-7ecb-fc36-0112-e5f216950523
Content: Check status, set up logging, and get alerts - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-monitor-your-logic-apps.md
Service: logic-apps
GitHub Login: @divyaswarnkar
Microsoft Alias: divswa

@ToMakeSense Thank you for your feedback! We will review and update as appropriate.

@ToMakeSense I tried it at my end it worked as expected. It created a container in configured storage account with the name insights-metrics-pt1m along with the logs.

Can you please share the screenshot of the configuration you did in diagnostics Settings blade?
Below is the configuration settings  from end:

@KetanChawda-MSFT I see, I used the default kind StorageV2 (general purpose v2) in the portal, so it's not working. it's OK for other two kinds storage account(blobStorage, Storage (general purpose v1)). The document does not mention this.

@ToMakeSense In my test it is StorageV2 (general purpose v2) and the logs are getting created.
Try re-configuring diagnostics settings after deleting the existing one and see if it works for you.
Note that it will take some time to reflect the logs in the container in your storage account.

@KetanChawda-MSFT  I created a new StorageV2 (general purpose v2) without Data Lake Storage Gen2 option,  the logs container were created in this storage account. just because I used a storage account enabled Data Lake Storage Gen2 option(In this way. it had a file system service instead of blob).

@ToMakeSense Yes it will not create logs if the storage is of type Data Lake Storage Gen2. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@KetanChawda-MSFT Not sure if it's better to document about this "it will not create logs if the storage is of type Data Lake Storage Gen2" in the documatation. or, adding verification (portal, script, SDK) so that the storage account without blob service cannot be the target storage account for setting up "Diagnostics settings"


Reimplement verb group builder as function

https://github.com/JujuAdams/Input/commit/5b2116a061e6af925a858edde0a4a365e74f9938


Execution failed for task ':app:validateSigningRelease'.

satyabratanayak@Satyabratas-MacBook-Air New-Look-salon-Analytics % flutter build appbundle
💪 Building with sound null safety 💪
FAILURE: Build failed with an exception.

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

Keystore file '/android/app/upload-keystore.jks' not found for signing config 'release'.

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 8s
Running Gradle task 'bundleRelease'...                              9.2s
Gradle task bundleRelease failed with exit code 1
satyabratanayak@Satyabratas-MacBook-Air New-Look-salon-Analytics %
What should i do ... i check all over internet try all ... check my typo but nothing there to solve please help me with this
key.properties
storePassword=theNewLookPassword
keyPassword=theNewLookPassword
keyAlias=upload
storeFile=/android/app/upload-keystore.jks
also tried -
storeFile=android/app/upload-keystore.jks
storeFile=../app/upload-keystore.jks
storeFile=app/upload-keystore.jks
storeFile=/app/upload-keystore.jks
Also full path to the keystore.jks
/// In my bundle file
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
android {
compileSdkVersion flutter.compileSdkVersion
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
    jvmTarget = '1.8'
}

sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
    // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
    applicationId "com.blackminystudio.newlook"
    minSdkVersion 21
    targetSdkVersion 31
    multiDexEnabled true
    versionCode flutterVersionCode.toInteger()
    versionName flutterVersionName
}

signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
}

@satyabratanayak
Check if you have mis-spelled or mis-placed keystore file.
Also your question is better suited for support channels like StackOverflow, so closing from here.


BOUNTY: Capture Best Practices and Architectural Decisions

We still have only a few Wiki pages. This is a great start and a few people have jumped in to help. Here are some ideas for new wiki pages:

Overall Swarm Architecture
Communication Theory and Best Practices
Technology Stack Proposals

I'm doing some ComfyUI stuff for a bit.
I'll get on this if someone else doesn't before the time I can.

@daveshap Why was this closed? I was working on researching this and going to make a Wiki page today. I'm new to bounties do they expire or something?

@daveshap Why was this closed? I was working on researching this and going to make a Wiki page today. I'm new to bounties do they expire or something?

Yes, keep working on it. I am updating bounties for clarity. Once a new practice has been adopted by the Collective, it no longer needs to be presented up here.

@daveshap is this helpful at all for wiki content? [https://github.com/tpagne/GRC ]
The linked repo is my attempt to draft a blue print of "corporate norms" for any swarm to operate against. Its unclear to me what's needed in the Wiki at this stage so I figured I'd offer something.
Another thought, it might help to put a build these directives/bounties out into a roadmap view to keep folks focused on the imperatives and reduce day dreaming. I'm not sure where I land on that spectrum.
I have a lot of thoughts on documenting the communication between agents. The idea in ChatDev that you only discover the full swarm's discussion after completion is something to be improved. It would be great to have live updates against plans for human operators to review, at least until the perpetual motion machine gets moving.


Provide custom Debug impl for PathMapsEntry

We may end up including PathMapsEntry objects in traces. Given that they contain addresses and other data is not hard to understand when formatted as decimal values (the default), this change introduces a custom Debug impl that make sure to print said fields formatted in the easiest to understand way.
Refs: #223

Straight forward change; merging.


(Un)successful iDeal payment doesn't trigger callback

Describe the bug
After finishing the iDeal payment you get redirected back to the app with a redirectResult. Neither the onError or onPaymentCompleted callback is being called.
To Reproduce
Steps to reproduce the behavior:

Finish an iDeal payment

Expected behavior
I expected the callbacks to be called so I can tell the user if the payment was successful
Desktop (please complete the following information):

OS: Mac
Browser: Chrome
Version: latest

Hi @Zwartpet,
Thanks for reaching out. Which version are you using?

Hi @ribeiroguilherme I'm using version 5.6.2

With some trial and error and going through the adyen source code I've fixed it.
Maybe the docs could be more clear on how to handle the redirect result:
const config = {
                environment: 'test',
                session: {
                    id: sessionId
                },
                clientKey: 'test_************',
                onPaymentCompleted: (result, component) => {
                    console.info(result, component);
                },
                onError: (error, component) => {
                    console.error(error.name, error.message, error.stack, component);
                },
            };

            const checkout = await AdyenCheckout(config);

It wasn't working due to a config error

I'm glad you managed to fix your issue @Zwartpet.  Can you point out what went wrong in your case and what could be improved on our docs? So I can discuss internally with the team and improve the documentation. Thanks!

Sorry for the late response, I missed the mail with your response.
In the documentation about handling redirects there's an example:
const checkout = await AdyenCheckout(configuration);
I misconfigured the configuration as I assumed the sessionId and the redirectResult would be enough. There's no hint that it also needs the same required configuration from the documentation above it (which is pretty obvious in hindsight)

Thanks @Zwartpet , I will discuss this internally with the team and improve our docs. Cheers!

Hello @Zwartpet, I'm facing with same issue for using the TWINT payment. Can you share more of your solution and what caused the problem? Thank you


Bug: Linked Deployments do not correctly update

When using your example of the Pending > InProgress > Successful/Failed as part of a single deploy task, it is incorrectly creating multiple separate deployments, rather than changing the status of the existing one.
I checked the Jira docs and can see that a new deployment will be created based on a unique combination of pipelineId, environmentId and deploymentSequenceNumber.
https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments/#api-group-deployments
This line causes the issue. I would suggest replacing the datetime with the buildid.
https://github.com/EducationPerfect/azure-jira-update/blob/7fb5b4e1bcb1539f0dd1bea4e0e6f47f39a44f16/EP.PowerShell.JiraDeployInfo/Public/Add-JiraDeploymentInformation.ps1#L146
Thanks,
Basil

Thanks! This should be fixed now :)


Callable Bind only supports no-parameter Call

Godot version
v4.3.dev.mono.custom_build [de932f29d]
Godot .NET packages version
https://github.com/raulsntos/godot-dotnet/commit/f6c04004fb9a82b56cfa71ab51133f2f37b29bbf
System information
Godot v4.3.dev.mono (de932f29d) - Arch Linux #1 ZEN SMP PREEMPT_DYNAMIC Sat, 06 Apr 2024 23:01:55 +0000 - Wayland - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 550.67) - Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (8 Threads)
.NET information
8.0.203
Issue description
Callable Bind will crash directly when using Call with parameters.
Code that runs fine：
Callable.From<int, int>((a, b) => GD.Print(a + b))
    .Bind([5, 6])
    .Call();

Running code that crashes：
Callable.From<int, int>((a, b) => GD.Print(a + b))
    .Bind([5, 6])
    .Call([0, 0]);

Steps to reproduce
Callable.From<int, int>((a, b) => GD.Print(a + b))
    .Bind([5, 6])
    .Call([0, 0]);

Minimal reproduction project
N/A

Sounds like a duplicate of #4 that was recently fixed.

You didn't specify what version of the Godot .NET packages you are using, it seems you just copied the Godot version. So I don't know if this is a nightly build or a custom build. There are no nightly builds with the fix, you'll have to make a custom build for now (use commit f6c04004fb9a82b56cfa71ab51133f2f37b29bbf or newer).

Yes, it's expected behavior. You have a Callable with 2 parameters, when you use Bind you are essentially assigning values to those parameters already so when you use Call you have to pass only the remaining parameters.
Callable callable = Callable.From<int, int, int>((a, b, c) => GD.Print(a + b + c));

callable.Call([1, 2, 3]); // Must pass 3 parameters.

callable.Bind([3]).Call([1, 2]); // Must pass 2 parameters, because we already bound 1.

callable.Bind([2, 3]).Call([1]); // Must pass 1 parameter, because we already bound 2.

callable.Bind([1, 2, 3]).Call(); // Must not pass any parameters, because we already bound them all.


Crash when moutpoint contains spaces

Required information:

ytop version: 0.4.0
The output of uname -a: x86_64 Fedora, on Linux 5.4.12

I get the following crash when mounting to a mountpoint with spaces:
Backtrace (most recent call first):
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/result.rs", line 933, in core::result::Result<T,E>::unwrap
  File "src/widgets/disk.rs", line 72, in <ytop::widgets::disk::DiskWidget as ytop::update::UpdatableWidget>::update::{{closure}}
    let disk_usage = disk::disk_usage(&mountpoint).unwrap();
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/adapters/mod.rs", line 694, in core::iter::adapters::map_fold::{{closure}}
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/traits/double_ended.rs", line 229, in core::iter::traits::double_ended::DoubleEndedIterator::rfold::ok::{{closure}}
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/traits/double_ended.rs", line 164, in core::iter::traits::double_ended::DoubleEndedIterator::try_rfold
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/traits/double_ended.rs", line 232, in core::iter::traits::double_ended::DoubleEndedIterator::rfold
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/adapters/mod.rs", line 60, in <core::iter::adapters::Rev<I> as core::iter::traits::iterator::Iterator>::fold
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/adapters/mod.rs", line 727, in <core::iter::adapters::Map<I,F> as core::iter::traits::iterator::Iterator>::fold
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/traits/iterator.rs", line 631, in core::iter::traits::iterator::Iterator::for_each
  File "/builddir/build/BUILD/rustc-1.40.0-src/vendor/hashbrown/src/map.rs", line 2578, in <hashbrown::map::HashMap<K,V,S> as core::iter::traits::collect::Extend<(K, V)>>::extend
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libstd/collections/hash/map.rs", line 2422, in <std::collections::hash::map::HashMap<K,V,S> as core::iter::traits::collect::Extend<(K, V)>>::extend
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libstd/collections/hash/map.rs", line 2407, in <std::collections::hash::map::HashMap<K,V,S> as core::iter::traits::collect::FromIterator<(K, V)>>::from_iter
  File "/builddir/build/BUILD/rustc-1.40.0-src/src/libcore/iter/traits/iterator.rs", line 1493, in core::iter::traits::iterator::Iterator::collect
  File "src/widgets/disk.rs", line 59, in <ytop::widgets::disk::DiskWidget as ytop::update::UpdatableWidget>::update
    self.partitions = disk::partitions_physical()
  File "src/update.rs", line 30, in ytop::update::update_widgets
    widget.update();
  File "src/main.rs", line 128, in ytop::main
    update_widgets(&mut app.widgets, update_seconds);

The application panicked (crashed).
  called `Result::unwrap()` on an `Err` value: Custom { kind: InvalidData, error: "failed to use statvfs: statvfs return an error code" }
in src/libcore/result.rs, line 1165
thread: main

There seems to be some double escaping going on. dbg!ing the mount point before line 72 in disk.rs gives me: "/run/media/hpd/WD\\040Elements".
Calling statvfs on "/run/media/hpd/WD\\040Elements" obviously returns an error. It does work as advertised on the path "/run/media/hpd/WD\040Elements" or even "/run/media/hpd/WD Elements".

All right, it should be fixed in master and in the latest release. If not, let me know and I'll reopen this.

Works now, thank you!


fix undefined reference to `pthread_setname_np' error

fix undefined reference to 'pthread_setname_np' error on some system when compile.

Thanks.


[Support] Terminate running process on update

I am trying to integrate an RF controlled window cover. Basically I send the RF signal, then wait for x seconds in the script and finally I set the state to closed assuming that the cover actually closed by then.
However what happens if I send another command during this interval? Ideally the original process would be stopped gracefully, i.e. that it could still persist its state, e.g for how long it has been run, then the next command is performed.
Is that possible with CMD4?

Hi,
Homebridge does not work that way.  It is a node.js tool so the second
request would be sent during the first requests running time. In other
words you cannot guarantee that the second process would not overlap the
first.
State information is usually less than 5 seconds as defined by Homebridge
or it generates a message that the process took to long.
Ttyl,
John
On Sun, Apr 11, 2021 at 1:31 PM hunhejj @.***> wrote:

Assigned #105 https://github.com/ztalbot2000/homebridge-cmd4/issues/105
to @ztalbot2000 https://github.com/ztalbot2000.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/105#event-4578791772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCXZIWJRI6ZDZKIS2XYDTIHMHJANCNFSM42X4I23A
.

You could however write your script to keep track of what is happening and then act accordingly.


Flatten json output for identity create command

Current behavior
The json output format for identity create is not correct because it has an unnecessary nested level.
Desired behavior
The identity key should be removed so that the command outputs a flat object.
Implementation details
The following line should be modified to produce the described output:
https://github.com/build-trust/ockam/blob/ed8054ecd1ddcdfc945d08b7f9d516e299d9abc4/implementations/rust/ockam/ockam_command/src/identity/create.rs#L148

Some tips for newcomers:

Create a new branch for the issue you are working on (don't push directly to your fork's develop branch)
Run cargo fmt. You can configure the editor to run it automatically everytime a file is saved
Run cargo clippy to make sure the code compiles + follows rust standards/best practices
You don't need to keep your branch updated with develop until there is a merge conflict. If you still want to update it, use git rebase develop instead of gir merge develop

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

@adrianbenavides  i would like work on this issue pls assign this to me.

@nabeel001 That's awesome, this is all yours. Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.gg/RAbjRr3kds

@nazmulidris I have raised the PR for this issue through #6599 and also added my name to CONTRIBUTORS.md through #6616


Issue: Text formatting in adaptive card on Teams Android App doesn't reflect

Versions
What package version of the SDK are you using.
4.11.0
What nodejs version are you using
14.2.0
What browser version are you using
Teams App
What os are you using
Android
Describe the bug
Hi,
I have implemented an adaptive card published on a channel through bot framework.
We have applied italic formatting as per documentation ("text") (https://docs.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cconnector-html) but while it's rendered in desktop and ios app, it not correctly diplayed in andorid app.
Here the card payload and app screenshots for reference.
Adaptive card:
`{
  "type": "AdaptiveCard",

  "body": [

    {

      "type": "ColumnSet",

      "columns": [

        {

          "type": "Column",

          "items": [

            {

              "type": "Image",

              "url": "https://i.ibb.co/m8Z5Hfc/telegram-logo.png",

              "size": "Small"

            }

          ],

          "width": "auto"

        },

        {

          "type": "Column",

          "items": [

            {

              "type": "TextBlock",

              "weight": "Bolder",

              "text": "12312314",

              "wrap": true

            },

            {

              "type": "TextBlock",

              "spacing": "None",

              "text": "Received On 2020-12-7 10:22:35",

              "isSubtle": true,

              "wrap": true

            }

          ],

          "width": "stretch"

        }

      ]

    },

    {

      "type": "FactSet",

      "facts": [

        {

          "title": "Message",

          "value": "_Hello_"

        },

        {

          "title": "Assigned To",

          "value"<EMAIL_ADDRESS>
        },

        {

          "title": "Due Date",

          "value": "2020-12-8 10:22:35"

        }

      ]

    },

      {

      "type": "ActionSet",

      "actions": [

        {

          "type": "Action.Submit",

          "title": "Close",

          "data": { "action": "close" }

        }

      ]

    }

  ],

  "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",

  "version": "1.2"

}`

Expected behavior
The text should be formatted correctly on each platform / OS, like Desktop / Android / IOS
Screenshots
Result on Desktop:
Desktop Screenshoot
As you can see 'Hello' text is formatted ok on desktop, but on Android the result is this:
Android Screenshoot
While on IOS it's working too:
IOS Screenshoot

@razxssd I think this issue should be reported to the microsoft/AdaptiveCards repository.


Graphframes?

I think the machinery exists to do this, but I just wanted to double check, is it possible to pull graphframes into gremlin via cypher-for-gremlin:  https://github.com/graphframes/graphframes

Hi @kyprifog
Spark is not one of our testing targets right now, as there's a separate project called Cypher for Apache Spark that brings Cypher support to Spark directly. It doesn't integrate with GraphFrames, but it's in the backlog.
Could you elaborate what do you mean by "pulling into Gremlin"?

Hi @disolovyov, thanks for your help, probably don't mean what you think i mean by pulling into gremlin.  Just saying importing via gremlin so we can have some more flexibility of what graph DB we actually want to use.  We are currently leaning towards JanusGraph, but for importing it might make more sense to bypass gremlin altogether and just write directly to cassandra.

Meant importing to any gremlin supported graphdb via means of gremlin.  I'm now seeing that graphframes is basically a deprecated version of cypher for apache spark, so it doesn't make sense that functionality like this would be supported moving forward.
I'll go ahead and close this.


[Windows-2022] Added Windows SDK latest version 26100.

This PR Includes latest Windows 11 SDK 26100.
Related issue:
https://github.com/actions/runner-images/issues/10734
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[X] Changes are tested and related VM images are successfully generated

FYI, duplicate of https://github.com/actions/runner-images/pull/10452

nope


Security: support certificates reloading

What have you changed?

Reloading allows the server to renew certificates without shutting down。
Reload certs every TLS handshake or every connect from client.
Fetcher will update the SecurityManager, so the server and client certificate information will be updated together.

Fix #6542
What is the type of the changes?

New feature (a change which adds functionality)

How is the PR tested?

No

Does this PR affect documentation (docs) or should it be mentioned in the release notes?

Yes
Does this PR affect tidb-ansible?

No

/bench

ref https://github.com/pingcap/tidb/issues/14666

ref https://github.com/pingcap/tidb/issues/14666


[ToolbarBadgeSample] The number of notifications on the badge are not displayed

Another small issue while we wait for Xamarin to fix the Android image path issue: The number of notifications on the badge are not displayed. The small red rectangle with curved corners is displayed above the icon, but there is no number in it or a way to set the value.
It is also not vertically aligned with the other icons. It seems that the badge icon and the number of notifications are vertically centered as a single item instead of being positioned indipendently. SO when a notification number appears, the icon get shifted down out of the line.

That's also know issue. I just left this project because of the android issue. There are still lot's of stuff to fix. So, as soon as Xamarin replies, I'll make this sample complete. Thanks :)

Thank you. This is the only project with a working SVG toolbar. It's really great.


How to specify JVM options when using coursier launch?

I want to specify a few JVM options (like -Xmx, -Xms, -Dprop=value, and so on) to my app which launched by coursier launch. Is it possible?

Not currently, but it shouldn't be hard to support (along the lines of https://github.com/lihaoyi/Ammonite/commit/7b0680036a99c75a16d2a460b5a5c5dbb61edc10 in Ammonite).

One can pass Java options by prefixing them with -J. Also, $JAVA_OPTS is passed as is to java.

One can pass Java options by prefixing them with -J. Also, $JAVA_OPTS is passed as is to java.

Hi! @alexarchambault I'm trying to launch almond-spark. There is [a nasty workaround] to make spark work by adding Java opts. What parameters should I add to
$ cs launch --use-bootstrap almond:0.14.0-RC15 --scala 3.3.3 -- --install

so Scala kernel hooks proper JAVA_OPTS?

You can add --java-opt (after --) to pass Java options into almond, eg.
./coursier launch --use-bootstrap sh.almond::launcher:0.14.0-RC15 -- --scala 3.3.3 --java-opt -Xmx64g --install


Can't fetch characteristic / LightBlue crashes while running on Raspberry Pi and iOS

When I run bleno peripherial on RPi, eg. the echo example or test.js script and open LightBlue on OSX, everything runs properly. When I switch to iOS's LightBlue, the program crashes while connecting. In simple iOS application I wrote (also using CoreBluetooth), result is also not appealing - it doesn't detect any characteristic while running bleno on Raspberry. If I run bleno on OSX, once again everything is in working order. Both iOS LightBlue and my app are good.
It seems there is some problem with Raspberry PI host and iOS guest, but I have no idea how should I debug any further.
I use newest Raspbian - jessie, Node 6.1 and BlueZ 5.23. bluetoothd is stopped and don't appear in process list.

I attach hcidump for following flow:

node examples/echo/main.js
connect using my iOS application
restart node examples/echo/main.js
connect using iOS LightBlue

hcidump.txt

@methyl
I'm seeing the Raspberry Pi send a disconnect ~20s after connecting:
2016-05-18 08:39:48.365980 > HCI Event: LE Meta Event (0x3e) plen 19
    LE Connection Complete
      status 0x00 handle 64, role slave
      bdaddr 5F:6B:88:4E:50:E0 (Random)

...

2016-05-18 08:40:08.030879 < HCI Command: Disconnect (0x01|0x0006) plen 3
    handle 64 reason 0x13
    Reason: Remote User Terminated Connection

...

2016-05-18 08:40:14.633294 > HCI Event: LE Meta Event (0x3e) plen 19
    LE Connection Complete
      status 0x00 handle 64, role slave
      bdaddr 5F:6B:88:4E:50:E0 (Random)

What version of node-bluetooth-hci-socket do you have installed?

Hi @methyl
I do confirm, the problem disappears after restarting the iOS device.
But the question is why this happens :-) did you find a way to prevent this behavior?

It was just one time it happened to me, but I didn't use bleno extensively. Wonder if problem is with bleno or iOS itself.