 MacOS: Compilation terminated during bootstrapping with warning "ninja: build stopped: subcommand failed."

Description
I'm a super newbie programmer and I haven't got a clue as to what I'm doing. Any help would be very much appreciated.
I followed the installation instructions for Mac. I successfully installed and updated Homebrew and GCC (as my system is pre-10.15), ran the $ git clone https://github.com/microsoft/vcpkg command, and tried to run the $ ./vcpkg/bootstrap-vcpkg.sh command but the error showed up. The issue probably something to do with the /usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory that keeps showing up but, again, I haven't got a clue as to what I'm doing and I have no idea what any of this means. Is this a problem with my system? Is there something I'm missing?
Here's what it says in the terminal. Thanks so much for bearing with me.
Kaywinnet:~ msf$ ./vcpkg/bootstrap-vcpkg.sh
-- The CXX compiler identification is GNU 10.2.0
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++-10 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting the C++ compiler in use
-- Detecting the C++ compiler in use - gcc
-- Detecting the C++ standard library
-- Detecting the C++ standard library - libstdc++
-- Detecting how to use the C++ filesystem library
-- Detecting how to use the C++ filesystem library - <filesystem>
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/msf/vcpkg/toolsrc/build.rel
[0/2] Re-checking globbed directories...
[1/88] Building CXX ...kg/base/chrono.cpp.
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o
/usr/local/bin/g++-10 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -c ../src/vcpkg/base/chrono.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cwchar:44,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[2/88] Building CXX ...pkg/base/enums.cpp.
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
/usr/local/bin/g++-10 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -c ../src/vcpkg/base/enums.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cwchar:44,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[3/88] Building CXX ....dir/src/vcpkg.cpp.
FAILED: CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
/usr/local/bin/g++-10 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++17 -MD -MT CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -MF CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o.d -o CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -c ../src/vcpkg.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cwchar:44,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/chrono.h:3,
                 from ../src/vcpkg.cpp:3:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[4/88] Building CXX ...base/downloads.cpp.
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o
/usr/local/bin/g++-10 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -c ../src/vcpkg/base/downloads.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cwchar:44,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[5/88] Building CXX ...cofffilereader.cpp.
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o
/usr/local/bin/g++-10 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -c ../src/vcpkg/base/cofffilereader.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cwchar:44,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[6/88] Building CXX ...kg/base/checks.cpp.
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o
/usr/local/bin/g++-10 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -c ../src/vcpkg/base/checks.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/cwchar:44,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc/10.2.0_2/include/c++/10.2.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc/10.2.0_2/lib/gcc/10/gcc/x86_64-apple-darwin18/10.2.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

Environment

OS: macOS 10.14.6
Compiler: GCC

