The compilation with cygwin is broken

Description
After googletest integration the cygwin compilation with enabled test is broken.
This behavior observed in Windows platform
To Reproduce
Steps to reproduce the behavior.
Preconditions:

This behavior is observed in the Windows OS.
You should have installed cygwin and at least the GCC compilers (gcc and g++)
Make sure that at least the path cygwin/bin is included in environment variable PATH that g++ can be called from command line.
You should have MS Visual Studio or Visual Studio Code installed in your machine

Action sSteps to reproduce:

Open the project in VS Code or in MSVS
In the CMakeLists.txt of areg-sdk make sure that compilation of tests is enabled: option(BUILD_TESTS "Build unit tests" ON)
In the conf/cmake/user.cmake file make sure that the GCC compilers are selected: set(CMAKE_CXX_COMPILER "g++")
In the IDE select CMakeLists.txt in the root folder of areg-sdk, configure the projects and build.

Result
All projects are compiled. When start compiling tests, it fails with errors.
Here are logs:
[379/389] Building CXX object CMakeFiles/demo_test.dir/tests/units/DemoTest.cpp.obj
  In file included from E:/Projects/aregtech/areg-sdk/framework/areg/base/GEGlobal.h:58,
                   from E:/Projects/aregtech/areg-sdk/tests/units/DemoTest.cpp:2:
  E:/Projects/aregtech/areg-sdk/framework/areg/base/GESwitches.h:131:139: note: '#pragma message: WARNING: None of preprocessor defines are set. By default sets EXP_AREG_DLL. See GESwitches.h file of AREG API Core'
    131 |     #pragma message ("WARNING: None of preprocessor defines are set. By default sets EXP_AREG_DLL. See GESwitches.h file of AREG API Core")
        |                                                                                ^
  [380/389] Building CXX object thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj
  FAILED: thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj
  D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj -MF thirdparty\googletest\googletest\CMakeFiles\gtest_main.dir\src\gtest_main.cc.obj.d -o thirdparty/googletest/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest_main.cc
  In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-message.h:55,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest.h:60,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest_main.cc:32:
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
   1999 | inline int FileNo(FILE* file) { return fileno(file); }
        |                                        ^~~~~~
        |                                        FileNo
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
   2049 | inline char* StrDup(const char* src) { return strdup(src); }
        |                                               ^~~~~~
        |                                               StrDup
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
   2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
        |                                                        ^~~~~~
        |                                                        fopen
  [381/389] Linking CXX executable E:\Projects\aregtech\areg-sdk\product\build\gnu\windows-x86_64-debug\bin\09_svcmulti.exe
  [382/389] Building CXX object thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj
  FAILED: thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj
  D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj -MF thirdparty\googletest\googlemock\CMakeFiles\gmock_main.dir\src\gmock_main.cc.obj.d -o thirdparty/googletest/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock_main.cc
  In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-port.h:57,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:49,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock-actions.h:145,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock.h:56,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock_main.cc:32:
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
   1999 | inline int FileNo(FILE* file) { return fileno(file); }
        |                                        ^~~~~~
        |                                        FileNo
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
   2049 | inline char* StrDup(const char* src) { return strdup(src); }
        |                                               ^~~~~~
        |                                               StrDup
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
   2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
        |                                                        ^~~~~~
        |                                                        fopen
  [383/389] Building CXX object thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj
  FAILED: thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj
  D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -isystem E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj -MF thirdparty\googletest\googlemock\CMakeFiles\gmock.dir\src\gmock-all.cc.obj.d -o thirdparty/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock-all.cc
  In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-port.h:57,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:49,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock-actions.h:145,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/include/gmock/gmock.h:56,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googlemock/src/gmock-all.cc:39:
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
   1999 | inline int FileNo(FILE* file) { return fileno(file); }
        |                                        ^~~~~~
        |                                        FileNo
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
   2049 | inline char* StrDup(const char* src) { return strdup(src); }
        |                                               ^~~~~~
        |                                               StrDup
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
   2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
        |                                                        ^~~~~~
        |                                                        fopen
  [384/389] Building CXX object thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj
  FAILED: thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj
  D:\cygwin64\bin\g++.exe -DDEBUG -DPOSIX -DUNICODE -IE:/Projects/aregtech/areg-sdk/framework -IE:/Projects/aregtech/areg-sdk/thirdparty -IE:/Projects/aregtech/areg-sdk/examples/13_pubmesh -IE:/Projects/aregtech/areg-sdk/examples/08_service -IE:/Projects/aregtech/areg-sdk/examples/09_svcmulti -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest -IE:/Projects/aregtech/areg-sdk/tests -IE:/Projects/aregtech/areg-sdk/tests/units -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include -IE:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest -g -Wall -Wshadow -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=0 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -O0 -g3 -pthread -Wall -c -std=c++17 -fmessage-length=0 -MMD -DENABLE_TRACES -m64 -std=c++17 -MD -MT thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj -MF thirdparty\googletest\googletest\CMakeFiles\gtest.dir\src\gtest-all.cc.obj.d -o thirdparty/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.obj -c E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-all.cc
  In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-message.h:55,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/gtest.h:60,
                   from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-all.cc:38:
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'int testing::internal::posix::FileNo(FILE*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(1999,40): error GCDAC0D3F: 'fileno' was not declared in this scope; did you mean 'FileNo'?
   1999 | inline int FileNo(FILE* file) { return fileno(file); }
        |                                        ^~~~~~
        |                                        FileNo
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'char* testing::internal::posix::StrDup(const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2049,47): error GF304C94A: 'strdup' was not declared in this scope; did you mean 'StrDup'?
   2049 | inline char* StrDup(const char* src) { return strdup(src); }
        |                                               ^~~~~~
        |                                               StrDup
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/include/gtest/internal/gtest-port.h: In function 'FILE* testing::internal::posix::FDOpen(int, const char*)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\include\gtest\internal\gtest-port.h(2092,56): error GEDCCDFA4: 'fdopen' was not declared in this scope; did you mean 'fopen'?
   2092 | inline FILE* FDOpen(int fd, const char* mode) { return fdopen(fd, mode); }
        |                                                        ^~~~~~
        |                                                        fopen
  In file included from E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-all.cc:45:
  E:/Projects/aregtech/areg-sdk/thirdparty/googletest/googletest/src/gtest-port.cc: In constructor 'testing::internal::CapturedStream::CapturedStream(int)':
E:\Projects\aregtech\areg-sdk\thirdparty\googletest\googletest\src\gtest-port.cc(1102,31): error GB3A25D75: '::mkstemp' has not been declared; did you mean 'mkdtemp'?
   1102 |     const int captured_fd = ::mkstemp(const_cast<char*>(name_template.data()));
        |                               ^~~~~~~
        |                               mkdtemp
  ninja: build stopped: subcommand failed.

Build failed.

Expected behavior
All projects should be compiled without problems.
Additional context
As a hint to fix, have a look at discussion GoogleTest 1.6 with Cygwin 1.7 compile error: 'fileno' was not declared in this scope

@harshit496, just tagging you in case if you are interested to track.


Add Imagemagick to macOS agent

Tool name
Imagemagick
Tool license
Apache 2.0
Add or update?

[X] Add
[ ] Update

Desired version
7.1.0
Approximate size
No response
Brief description of tool
No response
URL for tool's homepage
No response
Provide a basic test case to validate the tool's functionality.
No response
Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[X] macOS 10.15
[X] macOS 11
[X] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Can this tool be installed during the build?
brew install imagemagick

Tool installation time in runtime
2 minutes
Are you willing to submit a PR?
No response

@gianlucapisati Thanks for you suggestion. We will post update soon.

@gianlucapisati thanks for creating the issue, we have no objections to adding the tool to the image. We will prepare a PR and deploy the new image next week.

Thanks a lot, also for your speed

The new images have been deployed with ImageMagick on board.


How to update the Windows version

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
[Description of the issue]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

Thanks for reaching out!  If you don't have auto-updating enabled, you should be able to update Atom from the Help menu.
We require the template to be filled out on all new issues and pull requests so if you can open a new issue with the template filled out, that would be helpful for us. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


build error for qemu_mode (i386-linux-user)

error log when building 32-bit afl-qmeu-trace from 3f6bfbd (2.61c):
In file included from /afl/qemu_mode/qemu-3.1.1/accel/tcg/cpu-exec.c:39:0:
/afl/qemu_mode/qemu-3.1.1/../patches/afl-qemu-cpu-inl.h:83:15: error: conflicting types for 'persistent_saved_gpr'
 target_ulong  persistent_saved_gpr[AFL_REGS_NUM];
               ^
In file included from /afl/qemu_mode/qemu-3.1.1/../patches/afl-qemu-cpu-inl.h:35:0,
                 from /afl/qemu_mode/qemu-3.1.1/accel/tcg/cpu-exec.c:39:
/afl/qemu_mode/qemu-3.1.1/../patches/afl-qemu-common.h:81:23: note: previous declaration of 'persistent_saved_gpr' was here
 extern uint64_t       persistent_saved_gpr[AFL_REGS_NUM];

Just need to use target_ulong instead of uint64_t in afl-qemu-common.h?

ah f*ck , this was unnoticed by travis cause fine for x86_64.
No, it needs to be uint64_t, to be consistent with the persistent hook. I'll fix it ASAP when at home, ty @wideglide

Hi.
build_qemu_support.sh fails when compiling for i386 support:
$ env CPU_TARGET=i386 ./build_qemu_support.sh

