Using Boost Iostreams on Windows with options does not link correctly

Using Hunter with Boost on Windows as directed by the pkg wiki:
set(Boost_USE_STATIC_LIBS ON)
if(MSVC)
  add_definitions(-DBOOST_ALL_NO_LIB=1)
endif()

This leads to compilation success but NOT link success:
CustomBuild:
  Building Custom Rule C:/Users/Aaditya/projects/minitar/CMakeLists.txt
  CMake does not need to re-run because C:\Users\Aaditya\projects\minitar\build\CMakeFiles\generate.stamp is up-to-date.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /IC:\Users\Aaditya\projects /Ic:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Install\include /Zi /nologo /W3 /WX /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D BOOST_ALL_NO_LIB=1 /D _CRT_SECURE_NO_WARNINGS /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"main.dir\Debug\\" /Fd"main.dir\Debug\vc120.pdb" /Gd /TP /analyze- /errorReport:queue C:\Users\Aaditya\projects\minitar\main.cpp C:\Users\Aaditya\projects\minitar\headers.cpp C:\Users\Aaditya\projects\minitar\path.cpp C:\Users\Aaditya\projects\minitar\streams.cpp
  main.cpp
  headers.cpp
  path.cpp
  streams.cpp
  Generating Code...
Link:
  C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Aaditya\projects\minitar\build\Debug\main.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/Aaditya/projects/minitar/build/Debug/main.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Aaditya/projects/minitar/build/Debug/main.lib" /MACHINE:X86 /SAFESEH  /machine:X86 /debug c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/zlib.lib c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/bz2.lib c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/libboost_filesystem-mt.lib c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/libboost_iostreams-mt.lib c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/libboost_system-mt.lib main.dir\Debug\main.obj
  main.dir\Debug\headers.obj
  main.dir\Debug\path.obj
  main.dir\Debug\streams.obj
streams.obj : error LNK2019: unresolved external symbol "public: static void __cdecl boost::iostreams::zlib_error::check(int)" (?check@zlib_error@iostreams@boost@@SAXH@Z) referenced in function "public: bool __thiscall boost::iostreams::detail::zlib_compressor_impl<class std::allocator<char> >::filter(char const * &,char const *,char * &,char *,bool)" (?filter@?$zlib_compressor_impl@V?$allocator@D@std@@@detail@iostreams@boost@@QAE_NAAPBDPBDAAPADPAD_N@Z) [C:\Users\Aaditya\projects\minitar\build\main.vcxproj]
streams.obj : error LNK2019: unresolved external symbol "protected: __thiscall boost::iostreams::detail::zlib_base::zlib_base(void)" (??0zlib_base@detail@iostreams@boost@@IAE@XZ) referenced in function "public: __thiscall boost::iostreams::detail::zlib_compressor_impl<class std::allocator<char> >::zlib_compressor_impl<class std::allocator<char> >(struct boost::iostreams::zlib_params const &)" (??0?$zlib_compressor_impl@V?$allocator@D@std@@@detail@iostreams@boost@@QAE@ABUzlib_params@23@@Z) [C:\Users\Aaditya\projects\minitar\build\main.vcxproj]
streams.obj : error LNK2019: unresolved external symbol "protected: __thiscall boost::iostreams::detail::zlib_base::~zlib_base(void)" (??1zlib_base@detail@iostreams@boost@@IAE@XZ) referenced in function __unwindfunclet$??0?$zlib_compressor_impl@V?$allocator@D@std@@@detail@iostreams@boost@@QAE@ABUzlib_params@23@@Z$0 [C:\Users\Aaditya\projects\minitar\build\main.vcxproj]
streams.obj : error LNK2019: unresolved external symbol "protected: void __thiscall boost::iostreams::detail::zlib_base::before(char const * &,char const *,char * &,char *)" (?before@zlib_base@detail@iostreams@boost@@IAEXAAPBDPBDAAPADPAD@Z) referenced in function "public: bool __thiscall boost::iostreams::detail::zlib_compressor_impl<class std::allocator<char> >::filter(char const * &,char const *,char * &,char *,bool)" (?filter@?$zlib_compressor_impl@V?$allocator@D@std@@@detail@iostreams@boost@@QAE_NAAPBDPBDAAPADPAD_N@Z) [C:\Users\Aaditya\projects\minitar\build\main.vcxproj]
streams.obj : error LNK2019: unresolved external symbol "protected: void __thiscall boost::iostreams::detail::zlib_base::after(char const * &,char * &,bool)" (?after@zlib_base@detail@iostreams@boost@@IAEXAAPBDAAPAD_N@Z) referenced in function "public: bool __thiscall boost::iostreams::detail::zlib_compressor_impl<class std::allocator<char> >::filter(char const * &,char const *,char * &,char *,bool)" (?filter@?$zlib_compressor_impl@V?$allocator@D@std@@@detail@iostreams@boost@@QAE_NAAPBDPBDAAPADPAD_N@Z) [C:\Users\Aaditya\projects\minitar\build\main.vcxproj]

The same build works correctly on Linux/Mac

Turns out, this could be related to the default '-s' arguments on Windows.
This is a bug in hunter_boost_component_b2_args where on Windows, it should use Windows' defaults.

I see debug variant, what about release?

I was trying to link to my own code.
Turns out the issue wasa b2_component_args which was not accoounting for different defaults of Boost Iostreams on Windows.
I have a temporary testing space where I fixed that issue. but then I ran into this:
-- [hunter] [ Hunter-ID: 8438f64 | Config-ID: a6a753a | Toolchain-ID: 4d0397b ]

-- [hunter] ZLIB_ROOT: c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install (ver.: 1.2.8-p3)

-- [hunter] BZIP2_ROOT: c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install (ver.: 1.0.6-p1)

-- [hunter] Boost -s args: -s;NO_COMPRESSION=0;-s;NO_ZLIB=0;-s;NO_BZIP2=0;-s;ZLIB_INCLUDE=c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/include;-s;ZLIB_LIBPATH=c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/zlib.lib;-s;BZIP2_INCLUDE=c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/include;-s;BZIP2_LIBPATH=c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/lib/bz2.lib

CMake Warning (dev) at c:/Program Files (x86)/CMake/share/cmake-3.2/Modules/ExternalProject.cmake:1815 (if):

  Policy CMP0054 is not set: Only interpret if() arguments as variables or

  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy

  details.  Use the cmake_policy command to set the policy and suppress this

  warning.

  Quoted variables like "x" will no longer be dereferenced when the policy is

  set to NEW.  Since the policy is not set the OLD behavior will be used.

Call Stack (most recent call first):

  c:/Program Files (x86)/CMake/share/cmake-3.2/Modules/ExternalProject.cmake:2321 (_ep_add_download_command)

  CMakeLists.txt:257 (ExternalProject_Add)

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done

-- Generating done

-- Build files have been written to: c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Build/Boost/__iostreams/Build

Microsoft (R) Build Engine version 12.0.30723.0

[Microsoft .NET Framework, version 4.0.30319.34014]

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 5/5/2015 7:57:02 PM.

Project "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\ALL_BUILD.vcxproj" on node 1 (default targets).

Project "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\ALL_BUILD.vcxproj" (1) is building "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj" (2) on node 1 (default targets).

Project "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj" (2) is building "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\ZERO_CHECK.vcxproj" (3) on node 1 (default targets).

PrepareForBuild:

  Creating directory "Win32\Debug\ZERO_CHECK\".

  Creating directory "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Debug\".

  Creating directory "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\".

InitializeBuildStatus:

  Creating "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

CustomBuild:

  Checking Build System

  CMake does not need to re-run because c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Build/Boost/__iostreams/Build/CMakeFiles/generate.stamp is up-to-date.

FinalizeBuildStatus:

  Deleting file "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".

  Touching "Win32\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".

Done Building Project "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\ZERO_CHECK.vcxproj" (default targets).

PrepareForBuild:

  Creating directory "Win32\Debug\Boost-iostreams\".

  Creating directory "Win32\Debug\Boost-iostreams\Boost-iostreams.tlog\".

InitializeBuildStatus:

  Creating "Win32\Debug\Boost-iostreams\Boost-iostreams.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ComputeCustomBuildOutput:

  Creating directory "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams-prefix\src\Boost-iostreams-stamp\Debug\".

  Creating directory "c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\CMakeFiles\Debug\".

CustomBuild:

  Building Custom Rule C:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Build/Boost/__iostreams/CMakeLists.txt

  CMake does not need to re-run because c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\CMakeFiles\generate.stamp is up-to-date.

  Creating directories for 'Boost-iostreams'

  Performing download step (download, verify and extract) for 'Boost-iostreams'

  -- verifying file...

       file='c:/Users/Aaditya/.hunter/_Base/Download/Boost/1.57.0/9305649/v1.57.0.tar.gz'

  -- verifying file... done

  -- extracting...

       src='c:/Users/Aaditya/.hunter/_Base/Download/Boost/1.57.0/9305649/v1.57.0.tar.gz'

       dst='c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Build/Boost/__iostreams/Source'

  -- extracting... [tar xfz]

  -- extracting... [analysis]

  -- extracting... [rename]

  -- extracting... [clean up]

  -- extracting... done

  No update step for 'Boost-iostreams'

  No patch step for 'Boost-iostreams'

  Performing configure step for 'Boost-iostreams'

  Building Boost.Build engine

  Bootstrapping is done. To build, run:

      .\b2

  To adjust configuration, edit 'project-config.jam'.

  Further information:

      - Command line help:

      .\b2 --help

      - Getting started guide:

      http://boost.org/more/getting_started/windows.html

      - Boost.Build documentation:

      http://www.boost.org/boost-build2/doc/html/index.html

  Performing build step for 'Boost-iostreams'

  Building the Boost C++ Libraries.

CUSTOMBUILD : error : No best alternative for libs/iostreams/build/boost_bzip2 [c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj]

      next alternative: required properties: (empty)

          matched

      next alternative: required properties: (empty)

          matched

  Performing configuration checks

      - zlib                     : no