Expected behavior
Expected successful bootstrapping of vcpkg :(
Additional context
I think that I should add that the only reason I'm downloading vcpkg is because I want to download Marble Marcher. ;-;

cc @strega-nil

cc @strega-nil

@dewdropsdrops so, unfortunately, macOS 10.14's brew gcc is broken; my recommendation is that you uninstall gcc, and instead install gcc@9.

@dewdropsdrops so, unfortunately, macOS 10.14's brew gcc is broken; my recommendation is that you uninstall gcc, and instead install gcc@9.

@strega-nil thank you so much for the reply! Is there any way to uninstall gcc without just deleting /usr/local? And how do I specifically install gcc-9? (Sorry for all the questions...)

@strega-nil thank you so much for the reply! Is there any way to uninstall gcc without just deleting /usr/local? And how do I specifically install gcc-9? (Sorry for all the questions...)

@dewdropsdrops
> brew remove g++
> brew install g++@9

should work? It looks like you're getting gcc through brew :)

@dewdropsdrops
> brew remove g++
> brew install g++@9

should work? It looks like you're getting gcc through brew :)

@strega-nil That worked, thanks! ./vcpkg/bootstrap-vcpkg.sh still causes problems, though:
Kaywinnet:~ msf$ ./vcpkg/bootstrap-vcpkg.sh
-- The CXX compiler identification is GNU 9.3.0
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++-9 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting the C++ compiler in use
-- Detecting the C++ compiler in use - gcc
-- Detecting the C++ standard library
-- Detecting the C++ standard library - libstdc++
-- Detecting how to use the C++ filesystem library
-- Detecting how to use the C++ filesystem library - <filesystem>
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/msf/vcpkg/toolsrc/build.rel
[0/2] Re-checking globbed directories...
[1/88] Building CXX object CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
FAILED: CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++17 -MD -MT CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -MF CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o.d -o CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -c ../src/vcpkg.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/chrono.h:3,
                 from ../src/vcpkg.cpp:3:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[2/88] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -c ../src/vcpkg/base/chrono.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[3/88] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -c ../src/vcpkg/base/checks.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[4/88] Building CXX object CMakeFiles/...ir/src/vcpkg/base/cofffilereader.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -c ../src/vcpkg/base/cofffilereader.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[5/88] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -c ../src/vcpkg/base/enums.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[6/88] Building CXX object CMakeFiles/...lib.dir/src/vcpkg/base/downloads.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -c ../src/vcpkg/base/downloads.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

@strega-nil That worked, thanks! ./vcpkg/bootstrap-vcpkg.sh still causes problems, though:
Kaywinnet:~ msf$ ./vcpkg/bootstrap-vcpkg.sh
-- The CXX compiler identification is GNU 9.3.0
-- Checking whether CXX compiler has -isysroot
-- Checking whether CXX compiler has -isysroot - yes
-- Checking whether CXX compiler supports OSX deployment target flag
-- Checking whether CXX compiler supports OSX deployment target flag - yes
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/g++-9 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting the C++ compiler in use
-- Detecting the C++ compiler in use - gcc
-- Detecting the C++ standard library
-- Detecting the C++ standard library - libstdc++
-- Detecting how to use the C++ filesystem library
-- Detecting how to use the C++ filesystem library - <filesystem>
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/msf/vcpkg/toolsrc/build.rel
[0/2] Re-checking globbed directories...
[1/88] Building CXX object CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
FAILED: CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -std=c++17 -MD -MT CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -MF CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o.d -o CMakeFiles/vcpkg.dir/src/vcpkg.cpp.o -c ../src/vcpkg.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/chrono.h:3,
                 from ../src/vcpkg.cpp:3:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[2/88] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/chrono.cpp.o -c ../src/vcpkg/base/chrono.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[3/88] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/checks.cpp.o -c ../src/vcpkg/base/checks.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[4/88] Building CXX object CMakeFiles/...ir/src/vcpkg/base/cofffilereader.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/cofffilereader.cpp.o -c ../src/vcpkg/base/cofffilereader.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[5/88] Building CXX object CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/enums.cpp.o -c ../src/vcpkg/base/enums.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
[6/88] Building CXX object CMakeFiles/...lib.dir/src/vcpkg/base/downloads.cpp.o
FAILED: CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o
/usr/local/bin/g++-9 -DVCPKG_USE_STD_FILESYSTEM=1 -DVCPKG_VERSION="" -I../include -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -include /Users/msf/vcpkg/toolsrc/include/pch.h -std=c++17 -MD -MT CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -MF CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o.d -o CMakeFiles/vcpkglib.dir/src/vcpkg/base/downloads.cpp.o -c ../src/vcpkg/base/downloads.cpp
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/wchar.h:90,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/cwchar:44,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/postypes.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/bits/char_traits.h:40,
                 from /usr/local/Cellar/gcc@9/9.3.0_1/include/c++/9.3.0/string:40,
                 from ../include/vcpkg/base/cstringview.h:4,
                 from ../include/vcpkg/base/checks.h:3,
                 from ../include/vcpkg/base/expected.h:3,
                 from ../include/vcpkg/base/files.h:3,
                 from /Users/msf/vcpkg/toolsrc/include/pch.h:5,
                 from <command-line>:
/usr/local/Cellar/gcc@9/9.3.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.3.0/include-fixed/stdio.h:219:10: fatal error: _ctermid.h: No such file or directory
  219 | #include <_ctermid.h>
      |          ^~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.

@dewdropsdrops that's super weird; would it be possible for you to upgrade macOS? it seems that macOS 10.14 is not well supported...

@dewdropsdrops that's super weird; would it be possible for you to upgrade macOS? it seems that macOS 10.14 is not well supported...

hmmm, right now my computer doesn't have enough space for the new OS, so I'll try clean it out and hopefully get back to you. Thanks!

hmmm, right now my computer doesn't have enough space for the new OS, so I'll try clean it out and hopefully get back to you. Thanks!

We haven't been able to repro this; if more information comes up, or this issue appears again, please reopen.


Is this working?

I have a secondary phone (Xiaomi MI5) to test this out, if you want.

No. This tiny little project is still in its infancy and is just getting started. It'll take a lot of time for me to implement since I'm a beginner in Magisk and Android development.
Thank you showing interest in this project. I'll when the module becomes reaches a stage where testing can be done.

Thank you showing interest in this project. I'll when the module becomes reaches a stage where testing can be done.

Is there any new development?

No, not yet. I cannot leverage my daily driver for testing the module and yes, this project is always in my head and I hope to work on this real soon.


Make text changes for USDT

As a vortex user on the progress screen, i should see the journey of the USDT asset
Acceptance criteria

Make text changes to following text on the progress screen

Bridging USDC from Polygon
Transferring USDC from Moonbeam

Replace USDC with USDT
This should be dynamic based on the user's input selection

Hey team! Please add your planning poker estimate with Zenhub @ebma @gianfra-t @Sharqiewicz @TorstenStueber

@pendulum-chain/devs Not sure whether we are populating the user's input asset selection dynamically or hardcoded but mentioned in the ticket to do it dynamically

Why would we replace USDC with USDT though? We are not using USDT anywhere in the flow, are we?

@prayagd this is already happening automatically. We can close this ticket.
@ebma this is about a new feature to add USDT.


Simulate a flexible rod

Hi, I am new to Mujoco and am currently attempting to simulate a soft robot arm in Mujoco. Is there a reference or guide available that can help me construct a model of a flexible metal rod(as shown in the red color part of the picture) in Mujoco?

https://www.youtube.com/watch?v=4DvGe-BodFU
https://github.com/google-deepmind/mujoco/blob/main/model/plugin/elasticity/coil.xml

Hi @yuvaltassa ,
I employed four slider joints to manage the tendon's motion. The actuator settings are as follows.  However, there is an unexpected behavior where moving one slider in a particular direction causes the other sliders to move as well. Is there a solution to rectify this issue?
<actuator >
        <!--        -->
        <position name="slider_d11" joint="slider_d11" ctrllimited="false"  ctrlrange="-0.3 0.3"  kp="100"/>
        <position name="slider_d12" joint="slider_d12" ctrllimited="false"  ctrlrange="-0.3 0.3"  kp="100"/>
        <position name="slider_d21" joint="slider_d21"  ctrllimited="false" ctrlrange="-0.3 0.3"  kp="100"/>
        <position name="slider_d22" joint="slider_d22"  ctrllimited="false" ctrlrange="-0.3 0.3"  kp="100"/>
</actuator>

First of all, this is a very cool model!

Regarding your message from 2 days ago, it's not clear to me what is the problem that you're trying to fix. Sounds like maybe you want higher gains in your actuators?

Regarding "Is there a method to enable the tendon to pass through multiple geoms without requiring the insertion of sites between them?", the answer is no. (This makes the tendon path not analytically computable).

"Alternatively, are there strategies to avoid the pulling forces between the disks in the simulation?" It's not clear to me what you are asking, how could the pulling forces be avoided, this seems to not make physical sense.

Here's what I propose. Delete all the geoms in the path of your tendons, use only sites. I think this will help you reason about your model, also it's not at all clear that you need the geoms at all as the holes are so small.

Hi @yuvaltassa , Thank you for your reply!
1.For the first question, our objective is to maintain the static position of other actuators while controlling the movement of a single actuator in one direction. For instance, when we command one actuator to move 10cm in a specific direction (as depicted in the image on the right below), it is essential that the remaining actuators remain stationary (see the image on the left below).

If we route the tendon through multiple sites on the disks, it will cause these disks to be pulled, which differs from real-world behavior. In reality, the tendon should only exert pulling force on the disk to which one of its ends is connected. The interaction between the tendon and other disks is primarily characterized by the pressure and friction applied to the holes.

I recommend tweaking actuator gains and possibly adding damping (in case high gains lead to instability).
The tendons are not "tied" to sites on the path, they are only way points. A site on the path is like a hole of 0 radius, so I'm not sure I understand what you're saying.

So, What kinds of forces does the tendon exert on the disks with holes?

It can only push on it sideways (no friction). More generally, think about the change in qpos that would cause a change to the length of the tendon. That (and only that) is the direction of force that the tendon can apply.

We choose to affix one end of the tendon to a specific site within a world body. To actuate the tendon, we reset the position of the world body. Our objective is to maintain a constant length for the tendon throughout this operation. However, an issue arises as the length of the tendon falls outside the designated range (e.g., range="0.455 0.47"), with the sensor monitoring value measuring approximately 0.42. Are there any solutions to address this problem?

When we employ equality constraints to regulate the length of the tendon, it appears that the tendon's length still exceeds the specified range. Could you please provide some guidance on how to address this issue?

Constraints in MuJoCo are not hard constraints. Use the appropriate attributes to make them as hard as you like (note that these apply both to the bilateral (equality) and unilateral (spatial) solver parameters). Probably the easiest thing is to make the range a bit smaller. I'm sure your physical tendon can also stretch a bit. You can try to do some careful system identification to get constraint parameters that match your tendon material.

Surely there is a force on the tendon that is fighting with the constraint?
Make a model that only has the tendon and play with the solver parameters of whatever constraint you are using to understand the relationship. You basically have a nonlinear elastic force-length relationship that you can tune.


[📑 Docs]: Specs' hightlighting error

What Dev Docs changes are you proposing?
You have some troubles in colors here: https://www.asyncapi.com/docs/migration/migrating-to-v3#:~:text=10-,servers%3A,- production,-12

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi ! it's my first contribution to hacktoberfest, it would be nice  if I got credit for this :) Could you add the hactoberfest label to the issue ?


Invoke-RestMethod : 401: Unauthorized

Hi there
first of all many thanks for this nice piece of software. I tried to get it working but get the below error.
steps to reproduce

create long-living token in HA
download the code and copy to  C:\Scripts
add variables in GetTeams-Status
execute install-script

this is how my variables in GetTeams-Status look like, I changed them because initially I got some errors and asked Chat GPT how to format it correctly (hopefully) ;)
Some variables
${HAToken} = $env:eyJhbGXXX...
${HAUrl} = "http://<IP_ADDRESS>:8123"
${appDataFolder} = GetAppDataFolder
${userName} = GetUserName
I executed the install-script and get the below error.
Invoke-RestMethod : 401: Unauthorized
In C:\Scripts\TSFunctions.ps1:21 Zeichen:5

Invoke-RestMethod -Uri "$HAUrl/api/states/$entityId" -Method POST ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : 401: Unauthorized
In C:\Scripts\TSFunctions.ps1:21 Zeichen:5

Invoke-RestMethod -Uri "$HAUrl/api/states/$entityId" -Method POST ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

environment
Microsoft Surface Pro 9 with Windows 11 Pro and a local user called grafm. I am logging in with a corporate-account in Teams.
I kindly appreciate any help to get it working
all the best
Andrew

I stopped supporting the configuration file in favor for the environment variables.
It would be easiest to revert the files to their original states and then create the environment variables.
The error you get seems like an authentication problem so this might resolve it if the credentials are not making it properly.

I understand, I will try to figure it out and close this issue for now


[doc] Add reference to full set of pulsar connector