Relevant part of compile log:
  CC      i386-linux-user/trace/control-target.o
  CC      i386-linux-user/gdbstub-xml.o
  CC      i386-linux-user/trace/generated-helpers.o
  LINK    i386-linux-user/qemu-i386
/usr/bin/ld: linux-user/syscall.o: in function `do_syscall1':
/home/user/git/AFLplusplus/qemu_mode/qemu-3.1.1/linux-user/syscall.c:7334: undefined reference to `stime'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:199: qemu-i386] Error 1
make: *** [Makefile:483: subdir-i386-linux-user] Error 2

Some info:
commit 90409f383a728fdcf4d66ffc607f1e3eb70b9203 (HEAD -> master, origin/master, origin/HEAD)
Author: van Hauser<EMAIL_ADDRESS>Date:   Thu Mar 5 11:36:37 2020 +0100

    added AFL_QUIET - be_quiet to afl-showmap and small changes to test.sh

$ uname -a
Linux localhost 5.5.7-arch1-1 #1 SMP PREEMPT Sat, 29 Feb 2020 19:06:02 +0000 x86_64 GNU/Linux


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit f3572cd:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch 06bcc17c-69b0-4687-a358-1483a4cc02c9 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Debugging error "Couldn't find a debug adapter for debug type python"

Environment data

VS Code version: 1.93.0
Jupyter Extension version (available under the Extensions sidebar): v2024.8.0
Python Extension version (available under the Extensions sidebar): v2024.14.0
OS (Windows | Mac | Linux distro) and version: macOS Sonoma 14.6.1
Python and/or Anaconda version: Python 3.9, 3.10
Type of virtual environment used: conda 24.7.1
Jupyter server running: Local

Actual behaviour
Stepping over breakpoint that calls TF 1.x session.run throws "Couldn't find a debug adapter for debug type python" and the debugger remains running but cannot proceed further.
Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

21:45:37.178 [debug] [Debug] to kernel: {"command":"threads","type":"request","seq":55}
21:45:37.178 [debug] [Debug] to kernel, mapped: {"command":"threads","type":"request","seq":55}
21:45:37.187 [debug] [Debug] response: {"seq":57,"type":"response","request_seq":55,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"MainThread"},{"id":2,"name":"Thread-2"},{"id":3,"name":"Thread-3"},{"id":4,"name":"IPythonHistorySavingThread"},{"id":45,"name":"Thread-8"}]}}
21:45:37.503 [debug] [Debug] to kernel: {"command":"scopes","arguments":{"frameId":5},"type":"request","seq":56}
21:45:37.503 [debug] [Debug] to kernel, mapped: {"command":"scopes","arguments":{"frameId":5},"type":"request","seq":56}
21:45:37.506 [debug] [Debug] response: {"seq":58,"type":"request","command":"startDebugging","arguments":{"request":"attach","configuration":{"type":"Python Kernel Debug Adapter","name":"Subprocess 20384","justMyCode":true,"__mode":1,"__cellIndex":3,"__notebookUri":"file:///Users/~/Documents/notebook.ipynb","__sessionId":"8fe949c3-b305-4b2d-9f6b-746ea95f9c1c","connect":{"host":"<IP_ADDRESS>","port":"52117"},"logToFile":true,"subProcessId":20384}}}
21:45:37.512 [info] Cannot start debugging. Already debugging this notebook document.

Sorry you are running into this issue.
Can you try to replicate this issue with a simple sample such as the following
print("Hello World");

def do_something():
    print("Inside")

print("Hello")
do_something()
print("Hello")

If you cannot, then its most likely some somethign in the Python code you are debugging thats causing this issue
Please can you share a minimal sample to repro this issue at my end (with few package dependencies or none at all).

Sorry for my late reply. I am debugging a notebook cell. I think it might be related to Python code that launches another subprocess. The following minimal sample throws the same error when I stop the debugger after some time (due to debugger freezing and nothing happening):
https://github.com/microsoft/vscode-jupyter/issues/9886#issuecomment-2261595209
I have exactly the same issue.

Let's close this as a duplicate


npm install !== git clone

Hi,
The source installed when doing
npm install nativescript-sse and
git clone https://github.com/triniwiz/nativescript-sse.git
are different.  The npm version is pure Javascript and the git clone version is Typescript.
Also trying to use either doesn't work. Creating a new issue for that.

found the same problem, and same simple solution. This plugin's android version fails out of the box otherwise, which makes it difficult to depend on, isn't the repo creator active anymore?

Hi @eldadj -
The source is different on npm vs. git - because typescript can't be run anywhere. Only the transpiled .js files can actually execute. Does that make sense? So typically, if you're a good developer who cares about consumers 😄, you don't ship the typescript to npm because it's wasted files. The only TS file that should be in a npm module is a .d.ts file. So this package if you clone the repo - you'll need to transpile the .ts files into .js and then use the output .js files in your app.
Hope that makes sense 👍


Add model schemas

I fixed proguard.
Here's what I get at runtime when trying to fetch the declarative schema from https://github.com/gradle/declarative-gradle/tree/main/unified-prototype

I fixed proguard. Here's what I get at runtime when trying to fetch the declarative schema from https://github.com/gradle/declarative-gradle/tree/main/unified-prototype

You need to upgrade the wrapper (let's say to latest) in that project.
Doing it from the GUI (ie. changing the GradleDistribution box to anything else than the default) no longer works, for some reason.
On that project there are also some Java version mismatches, between the GUI and the Daemon, just try fetching the GradleBuild model for example, after the wrapper upgrade.
And the schema we get is empty...

I get an empty schema for both unified-prototypes and nowinandroid.


Update frameless-dataset to 0.11.0

Updates org.typelevel:frameless-dataset from 0.10.1 to 0.11.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "frameless-dataset" } ]

labels: library-update, early-semver-major, semver-spec-minor

Superseded by #218.


Add formatter scaffold

This adds initial bits of the formatter:

rules DSL
engine, which can apply rules to code
the concrete set of rules for nix language

The approach is similar to patter-based formatting used in IntelliJ.
The major difference is that currently this operates directly on the syntax tree, while IntelliJ first wraps syntax tree into a tree of abstract blocks. I am not sure if adding an additional tree is worth it:

it should help with separation of concerns quite a bit
at the same time, because we have only one laguage to deal with anyway, it seems like an overkill

cc @zimbatm @jD91mZM2


Issue with Guaranteed Scheduling For Critical Add-On Pods by rescheduler

Related user guide page:
https://kubernetes.io/docs/admin/rescheduler/
Problem:
I have a few problems when using the Critical Add-On Pods.
1: Does this feature only working for Add-On pods? If so, how can I deploy my own service as Add-On to use this feature? I have done these things to make my pods a critical pod:
a) set the namespace as kube-system in the yaml;
b) set the scheduler.alpha.kubernetes.io/critical-pod and scheduler.alpha.kubernetes.io/tolerations fields in the annotations;
c) add a label kubernetes.io/cluster-service: "true" like other Add-Ons do. (Note: please take a look at my rc file below.)
Is this enough?
2: I tried to fill up my nodes with normal pods first with request limits, and then I tried to deploy my critical pod and set this pod's limits to a value that no node has enough memory to fit this pod, according to user guide page, the rescheduler should remove some non-critical pods on a node to fit this critical pod. But my critical pod just pending there, and when I describe this critical pod, the "Conditions" field has a property "PodScheduled" with value "False" but it doesn't has the property "Reason" which is expect to be "Unschedulable" according to user guide page? How does this happen?
3: I have 3 guesses that why this doesn't work:
a) The user guide page said that it will reschedule the pods that are already running in the cluster, does this means that it won't work for newly deployed pods?
b) Does this feature only working for Add-On pods and I haven't I deployed my own pods as Add-On correctly?
c) I haven't enable/install/start rescheduler correctly? I deployed my k8s cluster just by copying the binaries like kube-apiserver and kubelet in the kubernetes-server-linux-amd64.tar.gz to my master and slave nodes respectively, does this contains the rescheduler?
The yaml file of my critical pod:

The output of of describe that pod:

1.5.2

@davidopp Could you please take a look?

This feature isn't intended to be used by regular users, only internal Kubernetes infrastructure. We will be getting rid of it in 1.7 and replacing it with a more proper priority and preemption scheme.
@piosz is the expert on this feature, I know he is busy with the 1.6 release so he may not be able to respond to your questions until next week. BTW just for future reference, it's probably better to send this kind of question to the kubernetes-users or kubernetes-dev mailing list; many more people will see it there. We have so many open issues that it's easy to miss them and/or lose track of them.

According to what @davidopp wrote you use this feature only at your own risk and you should debug it on your own in such case. Please have in mind that it can cause a mess in your cluster when using inappropriately. We are also in process of migrating tolerations/tains (which is used by rescheduler) feature to beta which may cause even more problems with using rescheduler in your use case.
To briefly answer your questions:

You need also a toleration but I can see it in your yaml.
To debug this take a look into scheduler (which is responsible for marking pod as unschedulable) and rescheduler logs + into generated events.

a. it will kill some running pods in order to make sure that newly created critical pod can be scheduled properly
b. it's not clear to me what is your definition of addon, assuming you fulfilled all requirements from 1. it should work
c. Rescheduler should work out of the box. Please check /etc/kubernetes/manifests directory on master to verify whether you have its manifest there.

Really thanks for @davidopp and @piosz , and I find the root cause is that my rescheduler pod is running on an agent node which leads to a problem that can not connect to api-server, so I fixed it by making the rescheduler pod only running on the master node.
And looking forward to the more proper priority and preemption scheme in 1.7.