CUSTOMBUILD : error : No best alternative for libs/iostreams/build/boost_bzip2 [c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj]

      next alternative: required properties: (empty)

          matched

      next alternative: required properties: (empty)

          matched

CUSTOMBUILD : error : No best alternative for libs/iostreams/build/boost_bzip2 [c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj]

      next alternative: required properties: (empty)

          matched

      next alternative: required properties: (empty)

          matched

      - zlib                     : no  (cached)

CUSTOMBUILD : error : No best alternative for libs/iostreams/build/boost_bzip2 [c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj]

      next alternative: required properties: (empty)

          matched

      next alternative: required properties: (empty)

          matched

And at compile time:
  compile-c-c++ bin.v2\libs\iostreams\build\msvc-12.0\debug\link-static\threading-multi\bzip2.obj

  bzip2.cpp

libs\iostreams\src\bzip2.cpp(20): fatal error C1083: Cannot open include file: 'bzlib.h': No such file or directory [c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Build\Boost\__iostreams\Build\Boost-iostreams.vcxproj]

      call "C:\Users\Aaditya\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul

  cl /Zm800 -nologo @"bin.v2\libs\iostreams\build\msvc-12.0\debug\link-static\threading-multi\bzip2.obj.rsp"

  ...failed compile-c-c++ bin.v2\libs\iostreams\build\msvc-12.0\debug\link-static\threading-multi\bzip2.obj...

  ...skipped <pbin.v2\libs\iostreams\build\msvc-12.0\debug\link-static\threading-multi>libboost_iostreams-mt-gd.lib for lack of <pbin.v2\libs\iostreams\build\msvc-12.0\debug\link-static\threading-multi>bzip2.obj...

  ...skipped <pstage\lib>libboost_iostreams-mt-gd.lib for lack of <pbin.v2\libs\iostreams\build\msvc-12.0\debug\link-static\threading-multi>libboost_iostreams-mt-gd.lib...

Seems like Boost does not find ZLIB and BZip2 despite the right -S settings. Do we have to use '/' instead of the Unix like '-' for options? Why are the b2 arguments not being passed correctly or being miscalculated by boost?

-s;ZLIB_INCLUDE=c:/Users/Aaditya/.hunter/_Base/8438f64/a6a753a/4d0397b/Install/include;

probably boost expecting -s;ZLIB_INCLUDE=c:\Users\Aaditya\.hunter\_Base\8438f64\a6a753a\4d0397b\Install\include? You can try file(TO_NATIVE_PATH ...) to fix it.
Can you please add an example so we can test it in future.

Will do.. Still trying to get this to work.. Will add a patch and an example after asking you about how best to do it..

I still get the same error message. Using TO_NATIVE_PATH didn't help.
Modifying the verbose_output flag to be ON to see what's going in in Boost.
It seems like some incorrect flags, because there is nothing obvious that is going wrong.

So essentially, Boost's build_opts seem correct.
However, the boost b2 command runs with weird compile options.
Here is a gist with details:
https://gist.github.com/aadityakalsi/3c71abb57ecff81a297c

Will add a patch and an example after asking you about how best to do it

You can add new CMakeLists.txt to examples directory. May be also you need to modify common.cmake file since we need extra build options:
# common.cmake
HunterGate(... ${filepath_option})

set(filepath_option FILEPATH "${CMAKE_CURRENT_LIST_DIR}/config.cmake")
include(../common.cmake) # emulate HunterGate

For other packages filepath_option will be empty, so will have no effect. + add this example to Travis config.

Modifying the verbose_output flag to be ON to see what's going in in Boost

You can just add HUNTER_STATUS_DEBUG=ON

Here is a gist with details:

What about same run on Linux or Mac platform? Looks like this is boost issue, I see no -I/path/to/bzip2/include flag passed to compiler:
  file bin.v2\libs\iostreams\build\msvc-12.0\release\link-static\threading-multi\bzip2.obj.rsp
  "libs\iostreams\src\bzip2.cpp" -Fo"bin.v2\libs\iostreams\build\msvc-12.0\release\link-static\threading-multi\bzip2.obj"    -TP /O2 /Ob2 /W3 /GR /MD /Zc:forScope /Zc:wchar_t /wd4675 /EHs  /MP /MP /MP /MP /MP /MP /DBOOST_ALL_NO_LIB=1 /DNOMINMAX /DHAVE_ROUND -c
  -DBOOST_ALL_NO_LIB=1
  -DBOOST_IOSTREAMS_USE_DEPRECATED
  -DNDEBUG
  "-I."
  compile-c-c++ bin.v2\libs\iostreams\build\msvc-12.0\release\link-static\threading-multi\bzip2.obj

Exactly. It works correctly on both my Linux and Mac boxes.
How do you propose we debug this?

How do you propose we debug this?

Well it's interesting to see what is the log on Linux/OSX. Does it have "-I/path/to/zlib"?

Can you tell me where the command to run during the Boost build is stored?

See b2_cmd, build_opts and bootstrap_cmd variables. Also everything will be printed (including user's jam file) if you will use HUNTER_STATUS_DEBUG=ON.
By the way does it work if you build boost with this options without Hunter? What if you build boost yourself with additional -s ZLIB_INCLUDE=/path/to/hunter/install?

Here is the OSX build log:
https://gist.github.com/aadityakalsi/1b79a0499cabe2cbeb6b
I haven't had enough time to try this. Will do this soon.

Thanks for the log. If you grep bzip2.cpp you will find:
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g -gdwarf-2 -fexceptions  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -DBOOST_ALL_NO_LIB=1 -DBOOST_IOSTREAMS_USE_DEPRECATED  -I"." -I"/Users/akalsi/.hunter/_Base/8438f64/fb721d1/373518b/Install/include" -c -o "bin.v2/libs/iostreams/build/darwin-4.2.1/debug/link-static/threading-multi/bzip2.o" "libs/iostreams/src/bzip2.cpp"

As you can see the -I option used to add location of header bzlib.h:
-I"/Users/akalsi/.hunter/_Base/8438f64/fb721d1/373518b/Install/include"

Same expected while building with Visual Studio compiler.

I have been able to get this to work on Windows. The issue was the default values of BZIP2_BINARY and ZLIB_BINARY.
SO post
Patch coming soon. I also faced issues of setting variables inside ÌF blocks in CMake code.
May need your help cleaning those up and getting an example.


什么时候支持dubbo3.x？

Why do you need it?
Is your feature request related to a problem? Please describe in details
什么时候支持dubbo3.x？
How could it be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

Dubbo3.x也是支持的，前提是使用dubbo协议，triple协议不支持协议转换
最新的Dubbo3.3.0版本已经支持了将Dubbo服务以Restful接口暴露，这时候直接用网关对接注册中心将请求转发到Dubbo服务上即可，无需做协议转换


Add -h and -v flags to generic_unix AtomVM command.

This PR adds help and version support for the AtomVM command on the generic unix platform.
This PR addresses Issue #842
These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).
SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

Let's add this to the changelog

done


fix: add separate messsage example object

Description
This PR fixes that message trait examples are not validated correctly.
Related issue(s)
Fixes https://github.com/asyncapi/spec-json-schemas/issues/441

/rtm

Thanks @dalelane @derberg :v:


Use stub type as account type

Codecov Report

Merging #23 into release-rc2 will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release-rc2      #23   +/-   ##
==============================================
  Coverage          68.51%   68.51%
  Complexity           157      157
==============================================
  Files                 21       21
  Lines               1299     1299
  Branches              90       90
==============================================
  Hits                 890      890
  Misses               337      337
  Partials              72       72

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com/webank/wecross/common/FabricType.java
0.00% <ø> (ø)
0.00 <0.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 c66f10d...73615f7. Read the comment docs.


[vim] add swiftTupleIndexNumber

When using tuples with index numbers, syntax highlighting uses swiftDecimal.
Therefore, I added swiftTupleIndexNumber and tried to improve it.
The highlight before added

The highlight after added

@swift-ci please smoke test

How would that handle the named tuple fields? Like tuple.0.foo.1? Might as well fix that in the same PR if possible. Other than that, any improvement is good, thanks @tokorom !

@moiseev Thank you for review! I forgot about the named tuple fields.
I thought it, but I could not find a way to distinguish between the named tuple fields and the property access. Therefore extract only index numbers as a last resort.
On the other hand, considering the named tuple fields, the nextgroup of swiftTupleIndexNumber was useless. I fixed it to delete it.
The coloring of index numbers and named fields were referred to Xcode.
Xcode

Vim with this pull request

Before this pull request

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge


Wrong font in calendar dropdown

Fix wrong font in the Add to Calendar dropdown, as per #136.
cc @MikeMcQuaid 🎉

Thanks for your contribution to Open Source Friday! You rock!


Self Checkout and Leave Event

With the self checkout in place, will there still be leave event? Let's say I have a "special server" that takes in list of server, does it mean that the max queue will be the sum of the qmax of each self checkout? or is the qmax only applicable to the human server?

human server each have thier own queue(each queue can only have qmax number of ppl)
all self checkout counters have 1 global queue(which can only have qmax number of ppl)

There will still be leave event because of the global queue in self checkout.
This global queue is in the earliest self checkout.
This means that the earliest self checkout has the same qmax as that of each human server, but for all other self checkout qmax is 0.

One queue for each human server. One queue for all self checkout counters.

yes, the queue max will apply for the human server queues as well as the global queue for the self checkouts

hiii, there will still be leave events. the qmax for self-checkout is the qmax for all self-checkout counters, for example if the qmax is 2, the max number of customers queuing at all self-checkout counters is 2

thanks for the help!


Version 1.2.0 set root:root permissions on /var/run/docker.socket

Version 1.2.0 set root:root permissions on /var/run/docker.socket instead of root:docker for Debian Jessie.
This change fixes that.
Signed-off-by: Jessica Frazelle<EMAIL_ADDRESS>

docker 1.6 is seeing this issue:
root:root owns docker.socket
CENTOS7
DOCKER 1.6
yum install docker
service docker start
ls -ltr /var/run/docker.sock

That would be a problem w the rpm centos is distributing, unfortunately we
don't control those but will have our own by 1.7.0 :)
On Thursday, May 14, 2015, Ahmed Zaidi<EMAIL_ADDRESS>wrote:

docker 1.6 is seeing this issue:
root:root owns docker.socket
CENTOS7
DOCKER 1.6
yum install docker
service docker start
ls -ltr /var/run/docker.sock
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/7690#issuecomment-102096199.

So you will need to take that up with their bug tracker
On Thursday, May 14, 2015, Ahmed Zaidi<EMAIL_ADDRESS>wrote:

docker 1.6 is seeing this issue:
root:root owns docker.socket
CENTOS7
DOCKER 1.6
yum install docker
service docker start
ls -ltr /var/run/docker.sock
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/7690#issuecomment-102096199.

Thanks you.


aes instruction support

Hello! Is it possible to add support for aes hardware instructions like AES-NI?
I'm asking because for same traffic app with support of AES-NI(based on openssl) spends 3-4% of CPU time while kcptun spends 95-100% of CPU time.

kcptun use golang's built-in aes package which support AES-NI.
So it should be support AES-NI.
Try salsa20, and see how much CPU time?

salsa20 is just a bit faster than aes-256
Should i test if no encryption will improve speed much?


Use new libsonatareport

Libsonatareport change API to let us set filename instead of hardcoded "out", follow the change.

Codecov Report

Merging #750 (ca8dc78) into master (7d90825) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head ca8dc78 differs from pull request most recent head a50bf3b. Consider uploading reports for the commit a50bf3b to get more accurate results

@@           Coverage Diff           @@
##           master     #750   +/-   ##
=======================================
  Coverage   55.99%   55.99%
=======================================
  Files         108      108
  Lines        8996     8996
=======================================
  Hits         5037     5037
  Misses       3959     3959

Impacted Files
Coverage Δ

coreneuron/io/output_spikes.cpp
88.97% <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 7d90825...a50bf3b. Read the comment docs.


Marjoetz

Add people in my app to work together

What? I don't understand.

I can't do anything about this without further explanation.


chore: fix 404 status URL

What I did
fix 404 status URL
How I did it

How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Which URL? Having a trouble finding it in the diff..
These are compiled artifacts tied to specific versions of OpenZeppelin, a bad URL is probably meant to be if it is in a published contract anyway.
Can you tell me more what brings this change?

This PR made me realize though, we should be using Ape's dependency system here and not hardcoding massive OZ files.
Here is an issue for this: https://github.com/ApeWorX/ape/issues/2441
If you want to work on this, we will support you. Basically, delete these files and update the ape-config to use the different OpenZeppelin versions as dependency and update any tests accordingly. That would be extremely helpful!


Add failing test case for rebuilding a project

There's a problem with the new root actor discovery mechanism. When a
project is rebuilt, actonc crashes with:
kll@ThinkYoga:~/acton/test/compiler/rebuild$ ../../../dist/bin/actonc build
Compiling rebuild.act for release
Building executable /home/kll/acton/test/compiler/rebuild/out/rel/bin/rebuild
actonc: Maybe.fromJust: Nothing
CallStack (from HasCallStack):
error, called at libraries/base/Data/Maybe.hs:148:21 in base:Data.Maybe
fromJust, called at ActonCompiler.hs:570:43 in main:Main

Which I'm guessing has to do with that we do not read in all modules
from .ty files unless we need to. When building from scratch, all
modules are read in, since we are compiling them all, but when some are
already built, we skip them unless they are dependencies of other
modules.
Test case for #728

So my test case that is supposed to be failing, and which is always failing on my laptop... actually passes CI testing. I'm not sure how that can be... very weird.
Hopefully it fails on your computer @sydow, so you can reproduce this problem and can work on a fix.

The failures on Mac are also not related I think. Probably something intermittent.

It fails on my laptop :-)

Ah yes, I believe hierarchical was natural but for libs we end up adding it all in one .a archive, which doesn't support directories, so it's preferable if the filenames are unique on their own. IIRC, it doesn't really matter, like we can have two foo.o in the .a, since it is just searched for symbols anyway. But it is easier for debugging etc if the name reflects the hierarchy. $ was chosen because that is what is used internally in C. I agree that . seems like a better choice.


Feature request: Help for possible_values values

I'm converting some old code of mine with hand-rolled arg parsing code to use clap (because it's awesome, thank you!), but this is one thing I really miss. We have Arg::possible_values to show what valid values for an option are, but no built-in way of showing help text for them, other than just putting it in the option's help text.
Given the current code, the best I've managed to do is hack around it with something like:
clap::App::new("foo")
    .arg(Arg::with_name("errors")
        .long("errors")
        .takes_value(true)
        .value_name("error-policy")
        .possible_values(&["halt", "skip", "replace"])
        .default_value("halt")
        .next_line_help(true)
        .hide_possible_values(true)
        .help(concat!("What to do when an error is encountered in input.\n",
             "halt: exit on errors\n",
             "skip: skip over the erroneous input\n",
             "replace: substitute with the encoding's replacement character")))
    .get_matches();

which outputs the following help text:
foo