Motivation
Pulsar supports 30+ connectors, we need to let users know it.
Modifications
Add reference to the IO Hub that Pulsar supports.

@Jennifer88huang thanks


Dockerfile: Remove redundant non-Dutch data and models

The resulting Docker container of the Newsreader pipeline will probably very big, as it contains data and models on multi languages. We expect the container size to be a lot smaller if we only keep the data and models that are needed for the processing of Dutch documents

Dockerfile now removes irrelevant languages and models.


Help with opening .jenc encrypted files on a computer

Hello! I initially asked this question here but was pointed to you, opensource21.
I use the Markor Android app to create encrypted notes with the file extension ".md.jenc". I tried to use jpenconverter to decrypt files from Markor, starting by reading a discussion from the Markor Github page and reading the READMEs here and here.
I didn't get much farther. Admittedly, I'm not familiar with Java— this is my first time trying to use Java software like this.
First, I downloaded the source code for jpencconverter and extracted it to a folder. After that, I downloaded the latest version of Java SE on my Windows 10 computer from here and installed it. The installer had already setup its own path variable, and I set a system variable to where Java is installed and named it "JAVA_HOME". And... that's all I could wrap my head around.
My question is, with Java installed and jpencconverter extracted on my computer, how exactly do I go about taking an encrypted ".md.jenc" note from Markor and then decrypting it with jpencconverter? (I tried to answer this question with the READMEs and online searches but failed to.)

Hi,
nice to see that you want to use the program. I have updated the readme. I hope it's now more clear.  If you are able to run java from the commandline it should be more clear now. There is no need to download the source.
Please look at https://gitlab.com/opensource21/jpencconverter I'm unsure how quickly the mirror will updated.

Yes, it is more clear. Downloading the source code threw me off, but now that downloaded and extracted the correct ZIP folder, I have things up and running!


Version 1.1.20 in Docker Hub has errors due to outdated Flask version during startup