Using [PRIOR_SEGMENTATION] table when not all transcripts are assigned

I am interested in using Baysor to improve my segmentation results after running a basic thresholding and watershed segmentation.  The output of this segmentation is a  csv file with a column where some transcripts receive cell assignments, and many are left as nan.  Is there a way to specify that some transcripts do not have a prior?  Inputting the table as-is results in the following error.
# baysor run -x xc -y yc -z zc --gene target /var/data.csv :cell_id
┌ Warning: No config file provided. Using default parameters.
└ @ Baysor ~/.julia/packages/Baysor/RVP5y/src/cli/main.jl:91
[23:31:59] Info: (2022-01-03) Run Baysor v0.5.0
[23:31:59] Info: Loading data...
[23:32:22] Info: Loaded 6516 transcripts
[23:32:24] Error: ErrorException("The prior segmentation column 'cell_id' must be of integer type")
|
|                 error(s::String) at error.jl:33
|                 parse_prior_assignment(df_spatial::DataFrames.DataFrame, args::Dict{String, Any}) at main.jl:253
|                 load_prior_segmentation(df_spatial::DataFrames.DataFrame, args::Dict{String, Any}) at main.jl:273
|                 load_and_preprocess_data!(args::Dict{String, Any}) at main.jl:330
|                 run_cli_main(args::Vector{String}) at main.jl:433
|                 run_cli(args::Vector{String}) at common.jl:118
|                 run_cli() at common.jl:103
|                 top-level scope at baysor:4
|                 eval at boot.jl:360 [inlined]
|                 include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String) at loading.jl:1094
|                 _include(mapexpr::Function, mod::Module, _path::String) at loading.jl:1148
|                 include(mod::Module, _path::String) at Base.jl:386
|                 exec_options(opts::Base.JLOptions) at client.jl:285
|                 _start() at client.jl:485
└ Baysor /root/.julia/packages/Baysor/RVP5y/src/cli/common.jl:132

I see that there is the prior-segmentation-confidence parameter, but is this for the entire prior segmentation?  Or is there a way to assign it per item or per cell_id?

Hi Cecilia, you just need to replace nans with zeros, so it's integer. That corresponds to transcripts not being assigned.


Pruning function meta data

Hi all.
I have been working with the pruning function for my use case and it seems to be effective. I was wondering if you have a suggestion for automating the NER labelling of the column names. The manual tagging is a pretty tedious and inefficient task.
Thanks,
Laleh

Hi there, thanks for the issue. We’re working on this and should be able to open-source an automated NER labeler in early Jan!

This is fantastic! Looking forward to it.

Hey, is there an update to this?


Pull request builder may not (or may) be working on release-1.0

See https://github.com/GoogleCloudPlatform/kubernetes/pull/11186#issuecomment-121325672
It's doing something really weird for alternate base-branch pull requests. Shippable seems to be handling these fine.

I've set up the pull request builder to only touch PRs on the master branch. I can either remove this setting, or we can grow the whitelist.

 So if a commit has the same sha in multiple PRs, they'll probably all share the same status, even if they get merged into different trees in the PR builder.

The pull request builder now runs on the release-.* branches as well as master. It should work correctly - reopen if this ends up not being the case as we cherry-pick things in?


Removed leftover images

@h-kataria can you review please?

@h-kataria @epwinchell please review.

LGTM, verified in SSUI.


building problems on Linux fedora 26