USAGE:
    foo [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --errors <error-policy>
            What to do when an error is encountered in input.
            halt: exit on errors
            skip: skip over the erroneous data
            replace: substitute with the encoding's replacement character
             [default: halt]

The code is kind of ugly, I have to have the set of values listed in two places, and the output isn't as nice as the rest of what clap generates. :(
I propose adding something to Arg, either a separate help function like fn values_help(self, help_texts: &[&'b str]) -> Self where you give help text for each value in the same order you specified them in possible_values, or a separate function that lets you specify both as a tuple maybe: fn possible_values_with_help(self, values: &[(&'b str, &'b str)]) -> Self.
This could produce nice tab-aligned output like this:
foo

USAGE:
    unicoder.exe [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --errors <error-policy>    What to do when an error is encountered in input.
                halt               exit on errors [default]
                skip               skip over the erroneous data
                replace            substitute with the encoding's replacement character

Thanks for the detailed suggestion! I'm not against adding this feature, although there are a few features I need to knock out first. I'll also need to play with the implementation a bit, because what I'd really like to do is combine the two somehow so it doesn't impact the performance of those not using this feature. Granted two string slices vs one isn't that big a deal, but still. Perhaps something like:
clap::App::new("foo")
    .arg(Arg::with_name("errors")
        .long("errors")
        .takes_value(true)
        .value_name("error-policy")
        .possible_values(&[
            "halt:exit on errors",
            "skip:skip over the erroneous data",
            "replace:substitute with the encoding's replacement character"])
        .default_value("halt")
        .possible_values_contain_help(true) // treats `:` as a value/help sep
        .next_line_help(true)
        .hide_possible_values(true)
        .help(concat!("What to do when an error is encountered in input.\n",
             "halt: exit on errors\n",
             "skip: skip over the erroneous input\n",
             "replace: substitute with the encoding's replacement character")))
    .get_matches();

I've done some thinking on this, and with the recent feature of distinguishing between -h/--help I'm going to close this.
I'm still not totally opposed to adding this feature, it's just a somewhat niche case that I don't personally have the bandwidth to maintain right now. There are still questions like, should : be unconditionally the separator? I'm less inclined to add something like Arg::possible_value_help_separator, etc. In fact, I'd like to pair down App and Args API space, as the docs are becoming massive and I'd like to find a way to "declutter" the niche settings in 3x.
So this is closed. But i'm willing to consider PRs on the matter if they're limited in scope.
This works on clap 2.23.1, by the way.
clap::App::new("foo")
    .arg(Arg::with_name("errors")
        .long("errors")
        .takes_value(true)
        .value_name("error-policy")
        .possible_values(&[ "halt",  "skip",  "replace"])
        .default_value("halt")
        .hide_possible_values(true)
        .help("What to do when an error is encountered in input.")
        .long_help("\
            What to do when an error is encountered in input. \n\
                halt:            exit on errors\n\
                skip:            skip over the erroneous input\n\
                replace:       substitute with the encoding's replacement character")))
    .get_matches();


RBENV DEBUG error with scss-lint

Here you'll see the error I'm seeing in Sublime Text 3's console along with some of the processes related to my issue.
SublimeLinter: scss linter loaded
reloading plugin JSLint.JSLint
reloading plugin SublimeLinter.commands
...
reloading plugin SublimeLinter.sublimelinter
...
SublimeLinter: scss activated: ['/opt/boxen/rbenv/shims/ruby', '/opt/boxen/rbenv/shims/scss-lint']
found 1 files for base name Flatland Dark.sublime-theme
theme loaded
Writing file /Users/palcisto/Sites/TraderTool/app/assets/stylesheets/base/_colors.scss with encoding UTF-8 (atomic)
SublimeLinter: scss: _colors.scss ['/opt/boxen/rbenv/shims/ruby', '/opt/boxen/rbenv/shims/scss-lint', '--config', '/Users/palcisto/Sites/TraderTool/.scss-lint.yml']
SublimeLinter: scss output:
SyntaxError: /opt/boxen/rbenv/shims/scss-lint:3: syntax error, unexpected tSTRING_BEG
[ -n "$RBENV_DEBUG" ] && set -x
     ^

My SublimeLinter 'path' settings:
"paths": {
    "linux": [],
    "osx": [
        "/opt/boxen/rbenv/shims",
        "/opt/boxen/rbenv/bin",
        "/opt/boxen/rbenv/plugins/ruby-build/bin"
    ],
    "windows": []
},

My setup:
OSX
Boxen 3.7.0
Rbenv
Sublime Text 3
SublimeLinter v3.4.31
SublimeLinter-contrib-scss-lint v1.0.3
scss-lint 0.33.0
My search has a found similar issues, but I did not find a solution to my specific issue:
RBENV_DEBUG error with make #467
Some guidance would be appreciated as any of the solutions I've attempted to implement have not fixed this for me.
I have run scss-lint from the command line and it works perfectly, it just doesn't work in SublimeText3 using SublimeLinter-contrib-scss-lint even though the plugin loads and gets activated by SublimeLinter
NOTE: I have moved this issue from sstevenson/rbenv#694 as it was suggested this may be an issue with SublimeLinter. I'm honestly not sure, but trying to get to the bottom of it.

do you use bash/zsh/fish?
In the troubleshooting portion of the docs it talks about eval "$(rbenv init -)" which needs to be in your profile/env file not the rc file.

It seems to be an issue with my setup combination of ZSH, Boxen, and rbenv. I went back to bash and now I'm getting:
SublimeLinter: scss output:
ruby: no Ruby script found in input (LoadError)

and I recall coming across a solution for in previous searches so I'll just search for that.


Raib finder  - remove betabranding and enable email subscriptions

RAIB reports (https://www.gov.uk/raib-reports) soon won't be beta any more, and will need email subscription to be turned on, in the same way this happened for the MAIB finder.
So I removed beta branding in the finder, and enabled subscriptions.
Before:

After:

:+1:


in master, can not find the login.html

I also found that the project have no fronpage logic.. am i wrong?

@lakeo yes, the frontend logic is in another repository https://github.com/mining/frontend, we use it as git submodule

It seems like it should be closed.

thanks
发自我的 iPhone

在 2016年6月29日，02:01，Igor P. Leroy<EMAIL_ADDRESS>写道：
Closed #270.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


add extension_list example

created an example of agent extension policy that is used for Azure agent extensions.
added support for .NET framework 4.0 binding.
added a pytest test for the policy using the python bindings (thus also tested python binding)
Reorganized the structure accordingly due to the above changes.

Looks good for most part.
It looks like net40 is not being used. We should either lock it down with tests of remove it altogether if it is not needed.

net40 is not tested because I am not sure if the tool chain can support net8.0 and net40 at the same time as net40 is pretty old but still needed by some applications.


Images are blurred and not visible

[Enter feedback here]
Images on this page are not visible. blurred and unable to read

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

ID: 8861a34a-7684-3032-b4be-46c470f4b862
Version Independent ID: 04581fa9-6af6-f6b9-5946-16223a387b42
Content: Performance tuning guidance for applications and databases - Azure SQL Database & Azure SQL Managed Instance
Content Source: articles/azure-sql/database/performance-guidance.md
Service: sql-db-mi
Sub-service: performance
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

Hi @kasunsjc, I was checking the same document in Microsoft Edge and Google Chrome, and the images are displayed properly.

Could you please tell me which browser are you using and what is the resolution?

Hey,
I'm using chromium based edge browser.

@anuragsharma-MSFT I also see the blurred screenshot text, we'll need to adjust the images. The issue is because for some reason the images have transparency built into them between the characters, and dark/high contrast modes for docs.microsoft.com renders them difficult to read.
Thanks for bringing this to our attention, @kasunsjc. The workaround for you is to change your docs.microsoft.com theme back to Light mode instead of Dark or High Contract modes for now. We'll get the images adjusted shortly.

An update is in flight. Thanks again @kasunjc, your feedback improves Microsoft Docs.
#please-close


Glitches in the Right-Side of the Taskbar

Describe the bug
The right-side taskbar glitches when you click anything on it.
Screenshots

OS: Windows 10 Home
Version 21H1

Additional context
If I hover the mouse over the affected area after it glitches it goes back to normal but still glitches if you click something on it.

I have the same issue, stopping Taskbarx "solves" it.

I have the same issue, stopping Taskbarx "solves" it.

Thanks, but that temporarily solves the issue. But I can live with that.

The issue came back to me so I deleted the IconCache.db file in appdata\local\ directory and restarted the pc. Now the issue is gone.

The issue came back to me so I deleted the IconCache.db file in appdata\local\ directory and restarted the pc. Now the issue is gone.

I did the same and haven't got a glitch yet.
I'm going to close this issue with this comment. I'll make a new one if I have any more issues.
Thanks again @johanCloud .


1160: add exact amount display method

Description

This PR fix issue #1160 from near-sdk

Need to add the exact_amount_display method to format yoctoNEAR values for clearer error messages in near-sdk storage management.

Implementation

Added exact_amount_display Method: it formats NearToken amounts for display as yoctoNEAR or NEAR.
Based on exact-display implementation from near-cli-rs
Added tests for various cases: zero value, small values, exact NEAR values, and fractional NEAR values.

Example Usage:
let required_cost = NearToken::from_yoctonear(15 * 10_u128.pow(23));
format!("Must attach {} to cover storage", required_cost.exact_amount_display())

@frol this one is ready for review!

Hey @frol, @akorchyn, I didn't know about the Race of Sloths! I just joined, that's super cool! Thanks so much for the invite! 🦥🚀

@race-of-sloths pls, include my pr in the race!

@lauchaves Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
New Sloth joined the Race! Welcome!

Current status: waiting for scoring
We're waiting for maintainer to score this pull request with @race-of-sloths score [0,1,2,3,5,8,13] command
What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow
For contributors:

Tag @race-of-sloths inside your pull requests
Wait for the maintainer to review and score your pull request
Check out your position in the Leaderboard
Keep weekly and monthly streaks to reach higher positions
Boast your contributions with a dynamic picture of your Profile

For maintainers:

Score pull requests that participate in the Race of Sloths
Engage contributors with fair scoring and fast responses so they keep their streaks
Promote the Race to the point where the Race starts promoting you
Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands

For contributors

Include a PR: @race-of-sloths include to enter the Race with your PR

For maintainers:

Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

🔄 The PR has been merged.

[!IMPORTANT]
This pull request is a part of the Race of Sloths and has not been scored yet. Scoring will close in 24 hours! 🕰

@race-of-sloths score 2

🌟 Score recorded!
@frol, thank you for scoring this pull request in the Race of Sloths!

✅ PR is finalized!
Your contribution is much appreciated with a final score of 2!
You have received 30 (20 base + 10 weekly bonus) Sloth points for this contribution
Another weekly streak completed, well done @lauchaves! To keep your weekly streak and get another bonus make pull request next week! Looking forward to see you in race-of-sloths


Explain when to use wipe

Replaced by https://github.com/smartcontracts/simple-optimism-node/pull/57


remove stale bot in favor of the new lifecycle bot

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
NONE
What this PR does / why we need it:
Remove the Stale Bot configuration.
We're switching to integrate these kinds of things with ProwJobs, now that we have the new Prow.
Refs https://github.com/falcosecurity/test-infra/pull/209
Which issue(s) this PR fixes:
Refs https://github.com/falcosecurity/test-infra/issues/40
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign leodido after the PR has been reviewed.
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 010cc3c1280e5ea4801efbc16172d0c59089dc66

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: fntlnz, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [fntlnz,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


flutter desktop support?

Looks like it?

~/src/dart-sip-ua/example [master*]$ flutter devices
2 connected devices:

SM G970F • RF8M226YLZR • android-arm64 • Android 9 (API 28)
Linux    • Linux       • linux-x64     • Linux

~/src/dart-sip-ua/example [master*]$ flutter run -d linux
Launching lib/main.dart on Linux in debug mode...
Building Linux application...
Build process failed
make: *** No targets specified and no makefile found.  Stop.```

In fact, the desktop version can be supported, but the flutter-webrtc plugin dependence on the texture API of flutter/engine. Texture PR I have submitted but still review, I can compile flutter/engine to get the demo program, but the compilation process is very complicated.
Flutter-webrtc for desktop:
Https://github.com/cloudwebrtc/flutter-webrtc/issues/119
Flutter-webrtc for web:
Https://github.com/cloudwebrtc/flutter-webrtc/issues/85

Nice!


Fix help view not scrolling to the top

Fixes the following issue:
Search "Node" and open "Node (Class)" result in Search Help dialog. You will get the following error:
ERROR: scroll_to_line: Index p_line out of size (lines.size()).
   At: scene/gui/rich_text_label.cpp:1508.

If the help view for this class was already open, it won't scroll to the top.

I was confused for a second because 53541c6 says: "The function scroll_to_line(0) should return ERR_FAIL_INDEX because the first line is 1".
However p_line[0] references the first line, right?. If so, then everything seems fine.

Hm this is a bit confusing. RichTextLabel::scroll_to_line(0) and RichTextLabel::scroll_to_line(1) would do the same thing then? Isn't there something broken in the logic somewhere? I would expect all the logic to expect lines starting at 0, not 1.

@guilhermefelipecgs might want to comment too.

Yes, it's indeed confusing. Should this decrement actually be removed?

I don't remember why I did this way but your PR seems good to me. I tested and it's working fine. I think we can merge.

@akien-mga maybe I have choosen for use lines starting with (1) because of this redundancy. We need fix this logic before.

Ok, now I know why I did this, the correct is remove "p_line -= 1" and let the scroll function start with (0) line, but this will introduce a bug in "Search Help". When you try to search for words like "Class" it will scroll wrong. This bug only affect the first line of "Search Help" like "Class: Node2D" for example.

Yeah the logic definitely needs reviewed, I think there has been some confusion about what this p_line should be.
Just before scrolling to the line, the argument is decremented one:
https://github.com/neikeq/godot/blob/469a7bb58b42af420dd3e6a0d97bf809c2f2de86/scene/gui/rich_text_label.cpp#L1576-L1580
And then decremented again in the function:
https://github.com/neikeq/godot/blob/469a7bb58b42af420dd3e6a0d97bf809c2f2de86/scene/gui/rich_text_label.cpp#L1507-L1508
So the actual p_line used in the end is two lines above the one that was computed at first. So most likely something weird is happening before those decrements, else they shouldn't be needed.

Well, knowing this I don't think this PR should be merged as is. It may be working, but it's more like a patch when the actual problem is different.
I am quite lost about what the problem is though. Let me ask the following:

If we remove scene/gui/rich_text_label.cpp#L1576 and scene/gui/rich_text_label.cpp#L1507 what's the possible range of the resulted line? Is it from 0 to lines.size()-1?
Method scroll_to_line is also called from tools/editor/editor_help.cpp#L563. Does method_line (and the other vectors below it values start from 0 too?

Please, review after last rebase. It's a revert of 53541c6 (except for this change) and fix in a different way. I still don't understand what is line-=2 for. I thought it was to leave some vertical space, but I notice no difference if I remove it.

Yes I reviewed the last commit. What you say about vertical space makes sense though, I can imagine that scrolling to line-2 (if line is the interesting part) might be better for readability. But you say it makes no difference if you remove it?

Yeah, I didn't notice any difference. It would be good if @reduz (or someone else who knows it) tells us what's the actual purpose of that -2 :P (noticed it here too - same for the other *_line vectors)

@neikeq Here is the difference:
Without line -2:

With line -1:

With line -2:

@guilhermefelipecgs thanks for the clarification!

:+1:


Integrated Terminal Not Launching

VSCode Version: 1.14.1
OS Version: Windows 10

Opening Integrated Terminal stopped working after the recent update to VSCode. Still working fine on my Mac and Windows VMs with same, updated version.
I did change from the default C:\WINDOWS\Sysnative\cmd.exe, but neither that nor powershell nor git bash will work. It just won't open. No Error message or warning. Clicking the + to add another instance does nothing.
Steps to Reproduce:

Open VS Code
Attempt to open Integrated Terminal (ctrl + `)

Reproduces without extensions: No idea

If you're on the 64-bit version of VS Code this is a duplicate of https://github.com/Microsoft/vscode/issues/27915


Cluster autoscaling with least-used member placement strategy

Expected Behavior
Least-used placement strategy allows actors to be spawned on new / empty members.  When cluster auto-scales (e.g. through kubernetes horizontal pod autoscaler) and new members added to cluster, new actors need to spawn on new cluster members and not the members that are already full.
Actual Behavior
Currently the actors are randomly sent to members.  Since the actual actors are never re-balanced, the original members will keep getting new members and eventually run out-of-memory, regardless how many new members are added.

This is actually planned, I guess we should add it to the roadmap to make it explicit :)

It does require each node to know about the current load for the other nodes, so there are some prerequisites which need to be implemented first though

We now have actor statistics in MemberHeartbeat, this should be possible to implement now

https://github.com/asynkron/protoactor-dotnet/pull/1711


Error formatting

Hi @AnilVSNaik !
I was using your GUI today and noticed, that the "Show Errors" button prints them all into one line with some weird formatting. Turned out this is because the error string is parsed as if it was written in Markdown, causing formatting issues. I added some code to make it show properly.
Before:

After:

Kind regards,
Max

Hey Max, thanks for that! I was working gonna work on a fix for that after the 16th but this helps out alot!


Support for MD025

Adding front matter support to work with Markdownlint MD025 rule update.

Can you detect that you're running on a MS Docs project by sniffing for the openbuild or something?
This still has the problem of affecting users of the plugin whether or not their working on MS Docs projects


Fixing the Size for Header

I am Praful Nigam. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

I would like to work on this issue, please assign this issue to me under GSSoC'24.


Category - Unable to select disabled category with keyboard

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

Version Number: 1.4.72-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Go to staging.new.expensify.com
Submit an expense with category to the workspace chat.
Disable the category used in Step 2 in workspace settings
Return to transaction thread.
Click Category.
Navigate through the list with keyboard arrow.

Expected Result:
User should be able to select the disabled category with keyboard since the disabled category is still interactable with cursor.
Actual Result:
User is unable to select the disabled category with keyboard when the disabled category is still interactable with cursor.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/115492554/ad19875a-d01b-439f-b88d-396b75303713

View all open jobs on GitHub

@mallenexpensify I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

We think this issue might be related to the #collect project.

Interesting, it's possible that an Upwork job can't be created if the Awaiting Payment label is added (or... there was just a glitch earlier with creating a job and it then it worked a few mins later.
@Krishna2323 @alitoshmatov , can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~015f6e63bca303a149

ah... thanks @Krishna2323 (I got a ping payment was due and wanted to be usre I wasn't late, should have read/reviewed the details). Closing then


Fix broken progress bar and improve for IPython

Some minor fixes to make the downloads look nicer:

Fix broken update calculation
Make progress bar use the neat unit_scale feature
of tqdm
Use tqdm_notebook in an IPython environment not working, removed

@kohr-h there is a way to distinguish whether in jupyter notebook or in a script file like this

Thanks @vfdev-5, good to know. But as I mentioned, the tqdm_notebook seems to be broken anyway -- I'm getting NameError: name 'IntProgress' is not defined. As it seems, the code hasn't been updated for IPython versions > 4.
The plain progress bar also works decently in notebooks I think.

See https://github.com/tqdm/tqdm/issues/394


Event card height issues

Tried site on a friend's iphone XR, as shown in the screenshots below there's some issues with the event cards

This was the result of using the aspect-ratio property on a version of ios safari that didn't support it. Support starts at v 15 which is pretty fresh so I'll include a fix in the next PR.


Modify checkpoint partially

Is there a way to partially load a t5x checkpoint and modify it? I would like to take pretrained checkpoint, say t5-small, and change the token embedder weights by adding new ids and overwriting the weights of some of the ids. Mainly I would like to finetune the model but with a partially changed (randomly initialized) embedding table.
Step by step:

Train a sentencepiece model with a specialized corpus (e.g. medicine, politics etc). Let's say piece_to_ids={e:0,a:1,f:2}
Load target.token_embedder.embedding let's say original sp model haspiece_to_ids = {a:0,b:1,c:2,d:4} and an embedding table like:

[0.10,0.10, 0.10] # a
[0.20,0.20, 0.20] # b
[0.30,0.30, 0.30] # c
[0.40,0.40, 0.40] # d

Keep the common tokens, add the new tokens randomly, and order according to new sp model ids.

[random init] # e
[0.10,0.10,0.10] # a
[random init] # f

Save back checkpoint portion to t5x checkpoint dir.
Modify gin file to use size 3 embedding table and use the new checkpoint for finetuning in t5x.

In my case I only change the embedding table but this use case can of course be generalized to any partial modification to an existing pretrained model.

is it possible to do the above without a TPU VM? All the t5x tutorials uses a TPU VM.

For example, I can load as in kaggle:
t5x_model = checkpoints.load_t5x_checkpoint("/kaggle/input/t5x-small/checkpoint_1000000/")

but this would require a TPU VM.

Loading the full checkpoint of larger models won't be possible with this method to modify it so how can this be done by reading only interested portions?

This was possible using the InteractiveModel class.

Load model as interactive and the pretrained checkpoints.
Modify the checkpoints, e.g. do the desired model surgery on the unfrozen params dict.

params = flax.core.unfreeze(interactive_model._train_state.params)
params['token_embedder']['embedding'] = params['token_embedder']['embedding'][:1000]

Create a new randomly initialized interactive model which follows the same model structure as the latest modified params.
Replace the random params with modified params and save.

interactive_model._trainer.train_state = interactive_model._trainer.train_state.replace_params(params)
interactive_model.save()

Let me know of any comments, thanks!


Digitize the 7 current-time series

[x] 1
[ ] 2
[ ] 3
[ ] 4
[ ] 5
[ ] 6
[ ] 7

@stripathy Would you mind if I assigned this one to you? We can work on curating these in parallel as well.

@travs that's fine with me!


selinux should be set in permissive mode permanently

if not, rebooting operating system will reset SELINUX in enforcing mode again, this may cause unnecessary pod network problems
Signed-off-by: bruceauyeung<EMAIL_ADDRESS>

This change is

@mikedanese can you double check this to make sure it's all good. thx

@pwittrock Could you assign this to an appropriate eng that can check the command real quick? Thx

Sorry, was oncall last week and not able to do many OSS reviews. I don't think this is a good idea. Kubeadm should work with selinux enabled, but I would like to get an opinion from @dgoodwin who is more familiar with kubeadm/selinux specifics.

@mikedanese No problem. Thx!

It's extremely unfortunate that disabling selinux made it to the docs. It's been removed before, then put back in, I had another PR open to remove it again and then a new round of problems surfaced with Docker 1.12+ as well as newer container-selinux rpms.
The current round of problems are being chased here: https://github.com/kubernetes/kubeadm/issues/107
Technically, I think we're close, kubeadm master has a new fix that works around the last problem uncovered, I believe the previous was solved by updated container-selinux packages, and another problem specific to Docker 1.12+ is being tracked here: https://github.com/kubernetes/kubernetes/pull/40179
@chenopis your patch is definitely more correct, if selinux must be disabled it should persist across reboot. However, this is the nuclear option and it's a really depressing thing to do to an selinux host. Arguably if we can just ride this out a little longer, we remove it from the docs, and existing systems (once rebooted) might automatically get selinux flipped back online.
This PR is totally correct, but I would propose we don't merge it, it's been this way for a long time, we should be removing it entirely ASAP, and not documenting this might mean some systems reboot with selinux on and nobody is the wiser.
Common configuration of Docker 1.11 and an updated CentOS system, I am hopeful selinux is already working, but I would need to verify.

Actually, this patch is from @bruceauyeung . I'm just expediting PRs. =) Ok, I'm going to close this for now. We can reopen it later if the Selinux problem hasn't been dealt w/ cleanly.

My mistake, thanks!


Gif in comboBox template was not valid

When I was rewrite ComboBox control, I place a  control which I try to make it gif in ComboBoxItem,
But the drop list of ComboBox was not open,however only alone Image control is ok,

Hi @chancezheng,
I'm sorry, I don't understand your problem. Could you try to explain it better?

such as this comboxbox control,I try to change the image into gif of comboboxitem  control, but it does't work well, however only alone Image control is ok

it does't work well

Could you be more specific? Also, please show the relevant code.


Please consider adding a license

"[W]ithout a license, default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license. "
See
https://help.github.com/en/articles/licensing-a-repository

Thanks for pointing this out! I didn't realize I had not added a license. I've now added an MIT license.

Great!  Thank you, @amcrisan


schema registry https support?

I have enabled https connections on my schema registry but it's within a private domain.
How do I specify the truststore or pem certificates so that the schema-registry-ui can connect to https://my-schema-registry.example.com/ ?

The schema registry UI runs in your browser (it's an angular app), so essentially it is your browser that connects to your schema registry.
Thus you need to add the certificates to your browser.

@andmarios that's correct, unless we use PROXY=true in the docker image (which we do). How would we work that out in that case?

I just added an option to do that: PROXY_SKIP_VERIFY. It is used in conjunction with PROXY. I.e:
docker run \
    -e "SCHEMAREGISTRY_URL=https://schema.registry.url" \
    -e PROXY=true\
    -e PROXY_SKIP_VERIFY=true\
    landoop/schema-registry-ui

I added it to both the schema-registry-ui and kafka-topics-ui, at the latest docker images (make sure to docker pull before trying).
Hope it works for you now. I couldn't test thoroughly, so please confirm if it is.
Btw, we added tags to our images. E.g: https://hub.docker.com/r/landoop/schema-registry-ui/tags/

Excellent thanks I'll test first thing tomorrow

looks like it's working! Would be even better to add an option to pass in the trust certificate but I can live with that at the moment :)

Hmm, the caddy server uses the system certificates. To my experience it would be error prone to add code to update the system certificates, so we will avoid it for now.
Something you may want to try though, is to replace the certificates file of the container with your certificate, or even better your system's certificate chain.
Maybe something like this:
docker run -v custom.crt:/etc/ssl/certs/ca-certificates.crt ...

@andmarios you're right. The containers don't inherit the host certificates though, so mapping volumes would be the best way. I'll give this a go! I'll let you close this issue when you've released a new version of schema-registry-ui :)

Stephane - Will be closing this issue as we just released 0.9.1 just now
@andmarios can you update README.md with the PROXY_SKIP_VERIFY option / some documentation and close this issue please ?

Closing. Feel free to comment if something doesn't work as expected.


Error: Force flush cannot be called more than once

My script runs fine remotely - from laptop - but when running on a GCE instance, I get the following error:
  File "g.py", line 56, in <module>
    recs += 1
  File "xxx/gcsfs/core.py", line 896, in __exit__
    self.close()
  File "xxx/gcsfs/core.py", line 868, in close
    self.flush(force=True)
  File "xxx/gcsfs/core.py", line 754, in flush
    self._initiate_upload()
  File "xxx/gcsfs/core.py", line 798, in _initiate_upload
    self.location = r.headers['Location']
  File "xxx/requests/structures.py", line 54, in __getitem__
    return self._store[key.lower()][1]
KeyError: 'location'
Exception ValueError: ValueError('Force flush cannot be called more than once',) in <bound method GCSFile.__del__ of <GCSFile testfile>> ignored

Code snippet is:
...
            with fs.open(seg_filename, 'wb') as seg_f:
                recs = 0
                while line.startswith(key):
                    seg_f.write(line[line_offset:])
                    line = f.readline()
                    recs += 1
            logger.info('Done writing  {}: {:,} records'.format(seg_filename, recs))

Unrelated but I also get a warning No module named dask.bytes.core

Turned out to be a permission issue

But still almost a bug: the message shows up when the with-block exits, and the file gets closed, but the file was already closed due to the permissions error.

I spotted the permission issue when changing the block size to less than default (1Mb instead of 5). At that time, GCSFS issued a simple upload – it error’d out but printed partially the html response (403 – Permission Denied). Would be good indeed for either method to get a more explicit message.
From: Martin Durant
Sent: Monday, November 13, 2017 11:13 PM
To: dask/gcsfs
Cc: Yannick Einsweiler; State change
Subject: Re: [dask/gcsfs] Error: Force flush cannot be called more than once(#30)
But still almost a bug: the message shows up when the with-block exits, and the file gets closed, but the file was already closed due to the permissions error.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


Add make target for running MD link checks

Support running markdown-link-check locally, from the shared dev container. We currently use a GHA wrapping the CLI, but we should be able to swap to the raw CLI pretty easily.
find . -name \*.md -exec markdown-link-check {} \;
This came out of discussions on the Automation Sync last week.

This is still relevant.

bump

I think we can close for now, and if theres still desire to do this it can be reopened


FABC x_data argument

in the FABC baseline correction object there is an x_data input argument. however this conflicts with the x_data argument supplied to np.apply_along_axis baseline.py L33 and this causes TypeError numpy.apply_along_axis() got mulitple values for the keyword argument 'x_data'
python 3.11
ramanspy 0.2.10
how to recreate the issue:
import ramanspy as rp
import numpy as np
s = rp.Spectrum(np.random.rand(1000), np.linspace(300, 2000, 1000))
s2 = rp.preprocessing.baseline.FABC().apply(s)

output
TypeError numpy.apply_along_axis() got mulitple values for the keyword argument 'x_data'

none of the other baseline classes include x_data in the class definition since it is in the base class
Ive raised a PR where this input argument from FABC is removed.
#20

The PR has been merged into the v0.2.11 branch. See commit ed8ab18.
Thank you for the assistance!


Add to jsdelivr/cdnjs?

https://github.com/jsdelivr/jsdelivr/pull/10714

It`s also in the docs! Thanks for the heads up ;-)


iOS TextField, Incorrect behavior of text selection on simulator

There are some bugs in text selection in `TextField` on iOS Simulator in the `widgets-gallery` sample:

The selection overlay layout is broken
The selection doesn't appear on a double-click on a text as in native apps
Double tap on a string of emojis selects nothing, but should select a single emoji

Simulator: iOS 16.2, iPhone 14
Moved ContextMenu related bugs to issue: https://github.com/JetBrains/compose-multiplatform/issues/3276

Selection overlay layout should be re-checked, I guess It was fixed in another issue.

Problem with double tap selection still reproduces, I'm working on a fix for it.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Define and institute a password policy for all accounts and required mfa for privileged accounts

See below and #238 and #331
A minimum of 12 characters and a check with zxcvbn or similar tool is
my recommendation. Plain and simple.
https://github.com/dropbox/zxcvbn
https://github.com/dwolfhub/zxcvbn-python
https://pages.nist.gov/800-63-3/sp800-63b.html#102-usability-considerations-by-authenticator-type

See https://github.com/OpenTechFund/opentech.fund/pull/594


[build] Run dsymutil on multiple files at a time

The change in #33654 had the effect of not leveraging dsymutil
parallelism -- pass instead multiple file at once.
Addresses rdar://69550787

@swift-ci please smoke test

@swift-ci Please Build Toolchain macOS Platform

@swift-ci Please Build Toolchain Linux Platform

@swift-ci Please Build Toolchain Linux Platform

@swift-ci please smoke test Linux

macOS Toolchain
Download Toolchain
Git Sha - a0afa416161de8574dbc711f1bebeb1a39d62240
Install command
tar -zxf  swift-PR-34149-709-osx.tar.gz --directory ~/

Linux Toolchain (Ubuntu 16.04)
Download Toolchain
Git Sha - a0afa416161de8574dbc711f1bebeb1a39d62240
Install command
tar zxf  swift-PR-34149-452-ubuntu16.04.tar.gz
More info

@swift-ci please smoke test Linux

Apologies for the late reply -- that's a fair point, I did not notice any substantial difference in my local experiments with 32 GBs of RAM but that could be a concern on less powerful machines.
For this and other reasons, I'm planning to undo this change as part of https://github.com/apple/swift/pull/34795


Sign out problem - Android

When signing out, it is still possible to press back to go back to the message screen. Is this the correct way the app works? Or should we put a finish() when pressing the sign out option menu?

This issue was moved to firebase/friendlychat-android#14


Upgrade popper.js

[x] Replace bundled version with the npm one. https://github.com/eleme/element-react/issues/499
[ ] Fix related issue like automatically adjust placement.
[ ] Fix the 5px offset issue.
[ ] Move the popper dom element into document.body. https://github.com/eleme/element-react/issues/514
[ ] Support SSR (Server Side Rendering). https://github.com/eleme/element-react/issues/398

Components that integrated with popper.js:

AutoComplete
Cascader
Dropdown
Popover
Select
Table
Tooltip

May I know the progress of the PR? It is nearly impossible to use element-react with framework like next.js.

The npm version of popper.js breaks element-react, maybe related to the css style we used, and my primary task is not element-react currently, sorry about this.

What's the progress on this bug?

Hello,
Without fixing this issue (primarily #398 ) , there is no way to use popper (required for react-strap) for server-side rendering!
Any update on item #398 above?
Thanks in advance.

I tried upgrading popper to even a newer version, but so much more breaks after updating it. I'd really like to use this lib, however it also seems that no more work is being done on this lib.. such a shame

@e1emeb0t Has the problem been solved?

Not yet, we need resources to work on it, maybe the help of the community.

ah man, this is a real bummer. any forks out there with next compatibility?


Coverage for all files is not working

Describe the bug
In a React Vite app attempting to show coverage for all files - even those without tests - is not working. This gives misleading statistics about project test coverage.
Reproduction
The following repo exhibits the issue:
https://github.com/robcaldecott/vitest-coverage-all-files
npm install
npm run test:coverage

><EMAIL_ADDRESS>test:coverage
> vitest run --coverage

 RUN  v0.6.1 /Users/<me>/Projects/vitest-coverage-issue

 √ src/App.test.tsx (1)

Test Files  1 passed (1)
     Tests  1 passed (1)
      Time  5.15s (in thread 30ms, 17004.29%)

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |     100 |      100 |      50 |     100 |
 App.tsx  |     100 |      100 |      50 |     100 |
----------|---------|----------|---------|---------|-------------------

The report shows coverage for App.tsx but Button.tsx and main.tsx are not included.
The following Vite config is used:
/// <reference types="vitest" />

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  test: {
    environment: "jsdom",
    coverage: {
      all: true,
      include: ["src/**/*.tsx"],
    },
  },
});

System Info
System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 626.32 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v16.13.2/bin/yarn
    npm: 8.5.2 - ~/.nvm/versions/node/v16.13.2/bin/npm
  Browsers:
    Chrome: 99.0.4844.74
    Firefox: 96.0.2
    Safari: 14.1.2
  npmPackages:
    @vitejs/plugin-react: ^1.0.7 => 1.2.0
    vite: ^2.8.0 => 2.8.6
    vitest: ^0.6.1 => 0.6.1

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of #680

Note that while #680 is still open, the issue reported here with .tsx files missing from the coverage report is now fixed with the latest version of<EMAIL_ADDRESS>- I was able to get full coverage after running npm upgrade c8.


Fix risky "ifndef" conditionals that were reintroduced by PR #3522

fixes build errors seen with "NO_LAPACK=0"

closing as superseded by #3972


trouble with programatically injecting HTML with ipywidgets

Hey
I'm facing an issue when porting the following page from jb1
specifically I have a IPython extension ipythontutor that streamlines the insertion of an iframe with pythontutor illustrating the Python code, by calling ipywidgets.HTML()
jb1 is able to do behave as expected and to produce an iframe (see below)
but when rendered by myst, I am getting an error message (see in context below) that says

a Jupyter kernel connection is required ... HTML(...)

trying to understand better I then added (the second half of the test notebook) a simple call to HTML() and that one goes through properly in myst, so I guess the next step would be to narrow this down a bit, but before I do I could really use a better understanding of why a kernel would be needed at all at read-time in this scenario ?!? particularly as jb1 behaves as expected
PS.
after writing this I realize that in this specific instance maybe I could/should have used IPython.display.HTML instead; however I have a few other similar discrepancies as soon as ipywidgets are involved, so I guess this issue is still worth discussing, even if only from a more general standpoint
 here's jb1 output

see also https://jupyterlab-examples.readthedocs.io/en/main/1-06-pythontutor-nb.html

 and here's the output I get from `myst`

 the code of the IPython magic
https://github.com/parmentelat/ipythontutor/blob/main/ipythontutor.py

and indeed I have just checked that using HTML() from ipywidgets indeed fails with the simple table:

but my general question still stands I guess...

@parmentelat rendering of general ipywidgets without a kernel is a not implemented yet issue in myst and something we should probably begin tackling.
The message you are seeing is displayed by myst-theme whenever an ipywidgets mimetype is encountered.
Saying that display.HTML() should just add to the output's mime bundle adding a text/html key, and if that is the case then the myst-theme is probably being too conservative and we should just display html if it's there, even when there's an ipywidgets mimietype in the same bundle.
Do you have a repo with your example in to take a look at?
(Some background on why this message is shown: mystmd's unpacking of a notebook is limited to lifting out an array of cells and it does nothing right now to resolve or make resolvable the ipywidgets state data that (might be) is stored in the notebook metadata section and referenced in cell metadata. We need to implement proper lifting and resolving of the ipywidgets state - with a strategy that makes the state available while avoiding bloat in the main mdast.json, widgets state can become very large)

hey @stevejpurves
thanks for your feedback
this notebook here
https://github.com/parmentelat/jupyterlab-examples/blob/main/notebooks/1-06-pythontutor-nb.md
is rendered with jb1 here, where it works fine
https://jupyterlab-examples.readthedocs.io/en/main/1-06-pythontutor-nb.html
the code for the magic is here
https://github.com/parmentelat/ipythontutor/blob/main/ipythontutor.py
I wrote this magic a very long time ago, and upon reviewing it again the other day I realized it probably could have been done without ipywidgets at all (the optional buttons are seldom used in practice), but well, that's how it is...
I have plenty of other examples that do use ipywidgets in a more meaningful way, so regardless of this example I would love to see this supported in myst :)
PS. I think I might have been influenced by this page in the docs: after seeing the first interactive example, I might have unconsciously concluded that I could build interactivity within myst; apparently it's not that simple :)
thanks !


[django] cleanup and fix eol dates

EOL dates fixed
3.1.14 version added
some not needed flags removed
trivial cosmetic changes

Source : https://www.djangoproject.com/download/


Update Conan Support

Hi!
This PR contains some few improvements:

Build Conan package as in-source
Run Travis CI to build Conan package
Add test package to validate your Conan package
Add build script build and upload (only tags) your package

Regards!

I applied the rule to upload your package when using tag only.
Also it's necessary set CONAN_LOGIN_USERNAME and CONAN_PASSWORD on Travis Environment variables (don't forget to check as secret).


Authentication failure

Can no longer authenticate in Home Assistant.

for me i had the same problem.  to resolve I had to use their own website to fix my account.  login here: https://accounts.brillion.geappliances.com/consumer/login
it forced me to reset my password and then accept a few new terms.  two different times I had to approve new terms.  Once I was fully logged in through the website then the HA authenticate worked.

I had to:

Update my password
Login to the GE app which then prompted me for a new ToS

Until I did both, HA failed to auth.
On Sun, Apr 21, 2024 at 2:19 PM Sean Brogan @.***>
wrote:

for me i had the same problem. to resolve I had to use their own website
to fix my account. login here:
https://accounts.brillion.geappliances.com/consumer/login
it forced me to reset my password and then accept a few new terms. two
different times I had to approve new terms. Once I was fully logged in
through the website then the HA authenticate worked.
—
Reply to this email directly, view it on GitHub
https://github.com/simbaja/gehome/issues/69#issuecomment-2068155001, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD27TSIE7EDZLVKIVUS46DY6P7LPAVCNFSM6AAAAABGQDSDO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGE2TKMBQGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I think the directions here and in the updated pinned issues in the integration repo should generally resolve this issue, please feel free to comment again if it's another issue.


Support different keywords for Bearer authentication

Checklist

[x] I've searched for similar feature requests.

Enhancement request
Adding support for different keywords than "Bearer" for Bearer authentication.

Problem it solves
The default keyword in Falcon and Django REST Framework is "Token" instead of "Bearer". In HTTPie the only possible keyword is Bearer. Due to this it is not possible to use HTTPie with projects which does not explicitly use the keyword Bearer.

Due to this it is not possible to use HTTPie with projects which does not explicitly use the keyword Bearer.

I think it's still possible but you might have to tweak the syntax a little:
$ https pie.dev/bearer authorization:'Token ${TOKEN}'


Cannot install AWS Tools for VS 2017 without internet

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

AWSSDK.Core version used:
Service assembly and version used:
Operating System and version:
Visual Studio version:
Targeted .NET platform:

.NET Core Info

.NET Core version used for development:
.NET Core version installed in the environment where application runs:
Output of dotnet --info:
Contents of project.json/project.csproj:

ES2 Windows Server 2016 instance. Microsoft SQL Server Data Tools for Visual Studio 2017. Private network 10.x.x.x. No internet connection. I am trying to install AWSToolkitPackage.vsix
Log:
11/15/2018 2:26:01 PM - Certificate is invalid: AWSToolkitPackage.vsix
11/15/2018 2:26:02 PM - Skipping Install of '12ed248b-6d4a-47eb-be9e-8eabea0ff119,version=<IP_ADDRESS>' since downloading it failed.
11/15/2018 2:26:02 PM - Skipping cache of package '12ed248b-6d4a-47eb-be9e-8eabea0ff119,version=<IP_ADDRESS>' since the package or a parent package had a vital failure.
11/15/2018 2:26:02 PM - Skipping cache of package 'Component.12ed248b-6d4a-47eb-be9e-8eabea0ff119,version=<IP_ADDRESS>' since the package or a parent package had a vital failure.
11/15/2018 2:26:11 PM - Install Error : Microsoft.VisualStudio.Setup.PackageFailureException: Package '12ed248b-6d4a-47eb-be9e-8eabea0ff119' failed to download
at Microsoft.VisualStudio.Setup.InstallOperation.Run(CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.RunOperation(InstallOperation installOperation, CancellationToken token, ExecuteAction action, ITelemetryOperation telemetryOperation)
at Microsoft.VisualStudio.Setup.Engine.RunCoreOperation(InstallOperation coreOperation, ExecuteAction action, ITelemetryOperation telemetryOperation, CancellationToken token)
at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.PerformSetupEngineInstall(InstallableExtensionImpl extension, Boolean installPerMachine, Boolean isPackComponent, IDictionary2 extensionsInstalledSoFar, List1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, IProgress1 progress, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion, IInstalledExtension& newExtension)    at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallInternal(InstallableExtensionImpl extension, InstallFlags installFlags, IDictionary2 extensionsInstalledSoFar, List1 extensionsUninstalledSoFar, IInstalledExtensionList modifiedInstalledExtensionsList, AsyncOperation asyncOp, IProgress1 progress, Version targetedVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.BeginInstall(IInstallableExtension installableExtension, InstallFlags installFlags, AsyncOperation asyncOp, Version targetedVsVersion)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.InstallWorker(IInstallableExtension extension, InstallFlags installFlags, AsyncOperation asyncOp)

Closed. It was a proxy issue.


[FEATURE] Support for git release archives

Add support for git release archives of ProServe managed modules.
This will enable:

confirmed downloads of released modules
protocol support over HTTPS rather than cloning repos

Implement Basic Auth for general auth and SigV4 for S3-backed HTTPS GETS


Navigate to Linode dashboard upon success from resize page

By either navigating to a new page or showing a success indicator on the current page.
How it currently works is you select a new plan size and click save and it "just works":tm:
How I would expect it to work is you click save and you navigate back to the Linode summary page, or having a growl type indicator that the save took place.

Closed in https://github.com/linode/manager/pull/1642


uri.path instead of url

I have Ruby Faye server
Faye::RackAdapter.new(:mount => '/faye', :timeout => 25)

When I try to use
Faye::Authentication::HTTPClient.publish('http://localhost:9290/faye', '/channel', 'data', 'your private key')

I always have 404 response from the server

Thanks !
Specs are failing, could you use request_uri instead of path, I think that will fix the issue (path returns an empty string for an URL like http://www.google.fr)

Thanks ! I'll release version 1.8.1 with your fix in a few minutes


Ubuntu 1804 fix

make sure that all tests are passed
create some unit tests and update testing procedures accordingly
make PR to dev (or daily-dev)

Hello @C0NTRIBUTE! Thanks for submitting the PR.

There are no PEP8 issues in the file setup.py !

In the file talos/__init__.py, following                are the PEP8 issues :

Line 8:1: E402 module level import not at top of file
Line 9:1: E402 module level import not at top of file
Line 10:1: E402 module level import not at top of file
Line 11:1: E402 module level import not at top of file

In the file talos/commands/__init__.py, following                are the PEP8 issues :

Line 1:1: W391 blank line at end of file

In the file talos/commands/deploy.py, following                are the PEP8 issues :

Line 52:80: E501 line too long (82 > 79 characters)
Line 76:80: E501 line too long (301 > 79 characters)

There are no PEP8 issues in the file talos/commands/evaluate.py !

There are no PEP8 issues in the file talos/commands/predict.py !

There are no PEP8 issues in the file talos/commands/reporting.py !

There are no PEP8 issues in the file talos/commands/restore.py !

In the file talos/examples/datasets.py, following                are the PEP8 issues :

Line 6:80: E501 line too long (88 > 79 characters)

There are no PEP8 issues in the file talos/metrics/entropy.py !

In the file talos/metrics/keras_metrics.py, following                are the PEP8 issues :

Line 54:80: E501 line too long (82 > 79 characters)

There are no PEP8 issues in the file talos/metrics/score_model.py !

In the file talos/model/layers.py, following                are the PEP8 issues :

Line 59:80: E501 line too long (108 > 79 characters)

There are no PEP8 issues in the file talos/parameters/ParamGrid.py !

There are no PEP8 issues in the file talos/parameters/__init__.py !

There are no PEP8 issues in the file talos/reducers/sample_reducer.py !

There are no PEP8 issues in the file talos/scan/Scan.py !

There are no PEP8 issues in the file talos/scan/scan_finish.py !

There are no PEP8 issues in the file talos/scan/scan_prepare.py !

In the file talos/scan/scan_round.py, following                are the PEP8 issues :

Line 30:80: E501 line too long (86 > 79 characters)
Line 31:80: E501 line too long (91 > 79 characters)
Line 33:80: E501 line too long (130 > 79 characters)
Line 39:80: E501 line too long (94 > 79 characters)

There are no PEP8 issues in the file talos/scan/scan_run.py !

There are no PEP8 issues in the file talos/utils/best_model.py !

There are no PEP8 issues in the file talos/utils/exceptions.py !

There are no PEP8 issues in the file talos/utils/gpu_utils.py !

There are no PEP8 issues in the file talos/utils/load_model.py !

There are no PEP8 issues in the file talos/utils/validation_split.py !

There are no PEP8 issues in the file test/core_tests/test_scan.py !


License

Hello,
Would you please consider adding a license for EIMN? I'm interested in adding EIMN to my training repo to train custom models. Thanks!

Thank you for your attention to our work. We have added the MIT License.

Thank you!


'PLIER' element in the list?

Hi! I'm trying to re-use functions from PLIER and multiPLIER for my study on extracting signatures from the public datasets, and have a question.
https://github.com/greenelab/multi-plier/blob/7c56a2867f9f08f7bcd3617875c7c2dbe886cbeb/32-explore_pathway_separation.Rmd#L259
Here, it seems like y is the loaded _PLIER_model.RDS file, but I don't think there is a PLIER element in the PLIER model output list. Could you direct me where this element is? Thanks!

Sorry, I missed the comment on scripts/subsampling_PLIER.R.


Feature Request - Advanced Miner

First of all, I love this mod, thank you so much! After my first vanilla playthrough I was definitely convinced that advanced versions of the miner and smelter would be epic, and the modding community came to my rescue.
My request: I like to automate the creation of all my buildings, usually into a box with only two-five slots left open depending on the building. As I arranged this for the advanced miner, with only one box open (so I could see what it's stack size was) I came back to find my processors depleted as it just kept stacking into the 300s lol.
Would it be possible to limit the stack size to ~50-100 or even make it configurable like the range?
Thank you for your work!

Oh. That one. Yes in the old version stacksize was broken and set to 1000(It was a bug in my registering library). Today a new bug was reported, so I will update my registry library, it should fix this bug.

Should be fixed in the latest version. Please make sure to separate those miners before installing the update, as I'm not certain if you lose items over new stack limit.


Cannot read property 'startedAV' of undefined

Saw that in js error tacking.
Leave that here to check later.

also from logs:

Cannot set property 'connectionAccepted' of undefined
Cannot set property 'dataChannelR' of undefined
Cannot read property 'pc' of undefined
Failed to execute 'createOffer' on 'RTCPeerConnection': The RTCPeerConnection's signalingState is 'closed'.
Peer connection is closed

Should be solved by last pass via #b604cb8dd5d23c804a194de4f1d627750814ca18 from @EricDavies


Don't popup error buffer

Hi, whenever i try to save a buffer with say there are some syntax errors, format-all pops up a new buffer named format-all-errors. I have to close that window explicitly every time that happens. Is there any way to hide that buffer ? I am not sure what else to provide with to help you recreate it, so please let me know if you need some info specifically. But i think you already know what i am talking about. Anyway, if theres a solution please tell, thanks in advance.

Is there any way to hide that buffer?

No, there isn't. Setting format-all-always-show-errors to nil hides the error buffer, but only when there are no errors.
We could rename that variable to format-all-show-errors, with the choices:

always - show the buffer even when no errors/warnings
errors - show the buffer whenever there are errors
warnings - show the buffer whenever there are errors/warnings
never - don't show the buffer even if there are errors

We could also add a hook to customize it per formatter, but formatters are open source, so if there are problems with individual formatters it would be better to fix them to emit more reasonable output.

adding format-all-show-errors option would be great, but i tried format-all-always-show-errors set to nil didn't stop opening that window.

Setting format-all-always-show-errors to nil doesn't help if you get error messages; that setting only hides an empty error buffer.

how do you suggest to detect warnings ?

Good question. The simplest approach is to check whether the exit code from the formatter was success (zero) or failure (non-zero).

If the exit code indicated failure, then assume at least one error message was written to stderr.
If the exit code indicated success, yet the formatter wrote messages to stderr anyway, assume those are warnings, not errors.

If you'd like to make a PR, that would be appreciated! It's OK to change the name of the setting from format-all-always-show-errors to format-all-show-errors.
It should work to change the logic for setting show-errors-p in format-all--update-errors-buffer:

if (eq status :error) - formatter encountered errors
else if (not (= 0 (length error-output))) - formatter encountered warnings
else - formatter succeeded

great.

#126

#126 has been merged, so closing. Thanks for implementing this.


Nav2 compatible

This PR is about https://github.com/MRPT/mvsim/issues/49
I will close the issue after it is merged.
Test Environment

OS
ROS

Ubuntu 20.04
noetic

Ubuntu 22.04
humble

nav2 compatible

ROS1 graph (mvsim only with namespace)

ROS2 graph (mvsim only with namespace)

add teleop panel (ros2)

using visualization_tutorials

add How to install teleop panel in ros2 to docs

I checked the changes and they LGTM, and run it on ros2 and the updated 2-robots demo works with two instances of RViz, so I'm just merging it...
Thanks @finani for the great contribution! :+1:
If you have time for a corresponding demo update in the mvsim-nav2-demo repo it would be surely useful for future users.


Readme updates

Added a bit more on "why a contrib repo" and an example script (now that there is an actual contribution!).
Maintainers can edit directly if there is a typo.
Ref #4

LGTM


fix: adjust to new sparse checkout behaviour

Git 2.37 and later defaults to cone mode, so need to explicitly add --no-cone.
Removing init, since it's not needed anymore.
This is needed fix that sparse checkout is broken in recent jx-updatebot images

/cc ankitm123 tomhobson babadofar


Clean up hive detection code

Just a little fix I noticed while starting to investigate things. I was so annoyed at having to delete some of my hives that I wrote code. Pray I do not write any more!

I shall add a comment.
Make sure you're looking at the diff with whitespace off though, I only added one bit of logic. The removal of a loop (because the method used to return multiple folders) makes the diff looks more complicated that necessary.

I refuse to merge until @ryanbrandenburg signs off, in case I'm misunderstanding something

Thank you Ryan <3


Add info tooltip to proxy execution setting

What text should be placed in the tooltip?

Might need to have another copy https://www.figma.com/file/A0OEqjIWy6jL4Rk4kT8ddr/UX%2FUI_Workflow?type=design&node-id=3803%3A22647&mode=design&t=aKobFPqRacvTD0w9-1


feature: Snap and/or Flatpak package

Description
Hi Chmouel, thank you so much for your applet. :pray:
It would be great if it would be available via Snapcraft and/or Flatpak too.
PS: It's not possible to have the applet as an Gnome Extension, right?

Hello Alexander,
Yeah i agree, I don't know how to do package a snap or flatpak but would be happy to take contribution!
Unfortunately having a gnome extension mean writing everything in javascript (or the flavour gnome use) which don't know very well how to do it. The best way would be indeed doing like this reusing the gnome account management to check calendar.

#6 should address getting calendar source event directly... still python tho, i haven't learned javascript since last year 😛

Flathub PR has been submitted here https://github.com/flathub/flathub/pull/2716
I don't think I have the courage to ever be able support snapd as well, (I already do apt/yum/arch and now flathub repos)


Invalid Cast from DTComponentInfo to DTInterfaceInfo

When using the sample code, I encountered an error when attempting to parse a component on an interface. The original code attempted to cast the DTComponentInfo as a DTInterfaceInfo which it is not. However DTComponentInfo does contain a DTInterfaceInfo. I was able to fix the error with the following code
case DTEntityKind.Component:
    DTComponentInfo ci = item as DTComponentInfo;
    Console.WriteLine($"{sb}--Component: {ci.Id} | {ci.Name}");
    DTInterfaceInfo component = ci.Schema ;
    PrintInterfaceContent(component, dtdlOM, indent + 1);
    break;

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

ID: 3aae9473-f457-7384-f8de-91e4776e18af
Version Independent ID: 9f5534d9-4820-477b-7384-0d1299e8c7d6
Content: Parse and validate models - Azure Digital Twins
Content Source: articles/digital-twins/how-to-parse-models.md
Service: digital-twins
GitHub Login: @baanders
Microsoft Alias: baanders

Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi! I'm looking into this today with the code author and hope to have a resolution soon. :)

#assign:danhellem

I just tested, reproduced the error, and validated a fix. Will submit a PR today to get the docs updated.

The update to this article has now been published (link to the updated section). Thank you @aguywithcode and @danhellem for the fix!
#please-close