The image with tag 1.1.20 (https://hub.docker.com/layers/service-metrics-gatherer/reportportal/service-metrics-gatherer/1.1.20/images/sha256-2a0e6dc11161b76d44c024b36de4df982d8c3b6bb0f1c749e6a3620d4ae51bca?context=explore) used in ReportPortal 5.7.2 does start unhealthy due to still referencing Flask 1.1.1.
Traceback (most recent call last):
File "main.py", line 24, in
from flask import Flask, Response
File "/venv/lib/python3.7/site-packages/flask/init.py", line 14, in
from jinja2 import escape
ImportError: cannot import name 'escape' from 'jinja2' (/venv/lib/python3.7/site-packages/jinja2/init.py)
unable to load app 0 (mountpoint='') (callable not found or import error)
*** no app loaded. going in full dynamic mode ***
--- no python application found, check your startup logs for errors ---
Updating Flask to 2.1.1 inside the container makes it come up without errors

Flask was set to 2.1.1 in this 5.7.2 merged PR

@Komorebi-E Not really sure how you build it, but right way is using make, E.G.: make v=0.0.1-SNAPSHOT build-image-dev
And I get successful build:
Successfully built d860d744e393
Successfully tagged reportportal-dev/service-metrics-gatherer:latest

Fixed in: https://github.com/reportportal/service-metrics-gatherer/releases/tag/5.7.3


New obstacles and multi-terrain learning

This pull request introduces two new obstacles - a randomized block field and stairs, and implements features that allow for learning on multiple terrains. These include:

The introduction of obstacles as a tgModel type, which are deleted at the end of a simulation. (#125)

The ability to change the ground used by the world as an option for tgSimulation.reset(tgGround*)

An adaptation of DuCTT main that implements these features.

Testing an existing controller, I got the following results: https://gist.github.com/brtietz/2d73343ba243fe2d19a8
Note that the world gets reset twice, hence the double print statements about the type of terrain - this doesn't appear to cause any problems since the models haven't been setup yet. That controller happens to do well on the hilly terrain but very poorly on the blocks.
I'd like to get #122 with this merge as well so all of the obstacles are in core, but I need some feedback on where to place the obstacles library. I'd also apprecaite thoughts on whether or not to leave in the print statements that are used when the ground is initialized.

one thought:  the non-tensegrity objects you are creating may be used as obstacles, but may also be used in other manners.
For example, our tetrahedrons are essentially non-tensegrity object models.  If we started making complex bone shapes, we would need to save those object models somewhere too.
So, maybe we really need a "models" directory, under which there could be "obstacles" initially, and other sub directories ("bones" "sensors" "instruments", etc).
basically the models directory would hold any solid object models that we may want to use (or download from somewhere!).
That could either be under /src or under /util.  I'm open to either.
the trick would be ensuring that it is clear that this directory does not hold tensegrity models, but rather solid-object models (some of which could be incorporated into a tensegrity…..)
vytas
On Jan 15, 2015, at 12:17 PM, Brian Mirletz<EMAIL_ADDRESS>wrote:

This pull request introduces two new obstacles - a randomized block field and stairs, and implements features that allow for learning on multiple terrains. These include:

The introduction of obstacles as a tgModel type, which are deleted at the end of a simulation. (#125)

The ability to change the ground used by the world as an option for tgSimulation.reset(tgGround*)

An adaptation of DuCTT main that implements these features.

Testing an existing controller, I got the following results: https://gist.github.com/brtietz/2d73343ba243fe2d19a8
Note that the world gets reset twice, hence the double print statements about the type of terrain - this doesn't appear to cause any problems since the models haven't been setup yet. That controller happens to do well on the hilly terrain but very poorly on the blocks.
I'd like to get #122 with this merge as well so all of the obstacles are in core, but I need some feedback on where to place the obstacles library. I'd also apprecaite thoughts on whether or not to leave in the print statements that are used when the ground is initialized.
You can merge this Pull Request by running
git pull https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim newTerrain
Or view, comment on, or merge it at:
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/pull/127
Commit Summary
A few minor changes while testing boxes. A class that creates random boxes
Add stairs as an obstacle
Modifications to allow ground to be changed between simulations
Make changes required to tgSimulation for obstacles
Example of obstacle use
Non building adaptation of DuCTT main
Merge branch 'newTerrain' of https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim into newTerrain
Working multi-terrain app with options for learning control. Will add more terrain options (-A, -b) on next commit
Code for running multiple types of terrain on the same learning trial
Fix memory leaks associated with terrain.
File Changes
M src/core/terrain/tgBoxGround.cpp (2)
M src/core/terrain/tgHillyGround.cpp (25)
M src/core/terrain/tgHillyGround.h (9)
M src/core/tgSimView.h (2)
M src/core/tgSimulation.cpp (76)
M src/core/tgSimulation.h (29)
M src/core/tgWorld.cpp (10)
M src/core/tgWorld.h (6)
M src/dev/btietz/CMakeLists.txt (2)
A src/dev/btietz/Obstacles/AppObstacleTest.cpp (120)
A src/dev/btietz/Obstacles/CMakeLists.txt (21)
A src/dev/btietz/Obstacles/tgBlockField.cpp (168)
A src/dev/btietz/Obstacles/tgBlockField.h (150)
A src/dev/btietz/Obstacles/tgStairs.cpp (143)
A src/dev/btietz/Obstacles/tgStairs.h (146)
M src/dev/btietz/TCContact/CMakeLists.txt (4)
M src/dev/btietz/boxFeet/AppNestedBoxTetrahedrons.cpp (3)
M src/dev/btietz/boxFeet/NestedBoxTestModel.cpp (4)
A src/dev/btietz/multiTerrain/AppMultiTerrain.cpp (345)
A src/dev/btietz/multiTerrain/AppMultiTerrain.h (115)
A src/dev/btietz/multiTerrain/CMakeLists.txt (20)
Patch Links:
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/pull/127.patch
https://github.com/NASA-Tensegrity-Robotics-Toolkit/NTRTsim/pull/127.diff
—
Reply to this email directly or view it on GitHub.

Vytas SunSpiral
Dynamic Tensegrity Robotics Lab
cell-<PHONE_NUMBER>
Office:<PHONE_NUMBER>
N269     Rm. 100
Stinger Ghaffarian Technologies
Intelligent Robotics Group
NASA Ames Research Center
I will not tiptoe cautiously through life only to
arrive safely at death.


IDEA plugin implemented

Hi
I've just implemented a plugin for IntelliJ IDEA and other Jetbrains products, so could you add information about it to your main readme?
No configuration is needed for IDEA users to use this plugin and it detects context/programming language from current editor window.
I plan to implement more features for this plugin, so then I will update your readme again :)

@chubin We missed it too :)

First of all I need to add configuration option to enable/disable comments, then I will try to implement new view in IDEA to display multiple answers and to be able to switch between them
For now I don't need anything, but in case of any questions I will reach out to you directly
I'm not so active twitter user but you can find me by @szymon_prz
Of course I can make it, will try to find some time today or tomorrow
If configuration of comments is not so important from your point of view, we can make it when i will give you a demo video

@chubin and please upload idea-demo.gif provided in this pr to cheat.sh, because it's not available now and readme cannot display it

@chubin I've just made a small demo: https://imgur.com/a/hBFMd8u you can take it and post it with information about this plugin on twitter

Could you please fix several things in the demo:

Make it square so it would fit in the twitter format; it is ok if one half of the line will be cut (everybody understands that it is only a fragment). And the resolution could be bigger; it seems to me that the font is too small.
Either use >= 10 lines of code in the buffer from the beginning or chose some query, that it will stay < 10 after processing it, so the buffer will not be shifted at the end of the video because of that;
Could you make the video may be a little bit longer (but not much!), maybe with additional pause at the end (2-3 secs), so that the user has enough time to understand what is happening.
(Just an idea) Could it be some query more typical for Kotlin? Pattern matching is not quite typical, right? What about read file? And the answer is pretty short, I've just checked.
Are there any visual features of IDEA that the users will immediately recognize it when seeing the video for a second?  What is that it? It seems to be IDEA... Let me take a look". Or is your video is typical enough? (I am not IDEA user, so I can't just say)

And the rest is very good! Could you please update the video and we will post it?
Another question:
Is there some mode in IDEA where you can have a input field for a query?
The problem is that you not always can formulate your query, and you want to have some suggestions.
We are working on a new feature, that will show you suggestions as you type.
Could it possible to add this functionality to your plugin, as soon as it is available?
(from the server side)

Hi, I've just applied your suggestions and here is the video https://www.dropbox.com/s/w746x528ic6wpe8/idea-demo.mp4?dl=0
Basically plugins for idea are implemented with usage of swing java library, it's not so flexible but as Ican see on the web there are some solutions how to implement such autocomplete field.
Currently I'm working on displaying more answers to question so it shouldn't be a problem to extend it to provide autocomplete, just let me know when it would be available

Thank you for the video. I've reworked it a little, and create a picture based on it.
That is how it looks like:

Hope it conveys the idea.
If you like it, you may use it on your project page, or anywhere you want.
I've twittet about the plugin:
https://twitter.com/igor_chubin/status/1094301740692881409
I do not know how many IDEA users are among my followers, probably not so many, but there should be a couple of them. VSCode plugin gathered 39 likes. Let us how many likes will get the IDEA plugin :heart_eyes:
There are two things that could and should be implemented:

Auto completion (before you completed your query)
Similar questions/additional answers list (after you completed the query)
Please, think about implementation of these features on the plugin side.
We are currently working on their implementation on the server side.


Support for tall and wide square root matrices

Resolves #9.

Codecov Report

Merging #14 (65f85f9) into main (2a0011c) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           30        30
=========================================
  Hits            30        30

Impacted Files
Coverage Δ

src/PSDMatrices.jl
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


String Constant Extraction

The current code makes use of lots of string constants which is error prone.
The constants should be extracted into global constants that can be reused in different classes.
This could also be very usefuls to expose as an api to frontends or the language implementation.

I claim this issue.


Front end dev

[x]  Does the code work?
[x]  Are functions, methods, and variables adequately named?
[ ]  Any test on the new component?
[ ]  Is it well tested? All components could be rendered and pass the test.
[x]  Is the code clear and easy to understand?
[x]  Does it meet the team guidelines and style guides?
[ ]  Is there any duplicated code?
[x]  Is documentation on functions, methods, classes, contexts, and behaviours adequate?
[x]  Is the code as modular as possible?
[ ]  Are there better or simpler solutions?
[x]  Is there any performance issue?

Fixed Add Record Issue
Updated Contact function is online
Updated Contact function allow user add multiple inputs with dynamic form


Add Notifications extension

This will only work when the project is running?

uh

Message ID: @.***>

My current concern with this extension is that notifications will appear as "from turbowarp.org", which puts the blame on us if someone makes a project that uses this maliciously.

@GarboMuffin Same as scratch.mit.edu wants permission to access your camera
@softedco It can't display notifications when not running, because a project doesn't have a
@mdwalters Maybe just use a sound and an alert(); even that is quite a lot; and alert will normally show a notification of some sort when the tab is out of focus.


stat: Add Truncated Normal and VonMises Distributions

I have an implementation of an efficient, ziggurat-like algorithm for generating truncated (standard) normal rvs as well as code for sampling from a Von Mises distribution. Is there any interest in adding either of these to gonum?

Yes, please.
On Tue, Nov 6, 2018, 8:21 PM deas-mhumnha<EMAIL_ADDRESS>wrote:

I have an implementation of an efficient, ziggurat-like algorithm for
generating truncated (standard) normal rvs as well as code for sampling
from a Von Mises distribution. Is there any interest in adding either of
these to gonum?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gonum/gonum/issues/637, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADgqW7V6D-zLy04gIb1YQUULMvX7cXe8ks5use89gaJpZM4YRNLK
.


Crashes when charger cable attached [SOLVED]

When the charger cable is attached for my Wireless headset it is at 100%, which makes the program crash.
Reason: only 100 of the 101 Icon's are loaded. 0-100 (100 is exclusive), I'll provide a PR that fixes the load icons function.
BTW, Thanks for providing this tray app, always got annoyed how the normal charge indicator is hidden behind some config in a GUI app.

Hey,
Thank you very much for pointing this out :D
I already saw it crashing a couple of times but didn't have the time to investigate.
It seems a rookie mistake has slipped in when I was writing this XD
Will review and merge tomorrow!

No worries, I couldn't initially get this to run so I got to the bottom of it, it didn't seem like a obvious mistake. We Ain't LUA Programmers are WE? (Where all the indexes start at 1 by default!!!)


pysam pysam/libcbcf.pyx error when opening vcf.format file

Hi! When running cue, I am getting an error:
[E::bcf_hdr_parse_sample_line] Could not parse the "#CHROM.." line, either FORMAT is missing or spaces are present instead of tab
s:
        #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT

Traceback (most recent call last):
  File "pysam/libcbcf.pyx", line 4355, in pysam.libcbcf.VariantFile.open
  File "pysam/libcbcf.pyx", line 2210, in pysam.libcbcf.makeVariantHeader
ValueError: cannot create VariantHeader

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/vsfishman/soft/cue/engine/call.py", line 183, in <module>
    min_score=data_config.min_qual_score, min_len=data_config.min_sv_len)
  File "/home/vsfishman/soft/cue/seq/io.py", line 360, in bed2vcf
    vcf_format_file = get_vcf_format_variant_file(vcf_fname + ".format", chr_index.contigs())
  File "/home/vsfishman/soft/cue/seq/io.py", line 327, in get_vcf_format_variant_file
    vcf_file = VariantFile(vcf_fname)
  File "pysam/libcbcf.pyx", line 4117, in pysam.libcbcf.VariantFile.__init__
  File "pysam/libcbcf.pyx", line 4357, in pysam.libcbcf.VariantFile.open
ValueError: file `b'/mnt/10tb/home/vsfishman/genomes/process/1000206901/reports//svs.vcf.format'` does not have valid header (mod
e=`b'r'`) - is it VCF/BCF format?

