[mysql-connector-cpp] Build error on x64-windows-static

Package<EMAIL_ADDRESS>Host Environment

Host: x64-windows
Compiler: MSVC 19.42.34433.0
vcpkg-tool version: 2024-06-10-02590c430e4ed9215d27870138c2e579cc338772
vcpkg-scripts version: 5e5d0e1cd 2024-11-22 (3 days ago)

To Reproduce
vcpkg install mysql-connector-cpp[jdbc]:x64-windows-static
Failure logs
-- Using cached mysql-mysql-connector-cpp-8.0.32.tar.gz.
-- Cleaning sources at E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source E:/3rdParty/vcpkg/downloads/mysql-mysql-connector-cpp-8.0.32.tar.gz
-- Applying patch fix-static-build8.patch
-- Applying patch export-targets.patch
-- Applying patch dependencies.patch
-- Applying patch protobuf-cmake.patch
-- Applying patch protobuf-source.patch
-- Using source at E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean
-- Found external ninja('1.12.1').
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: E:/3rdParty/vcpkg/downloads/tools/cmake-3.30.1-windows/cmake-3.30.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /m
    Working Directory: E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg
    See logs for more information:
      E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\install-x64-windows-static-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/mysql-connector-cpp/portfile.cmake:53 (vcpkg_cmake_install)
  scripts/ports.cmake:196 (include)

E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\install-x64-windows-static-dbg-out.log
适用于 .NET Framework MSBuild 版本 17.12.6+db5f6012c

  1>Checking Build System
  Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/foundation/CMakeLists.txt
  error.cc
  Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/jdbc/driver/CMakeLists.txt
  mysql_art_resultset.cpp
  stream.cc
  connection_tcpip.cc
  mysql_art_rset_metadata.cpp
  socket.cc
  mysql_connection.cpp
  diagnostics.cc
  socket_detail.cc
  mysql_debug.cpp
  connection_openssl.cc
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\src\8.0.32-29a666cfd4.clean\cdk\foundation\connection_openssl.cc(366,20): warning C4244: 'initializing': conversion from 'uint64_t' to 'long', possible loss of data [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\foundation\cdk_foundation.vcxproj]
  mysql_driver.cpp
  Generating Code...
  cdk_foundation.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\foundation\Debug\cdk_foundation.lib
  Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/parser/CMakeLists.txt
  Preparing protobuf files for protobuf-lite
  mysql_metadata.cpp
  Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/CMakeLists.txt
  tokenizer.cc
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_connection.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_crud.proto
  mysql_parameter_metadata.cpp
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_cursor.proto
  json_parser.cc
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_datatypes.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_expect.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_expr.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_notice.proto
  mysql_prepared_statement.cpp
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_prepare.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_resultset.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_session.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx_sql.proto
  Running C++ protocol buffer compiler on E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/x64-windows-static-dbg/cdk/protocol/mysqlx/lite/mysqlx.proto
  expr_parser.cc
  protocol.cc
  mysql_ps_resultset.cpp
  protocol_compression.cc
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error:  "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
  (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/protocol.cc”)

  uri_parser.cc
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error:  "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
  (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/protocol_compression.cc”)

  session.cc
  mysql_ps_resultset_metadata.cpp
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error:  "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
  (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/session.cc”)

  rset.cc
  Generating Code...
  mysql_resultbind.cpp
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error:  "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
  (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/rset.cc”)

  stmt.cc
  cdk_parser.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\parser\Debug\cdk_parser.lib
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error:  "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
  (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/stmt.cc”)

  crud.cc
  mysql_resultset.cpp
E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\protobuf\mysqlx.pb.h(15,1): error C1189: #error:  "This file was generated by a newer version of protoc which is" [E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\cdk\protocol\mysqlx\cdk_proto_mysqlx.vcxproj]
  (编译源文件“../../../../src/8.0.32-29a666cfd4.clean/cdk/protocol/mysqlx/crud.cc”)

  Generating Code...
  mysql_resultset_metadata.cpp
  mysql_statement.cpp
  mysql_util.cpp
  mysql_warning.cpp
  mysql_uri.cpp
  mysql_client_api.cpp
  library_loader.cpp
  mysql_native_driver_wrapper.cpp
  Generating Code...
  Compiling...
  mysql_native_connection_wrapper.cpp
  mysql_native_statement_wrapper.cpp
  mysql_native_resultset_wrapper.cpp
  Generating Code...
  jdbc.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\driver\Debug\jdbc.lib
  Extracting dependency info for target connector-jdbc
  Building Custom Rule E:/3rdParty/vcpkg/buildtrees/mysql-connector-cpp/src/8.0.32-29a666cfd4.clean/jdbc/CMakeLists.txt
  empty.cc
  connector-jdbc.vcxproj -> E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\Debug\mysqlcppconn8-static-mt-mt.lib
  Merging STATIC library: E:\3rdParty\vcpkg\buildtrees\mysql-connector-cpp\x64-windows-static-dbg\jdbc\Debug\mysqlcppconn8-static-mt-mt.lib
  - E:\3rdParty\vcpkg\installed\x64-windows-static\debug\lib\mysqlclient.lib
  - E:\3rdParty\vcpkg\installed\x64-windows-static\lib\libssl.lib
  - E:\3rdParty\vcpkg\installed\x64-windows-static\lib\libcrypto.lib
  - driver\Debug\jdbc.lib
  Merge options: /SUBSYSTEM:CONSOLE;/MACHINE:X64
  - using MSVC tools

The error I reproduced locally is different from yours. Please set the compilation environment to the English language package and recompile.


⚠ Chatwoot has degraded performance

In 3dd2fe6, Chatwoot (https://app.chatwoot.com) experienced degraded performance:

HTTP code: 200
Response time: 3989 ms

Resolved: Chatwoot performance has improved in 6226230 after 8 minutes.


unknown device type

Expected/Desired Behavior:
sudo mn --nat  can create the demo.
Actual Behavior:
error creating interface pair unknown device type
Detailed Steps to Reproduce the Behavior:
sudo mn --nat
Additional Information:
mininet 2.2.2

Can you confirm that this behavior occurs in a current Mininet VM using Mininet 2.3.0?

Issue is not present in mininet 2.3.0

Closing as fixed/not reproducible in current mininet.


RuntimeError: CUDA error: an illegal memory access was encountered

When I ran filter.py, I encountered this error. RuntimeError: CUDA error: an illegal memory access was encountered

Please check whether your semantic masks contain values larger than 150.

I am conducting experiments on the coco data set, so the semantic masks contain values setting is 183.

The largest class index on COCO is 170. You need to firstly convert the masks following this.

Yes. You are right. The valid values in processed COCO masks should be 0-170 (both included), with the value 255 indicating the ignored regions. And you need to change the filtered value from 0 to 255. And the mask does not need to substracted by 1. Apart from the lines you mentioned, there are some other lines need to be modified:

https://github.com/LiheYoung/FreeMask/blob/ad0fde0e579588b8498a842f07070bbe30a2d64b/preprocess/filter.py#L66 The ignore_index should be 255 for COCO.
https://github.com/LiheYoung/FreeMask/blob/ad0fde0e579588b8498a842f07070bbe30a2d64b/preprocess/filter.py#L84-L85 https://github.com/LiheYoung/FreeMask/blob/ad0fde0e579588b8498a842f07070bbe30a2d64b/preprocess/filter.py#L104 https://github.com/LiheYoung/FreeMask/blob/ad0fde0e579588b8498a842f07070bbe30a2d64b/preprocess/filter.py#L109 Do not need the -1.


error on PHP 7.4

PHP Driver version or file name

sqlsrv  version 5.8.1
pdo_sqlsrv version 5.8.1

SQL Server version

SQL Server 2008 R2 (10.50.6560.0)

Client operating system

ubuntu 16..04

PHP version

7.4

Microsoft ODBC Driver version

lastest (<IP_ADDRESS>-1)

Table schema

not applicable

Problem description

Ubuntu Server 16.04 with Apache and PHP 7.1 loaded thru FCGI is running without any issues and can connect to SQL Server (Several Laravel applications).
We want to update this stack to PHP 7.4 and latest MSSQL driver. We have updated PHP already and MSSQL driver all to latest version. All with no issues.
Currently we are not able to connect to SQL server with PHP 7.4 (with cli and FCGI), only with PHP 7.1.

We receive this warning on any PHP commands thru comand line:
PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: undefined symbol: _zend_hash_index_update), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20190902/sqlsrv.so (/usr/lib/php/20190902/sqlsrv.so: undefined symbol: _object_and_properties_init), /usr/lib/php/20190902/sqlsrv.so.so (/usr/lib/php/20190902/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: undefined symbol: _zend_hash_index_update), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

When I try to make a query with PHP 7.4 on cli I get this error:
` Exception trace:

1   Doctrine\DBAL\Driver\PDOException::("could not find driver")
/home/extranet/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31
2   PDOException::("could not find driver")
/home/extranet/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27
Please use the argument -v to see more details.
Whoops\Exception\ErrorException  : PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20190902/sqlsrv.so (/usr/lib/php/20190902/sqlsrv.so: undefined symbol: _object_and_properties_init), /usr/lib/php/20190902/sqlsrv.so.so (/usr/lib/php/20190902/sqlsrv.so.so: cannot open shared object file: No such file or directory))
at Unknown:0
1|
Exception trace:
1   Whoops\Run::handleError()
/home/extranet/vendor/filp/whoops/src/Whoops/Run.php:408
2   Whoops\Run::handleShutdown()
[internal]:0
`

This is related with PHP driver load on cli and fcgi for PHP 7.4, I understand this.. but I am not able to fix this.. I have followed this guide:
https://medium.com/@nahomt/using-sql-server-from-your-php-apps-on-ubuntu-16-04-c85671249c45