I'm having trouble in installing OpenFAST.
i'm using Linux fedroa26 ,with gcc-4.9.3,openmpi-1.8.5,make-3.81,cmake-2.8.12.
I'm trying to usr SOWFA so I make it with "cmake .. -DBUILD_OPENFAST_CPP_API:BOOL=ON"
(I had successfully build OpenFAST with this switch off)
[navy@localhost build]$ cmake ../
-- The CXX compiler identification is GNU 4.9.3
-- The C compiler identification is GNU 4.9.3
-- The Fortran compiler identification is GNU
-- Check for working CXX compiler: /usr/local/gcc-4.9.3/bin/c++
-- Check for working CXX compiler: /usr/local/gcc-4.9.3/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/local/gcc-4.9.3/bin/gcc
-- Check for working C compiler: /usr/local/gcc-4.9.3/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working Fortran compiler: /usr/local/gcc-4.9.3/bin/gfortran
-- Check for working Fortran compiler: /usr/local/gcc-4.9.3/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/local/gcc-4.9.3/bin/gfortran supports Fortran 90
-- Checking whether /usr/local/gcc-4.9.3/bin/gfortran supports Fortran 90 -- yes
CMake Warning at cmake/OpenfastFortranOptions.cmake:53 (message):
A version of GNU GFortran greater than 4.6.0 is required but CMake could
not detect your GFortran version.
Call Stack (most recent call first):
CMakeLists.txt:45 (set_fast_fortran)
-- Looking for Fortran sgemm
-- Looking for Fortran sgemm - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- A library with BLAS API found.
-- A library with BLAS API found.
-- Looking for Fortran cheev
-- Looking for Fortran cheev - found
-- A library with LAPACK API found.
-- Setting system file as: src/SysGnuLinux.f90
-- Found MPI_C: /usr/local/openmpi-1.8.5/lib/libmpi.so
-- Found MPI_CXX: /usr/local/openmpi-1.8.5/lib/libmpi_cxx.so;/usr/local/openmpi-1.8.5/lib/libmpi.so
-- Found MPI_Fortran: /usr/local/openmpi-1.8.5/lib/libmpi_usempif08.so;/usr/local/openmpi-1.8.5/lib/libmpi_usempi_ignore_tkr.so;/usr/local/openmpi-1.8.5/lib/libmpi_mpifh.so;/usr/local/openmpi-1.8.5/lib/libmpi.so
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.7")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11")
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so;/usr/lib64/libhdf5_hl.so;/usr/lib64/libhdf5.so
-- Found YAMLCPP: /usr/include
-- Configuring done
-- Generating done
-- Build files have been written to: /home/navy/OpenFOAM/openfast-dev/build
errors come out when the next command "make" had done to 99%
P.S.错误=error,警告=warning,‘to_string’不是‘std’的成员=to_string' is not a member of 'std'
Linking Fortran executable openfast
/usr/bin/ld: warning: libgfortran.so.4, needed by /usr/lib64/liblapack.so, may conflict with libgfortran.so.3
[ 99%] Built target openfast
Scanning dependencies of target openfastcpplib
[ 99%] Building CXX object glue-codes/openfast-cpp/CMakeFiles/openfastcpplib.dir/src/OpenFAST.cpp.o
In file included from /home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:20:0,
from /home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:1:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/SC.h:22:16: 警告：non-static data member initializers only available with -std=c++11 or -std=gnu++11
double d2R = 0.01745329251 ; //Degrees to Radians
^
In file included from /home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:1:0:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:33:23: 警告：non-static data member initializers only available with -std=c++11 or -std=gnu++11
float nacelle_cd{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:34:25: 警告：non-static data member initializers only available with -std=c++11 or -std=gnu++11
float nacelle_area{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:35:24: 警告：non-static data member initializers only available with -std=c++11 or -std=gnu++11
float air_density{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:33:19: 警告：extended initializer lists only available with -std=c++11 or -std=gnu++11
float nacelle_cd{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:33:23: 警告：extended initializer lists only available with -std=c++11 or -std=gnu++11
float nacelle_cd{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:34:21: 警告：extended initializer lists only available with -std=c++11 or -std=gnu++11
float nacelle_area{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:34:25: 警告：extended initializer lists only available with -std=c++11 or -std=gnu++11
float nacelle_area{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:35:20: 警告：extended initializer lists only available with -std=c++11 or -std=gnu++11
float air_density{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.H:35:24: 警告：extended initializer lists only available with -std=c++11 or -std=gnu++11
float air_density{0.0};
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp: 在成员函数‘void fast::OpenFAST::allocateMemory()’中:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:722:47: 错误：‘to_string’不是‘std’的成员
turbineAllocFile.open("turbineAlloc." + std::to_string(worldMPIRank) + ".txt") ;
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp: 在成员函数‘void fast::OpenFAST::readVelocityData(int)’中:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:831:49: 错误：‘to_string’不是‘std’的成员
hid_t velDataFile = H5Fopen(("velDatafile." + std::to_string(worldMPIRank) + ".h5").c_str(), H5F_ACC_RDWR, H5P_DEFAULT);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:845:57: 错误：‘to_string’不是‘std’的成员
hid_t dset_id = H5Dopen2(velDataFile, ("/turbine" + std::to_string(iTurb)).c_str(), H5P_DEFAULT);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp: 在成员函数‘hid_t fast::OpenFAST::openVelocityDataFile(bool)’中:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:869:47: 错误：‘to_string’不是‘std’的成员
velDataFile = H5Fcreate(("velDatafile." + std::to_string(worldMPIRank) + ".h5").c_str(), H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:899:60: 错误：‘to_string’不是‘std’的成员
hid_t dataSet = H5Dcreate(velDataFile, ("/turbine" + std::to_string(iTurb)).c_str(), H5T_NATIVE_DOUBLE, dataSpace, H5P_DEFAULT, dcpl_id, H5P_DEFAULT);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:908:45: 错误：‘to_string’不是‘std’的成员
velDataFile = H5Fopen(("velDatafile." + std::to_string(worldMPIRank) + ".h5").c_str(), H5F_ACC_RDWR, H5P_DEFAULT);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp: 在成员函数‘void fast::OpenFAST::backupVelocityDataFile(int, hid_t&)’中:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:926:43: 错误：‘to_string’不是‘std’的成员
std::ifstream source("velDatafile." + std::to_string(worldMPIRank) + ".h5", std::ios::binary);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:927:41: 错误：‘to_string’不是‘std’的成员
std::ofstream dest("velDatafile." + std::to_string(worldMPIRank) + ".h5." + std::to_string(curTimeStep) + ".bak", std::ios::binary);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:927:81: 错误：‘to_string’不是‘std’的成员
std::ofstream dest("velDatafile." + std::to_string(worldMPIRank) + ".h5." + std::to_string(curTimeStep) + ".bak", std::ios::binary);
^
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp: 在成员函数‘void fast::OpenFAST::writeVelocityData(hid_t, int, int, OpFM_InputType_t, OpFM_OutputType_t)’中:
/home/navy/OpenFOAM/openfast-dev/glue-codes/openfast-cpp/src/OpenFAST.cpp:954:50: 错误：‘to_string’不是‘std’的成员
hid_t dset_id = H5Dopen2(h5File, ("/turbine" + std::to_string(iTurb)).c_str(), H5P_DEFAULT);
^
make[2]: *** [glue-codes/openfast-cpp/CMakeFiles/openfastcpplib.dir/src/OpenFAST.cpp.o] 错误 1
make[1]: *** [glue-codes/openfast-cpp/CMakeFiles/openfastcpplib.dir/all] 错误 2
make: *** [all] 错误 2
P.S.错误=error,警告=warning,‘to_string’不是‘std’的成员=to_string' is not a member of 'std',
someone got the same problem?
please help
by the way ,I would be appreciated if anyone tell me his own environment as a reference.such as the versions of gcc gnu make cmake c++ compiler

@ShenghaiLiao =_= the gfortran collapsed it self. <- thats a new one!
Have you found the issue and/or solution? I have not used Fedora, but I have compiled successfully on recent versions of Ubuntu, Debian, and CentOS. I generally use GCC 7.3 or newer. The default cmake typically work for me. Did you use any custom settings aside from turning on the c++ api?

@ShenghaiLiao I'm closing this issue as I haven't heard back from you. However, if you continue to have this problem please comment on here again and I'll reopen the issue.


telemetry: add billing categorization to cody events 1

In accordance with RFC 978
Test plan
Low impact change—testing here is only ensuring that this passes CI and builds correctly without errors.
Changelog

I tagged a few people for reviews, but none of you have to do a detailed, line-by-line review here. I just wanted to get a few opinions before merging:

@bobheadxi confirmation that this looks right to you considering the v2 telemetry architecture
@abeatrix confirmation that this change "looks" fine in the context of the Cody codebase
@akalia25 just tagged for awareness

More such PRs will be coming for our other codebases, and I've likely missed a few in sourcegraph/cody as well, so this is only an early proof of concept. A bigger announcement about this will come once our existing events have this set up.


Generate union with disciminator name without making intermediate types

First, some code:
#[derive(Clone, Debug, PartialEq, Union)]
#[oai(discriminator_name = "type", one_of)]
pub enum WriteSetChange {
    DeleteModule(DeleteModule),
    DeleteResource(DeleteResource),
}

#[derive(Clone, Debug, PartialEq, Object)]
pub struct DeleteModule {
    pub address: Address,
    pub state_key_hash: String,
    pub module: MoveModuleId,
}

#[derive(Clone, Debug, PartialEq, Object)]
pub struct DeleteResource {
    pub address: Address,
    pub state_key_hash: String,
    pub resource: MoveStructTag,
}

If you generate a spec from this, you get:
    WriteSetChange:
      type: object
      oneOf:
        - $ref: "#/components/schemas/WriteSetChange[DeleteModule]"
        - $ref: "#/components/schemas/WriteSetChange[DeleteResource]"
      discriminator:
        propertyName: type
        mapping:
          DeleteModule: "#/components/schemas/WriteSetChange[DeleteModule]"
          DeleteResource: "#/components/schemas/WriteSetChange[DeleteResource]"
    "WriteSetChange[DeleteModule]":
      allOf:
        - type: object
          required:
            - type
          properties:
            type:
              type: string
              example: DeleteModule
        - $ref: "#/components/schemas/DeleteModule"
    "WriteSetChange[DeleteResource]":
      allOf:
        - type: object
          required:
            - type
          properties:
            type:
              type: string
              example: DeleteResource
        - $ref: "#/components/schemas/DeleteResource"
     DeleteModule:
      type: object
      required:
        - address
        - state_key_hash
        - module
      properties:
        address:
          type: string
          format: Address
        state_key_hash:
          type: string
        module:
          $ref: "#/components/schemas/MoveModuleId"
    DeleteResource:
      type: object
      required:
        - address
        - state_key_hash
        - resource
      properties:
        address:
          type: string
          format: Address
        state_key_hash:
          type: string
        resource:
          $ref: "#/components/schemas/MoveStructTag"

As you can see, this generates an intermediate type that holds both the "data", e.g. DeleteResource, and the type (a string).
What I really want is something like this:
    WriteSetChange:
      type: object
      oneOf:
        - $ref: "#/components/schemas/DeleteModule"
        - $ref: "#/components/schemas/DeleteResource"
     DeleteModule:
      type: object
      required:
        - address
        - state_key_hash
        - module
      properties:
        address:
          type: string
          format: Address
        state_key_hash:
          type: string
        module:
          $ref: "#/components/schemas/MoveModuleId"
    DeleteResource:
      type: object
      required:
        - address
        - state_key_hash
        - resource
      properties:
        address:
          type: string
          format: Address
        state_key_hash:
          type: string
        resource:
          $ref: "#/components/schemas/MoveStructTag"

As in, no intermediate types. This second output is actually generated from the schema when I don't specify discriminator_type, just one_of. The problem now is there is no discriminator type, since what I really want is this:
    WriteSetChange:
      type: object
      oneOf:
        - $ref: "#/components/schemas/DeleteModule"
        - $ref: "#/components/schemas/DeleteResource"
      discriminator:
        propertyName: type
     DeleteModule:
      type: object
      required:
        - address
        - state_key_hash
        - module
      properties:
        address:
          type: string
          format: Address
        state_key_hash:
          type: string
        module:
          $ref: "#/components/schemas/MoveModuleId"
    DeleteResource:
      type: object
      required:
        - address
        - state_key_hash
        - resource
      properties:
        address:
          type: string
          format: Address
        state_key_hash:
          type: string
        resource:
          $ref: "#/components/schemas/MoveStructTag"

This is necessary so clients know where to find the type of the data. I don't need the intermediate types, it makes the spec more verbose than necessary. The mapping is nice but not required in either case.
Is there any way to do this with Poem today?

Note, this is a nice to have, I see why it does what it does today, because without the intermediate types you're silently returning data with the type field even though the spec doesn't indicate it should. But if you don't mention discriminator_type explicitly it does that anyway.

I understand that each of your types contains a type field, so you don't need the Union macro to generate intermediate types for you.

I will add a no_intermediate attribute to Union, but you need to make sure that each type contains the fields specified by the discriminator and that they are the same type, otherwise will panic when generating the schema.

Almost, the way poem works now (unless I'm mistaken) it returns data with the type field set already, so I don't expect that the struct should require the type field.
In other words, I want what you've got above but there is no type field added to each of the enum variant structs.

Maybe you are wrong. 🙂
https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/
In our example, the discriminator points to the objectType property that contains the data type name. The discriminator is used with anyOf or oneOf keywords only. It is important that all the models mentioned below anyOf or oneOf contain the property that the discriminator specifies. This means, for example, that in our code above, both simpleObject and complexObject must have the objectType property. This property is required in these schemas:

Hmmm I see, let me investigate further.

Okay I looked and it indeed doesn't return the type field by default. Sooooooooo, this is probably a big ask but I think it'd be awesome if you could have code like this:
#[derive(Clone, Debug, PartialEq, Union)]
#[oai(discriminator_name = "type", no_intermediate)]
pub enum WriteSetChange {
    DeleteModule(DeleteModule),
    DeleteResource(DeleteResource),
}

#[derive(Clone, Debug, PartialEq, Object)]
pub struct DeleteModule {
    pub address: Address,
    pub state_key_hash: String,
    pub module: MoveModuleId,
}

#[derive(Clone, Debug, PartialEq, Object)]
pub struct DeleteResource {
    pub address: Address,
    pub state_key_hash: String,
    pub resource: MoveStructTag,
}

and then Poem would do some macro / derive magic to automatically add the type field based on the name of the value in the enum, without generating intermediate types in the spec. Or perhaps you add a derive to the values in the enum (e.g. above DeleteModule) that does this.
What do you think about this, is this feasible?

To add further detail, I'm migrating from a regular webserver that returns JSON generated by serde, to Poem. With serde this is very easy, you can just add this:
#[serde(tag = "type")]

I feel like Poem could leverage this model to make this just as easy.

Okay thinking more about this, I figure this combination of things will work:

Add no_intermediate, which assumes the enum variants all have the field specified in discriminator_name.
Use #[serde(tag = "type)] so (de)serialization adds the type field automatically.
Ensure we're using serde to do (de)serialization, so the field gets added.

As it is today, 3 doesn't seem to work, adding the tag in 2 doesn't result in the type field being included in the response. If it did, I don't think I'd even need no_intermediate.

I say not stale hahah, but I can't remove the label


BUG: sparse.csgraph.minimum_spanning_tree: 64bit indices unsupported

Describe your issue.
As noted in #18716, due to #18509 users are (since 1.11) quite likely to hit the problem that many sparse csgraph routines don't support 64-bit indices.  For the specific case of connected_components this was fixed in #18913, but there are still other problematic routines, e.g. minimum_spanning_tree.
Reproducing Code Example
import numpy as np, scipy.sparse
# Using astype("i4") below works, and i8 worked before scipy 1.11.
adj = scipy.sparse.coo_array((np.random.rand(5), np.random.randint(0, 9, (2, 5)).astype("i8")), (9, 9))
sparse.csgraph.minimum_spanning_tree(adj)

Error message
ValueError                                Traceback (most recent call last)
Cell In[23], line 1
----> 1 sparse.csgraph.minimum_spanning_tree(adj)

File _min_spanning_tree.pyx:109, in scipy.sparse.csgraph._min_spanning_tree.minimum_spanning_tree()

ValueError: Buffer dtype mismatch, expected 'ITYPE_t' but got 'long'

SciPy/NumPy/Python version and system information
1.11.3 1.26.4 sys.version_info(major=3, minor=12, micro=2, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /opt/arm64-builds/include
    lib directory: /opt/arm64-builds/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3
    pc file directory: /opt/arm64-builds/lib/pkgconfig
    version: 0.3.21.dev
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /opt/arm64-builds/include
    lib directory: /opt/arm64-builds/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= SANDYBRIDGE MAX_THREADS=3
    pc file directory: /opt/arm64-builds/lib/pkgconfig
    version: 0.3.21.dev
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.11.0
Compilers:
  c:
    commands: cc
    linker: ld64
    name: clang
    version: 14.0.0
  c++:
    commands: c++
    linker: ld64
    name: clang
    version: 14.0.0
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 0.29.36
  fortran:
    commands: gfortran
    linker: ld64
    name: gcc
    version: 12.1.0
  pythran:
    include directory: ../../pip-build-env-9n_61ofj/overlay/lib/python3.12/site-packages/pythran
    version: 0.14.0
Machine Information:
  build:
    cpu: aarch64
    endian: little
    family: aarch64
    system: darwin
  cross-compiled: false
  host:
    cpu: aarch64
    endian: little
    family: aarch64
    system: darwin
Python Information:
  path: /private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cibw-run-dp6he_rc/cp312-macosx_arm64/build/venv/bin/python
  version: '3.12'

Looks like we can take a similar approach as in gh-18913, though we may need to be careful about binary size bloat.


Fix links and stuff

The libGDX wiki migration broke the old links. This changes some stuff. I'm aware there's many more repositories than just this one that hold links to the libGDX wiki - working on a band-aid for that.

Hello, I am here to comment


implement Server.ConnContext (#3603)

Implement the equivalent of net/http's Server.ConnContext in http3

Just to chime in since I've been looking for this to. This is entirely not the equivalent to stdlib and it'd be very disingenuous to commit to this feature and it behave this way.
In this implementation, this is happening per-request, not per-connection. The entire point of the ConnContext is to be one per connection.

To be clear, to do this correctly, this needs to be hooked much much sooner in the flow and ensure it's passed all the way through. This should be hooked as close to the Accept() call as is realistic.

In this implementation, this is happening per-request, not per-connection. The entire point of the ConnContext is to be one per connection.

I made a mistake on the naming. So instead of mucking around with the context at the connection level, I could achieve what was necessary by mucking around at the request level. Naming and description updated so it should be clearer.

At this point, why not just use a middleware pattern and wrap the server handler?
Still going to strongly suggest instead of any of this, we just implement ConnContext correctly.

I've refactored how to solve my original issue... this PR is not the path I'm going to pursue anymore; it can be ignored


RSDK-2352 - setup Address and UB sanitizers, add -Wall and -Werror flags

UPDATED DESCRIPTION
Major changes

Add flag for building with -Wall and -Werror (defaults to on)
Add flag for building with UB sanitizer (defaults to off)

Minor changes

Miscellaneous refactors to ensure successful building with Wall/Werror flags and no errors

Testing

Builds successfully with flags passed
Unit tests pass with instrumented build
dial example runs successfully on mac with both ubsan and asan

Notes

Currently we are not building with asan. This is because unit tests are failing with asan on linux. This is possibly due to gRPC not being similarly built with asan. We don't yet support doing this ourselves; this is a future goal however, see here.

Deprecated description, left here for posterity's sake.
Major changes

Add flag for building with -Wall and -Werror (defaults to on)
Add flag for building with address sanitizer and UB sanitizer (defaults to off)

Minor changes

Miscellaneous refactors to ensure successful building with Wall/Werror flags and no errors

Testing

Builds successfully with flags passed
Unit tests pass with instrumented build

Notes

Currently integration testing/production use with an instrumented build is expected to fail unless gRPC is similarly built with sanitizers. We don't yet support doing this ourselves; this is a future goal however, see here.

removing myself as reviewer, I think andrew has covered things well. 👍


Error in downloading a zip from URL on Android

When I initiate a download on Android it throws a puzzling error:
D/ContentSync( 4926): sync called with id = bu and src = http://<IP_ADDRESS>:3000/__api__/zip!
D/ContentSync( 4926): download http://<IP_ADDRESS>:3000/__api__/zip
E/ContentSync( 4926): prefix must be at least 3 characters

Okay, for some reason in Java if you call File.createTempFile(String prefix, String suffix, File directory) the call will fail if "prefix" is less than 4 characters. I have no idea why they coded it this way and I don't care to look through the source. I now pad the prefix so it is always greater than 4 characters.

Hrm, it appears there are some more errors:
D/ContentSync( 2785): sync called with id = bu and src = http://<IP_ADDRESS>:3000/__api__/zip!
D/ContentSync( 2785): download http://<IP_ADDRESS>:3000/__api__/zip
D/ContentSync( 2785): Download file:http://<IP_ADDRESS>:3000/__api__/zip
D/ContentSync( 2785): Target file:/data/data/io.cordova.hellocordova/cache/cdv_bu1364836324.tmp
D/ContentSync( 2785): size = 0
D/ContentSync( 2785): bytes read = 4

Looks like it starts the download but finishes at size 0?

Oh this issue has been fixed I believe from this commit: https://github.com/phonegap/phonegap-plugin-contentsync/commit/2beebfe9e93eb6457661f43c8da053795b468338
Whatever Simon did in the refactor makes it work!


Incorrect Battery Type

BUG report:
Battery Parameters:
Rated charging current: 40A
Rated load current: 40A
Battery real rated voltage: 24V
Traceback (most recent call last):
File "/home/kali/.local/bin/epevermodbus", line 8, in
sys.exit(main())
File "/home/kali/.local/lib/python3.10/site-packages/epevermodbus/command_line.py", line 60, in main
print(f"Battery type: {controller.get_battery_type()}")
File "/home/kali/.local/lib/python3.10/site-packages/epevermodbus/driver.py", line 271, in get_battery_type
return {0: "USER_DEFINED", 1: "SEALED", 2: "GEL", 3: "FLOODED"}[
KeyError: 0.02
In file driver.py, line 272 should be:
self.retriable_read_register(0x9000, 0, 3)
instead of
self.retriable_read_register(0x9000, 2, 3)
regards
Pavel

Thanks for reporting, this should be fixed by https://github.com/rosswarren/epevermodbus/pull/13


feat: Support Environment Variables for Hook Commands

Adds ability to configure environment variables to be set when invoking hook commands.
Variables are configured via hook "args" using the following argument pattern:
--hook:env:NAME=VALUE

feat: Add support for "--hook:error-on-output" in my-cmd-* hooks.

Can exist anywhere in the arg list before a '--' argument
re: Support for plain '--error-on-output' at first element

Still works (currently)
Is now deprecated and will be removed in a future version

chore: Use "/usr/bin/env" to  invoke commands

No-longer invokes the commands directly
Makes it trivial to pass environment variables to commands
Should not cause issues as /usr/bin/env was already vital

chore:  Add "shellcheck source" declarations on dynamically sourced files

Only files that were already modified for this PR were addressed

Breaking Change: For compatibility with file-based hooks, Repo-based hooks
no-longer ignore '--', or proceeding arguments, in the argument list.
However, to further match file-based logic, the first '--' will be consumed,
treating anything after it as OPTIONS to be passed to the hook command.

TODOS:

[ ] Update Docs

replaces #25
cc: @timuralp

@timuralp just a quick check-in to see if you had a chance to review + test this PR ?

@TekWizely this works for me! I noticed that I have to quote the args, as otherwise I get an error about malformed yaml.  I will close my other PR. Thanks for working on this!

@timuralp thanks for confirming - now I have to find time to update the docs so we can get his released !


Additional small additions to DataFrame, and one for Series, in Pandas stub

I've made a few more additions to the stub, fleshing it out as I found I needed more for my work.
As a note, the stub for the getitem method in Series is incorrect - I tried to find a way to fix it, but was unable to create a cover-all stub for it, only one that solved my specific issue.  I don't know how I'd stub out a return type of Series[index] without knowing what the Series is containing, so I'm not sure of any elegant solutions to this.

Turns out this fix isn't quite ready for my work just yet, so I'll resubmit once I've figured it out.


Add at-root-no-redundant rule

Fix (#601).

@kristerkari please let us know your thoughts :)

Thanks! I'll need to go through all the new PRs 👍


mvLog header kills system __attribute__() macro; causes chaos and mass failures

I discovered that the XLinkLog.h header redefines the critical system macro __attribute__.
The rule is...don't use, change, or redefine things (e.g. macros) with double underscores. Period no exceptions.
https://devblogs.microsoft.com/oldnewthing/20230109-00/?p=107685
XLink is working around this issue by careful ordering of header includes. Not a good solution. One header that is broken by this issue is libusb.h. Other code/headers may be affected silently.
Setup

all os, platforms

Repro

Setup a Windows machine to compile with mingw
Create any .cpp file in the XLink project, e.g. src\pc\protocols\myfile.cpp
Edit your cpp file to have the following

#define MVLOG_UNIT_NAME xLinkUsb

#ifdef XLINK_LIBUSB_LOCAL
#include <libusb.h>
#else
#include <libusb-1.0/libusb.h>
#endif

#include "XLink/XLinkLog.h"

int myvar = 1;

config, build

Your build should be successful
Now...change the order so that your file has this code...
#define MVLOG_UNIT_NAME xLinkUsb
#include "XLink/XLinkLog.h"

#ifdef XLINK_LIBUSB_LOCAL
#include <libusb.h>
#else
#include <libusb-1.0/libusb.h>
#endif

int myvar = 1;

Result
uncountable number of errors, deep within the system headers, usually related to intrinsics. For example...
[build] C:/Users/WDAGUtilityAccount/Desktop/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/mmintrin.h: In function '__m64 _mm_cvtsi32_si64(int)':
[build] C:/Users/WDAGUtilityAccount/Desktop/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/mmintrin.h:79:54: error: cannot convert a vector of type '__vector(2) int' to type '__m64' {aka 'int'} which has different size
[build]    79 |   return (__m64) __builtin_ia32_vec_init_v2si (__i, 0);
[build]       |                                                      ^
[build] C:/Users/WDAGUtilityAccount/Desktop/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/mmintrin.h: In function 'int _mm_cvtsi64_si32(__m64)':
[build] C:/Users/WDAGUtilityAccount/Desktop/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/mmintrin.h:122:39: error: cannot convert '__m64' {aka 'int'} to '__vector(2) int'
[build]   122 |   return __builtin_ia32_vec_ext_v2si ((__v2si)__i, 0);
[build]       |                                       ^~~~~~~~~~~
[build]       |                                       |
[build]       |                                       __m64 {aka int}
[build] <built-in>: note:   initializing argument 1 of 'int __builtin_ia32_vec_ext_v2si(__vector(2) int, int)'
[build] C:/Users/WDAGUtilityAccount/Desktop/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/mmintrin.h: In function '__m64 _mm_packs_pi16(__m64, __m64)':
[build] C:/Users/WDAGUtilityAccount/Desktop/mingw64/lib/gcc/x86_64-w64-mingw32/12.2.0/include/mmintrin.h:161:43: error: cannot convert '__v4hi' {aka 'short int'} to '__vector(4) short int'
[build]   161 |   return (__m64) __builtin_ia32_packsswb ((__v4hi)__m1, (__v4hi)__m2);
[build]       |                                           ^~~~~~~~~~~~
[build]       |                                           |
[build]       |                                           __v4hi {aka short int}
[build] <built-in>: note:   initializing argument 1 of '__vector(8) char __builtin_ia32_packsswb(__vector(4) short int, __vector(4) short int)'

Notes
The bug is in include\XLink\XLinkLog.h. It redefines the system macro __attribute__. That is forbidden. And causes chaos like libusb header failures and potentially silent failures elsewhere. For example, in usb_host.cpp 4 local headers and 5+ system headers will no longer have a functioning __attribute__ macro.
https://github.com/luxonis/XLink/blob/d209b7eeb8ac68435df5097e57e1dfd8ea1d0e83/include/XLink/XLinkLog.h#L48-L53

commit linked above. needs wider testing to see if it compiles everywhere including the share hardware itself.


start_sockproc: line 55: kill: (47) - No such process

When I restart my container, there are still /tmp/ files lying around ( auto-ssl-sockproc.pid  shell.sock  ) and resty-auto-ssl throws this error:
start_sockproc: line 55: kill: (47) - No such process

I'm guessing that if exit code is 47 in start_sockproc then it should swallow the error.

I'm getting the same error. any hints?


Kore execution problems, maybe from unification?

On the current master, a KORE version of IMP++ cannot run even sum.imp. Something seems to be wrong in unification. First, grab a imp++ from the tutorial-kore branch
git checkout tutorial-kore -- k-distribution/tutorial-kore/1_k/4_imp++/lesson_8/imp.k

Compiling succeeds:
k-framework/k-distribution/tutorial-kore/1_k/4_imp++/lesson_8$ kompile --kore imp.k

but running a program doesn't terminate
k-framework/k-distribution/tutorial-kore/1_k/4_imp++/lesson_8$ krun --kore --smt none --parser "kast --kore -s Stmts" ../../../../tutorial/1_k/2_imp/lesson_1/tests/sum.imp
and the debugger shows parts of the configuration being replaced by variables, and then no apparent progress:
k-framework/k-distribution/tutorial-kore/1_k/4_imp++/lesson_8$ krun --kore --smt none --debugger --parser "kast --kore -s Stmts" ../../../../tutorial/1_k/2_imp/lesson_1/tests/sum.imp

Command > step
<T> <threads> <thread> <k> ` _188 && _182 ` ~> _190 </k> _183 _184 </thread> _189 </threads> <store> .Map </store> <in> .List </in> <out> .List </out> </T>

Command > back-step
<T> <threads> <thread> <k> int n , ` sum , .AExps ` ;  ` ( n = 100 ) ;  ` ( sum = 0 ) ;  ` ` while ( ! ` n <= 0 ` ) { ( sum = sum + n ) ;  ` ( n = n + -1 ) ;  .Stmts ` } `  .Stmts ` ` ` </k> <env> .Map </env> <id> 0 </id> </thread> </threads> <store> .Map </store> <in> .List </in> <out> .List </out> </T>

Command > step
<T> <threads> <thread> <k> ` _197 && _191 ` ~> _199 </k> _192 _193 </thread> _198 </threads> <store> .Map </store> <in> .List </in> <out> .List </out> </T>

Command > step
<T> <threads> <thread> <k> ` _206 && _200 ` ~> _208 </k> _201 _202 </thread> _207 </threads> <store> .Map </store> <in> .List </in> <out> .List </out> </T>

further steps just change the variable numbers. Running without --smt none produces error messages from the solver, but doesn't otherwise seem to make more progress.
@andreistefanescu , @yilongli , please take a look.

I'll assign this to @andreistefanescu  for now. Can you take a look at this? I think you promised you would look into anything that's stopping the Java backend from running Kore, and I'd really like to have more than just IMP available in kore for my own work.

Fixed.


[FR] - Export TxIns type synonym

@phadej Would you like to add some additional information? Why should this feature exist?

Because now I have to write ... -> (Api.TxIn, Api.BuildTxWith Api.BuildTx (Api.Witness Api.WitCtxTxIn Api.AlonzoEra)) as the handy type synonym is not exported.

Closing this. If this is still relevant please reopen.


Support for Roam v1

I noticed that your earlier xmls included layers for the original bolt and roam, but newer versions exclude these models.
Perhaps this was a change at wahoo.
Would it be possible to simply rename a layer to ROAM, cat id=roam and use the provided xml on my Roam v1 device?
My goal is to add park/greenspace visibility on the original roam.
The device can display the color green, but doesn't use it for green spaces as it does on version 2.
[edit] this does work!
I now have green and red and other colors shown on the Roam v1 map.
In addition to renaming ROAM_2 to ROAM and roam2 to roam, I added the cfg_BHomeActivity_VtmMaps empty file to the root of my device which you had mentioned elsewhere to get the device using the vtm rendering.

@markdon0101 you are correct! Looks like wahoo has removed the themes for the v1 roam and bolt. You might run into contrast issues by renaming the V2 profiles, looking at the old themes the v1's were explicitly black and white.
Is the roam v1 still receiving software updates? It might be they have a different theme file now, I can look for it in a bit.

@markdon0101 you are correct! Looks like wahoo has removed the themes for the v1 roam and bolt. You might run into contrast issues by renaming the V2 profiles, looking at the old themes the v1's were explicitly black and white.
Is the roam v1 still receiving software updates? It might be they have a different theme file now, I can look for it in a bit.


Remove hardcoded Google Analytics

The templates have hardcoded Google Analytics values.  These need to point to our Google Analytics account + be pulled in via .env vars.

Removed.


[release-1.19] fix : make ambient work with intermidiary certs

Manual cherrypick required.
#680 failed to apply on top of branch "release-1.19":
Applying: fix istio/istio#46995 - work with intermidiary certs
Using index info to reconstruct a base tree...
M	src/tls/boring.rs
Falling back to patching base and 3-way merge...
Auto-merging src/tls/boring.rs
CONFLICT (content): Merge conflict in src/tls/boring.rs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 fix istio/istio#46995 - work with intermidiary certs
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

#688

Fixed by https://github.com/istio/ztunnel/pull/688


Wrong data on readme

"Davidson Souza at me AT dlsouza DOT lol" is a valid email ?

The email is me AT dlsouza DOT lol and it is valid


Add a template for reporting issues

Having a template for reporting issues would be more friendly to the community.

As per the github documentation, configuration for this can be set up at the repository level. Refer to this link for more detailed information.

We can adapt this.
If it's a bug, it would be good to mention in which module of Koma and the version.


Fix hiveutil awsprivatelink bug caused by unknown user

user.Current() errors out when the binary runs as an unknown user (no entry in /etc/passwd), which is the case in Openshift.
https://github.com/golang/go/issues/38599

"The QE found a bug in his own backyard. "

/retest

/test e2e-pool


error

Hello @bourdakos1
i have two problem
1-  when i annotate new object in my unlabeled images ,  cloud not save my draw and reset all image to undraw state
2- when i click train button
it gives red error status without any message

can you send a screenshot?

this is error
https://pasteboard.co/JlMaY72.png
WHAT IS PROBLEM
IT WORKED LAST WEEK

can you click download model and see if there is a log file?

i downloaad model
but it has 999 image
and 1 annotaion file
this link
https://easyupload.io/jvviru
what is problem ??

every unlabeled image reset
when i labeled them
and not saving in labeled group

@bourdakos1
hello again
what is solution for these problem???
please help.
i repeated
1-  error for train button in web
2-  it is not possible for draw box in new image .
do you want i send my user and pass and check it  ???

It’s failing to train because nothing is labeled. I’m not sure why things aren’t labeling... what browser and version are you using?

@bourdakos1
i labeled 1350 image before this error
please help me

I'm not sure I understand? I thought you said you labeled images, but the labels are gone now?

@bourdakos1
let me explain better
i labeled 1350 image last week
after that  i want  label 250 new image
But  i can't labele any new image in  cloud .
what is problem ?????

i'm not sure sorry :( maybe try another browser? firefox works fine for me, but I'm using a different version than you

i test with chrome
and brave
and edge
but cant label new image
may i send user and pass to you
and check it ???

Sure

@bourdakos1
i email user and pass to you
please check it
thnaks

@mas1515 I fixed the issue, you should be able to train now :) Sorry it took so long!


Image Small Option for Carousels

https://main--mammotome--hlxsites.hlx.page/us/en/products/breast-biopsy-markers/biomarc
Can we have a small image style option for carousels like we have for columns? In the carousel below, the images are displaying too large and look low quality.

(does not need to delay go-live :) )

@kelseywilliams751 we could define max-width to specific PX as a selector similar to the columns selector small images. What width for small images would you recommend?

@kelseywilliams751 Please take a look here: https://392-image-small-option-for-carousels--mammotome--hlxsites.hlx.page/us/en/products/breast-biopsy-markers/biomarc
I changed Layout to show bullets and image with 50%-50%. With the new Layout, the small image looks better. Please tell me what you think.

Hi there, the second image within the carousel looks better.


ESP32 doesn't boot when using external_ram with opt-level to 0, 1, or 2

Hi,
When using the "external-ram" feature, the board (ESP32) will not boot (infinite watchdog loop) if the opt-level is set to 0, 1, or 2. Setting the opt-level to 3, "s", or "z" will fix the issue. Removing the "external-ram" feature will make the board boot at all optimization levels. The attached project is a minimal example to reproduce the problem. I'm using the rust compiler from esp-rs/rust on the esp-<IP_ADDRESS> branch with the esp-idf on branch release/v4.3
esp32_extram_error.zip

Thanks for the report. Which dev board are you using with the esp32?

I have tried on two different boards with the same behavior.

An old TTGO T-Camera Plus with a 4MB SPRAM (instead of the 8 on the new boards). The ESP32 is a revision 1 chip.
DOIT ESP32 DEVKITV1. The ESP32 is a revision 1 chip.

I also tried with the latest master branch of ESP-IDF (v5.0-dev-676-g5c33570524) without any changes.


Feat/find

Upgrade search algorithm to use two different strategies:
-Native find command on Linux OS
-Go script on Windows OS
Performance increases greatly

YAY!!!!


Alcail/removing chat/call samples display name length check

What
Removed the display name length check from our chat and call samples
Why
bug https://skype.visualstudio.com/SPOOL/_workitems/edit/2641755
extended to Call sample
How Tested
ran call and chat sample locally.

Chat:

Call:

mobile view:

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Loving the test cases! 😂

Good one. <3


Add PR, Feature Request and Question github templates

Building on https://github.com/exceljs/exceljs/pull/1112, here are my suggestions for the PR, Feature Request and Question github templates.
Again, they are heavily inspired by https://github.com/facebook/jest/tree/master/.github - but there's one big difference: They don't want the github issue tracker to be used for questions, which are instead handled via discord, stackoverflow, etc. What is our stance here?
We could encourage users to open issues to ask questions but warn them that they might not get answered (but then where should they go). Or we could ask them to use this only for clear bug reports or feature requests and direct them elsewhere (but where). What do you think?

I use only Github, so ... :)
I think that we could encourage users to open issues to ask questions without warns 🥇
I attempt to respond to 5-10 issue per day, add labels, close or - that I mostly like - resolve them.
Fixing the bugs is for me the important thing. But very often I haven't enough time to do that. So I'm really happy and thankful when someone from our community does it 🚀 🚀 🚀

@Siemienik I've tried to describe our approach in the template - what do you think?
Have a question about exceljs? Need help using it a certain way that our README does not seem to explain? Ask away!

Please keep in mind that we're unpaid open souce volunteers, so it will help us greatly if you add as many details as possible to your question and describe what other approaches you've tried out so far. And of course, we'd love for you to contribute back the answer to our README via a pull request!


Update Dataflow container to 20170714

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

run dataflow validatesrunner

Coverage increased (+0.01%) to 70.733% when pulling 20d2018c51372e3f4dbb1a52db8e38b074255996 on kennknowles:dataflow-worker into f77d0351c2e8add9dd3f208c7203fab50313fb50 on apache:master.

run dataflow validatesrunner

@kennknowles is this PR still relevant?


opacity property doesn't accept decimal value

Earlier it works OK, it seems to stop working after last update?
"bracket-pair-colorizer-2.activeScopeCSS": [
        "backgroundColor : {color}; opacity: 0.5",
        "outline : true"
]

Try putting it on a new line:
"bracket-pair-colorizer-2.activeScopeCSS": [
"backgroundColor : {color};",
"opacity: 0.5",
"outline : true"
]


[pipedream] add type infromation to ast-grep with LSIF

a value’s type at a certain position is available if we have Language Server Index Format!
Maybe we can add this to meta variable constraints.....
https://comby.dev/blog/2022/08/31/comby-with-types

Summarising some of the key points from the above blog for easier reference:

https://comby.dev/blog/2022/08/31/comby-with-types

To that end, I really just want comby to use an external service that answers: What is the type of the value at this location in the file?
Type-information-as-a-service is ideal because then I can keep the convenience of matching syntax easily, and outsource accessing language-specific semantic properties as needed. The concept is to expose a property on any matched variable that corresponds to type information (if available).

I know of only two high-level solutions resembling a service that conveniently provides type information today, and which aim to eventually support all languages. The first is language server implementations of LSP (Language Server Protocol). Language servers expose all kinds of information, and typically include type information in hover tooltips found in editors. With LSP there is no authoritative, centralized language server that you can just query. Instead, language servers are configured for specific projects and either run locally on your machine or get managed by an organization.
The second is a central, public-facing service maintained on Sourcegraph.com that exposes hover information similar to the LSP format (disclaimer: I work at Sourcegraph, but my day job is unrelated to this service). The key difference is that Sourcegraph automatically processes popular repositories on GitHub (currently about 45K) with support for TypeScript, Go, Java, Scala, and Kotlin. It’s also possible to process your own projects (locally, in CI, or GH actions) and upload the data. Once that happens, you can efficently browse or query type information for variables on hover.
This is exactly the kind of information I need to tell whether a matched variable is a slice, map, channel, or pointer. For supported projects, you just fire a GQL request to get the hover content.


Adding file to lookup for extensions on a folder

Hello,
I added the example file.
I'm not very experienced on the C programming, so I hope people can benefit from this example I created.

Thanks, this is now merged!


Test under Python 3.6

Hi, is there any harm in testing with 3.5 and 3.6? (and 3.4, for that matter)

Python 3.6 seems to fail.  :-(

In fact, all Python 3 builds are failing.  https://travis-ci.org/mathiasertl/fabric/builds/198821339


Consider using Python 3

@goldarte, @korigod

Traceback (most recent call last):
  File "./tests3.py", line 18, in <module>
    import tf2_ros
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 38, in <module>
    from tf2_py import *
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_py/__init__.py", line 38, in <module>
    from ._tf2 import *
ImportError: dynamic module does not define module export function (PyInit__tf2)

@okalachev, you're seeing these errors because tf2_py was not built against Python 3. As it stands (if I understood https://github.com/ros-infrastructure/rep/pull/149 correctly, even though it is a draft), you need to build all of your packages against Python 3 to have Python 3 support. Even then, you'd have to be at least on Melodic (and see https://github.com/CopterExpress/clever/pull/135 and our internal discussion on that).
We could (and should, really) build the required packages against Python 3 and package them in a separate repository. Whether we should create a public image with Python 3 and ROS Melodic is up for debate, though.

#215


CB-10639 Appium tests: Added some timeouts,

Taking a screenshot on failure,
Retry taking a picture up to 3 times,
Try to restart the Appium session if it's lost
https://issues.apache.org/jira/browse/CB-10639

Thanks for fixing some of the grammar errors in the comments, btw!


Customize Redline Markup

Love this package, best working Python tool for redlining/tracking changes on docx files programmatically.
I am looking for the ability to customize the markup for a redline: in particular looking to color-code tracked changes based on industry standard for contract markup in the legal field:

Red w/ strikethrough = deletion
Blue = addition
Green w/ strikethrough = move source (section moved from here)
Green = move destination (section moved to here)

I have spent a little bit of time looking into this, and it seems like the redlines executable does not expose any of this functionality, but it may available as part of the Open XML Power Tools library RevisionProcessor
Open to suggestions or pointers on how I can go about doing this.  Thanks!

Hey @asolanki, the XML comparison engine is a compiled, simple command line utility that wraps WmlComparer. You'll want to look at Eric White's fork of Open XML PowerTools. I don't know offhand how to modify the styling, but it's probably not that difficult. If you figure out how to do it in WmlComparer, I'd be happy to help you package the changes and expose it via Python. I don't have a ton of time to spend adding new features to this project ATM, but I'm happy to contribute to and merge PRs.


adds support for aligned crop in search result

Adds support for word aligned crops in search result.
fixes #478

done!

By the way, did you changed the documentation accordingly?


Fix Redis Cacher set function when used with string as value

Fixes #98

Coverage decreased (-0.0006%) to 98.734% when pulling a79f3529fad5441df1669975caae6725da2888b3 on Birkenstab:master into b077bf14b79ad745dcb2f2cc933b6bcaf2f1f213 on ice-services:master.


docs: add ci for docs-hub

Fuel Nix book is being featured in the documentation portal as seen in this PR.
In order to have a correct integration between the Fuel Nix Book and the documentation portal, a few links where revised and other files were renamed to index.md and moved into its own folders.

It looks like this CI workflow is failing

I've pushed some linting fixes, but there's another issue: The documentation shouldn't contain sub folders so it can be included in the docs hub.
We are not doing that fix right now, so I'm closing this PR.


Add javascriptreact, typescriptreact filetypes

Apparently things moved to "javascriptreact" and "typescriptreact" instead of eg "typescript.jsx".  Some history on that is at https://github.com/vim/vim/issues/4830

Sorry I somehow missed this notification. I hadn't previously seen that conversation you linked. That does provide some good history. I think this change makes sense. Thanks for the pull request!

Thanks!


Get Access To Apple Developer Account

In order to properly test the app on iOS, we need a Apple Developer account to use.

I emailed Paul and Susan asking about this.

We've got the account and have been able to upload an app to the store. Our prototype app got rejected because it's still super barebones, but we know we can do it.


Help to recover from corrupted levelqueue

gitea.com experienced the corrupted LevelQueue bug again.
I think the problem is clear now: if the keys in LevelDB went out-of-sync, the LevelQueue itself doesn't have the ability to recover, eg:

LevelQueue.Len() reports 100
LevelQueue.LPop() reports ErrNotFound = errors.New("no key found")

So it needs to dive into the LevelDB to remove all keys to recover the corrupted LevelQueue.
More comments are in TestCorruptedLevelQueue.

I don't think I get why this fixes the issue. Is it only the queue-recreation in RemoveAll?

Yes, delete all corrupted data in leveldb, and re-create the levelqueue.


Extension host or language server unresponsive

Issue Type: Bug
VS code intellisense usually does stop working (only loading shows in autocomplete). Git change detection tool also doesn't work properly. System is Ubuntu 16.04 LTS with 8GM RAM.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:19:29.629Z)
OS version: Linux x64 4.4.0-141-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz (4 x 3600)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
7.66GB (1.06GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (12)

Extension
Author (truncated)
Version

better-comments
aar
2.0.3

path-intellisense
chr
1.4.2

vscode-html-css
ecm
0.2.0

auto-close-tag
for
0.5.6

auto-rename-tag
for
0.0.15

randomeverything
hel
0.0.3

angular2-switcher
inf
0.2.0

cpptools
ms-
0.21.0

typescript-javascript-grammar
ms-
0.0.49

vscode-yaml
red
0.3.0

vscode-add-angular2-files
seb
2.0.1

autoimport
ste
1.5.3

@amadare42 what language are you trying to use?
@sandy081 maybe an ext host problem?

@Tyriar Not sure unless we know what language extension it is and I would report the issue against it.

I'm having the same problem with .js, .jsx and .scss (though possibly others, these are just the ones that I use).
Using the reload window command makes it work again.
 Could you please answer their question about the language you are using? :)

Thanks 🤦♂

I am using typescript, js

@jrieken
Also noted one more thing, when intelli-sense doesn't work, files are saved with delay of 800ms to 1second.

Please retry without extensions enabled. Select 'Extensions View > ... > Disable all Installed Extensions' and try again. Thanks.

what if I need those extensions too? :-)

Well, if you disable an extension and the problem doesn't occur anymore then you should talk to the extension author, not us

OK. I hope VS code would have built-in tools that are commonly used by MEAN STACK developer.

Closing because this issue isn't actionable.


chore: release 1.0.8

📦 Release PR
1.0.8 (2024-01-02)
🚀 CI/CD Changes

added github packages for distribution along npm (59a7d13)

🤖 This pull request was automatically generated. To publish the version, please merge the pull request.

:robot: Release is at https://github.com/Vertretungsapp/indiware-api/releases/tag/v1.0.8 :sunflower:


Handle content that overflows the overlay

Currently, the title and description Texts can easily overflow the overlay making the overlay both ugly and unreadable.
The reason this should be handled in the package and not by the user is that the space e.g. Texts take up also depends on the system font size, which makes it hard to control the allowed dimension from outside of the package.

@axel-op I assigned myself and the way I would solve this for now would be enlarging the circle when the content exceeds the default area.
What do you think?


Run drone test on a periodic basis to determine if tzdata boundaries are outdated

Done with a drone cronjob


Add support for the new palette: Fury Road

Hi Grom ^^"
Another palette has been added in Drawception; the Fury Road palette (you can check out the palette in the store just here or on its forum post right here)
Ender.

I little mistake... I change that...


fix: Remove locks to fix testnet halt

Yikes, this fix does not maintain correctness in the generic case. (So would not be ok for the state machine long term, is fine to revive the testnet).
So need to do the deeper cache KV store data store correction

One note: currently we provide no guarantees about iterating during insertion... if you write to a btree (insert/delete), you invalidate all iterators currently iterating on that tree. I don't see that changing any time soon.
(source https://github.com/google/btree/issues/28#issuecomment-437956533)

We deem this sufficient for testnet, so not going to merge this, but will instead make a testnet-only rc, as we make a better cache kv

Closing as I believe this is no longer needed


ENH: Output full internal representation of analysis result for sharing without need for recomputation

The analysis is one off at the moment, in order to see the result, I have to rerun the whole analysis.
That's fine if analysing only 1000 samples or so, but if one were to run it on all of GISAID or even only 50k samples, the waiting would be very inconvenient.
It would be nice if the acts of analysis and the act of viewing were independent.
So one could run the analysis on a server, download the results and view locally.
All that's required, I think, would be to output the internal representation of whatever you use to create the terminal output. One could start off with that simply being a pickled python object.
Or alternatively, turn it into JSON to make the output human readable and also usable for machine analysis.
As a result, one could run sc2rf wiht --output sc2rf_analysis.json to get the analysis result. Share that file, and view it with --precomputed sc2rf_analysis.json.

Your issue can be interpreted in two different ways, which both make sense. Given the separation of analysis and viewing, it depends on what viewing actually means.
Static output
If you just want to save the static, fixed output to a file for later viewing, you can already do this with built-in terminal features:
# analysing:
./sc2rf.py --ansi some.fasta > result.ansi

# viewing (possibly on another computer):
cat result.ansi

Here, the --ansi parameter is not strictly needed, it just makes sure that no UTF-8 characters are used so that it is a proper ansi file. The terminal doesn't care, but tools like ansilove (see #9) do.
Furhter analysis
It might make sense to really store data structures, and not just colorful ansi text, if the later invocation with --precomputed is not just a static display, but allows further analysis, filtering, sorting, different viewing settings… What data structure is needed will depend on which steps will be taken before saving the file, and which ones afterward.
I think this partly overlaps with the existing issues, and some more issues which only live in my head and have not yet been assigned numbers :) Most importantly:

#19
#24
Output structured results: fasta of all sequences that match the criteria, which enables efficient multi-pass strategies
interactive mode, for filtering, reordering, etc.

Continued: my assumption is, that even when you put in 50k samples, you would like filter that down to a few dozens or hundreds. If Sc2rf would just output a filtered fasta (or maple) file, these could be handled quite efficenly, without the need for another complicated data structure / file format, and without potential loss of any details.
(That's how I actually work with my sequences, and how I created the fastas in my shared-sequences repository. Sc2rf can't to it alone yet, I used some copy-paste action, a text editor and a modified version of this simple NodeJS script for this.)
Do you have any use case in mind which are not solved by outputting a filtered fasta file?


Query text before execution

We can get the query text after the query has executed.
q = "select name, val from {sn!i}.{tn!i}"
p = { "sn": "ETL", "tn": "METADATA" }
c.execute(q, p).fetchall()
c.last_statement().query
Is there a way to get the query text substituted with the parameter values before the query execution?

Yes, of course.
q = "select name, val from {sn!i}.{tn!i}"
p = { "sn": "ETL", "tn": "METADATA" }
print(c.format.format(q, **p))

Reference for format() function: https://github.com/badoo/pyexasol/blob/master/docs/REFERENCE.md#format
General information about Exasols-specific formatting: https://github.com/badoo/pyexasol/blob/master/docs/SQL_FORMATTING.md
Enjoy!

Please note, the better way to specify schema for identifier is to use tuple.
q = "select name, val from {table!i}"
p = {"table": ("ETL", "METADATA")}
print(c.format.format(q, **p))

Result:
select name, val from ETL.METADATA

Please note, the better way to specify schema for identifier is to use tuple.
q = "select name, val from {table!i}"
p = {"table": ("ETL", "METADATA")}
print(c.format.format(q, **p))

Result:
select name, val from ETL.METADATA

Awesome. Thanks for the quick response. I'll update the code based on you recommendation of using the tuple.