I believe this is because when pysam is installed with new htclib (>=1.14), which does not accept empty vcf with format field:
https://github.com/samtools/htslib/pull/1328#issuecomment-929980755
I suggest replacing the line 326 of io.py
vcf.write("#%s\n" % "\t".join(["CHROM", "POS", "ID", "REF", "ALT", "QUAL", "FILTER", "INFO", "FORMAT"]))
with:
vcf.write("#%s\n" % "\t".join(["CHROM", "POS", "ID", "REF", "ALT", "QUAL", "FILTER", "INFO"]))
in this case, FORMAT will be added later on when actually writing records to the vcf file.

@minjaf Thank you for this! I also encountered this error with the tutorial, but your fix seems to work for me.

Thanks @minjaf  - your fix worked for me too!


Migrate class decls from TypeScript definitions files to Escalier

make ClassElem bodies optional
infer class declarations in .d.ts files

Codecov Report
Attention: Patch coverage is 86.17284% with 56 lines in your changes are missing coverage. Please review.

Project coverage is 82.67%. Comparing base (045b743) to head (b9617f9).

Files
Patch %
Lines

src/Escalier.TypeChecker/Infer.fs
85.29%
40 Missing :warning:

src/Escalier.Interop/Migrate.fs
87.59%
16 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
+ Coverage   82.46%   82.67%   +0.21%
==========================================
  Files          21       21
  Lines        9316     9462     +146
  Branches     1339     1350      +11
==========================================
+ Hits         7682     7823     +141
- Misses       1634     1639       +5

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


Cannot deploy 0.5.6 app version

Trying new chart (0.5.6) with new app (0.5.6) doesn't work for some reason, /healthz and /readyz both fail
Warning  Unhealthy  90s (x13 over 3m10s)  kubelet            Readiness probe failed: Get "http://<IP_ADDRESS>:8081/readyz": dial tcp <IP_ADDRESS>:8081: connect: connection refused                                                                                │
Warning  Unhealthy  90s (x4 over 3m)      kubelet            Liveness probe failed: Get "http://<IP_ADDRESS>:8081/healthz": dial tcp <IP_ADDRESS>:8081: connect: connection refused

Installing new chart with old app version 0.5.5 works

I'll have a look!

I had the exact same problem. I thought I had configured something incorrectly.
Thanks for posting the solution. Downgraded to 0.5.5, and everything started working.

v0.5.7 should fix this!

@borchero it's fixed


Use different path for friendly promotions

There are a few places in the views where the spree.___path is being used instead of the solidus_friendly_promotions.___path that cause 404s or unexpected navigations.
admin/promotion_rules/new.html.erb
admin/promotion_rules/_promotion_rule.html.erb
admin/promotion_codes/index.html.erb


fix: vue change event

Closes #1263 issue

@samijaber Take a look at this, please. I'm very curious why it wasn't like this from the beginning. I feel like I miss some context there.

looks great!


Make type definition for .first() additionally return undefined

Currently calling .first() on a query builder suggests that the return value is always of a non-undefined value which is not true if the query did not match any records (or the table is empty ofc).
My suggestion is to replace
SingleQueryBuilderType: QueryBuilder<M, M>; with
SingleQueryBuilderType: QueryBuilder<M, M | undefined>;
within typings/objection/index.d.ts.

https://github.com/Vincit/objection.js/pull/1651

Sorry for the "repost". I only checked open issues before opening this one.


Added Services (form and new facility)

@owagaantony @sombo09 @jason-wanjohi All work on this repository is halted until test coverage thresholds are re-introduced and set to 100%.
No further PR merges without my go-ahead.


Error registering the application

Hi team,
I moved this from here: https://github.com/MicrosoftDocs/azure-docs.fr-fr/issues/659
The comments below were machine-translated
@Nathure commented 13 days ago — with docs.microsoft.com
It is absolutely necessary to have an https address to register a redirection URL.
In order to register an application in AzureAD, the redirection url must be in https.
Your example speaks of address in http, we can not use OAuth authentication without https.

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

ID: 4c6d2219-cb28-5527-1079-6e3195cad282
Version Independent ID: 70c2aad0-6883-51a9-fed7-01be62302483
Content: Microsoft identity platform JavaScript single-page application guide
Content Source: articles/active-directory/develop/tutorial-v2-javascript-spa.md
Service: active-directory
Sub-service: develop
GitHub Login: @navyasric
Microsoft Alias: nacanuma

@CeciAc
Thanks for your feedback! We will investigate and update as appropriate.

Thanks. I made a pull request to update these. https://github.com/MicrosoftDocs/azure-docs-pr/pull/98547


Remove unused singular secret argument to @function

Followup to https://github.com/modal-labs/modal-client/pull/2129 which missed one occurrence

@prbot automerge


[Feature Request]: Update Microsoft.Authorization/roleDefinitions to new API version

Description
'Microsoft.Authorization/roleDefinitions@2018-01-01-preview' is used instead the latest Microsoft.Authorization/roleDefinitions@2022-04-01

PR merged


Changing IIS WindowsAuth and AnonAuth require Feature Delegation in IIS

Under the IIS section of this doc, there are two approaches for enabling Windows Authentication.
The first approach is this:

Before publishing and deploying the project, add the following web.config file to the project root:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <location path="." inheritInChildApplications="false">
    <system.webServer>
      <security>
        <authentication>
          <anonymousAuthentication enabled="false" />
          <windowsAuthentication enabled="true" />
        </authentication>
      </security>
    </system.webServer>
  </location>
</configuration>

When the project is published by the .NET Core SDK (without the  property set to true in the project file), the published web.config file includes the <system.webServer> section. For more information on the  property, see Host ASP.NET Core on Windows with IIS.

The problem with this is it does not consider IIS Feature Delegation, which by default does not allow a web.config file to modify the anonymousAuthentication and windowsAuthentication sections (they are locked as read-only).
Doing this as-is, without unlocking those sections, results in a 500.19 error from IIS due to modifying locked sections.
Both sections must be unlocked before they can be modified. Here is how to do this for both sections:
C:\Windows\System32\inetsrv>appcmd unlock config -section:WindowsAuthentication
Unlocked section "system.webServer/security/authentication/windowsAuthentication" at configuration path "MACHINE/WEBROOT/APPHOST".

C:\Windows\System32\inetsrv>appcmd unlock config -section:anonymousAuthentication
Unlocked section "system.webServer/security/authentication/anonymousAuthentication" at configuration path "MACHINE/WEBROOT/APPHOST".

It can also be performed in the IIS Manager interface:
IIS Manager -> root/server node -> Feature Delegation
Authentication - Anonymous => change to Read/Write (default=Read Only)
Authentication - Windows => change to Read/Write (default=Read Only)
CSS just had a support case for this, and the customer confirmed this is the doc they used.
The 2nd approach on the doc site says this (note my emphasis):

After publishing and deploying the project, perform server-side configuration with the IIS Manager:
In IIS Manager, select the IIS site under the Sites node of the Connections sidebar.
Double-click Authentication in the IIS area.
Select Anonymous Authentication. Select Disable in the Actions sidebar.
Select Windows Authentication. Select Enable in the Actions sidebar.
When these actions are taken, IIS Manager modifies the app's web.config file. A <system.webServer> node is added with updated settings for anonymousAuthentication and windowsAuthentication:

<system.webServer>
  <security>
    <authentication>
      <anonymousAuthentication enabled="false" />
      <windowsAuthentication enabled="true" />
    </authentication>
  </security>
</system.webServer>

The <system.webServer> section added to the web.config file by IIS Manager is outside of the app's  section added by the .NET Core SDK when the app is published. Because the section is added outside of the  node, the settings are inherited by any sub-apps to the current app. To prevent inheritance, move the added  section inside of the <system.webServer> section that the .NET Core SDK provided.
When IIS Manager is used to add the IIS configuration, it only affects the app's web.config file on the server. A subsequent deployment of the app may overwrite the settings on the server if the server's copy of web.config is replaced by the project's web.config file. Use either of the following approaches to manage the settings:
Use IIS Manager to reset the settings in the web.config file after the file is overwritten on deployment.
Add a web.config file to the app locally with the settings.