Repro code or steps to reproduce

This is an multi PHP envirement. I have PHP 7.1, 7.2 and 7.4 installed on Ubuntu Server. PHP 7.1 no problems, I am able to switch PHP versions on cli with this comand:
sudo update-alternatives --set php /usr/bin/php7.4
PHP 7.1 no errors or warnings, all works fine with latest driver.

Hi @crisleiria ,
This is our instructions to install sqlsrv and pdo_sqlsrv. We keep this up-to-date for each stable release.
Have you checked /usr/lib/php/20190902/ and see if sqlsrv.so or pdo_sqlsrv.so is there?
Before you did pecl install have you checked your php version? This FAQ entry might give you an idea.
Under php 7.4, what's the output of php --ini?

Hi @yitam,
I already have uninstalled and installed again pdo_sqlsrv and sqlsrv driver and the files are always placed on /usr/lib/php/20170718/ and not on /usr/lib/php/20190902
I also have tried to copy manually and sqlsrv.so and pdo_sqlsrv.so files to 2019 folder. No luck, warnings are diferent, but I am not able to connect.
I have checked your FAQ entry link.. I think I am getting somewhere...
Comand php-config --phpapi returns 20170718 and not 20190902 as expected. How can I change this?
php --ini output:
PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20190902/sqlsrv.so (/usr/lib/php/20190902/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/sqlsrv.so.so (/usr/lib/php/20190902/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20190902/sqlsrv.so (/usr/lib/php/20190902/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/sqlsrv.so.so (/usr/lib/php/20190902/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 Configuration File (php.ini) Path: /etc/php/7.4/cli Loaded Configuration File:         /etc/php/7.4/cli/php.ini Scan for additional .ini files in: /etc/php/7.4/cli/conf.d Additional .ini files parsed:      /etc/php/7.4/cli/conf.d/10-mysqlnd.ini, /etc/php/7.4/cli/conf.d/10-opcache.ini, /etc/php/7.4/cli/conf.d/10-pdo.ini, /etc/php/7.4/cli/conf.d/15-xml.ini, /etc/php/7.4/cli/conf.d/20-calendar.ini, /etc/php/7.4/cli/conf.d/20-ctype.ini, /etc/php/7.4/cli/conf.d/20-curl.ini, /etc/php/7.4/cli/conf.d/20-dom.ini, /etc/php/7.4/cli/conf.d/20-exif.ini, /etc/php/7.4/cli/conf.d/20-ffi.ini, /etc/php/7.4/cli/conf.d/20-fileinfo.ini, /etc/php/7.4/cli/conf.d/20-ftp.ini, /etc/php/7.4/cli/conf.d/20-gettext.ini, /etc/php/7.4/cli/conf.d/20-iconv.ini, /etc/php/7.4/cli/conf.d/20-imagick.ini, /etc/php/7.4/cli/conf.d/20-json.ini, /etc/php/7.4/cli/conf.d/20-mysqli.ini, /etc/php/7.4/cli/conf.d/20-pdo_mysql.ini, /etc/php/7.4/cli/conf.d/20-pdo_sqlsrv.ini, /etc/php/7.4/cli/conf.d/20-phar.ini, /etc/php/7.4/cli/conf.d/20-posix.ini, /etc/php/7.4/cli/conf.d/20-readline.ini, /etc/php/7.4/cli/conf.d/20-shmop.ini, /etc/php/7.4/cli/conf.d/20-simplexml.ini, /etc/php/7.4/cli/conf.d/20-sockets.ini, /etc/php/7.4/cli/conf.d/20-sqlsrv.ini, /etc/php/7.4/cli/conf.d/20-sysvmsg.ini, /etc/php/7.4/cli/conf.d/20-sysvsem.ini, /etc/php/7.4/cli/conf.d/20-sysvshm.ini, /etc/php/7.4/cli/conf.d/20-tokenizer.ini, /etc/php/7.4/cli/conf.d/20-xmlreader.ini, /etc/php/7.4/cli/conf.d/20-xmlwriter.ini, /etc/php/7.4/cli/conf.d/20-xsl.ini, /etc/php/7.4/cli/conf.d/30-pdo_sqlsrv.ini, /etc/php/7.4/cli/conf.d/30-sqlsrv.ini
pecl version output:
PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20190902/sqlsrv.so (/usr/lib/php/20190902/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/sqlsrv.so.so (/usr/lib/php/20190902/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'pdo_sqlsrv.so' (tried: /usr/lib/php/20190902/pdo_sqlsrv.so (/usr/lib/php/20190902/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/pdo_sqlsrv.so.so (/usr/lib/php/20190902/pdo_sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP Warning:  PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/lib/php/20190902/sqlsrv.so (/usr/lib/php/20190902/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/lib/php/20190902/sqlsrv.so.so (/usr/lib/php/20190902/sqlsrv.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PEAR Version: 1.10.8 PHP Version: 7.4.7 Zend Engine Version: 3.4.0 Running on: Linux DEV-SERVER03 4.4.0-179-generic #209-Ubuntu SMP Fri Apr 24 17:48:44 UTC 2020 x86_64
Thank you for your help.

Hi @crisleiria
The key is to run update-alternatives, as explained in How to switch multiple php versions
sudo update-alternatives --set php /usr/bin/php7.4
sudo update-alternatives --set phar /usr/bin/phar7.4
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.4
sudo update-alternatives --set phpize /usr/bin/phpize7.4
sudo update-alternatives --set php-config /usr/bin/php-config7.4

Then do a pecl install again. Manually copying the sqlsrv.so and pdo_sqlsrv.so files to 2019 folder won't work because they were compiled against different PHP versions.

Hi @yitam ,
Ok, I was able to fix the problem regarding cli. I am able to connect thru comand line now. Thank you for your help. I follow Microsoft instructions, I believe it was connected to an old ppa:ondrej/php repository. It fix my problem.
I am still not able to connect thru Apache CGI on Laravel, but I will check later on. i will update this post with my findings.
Again thank you for your help, your links were very helpfull.
Best regards,
Cristovao Oliveira

Glad to be of help, @crisleiria
Good luck and let us know if you have other questions about the sqlsrv drivers.

Hi @yitam ,
Just to let you know, all OK on cli and cgi. I have notice some changes on the driver behavior (my previous driver version was old).
Mainly on EXEC procedures comands:
SQLSTATE[IMSSP]: The active result for the query contains no fields. (SQL: EXEC	[dbo].
I saw others with the same result and changed from my side (I am using Laravel framework).
Stackoverflow references here and here.
Thank you for the help, I will close this issue.
Best regards,
Cristovao Oliveira


Fix tracelog issue with large requests/responses

There is a limitation in bufio that prevents current trace dumps to work:
time="2015-11-30T14:50:01+01:00" level=info msg="ES trace 2015/11/30 14:50:01 GET /_all/_settings HTTP/1.1"
time="2015-11-30T14:50:01+01:00" level=info msg="Host: x.x.x.x:9200"
time="2015-11-30T14:50:01+01:00" level=info msg="User-Agent: elastic/2.0.20 (linux-amd64)"
time="2015-11-30T14:50:01+01:00" level=info msg="Accept: application/json"
time="2015-11-30T14:50:01+01:00" level=info msg="Accept-Encoding: gzip"
time="2015-11-30T14:50:01+01:00" level=info msg=
time="2015-11-30T14:50:01+01:00" level=info msg=
time="2015-11-30T14:50:01+01:00" level=info msg="ES trace 2015/11/30 14:50:01 HTTP/1.1 20
0 OK"
time="2015-11-30T14:50:01+01:00" level=info msg="Content-Length: 191369"
time="2015-11-30T14:50:01+01:00" level=info msg="Content-Type: application/json; charset=UTF-8"
time="2015-11-30T14:50:01+01:00" level=info msg=
time="2015-11-30T14:50:01+01:00" level=error msg="Error while reading from Writer: bufio.Scanner: token too long"
time="2015-11-30T14:50:01+01:00" level=info msg="ES info 2015/11/30 14:50:01 GET http://x.x.x.x:9200/_all/_settings [status:200, request:0.065s]"
time="2015-11-30T14:50:01+01:00" level=fatal msg="elastic: Error 400 (Bad Request)" component="cmd/es-index-deploy" hostname=xxx

You can find the constant precisely at line 71 here: https://golang.org/src/bufio/scan.go (being 64K)
When the user is troubleshooting issue #170 he/she can't get any help from log traces because of this problem. By using the trace method I introduce here, will instead be able to see the large request and provide/use it as a testcase.

@gdm85 TBH I'm not sure I want to enable this by default. Don't misunderstand me: I know what you're after, and I see how it can be valuable. However, it can also result in GB of log file data without even noticing. Maybe by introducing a verbosity level? I personally think elastic is already too verbose by default.

@olivere as it is now, it has an (undocumented) limitation/feature that goes more or less like this:

bufio has a 64K scan limitation, so anything larger than 64K will result in an error being printed instead of the actual HTTP requests/responses

You could either document this in a KNOWN_BUGS file, or allow this to be configured, or leave to the user the problem of the GBs in the logs.
I do not think it is the job of the client library to take care of verbose output when you enable such verbose output, but rather if the client library can help in "seeing" what goes on behind curtains, that shall be the biggest priority as without it you simply are stuck, and need to use tcpdump/wireshark instead.

@gdm85 Can you write a test that illustrates the issue in elastic and how your PR changes that?

@olivere sure, I will send it in a few hours

I am having some issues at reproducing the problem; I am progressively increasing the generated response size until I can reproduce it.

Same here. I tried to reproduce it by writing to bytes.Buffer but it logged just fine at any arbitrary size. So I asked to see if you could find a reproducible test.

@gdm85 Sorry to bother you, but I'm cleaning up issues. Did you have success in reproducing the issue recently?

No you're right, sorry for not coming back on this.
I will open it again if problem is found and there is a testcase.


GuiButton() stay in state STATE_PRESSED until we touch screen else where on Android

Hi,
For the GuiButton, on Windows the bevahiour is good, with the mouse the button is highlighted then go back to normal state but on Android the button stay highlighted when touch it and release, I need to touch the screen some where else to go back to normal state.
I have tried to used GuiSetState but no success
Thanks for your help

@GreenSnakeLinux It seems this issue could be more related to raylib and the rcore_android backend than raygui itself.

Closing as issue belongs to raylib.


docs: add files for exercise 04/12

Checks

[ ] Your YAML file has required fields as listed in Specs
[ ] All checks have passed yaml-lint passed
[ ] You agree to contribute your work under MIT license

I helped


wuzz: 2017-02-09 -> 0.2.0

Motivation for this change
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Closing this for https://github.com/NixOS/nixpkgs/pull/23002


Update ring_stmt.c

'For Identifier in Expr {Statemen' is PWCT's limitation or typo?

Also, typo:
https://github.com/ring-lang/ring/search?q=Identifer

Thanks for the update


Changed try! macros to ? operator

Since the stabilization of the ? operator (release 1.13.0)
the ? operator should be used to use idiomatic Rust.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

Is the build issue somehow related to my pull request? Since I think the master has the same problem.

@bors: r+
Thanks!
cc @aturon, @nikomatsakis, fun changes with ?!

:pushpin: Commit 9c7ef52 has been approved by alexcrichton

:hourglass: Testing commit 9c7ef52 with merge 1f47d0a...

:broken_heart: Test failed - cargo-cross-linux

Oh we unfortunately haven't had a nightly for the past few nights, so a different date in rustversion.txt may be needed.
It also looks like tidy on travis may be turning up some problems?

@bors: r+

Alright, I guess these issues are now fixed too.

@bors: r+

:pushpin: Commit ed61ba2 has been approved by alexcrichton

:hourglass: Testing commit ed61ba2 with merge c44d88a...

:broken_heart: Test failed - cargo-cross-linux

@bors: retry
On Mon, Nov 14, 2016 at 9:35 AM, bors<EMAIL_ADDRESS>wrote:

💔 Test failed - cargo-cross-linux
https://buildbot.rust-lang.org/builders/cargo-cross-linux/builds/363
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/cargo/pull/3283#issuecomment-260368260, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95J1Foo4XLtvQtr1_np1MvIVkxxH6ks5q-H_LgaJpZM4KvvvT
.

:hourglass: Testing commit ed61ba2 with merge f8a3caa...

:broken_heart: Test failed - cargo-linux-32

Oh looks like 2016-11-04 isn't a nightly.

I am sorry, 2016-11-05 should be a nightly right? If I check it with rustup it shows:
> rustup update
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: checking for self-updates

  nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.14.0-nightly (cae6ab1c4 2016-11-05)

I think the last nightly to succeed was nightly-2016-11-03

@bors: r+

:pushpin: Commit c313ed5 has been approved by alexcrichton

:hourglass: Testing commit c313ed5 with merge 8b5aec1...

:sunny: Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: alexcrichton
Pushing 8b5aec111926d1d03d2da32dd494e0fff073f870 to master...

Thank you very much! 👌🏼


Doesn't work in latest release 3.0.2

Hello, this addon has stopped working for me when upgrading to 3.0.2 using ember 2.5.1
{{title "foo" separator=" | "}}
{{#app-main}}
  {{#left-nav showModal="showModal"}}{{/left-nav}}
  {{outlet}}
  {{outlet 'modal'}}
{{/app-main}}

doesnt show up but rather the title from my index.html file does

Oh, you'll need to remove your title tag from index.html as per the README notes. Sorry! We're working on a patch so you won't need to do this in future releases.

ah that was it thanks!


docs: improve routing.rst

Description
See #6948

add note for (:any)
make the (:any) description easier to find

Checklist:

[x] Securely signed commits
[] Component(s) with PHPDoc blocks, only if necessary or adds value
[] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Thank you @kenjis


Extractor Improvement Request: Add support for german variant of Lecturio

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.17. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2018.12.17

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Hey all,
I have a site support request or eventually it's a feature request. youtube-dl already supports the site Lecturio in the english variant (lecturio.com). They also have a german page lecturio.de that is nearly the same site. Actually the extractor(s) already don't recognize the url and falling back to generic. If I'm understanding the structure of the extractors right, an extractor recognizes a URL, then extracts the needed data and then it's downloaded by the needed downloader.
I think the portal it self isn't diffictult to support in the same way but I'm not sure. The extractor only recognizes URLs like http://www.lecturio.com/something.course but the german varaint uses this url scheme: http://www.lecturio.de/something.kurs.
Eventually it's possible to do it easy. That would be my hope.
Eventually someone is able to implement this.
Best Regards

That's the URL I try to download: https://www.lecturio.de/jura/grundrechte.kurs
I'm using the newest version 2018.12.17 which falls back to generic.
If further informations are needed please tell me which ones are needed.
Best Regards


Documentation for single payment

Is there any documentation on how to process a single payment using this plugin or is it purely for subscriptions?
You mention that this is a great plugin for one-off payments but there is literally no single piece of documentation for making a one-off payment with a variable amount. From a look at  the code, I can only imagine that the "one-off" payment refers to paying a one-time "subscription".
I apologize in advance if I've missed something.

Is there any way to create a one-off charge without a customer? Looking at the API this should be possible by excluding customer but in pinax.actions.charges.create customer is a required parameter. Would it work to pass None to please python?


Merge editor bug

Type: Bug
When I choose 'resolve in merge editor' I see the panels with conflicting changes, then after a few seconds everything is higlighted yellow. It seems to have resolved the conflicts automatically but if I close the tab I see an alert that there are still unresolved conflicts.
VS Code version: Code 1.77.0 (Universal) (7f329fe6c66b0f86ae1574c2911b681ad5a45d63, 2023-03-29T09:57:11.797Z)
OS version: Darwin arm64 22.4.0
Modes:
Sandboxed: Yes

System Info

Item
Value

CPUs
Apple M1 Pro (8 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 5, 4

Memory (System)
32.00GB (0.65GB free)

Process Argv
--crash-reporter-id e903eb7b-f7d9-40ee-86c6-e8682fb449ce

Screen Reader
no

VM
0%

Extensions (30)

Extension
Author (truncated)
Version

calva
bet
2.0.345

calva-spritz
bet
1.0.4

vscode-eslint
dba
2.4.0

gitlens
eam
13.4.0

prettier-vscode
esb
9.10.4

nunjucks-template
ese
0.5.1

auto-rename-tag
for
0.1.10

copilot
Git
1.79.10634

vscode-graphql
Gra
0.8.7

vscode-graphql-syntax
Gra
1.1.0

elixir-ls
Jak
0.13.0

latex-workshop
Jam
9.8.2

vscode-json5
mrm
1.0.0

vscode-docker
ms-
1.24.0

playwright
ms-
1.0.10

python
ms-
2023.6.0

vscode-pylance
ms-
2023.3.40

jupyter
ms-
2023.3.1000892223

jupyter-keymap
ms-
1.1.0

jupyter-renderers
ms-
1.0.15

vscode-jupyter-cell-tags
ms-
0.1.8

vscode-jupyter-slideshow
ms-
0.1.5

remote-containers
ms-
0.288.0

material-icon-theme
PKi
4.25.0

markdown-preview-enhanced
shd
0.6.8

vscode-styled-components
sty
1.7.5

vscode-terminal-here
Tyr
0.2.4

vscode-mdx
uni
1.3.0

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

(4 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
vsccc:30610678
nodejswelcome1:30587005
282f8724:30602487
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
vsctsb:30677850
pythonb192cf:30669361
azdwalk:30687957
pythonms35:30701012

https://user-images.githubusercontent.com/25539870/229861400-a2a5aa7d-a820-4577-8833-32f2a9fa156e.mov

Can you share your conflict? (using Copy Merge Editor State as JSON command)
Thanks!

That code shipped and the branch deleted so I don't have the exact scenario available, but I went and deleted the merge commit from our main branch and got more or less the same thing. I saved the merge editor json twice. Once before the self resolution happened and one after. Let me know if this isn't what you need.
after-self-resolve.txt
before-self-resolve.txt

I have this same issue except it's always yellow. I'm also experiencing other weirdness.
Even though I have git.mergeEditor = true (for user and workspace), page-based inline diff shows by default. It does show properly with decorators for current and incoming, but I always have to click "resolve in merge editor" to bring up the merge editor UI. I've tried everything to get it to work by default, but I can't find the magic recipe.
Once I activate the merge editor, incoming and current are both highlighted yellow and the UI only shows a single all-encompassing conflict; no discrete conflicts. Compare properly shows the line-by-line differences.
Screenshots:
Diff 1
Compare
Diff UI
I'm using:
Version: 1.77.1 (Universal)
Commit: b7886d7461186a5eac768481578c1d7ca80e2d21
Date: 2023-04-04T23:23:33.779Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.4.0
Sandboxed: No
Here's the output for "Copy Merge Editor State as JSON Command"

@jmcdl May I suggest to please write a better title than "Merge Editor bug"? (You can still edit the title.) I was searching for merge editor bugs, and I had to open this issue to see what the bug is. I couldn't just see it directly in the search results. Thank you. 🙂


[Feature Request]: how do we add tools to agents created by AgentBuilder ?

Is your feature request related to a problem? Please describe.
I want to integrate my custom functions and langchain tools with agents created by AgentBuilder
Describe the solution you'd like
It should be possible to use custom functions or langchain's tools by these agents, As other UserProxyAgent, GPTAssistantAgent and many have the option to. If this is a feature on which work needs to be started, I can also take it up
Additional context
No response

Thanks. We would love to get some help on this. @JieyuZ2 @LinxinS97 for awareness.

@sonichi any help on this ?

hey @krishnashed it is a good idea to add tools, are you willing to make a first attempt to add this feature by making a PR?

@JieyuZ2 Sure I would love to contribute!

Did you ever get to work on this @krishnashed ?

@ChristianWeyer yes, I'm on it. Will ask for reviewing my PR in a day or two. I was held up with something for a few days.

I didn't want to raise a PR for incomplete work. But don't you worry. It took me sometime navigating through the code, but got things figured out finally!

Continuing discussion on autogen's discord, to get few doubts clarified.

This PR is blocked untill #2414 get completed. Will continue back once #2414 is done

resolved


fix: balance calculations to be compatible with new chain changes

Description
To get the total balance now we have to add the free and the reserved, locked balance is not used anymore
Changes

replaced locked with reserved
show the sum of reserved and free in profile manager
make freeBalance variable computed to make it always synced with the balanc

Related Issues

#3340

Tested Scenarios

use polkadot UI and call system/account to retrieve the actual balance and compare it with the shown in profile manager
try to empty you account from balance at all and check for the shown values
also try to deploy when you have balance less than 2 TFT < should fail>
try to deploy when the free balance is larger than 2 TFT

Checklist

[ ] Tests included
[x] Build pass
[ ] Documentation
[x] Code format and docstrings
[x] Screenshots/Video attached (needed for UI changes)

works when balance is exactly 2tft

this is the expected behavior right ?


Remove link to contacts for not logged in users

fixes #381 LiveURL: https://smartfaq-remove-link-to-contacts-for-not-logged-in-users.surge.sh

@git-toni what if I just put the entire thing inside ContactPageLink? It's only used in these 3 places:
src/StaticFAQ/ArticleFeedback/FAQArticleFeedback.js:import { ContactPageLink } from '../../common';
src/StaticFAQ/StaticFAQError.js:import { ContactPageLink } from '../common';
src/SingleBookingPage/bookingItem/Contact.js:import ContactPageLink from '../../common/ContactPageLink';

I'm definitely more inclined to place the render/dontRender logic in the parent rather than the child(ie. ContactPageLink), I think it's none of the child's concern. But maybe we need more opinions here :smile:

@git-toni hmm no, actually you're right :thinking: It's none of the child's concern indeed. But this gave me a new idea: if we shouldn't make it a prop, maybe we should make it a component. I'm thinking of creating a <LoggedInOnly> component. What do you think? That'd be basically a high-level wrapper that'd enable us to implement this kind of thing without importing withUser and without the ternary. That could be used to refactor stuff in several places, in order to hide the implementation detail for detecting logged-in status.

@kantord I think that's a great idea :) Granted you use that component or HOC function at the parent level (ie. Replacing the ternary+withUser).
Maybe a mix between src/common/redirectsLoggedIn.js and src/common/integration/urlProcessing.js? :)

@git-toni what do you think of the implementation now? I think more components could be refactored this way, and if needed, a  <UserStatus.LoggedOut> could be created too, but I don't want to do that refactoring without being sure that this is a good implementation :smile:

@kantord Looks great! Waiting for green pipeline to test + merge : D

Seems green now.


Java Configuration example compile failure, field "column" no setter of class KeyGeneratorConfiguration

Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:

Searched open and closed GitHub issues.
Read documentation: ShardingSphere Doc.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
4.0.0.RC-1
Which project did you use? Sharding-JDBC or Sharding-Proxy?
Sharding-JDBC
Expected behavior
Compile success
Actual behavior
Compile failure.
Reason analyze (If you can)

According to Java Configuration example below,
Java Configuration
private static KeyGeneratorConfiguration getKeyGeneratorConfiguration() {
        KeyGeneratorConfiguration result = new KeyGeneratorConfiguration();
        result.setColumn("order_id");
        return result;
    }

the compilation is failed, cause KeyGeneratorConfiguration doesn't have the "column" setter at ver 4.0.0-RC1, and KeyGeneratorConfiguration doesn't have default constructor.

method signature of ShardingDataSourceFactory@createDataSource not match Java Configuration example.

example:
return ShardingDataSourceFactory.createDataSource(createDataSourceMap(), shardingRuleConfig);
acutal:
public static DataSource createDataSource(Map<String, DataSource> dataSourceMap, ShardingRuleConfiguration shardingRuleConfig, Properties props) throws SQLException {
        return new ShardingDataSource(dataSourceMap, new ShardingRule(shardingRuleConfig, dataSourceMap.keySet()), props);
    }

TableRuleConfiguration does not have default constructor.

maybe some other classes have the same bug.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
just copy codes into IDE.
Example codes for reproduce this issue (such as a github link).

What is your example version?

I use version 4.0.0.RC-1.

For official example, the compilation is fine, do you using official example?

yes, I use official example.
private static KeyGeneratorConfiguration getKeyGeneratorConfiguration() {
     KeyGeneratorConfiguration result = new KeyGeneratorConfiguration();
     result.setColumn("order_id");
     return result;
}

this code fragment above is copied from offical example ---> HERE
but this class  KeyGeneratorConfiguration of version 4.0.0.RC-1 does not have default constructor, but have constructor with two or three parameters.
current source code of class KeyGeneratorConfiguration in github -->
KeyGeneratorConfiguration

@komawei
Hi, sorry, the official document give a bad example, can you fix this bug and raise a pr for official ducument?
The correct way to initialize KeyGeneratorConfiguration is
public final class KeyGeneratorConfiguration extends TypeBasedSPIConfiguration {

    private final String column;

    public KeyGeneratorConfiguration(final String type, final String column) {
        super(type);
        Preconditions.checkArgument(!Strings.isNullOrEmpty(column), "Column is required.");
        this.column = column;
    }

    public KeyGeneratorConfiguration(final String type, final String column, final Properties properties) {
        super(type, properties);
        Preconditions.checkArgument(!Strings.isNullOrEmpty(column), "Column is required.");
        this.column = column;
    }

@komawei
Hi, sorry, the official document give a bad example, can you fix this bug and raise a pr for official ducument?
The correct way to initialize KeyGeneratorConfiguration is
public final class KeyGeneratorConfiguration extends TypeBasedSPIConfiguration {

    private final String column;

    public KeyGeneratorConfiguration(final String type, final String column) {
        super(type);
        Preconditions.checkArgument(!Strings.isNullOrEmpty(column), "Column is required.");
        this.column = column;
    }

    public KeyGeneratorConfiguration(final String type, final String column, final Properties properties) {
        super(type, properties);
        Preconditions.checkArgument(!Strings.isNullOrEmpty(column), "Column is required.");
        this.column = column;
    }

My pleasure to fix this bug.  I'll create the pr soon.

@komawei Thanks very much ,waiting for u.

Anybody wants to update document as a pr for this issue?

Ref NEW Configuration


Create installer on Windows

It would be nice if there's a batch script to make Windows installation easier. I found a batch script in twemoji where it uses ttx and python to install its font.
https://github.com/eosrei/twemoji-color-font/blob/master/windows/install.cmd

I literally came here to ask for the same thing 🥺💟
The Twemoji color font project is likely to be stalled permanently at version 14 now, due to Elon Musk running Twitter into the ground.
Noto may be the only font that's continuing to be updated. If we could make it so that it can be installed as the primary emoji font in Windows 10/11, it will make a lot of people very happy.
https://github.com/13rac1/twemoji-color-font#install-on-windows
https://github.com/13rac1/twemoji-color-font/releases/download/v14.0.2/TwitterColorEmoji-SVGinOT-Win-14.0.2.zip

I spent half a day trying to write a powershell script to install the font.
Powershell is an absolute nightmare.
I've tried four or five different ways to (1) get the font family name, and (2) register the font.
Dumping the code here if anyone else wants to muck about with this. I left a couple of different approaches commented-out so you can see what didn't work.
Nothing I can find still works today on Windows 11.
Life is too short for this nonsense.
# Launch cmd.exe with right-click and "Run as Administrator"
#
# Then type in the following command to run this script:
#
#   PowerShell.exe -ExecutionPolicy Bypass -File install.ps1

### Remove Segoe UI Emoji font:

$fontsRegPath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\"
$segoeFontName = "Segoe UI Emoji (TrueType)"

if (Get-ItemProperty -Path $fontsRegPath -Name $segoeFontName -ErrorAction SilentlyContinue) {
    Remove-ItemProperty -Path $fontsRegPath -Name $segoeFontName
    Write-Host "Registry value '$segoeFontName' has been deleted from '$fontsRegPath'."
} else {
    Write-Host "Registry value '$segoeFontName' does not exist in '$fontsRegPath'."
}

### Download the NotoColorEmoji font:

$notoFileName = "NotoColorEmoji_WindowsCompatible.ttf"

$url = "https://github.com/googlefonts/noto-emoji/raw/main/fonts/$notoFileName"

$tempPath = [System.IO.Path]::GetTempPath()

$fontFile = Join-Path -Path $tempPath -ChildPath $notoFileName

if (Test-Path -Path $fontFile) {
    Write-Host "File '$fontFile' already exists. Skipping download."
} else {
    try {
        Invoke-WebRequest -Uri $url -OutFile $fontFile

        Write-Host "File downloaded to system Temp Path: $fontFile."
    } catch {
        Write-Host "Error downloading the file: $_.Exception.Message"
        exit
    }
}

### Install the NotoColorEmoji font:

try {
    $typeFace = [Windows.Media.GlyphTypeface]::new($fontFile)

    $family = $typeFace.Win32FamilyNames['en-us']

    if ($null -eq $family) {
        $family = $typeFace.Win32FamilyNames.Values.Item(0)
    }

    $face = $typeFace.Win32FaceNames['en-us']

    if ($null -eq $face) {
        $face = $typeFace.Win32FaceNames.Values.Item(0)
    }

    $fontName = ("$family $face").Trim()

    $fontName = "$fontName (TrueType)"

    write-host "Installing font: $fontFile with font name '$fontName'"

    # If (!(Test-Path ("$($env:windir)\Fonts\" + $fontFile.Name))) {
    #     Write-Host "Copying font: $fontFile"
    #     Copy-Item -Path $fontFile.FullName -Destination ("$($env:windir)\Fonts\" + $fontFile.Name) -Force
    # } else {
    #     Write-Host "Font already exists: $fontFile"
    # }

    # If (!(Get-ItemProperty -Name $fontName -Path "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Fonts" -ErrorAction SilentlyContinue)) {
    #     Write-Host "Registering font: $fontFile"
    #     New-ItemProperty -Name $fontName -Path "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\Fonts" -PropertyType string -Value $fontFile.Name -Force -ErrorAction SilentlyContinue | Out-Null
    # } else {
    #     Write-Host "Font already registered: $fontFile"
    # }
} catch {
    write-host "Error installing font: $fontFile. " $_.exception.message
}

# try {
#     # load the font:

    # $fontBytes = [System.IO.File]::ReadAllBytes($fontFile)

    # $fontCollection = New-Object System.Drawing.Text.InstalledFontCollection

    # $notoFamily = New-Object -TypeName System.Drawing.FontFamily -ArgumentList $fontBytes

    # $notoFamilyName = $notoFamily.Name

#     # check if aleady installed:

#     foreach ($fontFamily in $fontCollection.Families) {
#         if ($fontFamily.Name -eq $notoFamilyName) {
#             Write-Host "Font '$fontFamily' is already installed."
#             exit
#         }
#     }

#     # install:

#     [System.Drawing.Text.PrivateFontCollection]::AddMemoryFont([System.IO.MemoryStream]::new($fontBytes), $null)

#     Write-Host "Font installed successfully."
# } catch {
#     Write-Host "Error installing the font: $_.Exception.Message"
# }

For the record, I've been away from this for long enough to forget what the problem was.
Of course, just removing Segoe UI Emoji and installing this font doesn't solve anything - we need something like the script mentioned by OP to actually create a "fake" replacement Segoe UI Emoji font.
I would suggest this shouldn't run on the individual user's machine though - it has a ton of dependencies, and just getting it to run is probably more trouble than most people are willing to go through.
What we probably should do, is automate it as part of the build - so that the replacement font is generated and ready to download after each release. (then perhaps my installation script would be worth finishing, to help people install it.)

I'm too tired to fight this battle anymore for now, but here's an explanation of how to create a replacement font using Python:
https://github.com/perguto/Country-Flag-Emojis-for-Windows#how-i-did-it
Since this project already uses Python, I guess that would seem okay? Maybe we're not far off from at least having a font we can manually install...


extract signature from templates letterhead sample

Then we can use it on the front page too

Do you think uploading his signiture online is a good idea?

It's fine, we use real electronic signatures
On Mon, 7 Dec 2015 at 11:04 Alex Lee<EMAIL_ADDRESS>wrote:

Do you think uploading his signiture online is a good idea?
—
Reply to this email directly or view it on GitHub
https://github.com/bvn-architecture/styleguide/issues/46#issuecomment-162377676
.


[FEATURE]: when a workflow is removed, not all of its children are removed.

Please read our contributor guide before creating an issue.
Also consider discussing your idea on the discussion forum first.
Describe the Feature Request
When a workflow is removed, not all of its children are removed.
Describe Preferred Solution
You could include in the removal of a workflow the search for children via parent_workflow_id to then be able to remove them together with the connected tasks.

Hi @mspasiano can you provide a sample workflow and steps to reproduce?

For example, at this point you could search for all workflows that have the incoming workflowId as parent_workflow_id and delete them by calling the same method


Unit- & Integration-Testing

This PR introduces the means of conducting unit- and integration tests.
For this purpose Jest is being utilized in combination with React Native Testing Library.
In short, this PR:

configures the jest & babel setup
integrates a mock-renderer
integrates a mock-redux-store
updates the documentation
adds several example tests

@mbastian93 addressed your concerns


i2c_sp_buses: fix style with astyle

Describe problem solved by this pull request
I'm commiting the style fix now since it's popping up over and over
when using make format.
I hope it's not another astyle 2 vs 3 issue.

It is :disappointed:
https://github.com/PX4/Firmware/pull/14552/checks?check_run_id=549626226#step:4:16


Validation fails with "Gateway Timeout"

BUG DESCRIPTION
Problem
After one successful attempt at validation of an animal/sample table, subsequent attempts fail with "Gateway Timeout"
Steps to reproduce

Upload the attached file for validation at http://tracebase-dev.princeton.edu/DataRepo/validate

Current behavior
504 Gateway Timeout
Expected behavior
A validation results (pass/fail)
Suggested Change
I very much suspect this issue has to do with xlsx files saved by LibreOffice. They appear to work fine in many instances, but Pandas has issues loading them (it seems to load tens of thousands of blank rows).
Comment
Any other relevant context or links to what you were working on when you
discovered the problem.

ISSUE OWNER SECTION
Assumptions

List of assumptions made WRT the code
E.g. We will assume input is correct (explaining why there is no validation)

Requirements

List of conditions to be met for the feature
E.g. Every column/row must display a value, i.e. cannot be empty

Limitations

A list of things this work will not fix
E.g. Getting edge case X to work requires too much effort and will not be
fixed in this effort.

Affected/Changed Components

Files
Environment variables
External executables
Database tables
Cron job settings
Etc.

DESIGN
GUI Change description
Describe changes the user will see.
Code Change Description (Pseudocode optional)
Describe code changes planned for the fix.
Tests
A test should be planned for each requirement (above), where possible.

I very much suspect this issue has to do with xlsx files saved by LibreOffice. They appear to work fine in many instances, but Pandas has issues loading them (it seems to load tens of thousands of blank rows).
I'm going to test again with some cleaned up xlsx files.

No issues with cleaned xlsx files. Closing.


Python handle of "record from another epoch: expected 1, received 0"

I am submitting a …

[X] bug report
[ ] feature request

Description
When DTLS clients use the same port and try to reconnect appears mbedtls debug log error which I can not handle on the python level. Is there some way to intercept this error in python code? Or somehow make the server handle it like an epoch 0 message instead of just dropping it?
ssl_msg.c:3581: record from another epoch: expected 1, received 0
ssl_msg.c:3628: possible client reconnect from the same port
ssl_msg.c:3321: mbedtls_ssl_check_dtls_clihlo_cookie() returned -27264 (-0x6a80)
ssl_msg.c:3325: sending HelloVerifyRequest
ssl_msg.c:3332: ssl->f_send() returned 60 (-0xffffffc4)
ssl_msg.c:4496: ssl_check_client_reconnect() returned 0 (-0x0000)
ssl_msg.c:4505: discarding unexpected record (header)

Current behavior
We are able to see this error message in the mbedtls debug log but there is no error rising in the python code.
Expected behavior
Rise some Python error that can be handled correctly. In the best case - make mbedtls server handle the same client hello message again as the epoch 0 message without resending it from the client.
Steps to reproduce

Run the attached server-side code
Run the attached client-side code and stop it with ctrl+C
Run the attached client-side code again.
"record from another epoch: expected 1, received 0" will appear in the debug log.

Minimal demo of the problem
Server-side code:
from __future__ import annotations

import time
import threading
import socket
from contextlib import suppress

import datetime
import logging
import ipaddress
import select

from mbedtls._tls import _enable_debug_output, _set_debug_level  # type: ignore
from mbedtls.exceptions import TLSError
from mbedtls.tls import (
    ServerContext,
    HelloVerifyRequest,
    DTLSConfiguration,
)

def run_dtls_server( srv_conf,
        address: str,
        port: int):

    try:
        ip = ipaddress.ip_address(address)
        if ip.version == 4:
            _sock = ServerContext(srv_conf).wrap_socket(
                socket.socket(socket.AF_INET, socket.SOCK_DGRAM),
            )

        elif ip.version == 6:
            _sock = ServerContext(srv_conf).wrap_socket(
                socket.socket(socket.AF_INET6, socket.SOCK_DGRAM),
            )
    except ValueError:
        print(f"The address '{address}' is not a valid IP address.")

    _enable_debug_output(_sock.context)
    _set_debug_level(2)

    _sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
    _sock.bind((address, port))

    sockets = [_sock]

    while True:
        ready_to_read, _, _ = select.select(sockets, [], [])

        for sock in ready_to_read:
            if sock is _sock:
                assert _sock
                conn, addr = _sock.accept()

                print("Connection from: ", addr)
                # random_cookie = generate_random_ascii(10)

                conn.setcookieparam(addr[0].encode("ascii"))
                # conn.setcookieparam(random_cookie)

                try:
                    with suppress(HelloVerifyRequest):
                        conn.do_handshake()
                except Exception as e:
                    print("Handshake 1 Exception: ", e)
                    print("Error type = ", type(e))

                _, (conn, addr) = conn, conn.accept()
                _.close()

                conn.setcookieparam(addr[0].encode("ascii"))
                # conn.setcookieparam(random_cookie)

                try:
                    conn.do_handshake()
                except Exception as e:
                    print("Handshake 2 Exception: ", e)
                    print("Error type = ", type(e))
                    continue

                sockets.append(conn)

            else:
                data, client_address = sock.recvfrom(4096)
                print("From:", client_address, "Received data:", data)
                msg = "srv_"+data.decode("utf-8")+" "+str(datetime.datetime.now())
                sock.send(msg.encode("utf-8"))

srv_address = ("<IP_ADDRESS>", 9000)

conf = DTLSConfiguration(
    pre_shared_key_store={'Client_identity': b'SECRET'},
    validate_certificates=False,
    handshake_timeout_min=99999,
    handshake_timeout_max=99999,
)

stop_event = threading.Event()

while True:
   is_server_alive = run_dtls_server(conf, address=srv_address[0], port=srv_address[1])
   if is_server_alive is False:
       print("Server was crached, restarting...")

Client-side code:
from __future__ import annotations

import socket
import time
from mbedtls.tls import DTLSConfiguration
import ipaddress

from mbedtls._tls import _enable_debug_output, _set_debug_level  # type: ignore
from mbedtls.exceptions import TLSError
from mbedtls.tls import (
    ClientContext,
    DTLSConfiguration,
)

def run_dtls_client(
    cli_conf,
    srv_address: str,
    srv_port: int,
    srv_hostname,
    cli_address = "<IP_ADDRESS>",
    cli_port = 4000,
    ):
    try:
        ip = ipaddress.ip_address(cli_address)
        if ip.version == 4:
            _sock = ClientContext(cli_conf).wrap_socket(
                socket.socket(socket.AF_INET, socket.SOCK_DGRAM),
                server_hostname=srv_hostname,
            )
        elif ip.version == 6:
            _sock = ClientContext(cli_conf).wrap_socket(
                socket.socket(socket.AF_INET6, socket.SOCK_DGRAM),
                server_hostname=srv_hostname,
            )

    except ValueError:
        print(f"The address '{cli_address}' is not a valid IP address.")

    _sock.bind((cli_address, cli_port))
    _sock.connect((srv_address, srv_port))

    _enable_debug_output(_sock.context)
    _set_debug_level(2)

    _sock.do_handshake()

    while True:
        _sock.send(b"client1_data")
        incoming_data = _sock.recv(4096)
        print(f"Client received: {incoming_data}")
        time.sleep(1)

dtls_cli_conf = DTLSConfiguration(
    pre_shared_key=('Client_identity', b'SECRET'),
    validate_certificates=False,
    handshake_timeout_min=99999,
    handshake_timeout_max=99999,
    ciphers=["TLS-PSK-WITH-AES-256-CCM"],
)

srv_address = ("<IP_ADDRESS>", 9000)

run_dtls_client(
    cli_conf=dtls_cli_conf,
    cli_address="<IP_ADDRESS>",
    cli_port=4000,
    srv_address=srv_address[0],
    srv_port=srv_address[1],
    srv_hostname="localhost",
)

Thank you for your feedback.
The "record from another epoch" message indeed comes from https://github.com/Mbed-TLS/mbedtls/blob/development/library/ssl_msg.c#L3678-L3684 and the corresponding comment mentions that this should be handled in the caller.
I'll have to look into this. Also note that I'd gratefully accept a PR as well.

@derhex3r: Thank you for your contribution again! I've been thinking about this. As the code I've quoted above shows, there is not way to rise this error to Python as it doesn't even leave the C function where it's been generated. I wouldn't know how to handle it in my TLSWrappedSocket either as the socket already does what it's supposed to do, transparently.
I think the handling for this use case has to occur in user code, that is, the server you write using these libraries.
In the present case, the server should just close and reset the TLSWrappedSocket or TLSWrappedBuffer.

Thanks!
Do I understand that right that if I will just TLSWrappedSocket I will lose gotten ClientHello message?
Do you have some ideas about how can I establish a new TLSWrappedSocket with this ClientHello message if I will just close the old one?

Unless I misunderstood, the best is to reset the connection and restart the handshake.


jenkins and git

i am unable to get code from git .i am getting following error
log (1).txt

can u please verify POM.xml file in your code. It is mandatory to be present.

Have you installed java?

Hope this resolves your issue!
https://stackoverflow.com/questions/46232906/git-clone-error-rpc-failed-curl-56-openssl-ssl-read-ssl-error-syscall-errno

Is this done ?

yes sir,i seached in web and resolved my problem.it is due to slow internet connection.thank you


add lil sapos

Listing lil sapos. This is the first batch from the public mint, we will update once it's complete.


std-duration feature doesn't work

When I try to run the build with --all-features, compilation fails:
cargo build --all-features
   Compiling tachyonfx v0.9.0-dev (/home/veetaha/dev/tachyonfx)
error[E0308]: mismatched types
   --> src/fx/glitch.rs:104:78
    |
104 |         self.glitch_cells.iter_mut().for_each(|cell| Self::update_cell(cell, last_frame_ms));
    |                                                      -----------------       ^^^^^^^^^^^^^ expected `u32`, found `u128`
    |                                                      |
    |                                                      arguments to this function are incorrect
    |
note: associated function defined here
   --> src/fx/glitch.rs:66:8
    |
66  |     fn update_cell(cell: &mut GlitchCell, last_frame_ms: u32) {
    |        ^^^^^^^^^^^                        ------------------
help: you can convert a `u128` to a `u32` and panic if the converted value doesn't fit
    |
104 |         self.glitch_cells.iter_mut().for_each(|cell| Self::update_cell(cell, last_frame_ms.try_into().unwrap()));
    |                                                                                ++++++++++++++++++++

For more information about this error, try `rustc --explain E0308`.
error: could not compile `tachyonfx` (lib) due to 1 previous error

The problem is that std duration returns u128 in as_millis

thanks; fixed now. are you using std-duration? if so, i can publish a new release.


adding 4.2-std

:warning: DO NOT MERGE YET :warning:

Merging so I can continue to work on #137

Oops, we forgot to update README.md and .travis.yml files


Change debase to datadog

What does this PR do?
This PR replaces the debase keyword with datadog.
Motivation
We are updating the original forked gem debase-ruby_core_source to the new datadog-ruby_core_source gem.
Additional notes:
This PR is another step (after #2 ) toward the overall project goal of creating a new datadog-ruby_core_source gem. See here for more info on the project.

The contents here LGTM :+1:


update readme

run specific versions of node. And chown /opt/mage to your normal user. not root.

Pull Request Test Coverage Report for Build 1416

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 52.951%

Totals

Change from base Build 1178:
0.0%

Covered Lines:
2887

Relevant Lines:
5116

💛  - Coveralls


Fix removeEventListener patch

Fix a case where the event handler is not removed when the event handler
function is used to handle multiple events on the same element.

@btford this lgtm, what do you think ?

yep, LGTM

Maybe one small improvement would be to clear the obj entry when a listener gets removed

merged via #96


[Request] Food option

would it be possible to add a food option to auto-gather list? So it wouldn't go off for anything i gather but for a specific list, it'll check food buff and use food prior to gathering as needed. Sorry if this already exists as an option, i haven't seen anything for it.

You can set food for different node types or item types or item levels under Config Presets tab.

You can set food for different node types or item types or item levels under Config Presets tab.

oh ok, i'll give that a shot. tyvm


Add mage target for ensuring git config

What type of PR is this?
/kind feature
What this PR does / why we need it:
This is required in order to switch the pull-release-sdk-test job to the k8s-ci-builder image. release-sdk tests expect that git has name and email configured, so commits can be created.
This was configured out of the box in the releng-ci image which we use right now, but it is not configured in the k8s-ci-builder image. I find it risky to configure this out of the box in the k8s-ci-builder image because that image is used in various places (including our release pipeline). Instead, I want to extend the Test target in the release-sdk repo to do that if needed.
Which issue(s) this PR fixes:
Required for https://github.com/kubernetes/test-infra/pull/25127 and https://github.com/kubernetes-sigs/release-sdk/issues/24
Special notes for your reviewer:
NB: this is required because we want to use dind (docker-in-docker) for integration tests for the sign package (https://github.com/kubernetes-sigs/release-sdk/issues/24).
Does this PR introduce a user-facing change?
Add mage target for ensuring git config

/assign @saschagrunert @cpanato @puerco @justaugustus
cc @kubernetes-sigs/release-engineering

ref: https://github.com/kubernetes/test-infra/pull/25127#issuecomment-1031930170

A possible alternative to this approach is to extend the releng-ci image with dind support. I thought it’s better to use k8s-ci-builder to avoid duplicating scripts across images, and to keep the releng-ci image smaller.
Creating git config before running tests makes sense to me because those tests can’t work without the git config.

@puerco All comments should be addressed now, PTAL.

/unhold


Allow buildpack versions in builder.toml and validate them

We should enforce that the buildpack ID in the builder.toml matches the buildpack's own buildpack.toml ID too, though this could be a separate story

@ameyer-pivotal I think we already validate the ID https://github.com/buildpack/pack/blob/master/create_builder.go#L64-L66

@ameyer-pivotal @ekcasey What is the scope of this story?  Just to validate when creating the builder that the specified version exists at the specified id?  If so it passes, but are there any other cases?

@mgibson1121 This story adds an optional version field next to the id field for a buildpack in the builder.toml (top-level buildpacks, not those within groups [they already have a version field]).
If omitted, does nothing.
If version supplied, it must match version inside buildpack's builder.toml file. You should see an error if they mismatch. Hope that helps. Let me know if you run into any trouble :)

@ameyer-pivotal Based on your comment, I would expect the following create-builder command to fail when it runs against the following builder, but it succeeds:
y-floater-5895:builder pivotal$ cat builder-6.toml
description = "This builder is the best"

[[buildpacks]]
id = "org.cloudfoundry.buildpacks.npm"
uri = "https://github.com/cloudfoundry/npm-cnb/releases/download/v0.0.7/npm-cnb-0.0.7.tgz"

[[buildpacks]]
id = "org.cloudfoundry.buildpacks.nodejs"
version = "1231232131233123"
uri = "https://github.com/cloudfoundry/nodejs-cnb/releases/download/v0.0.6/nodejs-cnb-0.0.6.tgz"

[[groups]]
  [[groups.buildpacks]]
    id = "org.cloudfoundry.buildpacks.nodejs"
    version = "0.0.6"

  [[groups.buildpacks]]
    id = "org.cloudfoundry.buildpacks.npm"
    version = "0.0.7"

[stack]
id = "io.buildpacks.stacks.bionic"
build-image = "gcr.io/cncf-buildpacks-ci/packs/build:0.2.0-build.9"
run-image = "gcr.io/cncf-buildpacks-ci/packs/run:0.2.0-build.9"

[lifecycle]
uri = "file:///Users/pivotal/Downloads/lifecycle-v0.2.0-build.14+linux.x86-64.tgz"
version = "v0.2.0"

Moving back to in progress because of the above.

@mgibson1121 we ran pack on the provided builder.toml and we did get the error:
ERROR: buildpack from URI 'https://github.com/cloudfoundry/nodejs-cnb/releases/download/v0.0.6/nodejs-cnb-0.0.6.tgz' has version '0.0.6' which does not match version '1231232131233123' from builder config

Maybe we can sync up and figure out what's wrong?

Didn't install the latest version of pack correctly, triggering the behavior for a previous pack release.  This story passes acceptance.

done on master, will ship in v0.3.0


🪲[Bug]: Fix adopt.html

Describe the bug

Its unordered and mismatched.
Additional context
I can align the text and section it properly. Kindly assign me this issue.

bro it looks good to me, can you describe the specificities?

Go for it

@akshitagupta15june Pls assign this under GSSOC'24

@akshitagupta15june i wants work on it can you please assign it to me also

I hope you're doing great! As a SSOC contributor, I'm keen on ramping up my involvement for SSOC'24. Could you please assign this issue to me? I'm excited to continue contributing to the project. Thanks a bunch!


feat(locale): add zh_Hans locale

Summary

This PR provides zh_Hans locale support for Netlify CMS, improving the ux of users from Mainland China.
The translation might need further refinements. As I gain more experience using Netlify CMS, I will make some improvements to the translation and send another PR :)
Test plan

Setup local development environment
In dev-test/config.yml, add locale: zh_Hans
Run yarn start

A picture of a cute animal (not mandatory but encouraged)

Image by Milada Vigerova on unsplash.com

Rebased in https://github.com/netlify/netlify-cms/pull/5132


Update cookbook to follow DM multi-band processing docs

The first recipe in the cookbook needs to be consistent with, and refer to:
http://doxygen.lsst.codes/stack/doxygen/x_masterDoxyDoc/pipe_tasks_multi_band.html

This issue was moved to LSSTDESC/ImageProcessingPipelines#13


fix: modify the css class of the two network buttons in profile perceptor to avoid be truncated

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

Related issues:

fix #478

Details

After removing several classes, everything seems good:

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA

Others

/approve


feat(ui): Establishing a New Connection in Connect Wallet

Description

Establishing a new connection in Connect Wallet.
Fix UI style for edit identifier modal

Checklist before requesting a review
Issue ticket number and link

[x] This PR has a valid ticket number or issue: DTIS-822

Testing & Validation

[x] This PR has been tested/validated in IOS, Android and browser.
[x] The code has been tested locally with test coverage match expectations.
[x] Added new Unit/Component testing (if relevant).

Security

[x] No secrets are being committed (i.e. credentials, PII)
[x] This PR does not have any significant security implications

Code Review

[x] There is no unused functionality or blocks of commented out code (otherwise, please explain below)
[x] In addition to this PR, all relevant documentation (e.g. Confluence) and architecture diagrams (e.g. Miro) were updated

Design Review

[x] If this PR contains changes to the UI, it has gone through a design review with UX Designer or Product owner.
[x] In case PR contains changes to the UI, add some screenshots to notice the differences

IOS
https://github.com/cardano-foundation/cf-identity-wallet/assets/162310763/80ea7fac-f444-42bd-9cdd-45542c60538c

Android
https://github.com/cardano-foundation/cf-identity-wallet/assets/162310763/9a1546dc-8a34-446f-9688-69f5838a4ed5

Browser
https://github.com/cardano-foundation/cf-identity-wallet/assets/162310763/39841d60-879b-4bc1-a27d-ce605efb6d7f

Disable confirm when pid input empty. This commit not update UI then I think I should capture
https://github.com/cardano-foundation/cf-identity-wallet/assets/162310763/e28fe549-53ef-4667-b177-d77498a7418e


Namespace automated import of objects

When creating projects in namespaces it would be nice to be able to store the namespace (flat text) and the namespace repair license (encrypted) into the .abapgit.xml.
When importing the repository into a customer system abapGit should then be able to do following things automatically:

Create / Update namespace (Table TRNSPACE)
Decrypt repair license
Insert the decrypted repair license
Switch the namespace to modifiable
Import the objects
Switch the namespace to not modifiable
Remove the repair license

This is a nice to have off course, but would really simplify the import of new versions at customer side. (Without intervention of the people/company who developed the solution and without leaving the repair license in the customer system)

yeah
what are your thoughts on encryption? I have implemented DES, see https://github.com/larshp/abapNTLM/blob/master/src/zcl_des.clas.abap which is symmetric. There is also https://github.com/Sumu-Ning/AES which is stronger but it will introduce a project dependency if using this feature.

I think DES should be enough, the main idea about the encryption is that the repair license is not readable for regular users. (Just to prevent that the license can be copy-pasted, so introducing a dependency would be overkill)
Three other things I would also include would be:

In the producer system (TRNSPACE-ROLE = P) when commiting changes to the repository, automatically extract the namespace data and repair license
Extract namespace(s) based on objects in the repository (It might be that multiple namespaces are used in one package. Chance of this happening would be really small I guess, but might be better to foresee this logic right away)
Namespace(s) should only be changed if the system in which the data is imported is not a producer system for the namespace(s) imported

I would like to help introduce this new feature, but have still need to do a debugging session in the project to understand the main abapGit logic / structure. Any suggestions on a starting point? (e.g. some technical documentation available somewhere?)

technical doc: no. I would like to add more structure to the abapGit code, but it requires https://github.com/larshp/abapGit/issues/773

also hopefully https://github.com/Sirius-A/abap-doc-export can be used in the future to provide more technical documentation

Sounds great! I'll try to dive into the project and have a look at how we can fit in above features.

cool, suggest implementing this in small steps, dont worry about breaking stuff, we break and fix things fast
😄

I definitely agree with implementing these requirements in small steps! Had a debugging session yesterday and think I have an idea on where we can export the namespaces to the XML file.
I'll have to move attached code block after the TADIR loop and add the namespaces before serializing the .abapgit.xml file.

First step I had in mind was to just export the namespace data to the XML file. (next step will be importing them)

The user has to manually create the package before being able to clone the repository.
Regarding encryption, at some point in time the real key would be registered in the system, so the encryption is just a false sense of security?

Repair license: is to avoid customers changing the code, however with git its quite easy to tell if the customer changed something.

I've never created custom namespaces so when I wanted to import objects with custom namespace I couldn't understand why I was getting error. If this feature is still on hold, can you make some check if custom namespace does exist in the system and then if not, inform user that objects can't be imported?

3 part solution coming up:

[ ] Warning, if namespace does not exist locally
[ ] Object class for namespaces (will serialize and update namespaces, but does not create them)
[ ] Automatic creation of namespaces, if they do not exist

Repair license will be unencrypted since it's a) required to create objects and b) visible in table trnspace during any process which would create/update objects.
Auto-create based on the serialized namespace will take a bit longer since some refactoring of zcl_abapgit_objects=>deserialize will be required, first.

3 part solution coming up:

[ ] Warning, if namespace does not exist locally
[ ] Object class for namespaces (will serialize and update namespaces, but does not create them)
[ ] Automatic creation of namespaces, if they do not exist

Repair license will be unencrypted since it's a) required to create objects and b) visible in table trnspace during any process which would create/update objects.
Auto-create based on the serialized namespace will take a bit longer since some refactoring of zcl_abapgit_objects=>deserialize will be required, first.

Closing this. The only thing missing will be handled via #4505


Add my first file

I have created my first branch and I've added my first file.

My first comment


Improvement/namnx228 download 1 place

This is the fix for RHEL8 and Ubuntu errors. Please merge it.
/test-integration

Can one of the admins verify this patch?


A draft proposal for a CLI tool

A draft proposal to tackle #2946
Hey everyone!
I have recently learnt about CAS and OpenEBS. I'm new to Cloud-Native development but even I can see that OpenEBS is a great solution for containerized applications to store their data.
I saw the issue on the Community Bridge ideas page and would love to help with the development of a CLI tool in any way possible. I have scraped together a draft proposal for the same. In the next few days, I shall try my best to refine it to bring it up to a good standard as well as maybe implement one or two commands for the same.
In the meanwhile, I would love some review so that I can understand if I am thinking in the right direction.
Please forgive me for my mistakes, I probably have made quite a few.
Looking forward to your comments,
thanks & regards,
vani
Signed-off-by: Vani Singh<EMAIL_ADDRESS>

Hey @vaniisgh

In the proposed usage section, you have mentioned kubectl openebs. I think the project requires it's own binary since kubectl maintainers won't be adding support for external projects.
In the implementation proposed, you've used spf13/cobra. Can you take a look at this? It provides features to load json/yaml files and some other features out of the box that I believe will be useful. What do you think?

Hey @harshthakur9030

the project should, of course, have its own binary, it is intended to be used as a plugin, I thought it could be installed using a simple curl command then the can be added to the user's path variable,  hence shouldn't need added support from kubectl. ( It could also be installed as a helm package ?)
Thanks for the suggestion I will check CLI v2 manual out :) actually, I have used cobra before and simply thought i'd use it because I have seen the mayactl, as well as a few other CLI tools, use it and thought it would fulfill all the requirements :)

I am pretty new to all this so do correct me if I am wrong :)

Thanks for replying.

Would it not be simpler to just use the binary name instead of prepending it with kubectl? As for helm, it is to be used to install components inside a cluster. I guess the idea is to install openebs components with just one binary and assume users might not have helm.
Sure.
I am new to this too. :)

it seems simpler only for some operations like say installing OpenEBS and onto a cluster and then the intended usage to install a default configuration onto an empty cluster could be :
 openebs install | kubectl apply -f -
but at the end of the day, it is a kubectl plugin, it will leverage kubectl in some operations say to upgrade a volume, or to monitor a volume.
It needs to be a one-stop solution to all the user's needs when it comes to OpenEBS.

as for the helm chart, OpenEBS exists as helm chart already, So the CLI plugin will probably be shipped in it.

Of-course I am still working on the proposal ... I will try to sort this out in my next commit.
this is just my understanding at the moment, I will need to read more and update the proposal to make things clearer :)
thanks again for taking the time to go through it :)

Thanks for sharing, I didn't know about the plugin ecosystem around kubectl. . Now that I've read a bit about it, plugin does seem the better option.

Thanks for your time & review :)
feedback is always invaluable :)

After looking at a few projects like openfaas, the installation part is better handled by Helm or Arkade and if need be people can use the operator yaml. The idea of plugin architecture is nice and I found folks at knative have built their client whose design we can follow. CLI created  can warn users when they're not on latest version and suggest to upgrade using package managers. What are your thoughts? @vaniisgh  @kmova


Fixes "NoMethodError: undefined method `pointer'" for custom keyword

I know that this feature is not described in the README file, but I came across the keywords option when navigating through the src code. This option is really helpful for my current project.
However, when we try to pass custom validators through this, we get "NoMethodError: undefined method 'pointer'".
Probably this is old code, that never got updated since the instance object does not contain that method anymore.
I took the liberty of passing the complete instance to the callable since it helps with the validation itself.

The tests are failing in master branch also

Made the requested change. Could you review it again, @davishmcclurg . Thanks.

Thanks @nunonamorado! Released in 0.2.16

Thank you 🙏


Explicitly specify return types for 3 public functions

This is just a little API cleanup.
Most importantly, createIonElementLoader used to have its return type implicitly defined and by accident it was IonElementLoaderImpl when it should have been IonElementLoader.
The return types of the other functions were implicitly AnyElement, but this should be explict for best practices, so I specified their return types as well.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #66 (5cc0ab6) into master (9237271) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master      #66   +/-   ##
=========================================
  Coverage     86.70%   86.70%
  Complexity      368      368
=========================================
  Files            30       30
  Lines           737      737
  Branches         72       72
=========================================
  Hits            639      639
  Misses           65       65
  Partials         33       33

Impacted Files
Coverage Δ

src/com/amazon/ionelement/api/IonElementLoader.kt
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


properly assign struct member

Looks good.

@LorenzMeier Any idea why travis is not happy?

You need to check the Travis log. If there is any mention about connection or download issues just restart it.


Feature Request: Popup/Input component for passwords

It would be great to have some variant of Popup/Input displaying some prompt and without echoing the user input.

Can you try this and see if it works?
vim.api.nvim_buf_call(input.bufnr, function()
  vim.cmd([[
    setlocal conceallevel=2
    setlocal concealcursor=nvi
    syn region PasswordValue start=/^/ms=s+2 end=/$/ contains=PasswordChar
    syn match PasswordChar /./ contained conceal cchar=*
  ]])
end)

You can remove the cchar=* part to completely hide the characters.

Wow that was a fast answer :) Yep works great. Thx.
Are you going to add this as an option to nui.nvim?

I don't want to add it in the library for now.
But added this in the wiki: https://github.com/MunifTanjim/nui.nvim/wiki/nui.input
I hope that helps.

@d1saster Now it's possible for you to have a SecretInput component in your project. I updated the wiki page with the guide for that: https://github.com/MunifTanjim/nui.nvim/wiki/nui.input#secretinput-component


Modus Side Nav - Wider Variant

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the Modus style guidelines

Proposal
References:
Side Nav submission by E-builder
Motivation and context
No response
What is the issue regarding ?
@trimble-oss/modus-web-components
Priority
Medium
What product/project are you using Modus Components for ?
modus
What is your team/division name ?
modus
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

Waiting for Daphnee and @egunther39 on percentage

Requested by Kate VanderPloeg

waiting for Randall

The issue has been added to the backlog due to inactivity.


attest succeeds in emiting instantiation count despite

Report a bug
This is more of a question, rather than a bug per se.
Since attest uses the tsconfig defined in the project it's called from, I would expect a TS compilation error to throw / not emit an instantiation count when "noEmitOnError": true is set in the tsconfig.
I'm guessing this is a side-effect of how the checker works in tsvfs vs. an implementation detail of the attest library, but do you know if there's a way to surface an error in this case? Please see repro below.
🔎 Search Terms

attest noEmitOnError
attest error

🧩 Context

ArkType version<EMAIL_ADDRESS>TypeScript version (4.8+): 5.3.3

🧑💻 Repro
import { bench } from '@arktype/attest';

bench('wrong type', () => {
  const shouldBeNumber: number = 'string'
}).types()

Running this benchmark emits:
🏌 Result: 0instantiations
📸  Established baseline 'wrong type' at [0,"instantiations"]

tsconfig:
{
  "compilerOptions": {
    "target": "ES2022",
    "module": "NodeNext",
    "moduleResolution": "NodeNext",
    "lib": ["ES2022"],
    "allowJs": false,
    "skipLibCheck": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "esModuleInterop": true,
    "resolveJsonModule": true,
    "noEmitOnError": true
  }
}

I wouldn't consider noEmitOnError inherently related to attest's snapshots, but I can imagine a setting like typeCheckBenches to be useful.
Would you be interested in contributing it to the 2.0 branch and I could release directly? Otherwise will add it to the backlog.
https://github.com/arktypeio/arktype/tree/2.0/ark/attest#readme

I'd be happy to contribute. I'm assuming we'd want to expose it as a config param in setup?

Also, feel free to re-label this as a feature req, instead of a bug.

Yeah honestly the current config implementation is pretty janky but it should be clear enough where that would go so that it's available via setup, or can be read from a CLI arg or environment variable.
There should be some reusable utilities you can use to make that happen. Then you'd want to check for that setting in ark/attest/bench/type.ts. If it's there, you'll want to use something similar to the getDiagnostics API we use for attest assertions, the main difference being we wouldn't want to error if the diagnostics are ignored with a comment. There should be another TS API for this (I think getSemanticDiagnostics?).

The only reason I'm a bit hesitant to say this should be the default is that it can be useful to benchmark how expensive certain failing scenarios are, especially those that might cause infinite recursion in the type system.

Agree on the usefulness of both modes. We're a bit swamped right now, but I'll do my best to put together a PR in the next couple of weeks.

Doing a bit of cleanup and on reflection, I've decided doing type checking for benches feels like a separation of concerns violation. If there are type errors in your files, they should fail at some other point (like type-checking).


Using code-transformer on c++ code

Hello, I'm currently working on clustering some competitive programming code based on the algorithm used and I would like to know if I could use your model to predict method's names. Couldn't find anything cpp related.
Thanks ! Have a good day !

Hi,
thank you for your interest in the Code Transformer.
The model itself is language-agnostic and thus is applicable to C++.
However, we did not perform any experiments for that language, i.e., the preprocessing is not adapted to it.
The crucial part is the parsing of ASTs from C++ source code.
As the AST parser that we used for our experiments, semantic, does not currently support C++, one would have to integrate a separate C++ AST parser into the preprocessing for the Code Transformer (similar to how we did it for Java, which is also not fully supported by semantic).
This is certainly possible, but requires some work.
First, you need to employ a C++ AST Parser to get syntactic information out of C++ code snippets. I guess, cppast could work.
The AST Parser should meet the following requirements:

Every node should have a node type
Every node should point to the original source code lines that it refers to. E.g., for an IFStatement node we need the exact lines where this if statement appears in the source code file

Then, to reuse the remaining of our preprocessing pipeline (i.e., the calculation of graph distances), the AST needs to be provided in a specific format. To be precise, each code snippet has to be processed into a CTStage1Sample (see source).
Basically, the following fields have to be provided:

tokens: list containing the result of tokenizing the source code snippet
ast: The AST obtained from using a C++ AST parser
token_mapping: maps each token to a node in the AST (that's why we need the lines in the original source code)
stripped_code_snippet: Code snippet with comments etc. removed
func_name: The name of the actual method

The AST itself is represented in a simple graph format (see ASTGraph  and ASTNode).
This should be sufficient to use the CodeTransformer on C++ methods.
I hope this helps.
If you do end up integrating a C++ AST parser into the preprocessing pipeline, do come back to us. It would be great to add the integration to the repository in this case ;)
Best,
Tobias


why num_head=1?

For multi-head attention module, why you set num_head=1 according to args in main.py? then it is not using multi-head structure of the attention block, is it?
Thanks,

Please refer to the paper. We found that multi-head doesn't improve the performance in out case.


@conda-forge-admin, please add user @chiiizzzy

add maintainer

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added user @chiiizzzy in conda-forge/towhee-feedstock#2.