"When these actions are taken, IIS Manager modifies the app's web.config file."
This is incorrect if IIS Feature Delegation has not been configured as noted above, and the Windows Auth and Anonymous Auth configurations are still locked as read-only.
When modifying a configuration in IIS Manager at a level where that configuration is locked, IIS will make the configuration at a higher level and wrap it inside a <location> tag indicating where at the lower level the configuration should be applied.
Thus, when making changes to Windows Auth and Anon Auth, the change will be placed into the applicationhost.config.
For the wording as-is to be accurate, both features must be unlocked as described earlier.
I suggest there be wording above the approaches showing how to unlock the IIS configuration, then the approaches will work as described:

The ASP.NET Core Module is configured to forward the Windows Authentication token to the app by default. For more information, see ASP.NET Core Module configuration reference: Attributes of the aspNetCore element.
 insert configuration unlocking section here
Use either of the following approaches:

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

ID: 401ad9a0-9e51-80a2-5846-82e9790d7257
Version Independent ID: fbc36c26-9992-1f4c-66d3-02f898ee7ec4
Content: Configure Windows Authentication in ASP.NET Core
Content Source: aspnetcore/security/authentication/windowsauth.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@mahamr Thanks for this. I had the same issue recently and I'd wish that this would already have been documented. That would have saved me some time.
@Rick-Anderson Could this issue please be triaged again?

There is also another problem with the web.config file:
If you have one like documented in your project root, you can't start the application with IIS Express any more. It's the same problem (locked configuration section) as with the full IIS, but I don't see a way to change the IIS Express settings.
Also, this issue happens even though I've configured the IIS Express launch settings as documented in the "IIS/IIS Express - Launch settings (debugger)" section.


Need help regarding adding packages in tikzjax

Hi @artisticat1 ,
As you have worked on tikzjax and added few packages to it, I request your help regarding few things about it :-

I compiled tikzjax repository (https://github.com/drgrice1/tikzjax) and successfully ran it (ww-modifications branch).

I want to add few packages in it e.g. chemfig etc.

For adding new packages, in the 'Options' section, it is mentioned to add packages like this:
"Additional packages can be made available by adding a file .json that contains an array of file names needed by the package to the tex_packages directory, and adding the gzipped files in that array to the tex_files directory."
3.1 Does it mean this:
 3.1.1 Create new directory 'tex_packages'
 3.1.2 Create chemfig.json file in it with the content (in array format):
 	<IP_ADDRESS> [ "chemfig.sty", "chemfig.tex" ]
 3.1.3 Create tex_files directory with 2 files: chemfig.tex.gz, chemfig.sty.gz
 3.1.4 Execute: npm run build
 3.1.5 Do we also have to include above 2 filenames in the file: tex_files.json ?

Request your help.
Thanks,

That part of the readme seems to be outdated.
All you need to do is add the file names "chemfig.sty" and "chemfig.tex" to tex_files.json.
This means when you run npm run build,  "chemfig.sty.gz" and "chemfig.tex.gz" will automatically be created inside the tex_files folder.
Hope that helps!

@artisticat1
Thanks for the revert. I followed the instructions and compiled it. Thanks.
And, tried to run following code:

But, it gave following errors (in console):
This is e-TeX, Version 3.14159265-2.6 (preloaded format=latex 2021.2.6)
tikzjax.js:1 **entering extended mode
tikzjax.js:1 (input.tex
tikzjax.js:1 LaTeX2e <2020-02-02> patch level 2
tikzjax.js:1 No file input.aux.
tikzjax.js:1 ABD: EveryShipout initializing macros
tikzjax.js:1 ! Undefined control sequence.
tikzjax.js:1 l.3 \chemfig
tikzjax.js:1 {A-B}
tikzjax.js:1 ?  Emergency stop.
tikzjax.js:1 l.3 \chemfig
tikzjax.js:1 {A-B}
tikzjax.js:1 Error: Could not find file input.dvi
at Me (run-tex.js:1:412407)
at texify (run-tex.js:1:417762)
Please advise, where am I making mistake?
Thanks,

I don't think you've imported chemfig correctly. Do either of these work?
<script type="text/tikz" data-show-console="true" data-tex-packages="chemfig">
\chemfig{A-B}
</script>

<script type="text/tikz" data-show-console="true" data-tex-packages="chemfig" data-tex-package='{"chemfig":""}'>
\chemfig{A-B}
</script>

@artisticat1
Thanks for the revert. I tried both the options above, but received following error:
SyntaxError: Unexpected token c in JSON at position 0 (at tikzjax.js:1:67155)
at JSON.parse ()
at texify (run-tex.js:1:417132)
at run-tex.js:1:364644
at Generator.next ()
at run-tex.js:1:363173
at new Promise ()
at r (run-tex.js:1:362918)
at D (run-tex.js:1:364598)
at run-tex.js:1:365716
at t (run-tex.js:1:362721)
Please advise.
Thanks a lot,

@artisticat1
Hi, Request your guidance please.
Thanks,

I tried both the options above, but received following error:

Yeah, I don't know what's gone wrong here. Sorry! You could try building my fork of tikzjax and running the code
<script type="text/tikz" data-show-console="true">
\usepackage{chemfig}
\begin{document}

\chemfig{A-B}

\end{document}
</script>

instead.

@artisticat1
Hi,
Thanks for the revert.
I used your build and tried to execute this:

I hosted the build on github at https://github.com/ravirathore/newchem3; and used jsdelivr.net to use it in html, like this:

But, received following errors:
Unable to load tex.wasm.gz.  File not available.
e99801e1-22b3-46b3-8e24-535c51f36b89:1 TikZJax: Rendering input:
e99801e1-22b3-46b3-8e24-535c51f36b89:1
\begin{tikzpicture}
\draw (0,0) circle (1in);
\end{tikzpicture}
tikzjax.js:1 TypeError: Cannot read properties of undefined (reading 'slice')
at texify (blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:6874054)
at blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:4701297
at Generator.next ()
at blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:4699826
at new Promise ()
at e (blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:4699571)
at O (blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:4701251)
at blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:4702369
at f (blob:http://localhost:8009/e99801e1-22b3-46b3-8e24-535c51f36b89:1:4699374)
As its not able to find tex.wasm.gz (its there on github though), so is there a need to follow  some particular  directory structure while uploading on github?
Also, received some Content Security Policy related errors, so had to use following in html file header:

Please advise.
Thanks and Regards,

Make sure you're building from my output-single-file branch. This will produce a single output file, tikzjax.js, inside a dist folder. You don't need to include other files such as tex.wasm.gz because I've already bundled them inside tikzjax.js.
Then use
<script type="text/tikz" data-show-console="true">
\usepackage{chemfig}
\begin{document}

\chemfig{A-B}

\end{document}
</script>

. Note that you need to include \begin{document} and \end{document} when using my build!
If you can't build tikzjax.js, I suggest you simply use mine: https://github.com/artisticat1/obsidian-tikzjax/blob/main/tikzjax.js.

@artisticat1
Hi,
Thanks for the reply. I used the build from the above link, but received following errors.
Request to please see.
Thanks,

Apologies, this error was pointed out and fixed in #11.
Please pull the latest changes in my output-single-file branch and try again. (With these new changes, you should also install fontforge (sudo apt install fontforge).)

Thanks. Its working. Great!
Regards,

@artisticat1
Thanks a lot for the help!
Regards,


[FEATURE] Parse GitHub style code blocks

GitHub uses classes to identify language, so e.g.

def foo
  puts "bar"
end

Is it possible to add support to it somehow? Or there is a way to configure
Prettify to detect language from this structure?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 13 Jul 2013 at 12:14

This is mentioned in the README file:

https://github.com/google/code-prettify/blob/master/README.md#how-do-i-specify-the-language-of-my-code
https://github.com/google/code-prettify/blob/master/README.md#i-cant-add-classes-to-my-code-because-it-comes-from-markdown-etc

So it supports language hints as class="lang-ruby" or class="language-ruby".
When it's not possible to specify classes (e.g. when converting markdown to html), you can use a preceding HTML comment or XML processing instruction to set language hint

(see https://github.com/google/code-prettify/issues/250#issuecomment-273932160 for an example)
I'm closing this as duplicate of https://github.com/google/code-prettify/issues/224#issuecomment-95295214, since it seems to be asking for something similar.


Does not support Japanese file name

Check unit manager

I guess it is a Unit Manager bug.   Personium can handle properly URL-encoded multibyte resource names. Plz check Unit Manager file upload implementation.

Please check #676


Duplicate detection is broken when using options rather than the capture boolean

The spec says that duplicate detection is based on callback, type and capture only. But your code does not properly implement that when passing an options object as last argument (you test for options objects being the same, which is much less likely).
https://dom.spec.whatwg.org/#add-an-event-listener

I think this is because the duplicate detection was implemented at a time when the last argument was documented as boolean  only.

Excellent. I recently found a pattern to fix all this, actually. I'll work on it

https://github.com/bfred-it/delegate-it/pull/10


Using custom method do serialize one specific property

I'm using a third-party library (konva) that has is own custom method to convert to json called toJSON(), how do I specify such method to be called?
I imagine it should be something like this:
class Foo {
    @toJson({ initializer: Konva.Node.create, serializer: Konva.Sprite.prototype.toJson })
    public sprite: Konva.Sprite
}

Hey Ivanca, you almost got it, you need to use jsonMember decorator and annotate the Foo class with jsonObject. You can take a look at the test in here
https://github.com/JohnWeisz/TypedJSON/blob/master/spec/custom-serializer.spec.ts


Social sharing metadata

I pushed a commit to this PR, but its not deployable yet. Code still needs some refactoring, and I haven't yet written out those keywords.

This makes document meta inherited via the top level component - but the App.js isn't generating any meta tags like all of the other views are. I'm wondering if this has to do with SSR?


Add ISO 3166-2 geospatial analysis to LADI Tutorial

Add to the LADI tutorial, the code and workflow to calculate the number of images in each administrative boundary (e.g. USA states) defined by ISO 3166-2 codes (e.g. US-CA) per year and month. The software should be able to generate a map with each USA state color coded based on the number of images.
Recommend using the Natural Earth Admin 1 shapefile for the boundaries.

Assigness will need to determine what to do if an image was taken over the ocean. One option is to use the Natural Ocean ocean polygon

For an example / template on how to download Natural Earth and other open source datasets, see: https://github.com/Airspace-Encounter-Models/em-core/blob/master/script/setup.sh


Minor CMake cleanup

Motivation and Context
I'm submitting this especially because of the find_library() / find_package() error I made in #41, as it breaks a build with system dependencies (but doesn't affect the build with bundled deps). Besides that, there are various minor best practice improvements that I had scattered around my working copy.
How Has This Been Tested
Everything compiles for me. No functional change.
Types of changes

[x] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Proactively squash-and-merging this into master since it is already approved and #53 could benefit from rebasing onto it! 🙂


Modify Python: Create Terminal to create an activated terminal even when automatic terminal activation is turned off

For a developer that only uses Python for a part of their project, the fact that we always activate Python in the terminal may not be ideal, which is one of the reasons for turning auto activation off (Set "python.terminal.activateEnvironment": false).
However they could still want to access an activated terminal when they do need it, which is when Python: Create Terminal could come in.
https://github.com/microsoft/vscode-python/issues/1387#issuecomment-391850613
cc/ @lramos15 @sbatten Feel free to edit it accordingly

One issue to note here is that, with our new way of activation (using environment variables), we may not be able to guarantee that selected environment is activated in a specific Python terminal. (As shell init scripts may override what we set when creating the terminal)
So we'll have to either:

Continue sending commands
Or add a feature in VS Code to apply env variables after shell init scripts are run, in which case it could be some work to support this reliably.

I've been experimenting with ways to avoid the whole PowerShell ExecutionPolicy issue as I don't want to have all terminals activate Conda (as conda init powershell does) and it's not always possible for users to change their PowerShell ExecutionPolicy to do that anyway. I've found that adding the following argument list to my default PowerShell
"args": ["-ExecutionPolicy",  "ByPass", "-NoExit", "-Command",  "& '${config:python.condaHome}\\shell\\condabin\\conda-hook.ps1' "]

along with a custom config variable "python.condaHome" : "path/to/conda" allows me to mimic the Conda PowerShell prompt in VSCode. The BETTER approach would be to add those PowerShell arguments to the Python terminal only, but I haven't found a way to do that.

@mkoohafkan Try out https://github.com/microsoft/vscode-python/issues/11039#issuecomment-1692118390, which uses our new way of activation where we need not execute any scripts in terminal and instead use environment variables to activate the env.

I’d really like to see this implemented. I’m currently working on a project that contains a venv that I use to run a model training script, and a bash script that builds a model-repository which amongst other things requires creating and activating a cond and and using conda-pack
It’s really frustrating that despite “Terminal > Create Terminal” shows a “bash” icon and “F1 > Python Terminal” shows “python” the venv activation behaviour is now identical (ie a venv is always activated or never activated based on ‘ python.terminal.activateEnvironment’
This seems to be new behaviour and it’s very annoying when you need a bash terminal but it’s sourcing the last venv activated (in some cases from a totally different project). I keep having to manually deactivate in order to test the conda bash script

This seems to be new behaviour and it’s very annoying when you need a bash terminal but it’s sourcing the last venv activated (in some cases from a totally different project).

Feel free to open a new issue regarding this and we'll happy to look into it. https://github.com/microsoft/vscode-python/issues/21825 seems to suggest a similar thing, and I've mentioned potential workarounds for it there.

@mkoohafkan Try out #11039 (comment), which uses our new way of activation where we need not execute any scripts in terminal and instead use environment variables to activate the env.

@karrtikr I was not able to get this working but perhaps I am missing a step. I'll wait for the official release and look for documentation then. Would like to see this current feature implemented anyway!

Just tried opting in with the latest updates, now I get
Cannot find drive. A drive with the name '.C' does not exist.
    + CategoryInfo          : ObjectNotFound: (.C:String) [], P
   arentContainsErrorRecordException
    + FullyQualifiedErrorId : DriveNotFound

Progress I guess...

@mkoohafkan If you could open a new issue with details, I'd be happy to have a look.

@karrtikr I also get the same issue，Running any command will prompt Cannot find drive. A drive with the name '.C' does not exist.
PS E:\04Code\Python> a
a: Cannot find drive. A drive with the name '.C' does not exist.
PS E:\04Code\Python> cd
cd: Cannot find drive. A drive with the name '.C' does not exist.
PS E:\04Code\Python> mv
mv: Cannot find drive. A drive with the name '.C' does not exist.

And I noticed a problem with the terminal's PATH environment variable, where one of the paths is incorrectly prefixed with ., whereas in reality the path is not preceded by ..

@cesaryuan Thanks for the details, I have created https://github.com/microsoft/vscode-python/issues/22047 and identified a potential fix for the problem: https://github.com/microsoft/vscode-python/pull/22046.

Thank you to everyone who upvoted this issue! Since the community showed interest in this feature request we will leave this issue open as something to consider implementing at some point in the future.
We do encourage people to continue 👍 the first/opening comment as it helps us prioritize our work based on what the community seems to want the most.


Add DeployNovaExternalCompute to role deploy

As the last step in the role deploy, DeployNovaExternalCompute is called
to deploy the nova services. This commit refactors the function since
the returns need to be handled differently whether it's a node deploy or
a role deploy.
During a node deploy, only the single created (or patched)
NovaExternalCompute needs to be checked for errors or the
ReadyCondition. However, during a role deploy, each NovaExternalCompute
for each corresponding node needs to be checked. If any of the
NovaExternalCompute CR's is in error, or not ready, then the entire role
is set as in error or not ready.
The call to DeployNovaExternalCompute is refactored out of the Deploy
func and called directly from the node and role controller instead so
that the return handling can be different.
This change also switches to use the standard ReadyCondition from
lib-common instead of the custom types DataPlaneNodeReadyCondition and
DataPlaneRoleReadyCondition. The custom types are not needed as a custom
message can already be set on the standard ReadyCondition. The standard
ReadyCondition is also used to reflect the overall status in the CLI and
UI.
Signed-off-by: James Slagle<EMAIL_ADDRESS>

/test dataplane-operator-build-deploy


Sending messages doesn't work in Android

Hi there,
I've followed all steps, checked that sms.js and sms.java are located in the right directory, build the application without getting an error in the cmd. But when I'm trying to send a message, nothing happens, and none of the callback functions work.
My cordova version is 3.3.1
Here's my code:
           alert('sending sms');
            var number = "0123456789";
            var message = "test bericht"
            var intent = ""; //leave empty for sending sms using default intent
            var success = function () { alert('Message sent successfully'); };
            var error = function (e) { alert('Message Failed:' + e); };
            sms.send(number, message, intent, success, error);

I'm getting the sending sms alert, but nothing after that. I've also tried
     var intent = "INTENT"; //leave empty for sending sms using default intent

when I emulate the app in ripple, this is what I get:
missing exec:Sms.send ripple.js:34331
Array[3] ripple.js:34332
TypeError ripple.js:34333
TypeError: Cannot read property 'send' of undefined
    at Object.module.exports.exec (http://localhost:4400/ripple/assets/ripple.js:34328:30)
    at Object.sms.send (http://localhost:4400/plugins/org.apache.cordova.plugin.sms/www/sms.js:5:13)
    at send (http://localhost:4400/js/app/newGroup.js:103:24)
    at HTMLButtonElement.onclick (http://localhost:4400/:116:121) ripple.js:34334
Sms ripple.js:50497
send

What could be wrong here?
Thanks!

Please see issue #53


Design improvement: how we show/hide secondary content

What?
Here's the situation: we currently have two ways to expose/hide secondary content:

discussion component : primarily used on /articles. Original purpose was to hide longer pieces of texts formatted as transcripts
explanatory text : used on /works pages to hide/expose extra licensing and usage information.

Lalita raised the issue that the current implementation of the discussion component on articles makes for a poor experience when there are multiple transcripts, as is the case in an article that's about to be published that has 3 audio player embeds.
How might we approach iterating on this problem?

are the two existing components close enough in purpose to combine into one, or to have one component but multiple ways to size it depending on its context?
what's the optimal experience for audio player + transcript?
is there any semantic markup in either of our two existing solutions that need to be respected? (i.e. Does 'Discussion' have any semantic structure for SEO purposes?)

Assumptions

Audio transcripts should be available with the audio player
We still need a way to show/hide content

Background
https://wellcome.slack.com/archives/C8X9YKM5X/p1692101105813539

are the two existing components close enough in purpose to combine into one, or to have one component but multiple ways to size it depending on its context?

While the two components are close in purpose, I think the pages they feature on (and how often they're used) mean it's probably better to have one component with variant styles.

what's the optimal experience for audio player + transcript?

I'm surprised to see that a lot of websites don't have transcripts available with any embedded audio! My personal opinion is that if there are multiple audio files within a page, it would be ideal to have the transcript next to the relevant audio - which I've explored in the designs below:

Article pages + audio
As a variation to our current discussion component, I've adapted it to be more suitable for multiple audio files within a single article by reducing the size and design.
This structure means that the transcript component doesn't become too overpowering (like it would if we used the current discussion component multiple times), and it also doesn't get missed visually, which it might if it was just a text link.
Component closed: https://zpl.io/noGY66l

Component open: https://zpl.io/mDgy88K

Works page - Can I use this component
Here's an example of how the above component would look on the Works page. I'm not convinced it works as well here:

Instead, I propose a small redesign to match the transcript component (same expand/close icons with bold text, minus the outline box). I've also tweaked the copy of the link based on a suggestion made from the accessibility audit: https://zpl.io/8lOPEE6

@jennpb @rcantin-w @gestchild @davidpmccormick open to feedback on the above!

I've added a few comments to the Zeplin files relating to use of colour.
Just to ensure that this component has flexibility and consistency wherever it's used, just a few things to consider:
It would be good to ensure this component can work with the audio player wherever we put it, for example:

Pages with many audio players, like exhibition guides
Works with audio

Is the idea that the two examples (the slightly tweaked ExplanatoryText component and the Discussion component) become one component with two expressions (large with borders; small without borders)?
And if the above is true, for the sake of consistency, would the +/- icon still be in different places or should the placement be consistent across both versions?
Last thing - while I agree that the 'Can I use this?' label needs changing, I don't think adding the research context is quite right. Some people don't use this stuff for research purposes - they might use it to illustrate a book or a funny blog post. I can anticipate there'd be more questions about whether they could use something for e.g. printing on a poster, especially with image researchers. We can iterate the label though!

It might not be necessary, but, if we're making this available for audio players, should we also make it a thing in Embeds (which can be a Soundcloud audio player, for example, I think our podcasts are on it?)?
For Jenn's

I've added a few comments to the Zeplin files relating to use of colour.
I couldn't see those, but I did wonder about the difference in background colour from when Read the transcript is closed vs open?

Reckon dev-wise, it's just having a new no-repeat Text field in the relevant Slices, I don't see it being a challenge. Maybe just extra a11y considerations that should be very doable.

Links to updated designs below. After discussing the designs with Jenn, I've amended the transcript component to match the 'Can I use this' component so they both have the + icon before the text link.
Article page (transcript closed): https://zpl.io/mDg9rY9
Article page (transcript open): https://zpl.io/7wq5n6W
Audio works page: https://zpl.io/8lOpm6w
Update to the "Can I use this" component - change of the label to 'Reuse and licencing', and also moving the Licence information currently above it back into that dropdown: https://zpl.io/noGdZ0Y
This new style component should fit quite well in the above spots on the website, but where it gets tricky will be the exhibition audio guides. Example of the current page design with the transcript component: https://zpl.io/09dRG7E
I recommend that this page be redesigned to move away from the three columns to accommodate the transcripts in a better way, otherwise it could end up feeling quite clunky very quickly, especially on smaller laptops. Here's an example of what the page could look like if we switched it to a singular column list: https://zpl.io/5EnGdLj
On Podcast pages, if we want to move away from the current discussion component, I'd recommend removing the button entirely and just having the transcript fully accessible on the page like an article, keeping the background to separate the transcript from the rest of the page content.
@davidpmccormick @rcantin-w @gestchild I'll leave to you to decide whether to deprecate the current discussion component and move to this one everywhere on the website!

Update 5 Sept: Confirmed next steps with Gareth and Jenn:

Switch the discussion component to the new design (except on Podcast pages where the text will be pulled out from the component, and treated like a normal article page).

Update the "Can I use this" label to "Reuse and licencing", bringing the licence information back into that dropdown component.

Leave the new discussion component off the exhibition guide audio pages for now, as that page structure needs more work to accommodate full transcripts.

#10182
#10183
#10184


Php  [Final Steps]

After playing around with this for a while, the getString function needs to be modified a bit so that it handles when fgets returns false (when the pipe is closed for instance).
function getString()
{
    $input = fgets(STDIN);

    if ($input === false) {
        exit;
    }

    return rtrim($input, "\n");
}

Although I think it would be nicer if halite sent a message indicating that the game is over, which could be used in order to avoid using a while(true) loop and exit call. This way, the bots would cleanly terminate, avoiding the necessity for the halite process to kill the processes (which I've had issues with on both Windows and Linux).

Thanks for the heads up! Patched.