[boost-build] Build error

How do I solve the following issue when installing packages on Windows 10 x64?
C:\src\vcpkg>vcpkg install pcl:x64-windows
Computing installation plan...
The following packages will be built and installed:
  * boost-algorithm[core]:x64-windows -> 1.78.0
  * boost-align[core]:x64-windows -> 1.78.0
  * boost-any[core]:x64-windows -> 1.78.0
  * boost-asio[core]:x64-windows -> 1.78.0
  * boost-atomic[core]:x64-windows -> 1.78.0
  * boost-bimap[core]:x64-windows -> 1.78.0
  * boost-build[core]:x64-windows -> 1.78.0#1
  * boost-chrono[core]:x64-windows -> 1.78.0
  * boost-circular-buffer[core]:x64-windows -> 1.78.0
  * boost-container[core]:x64-windows -> 1.78.0
  * boost-container-hash[core]:x64-windows -> 1.78.0
  * boost-context[core]:x64-windows -> 1.78.0
  * boost-conversion[core]:x64-windows -> 1.78.0
  * boost-coroutine[core]:x64-windows -> 1.78.0
  * boost-date-time[core]:x64-windows -> 1.78.0
  * boost-detail[core]:x64-windows -> 1.78.0
  * boost-dynamic-bitset[core]:x64-windows -> 1.78.0
  * boost-endian[core]:x64-windows -> 1.78.0
  * boost-exception[core]:x64-windows -> 1.78.0
  * boost-filesystem[core]:x64-windows -> 1.78.0
  * boost-foreach[core]:x64-windows -> 1.78.0
  * boost-format[core]:x64-windows -> 1.78.0
  * boost-function[core]:x64-windows -> 1.78.0
  * boost-function-types[core]:x64-windows -> 1.78.0
  * boost-functional[core]:x64-windows -> 1.78.0
  * boost-fusion[core]:x64-windows -> 1.78.0
  * boost-graph[core]:x64-windows -> 1.78.0
  * boost-integer[core]:x64-windows -> 1.78.0
  * boost-interprocess[core]:x64-windows -> 1.78.0
  * boost-intrusive[core]:x64-windows -> 1.78.0
  * boost-io[core]:x64-windows -> 1.78.0
  * boost-iostreams[bzip2,core,lzma,zlib,zstd]:x64-windows -> 1.78.0#2
  * boost-iterator[core]:x64-windows -> 1.78.0
  * boost-lambda[core]:x64-windows -> 1.78.0
  * boost-lexical-cast[core]:x64-windows -> 1.78.0
  * boost-math[core]:x64-windows -> 1.78.0
  * boost-modular-build-helper[core]:x64-windows -> 1.78.0#3
  * boost-move[core]:x64-windows -> 1.78.0
  * boost-mp11[core]:x64-windows -> 1.78.0
  * boost-mpl[core]:x64-windows -> 1.78.0
  * boost-multi-array[core]:x64-windows -> 1.78.0
  * boost-multi-index[core]:x64-windows -> 1.78.0
  * boost-numeric-conversion[core]:x64-windows -> 1.78.0
  * boost-optional[core]:x64-windows -> 1.78.0
  * boost-parameter[core]:x64-windows -> 1.78.0
  * boost-phoenix[core]:x64-windows -> 1.78.0
  * boost-pool[core]:x64-windows -> 1.78.0
  * boost-predef[core]:x64-windows -> 1.78.0
  * boost-property-map[core]:x64-windows -> 1.78.0
  * boost-property-tree[core]:x64-windows -> 1.78.0
  * boost-proto[core]:x64-windows -> 1.78.0
  * boost-ptr-container[core]:x64-windows -> 1.78.0
  * boost-random[core]:x64-windows -> 1.78.0
  * boost-range[core]:x64-windows -> 1.78.0
  * boost-ratio[core]:x64-windows -> 1.78.0
  * boost-rational[core]:x64-windows -> 1.78.0
  * boost-regex[core]:x64-windows -> 1.78.0
  * boost-serialization[core]:x64-windows -> 1.78.0
  * boost-signals2[core]:x64-windows -> 1.78.0
  * boost-smart-ptr[core]:x64-windows -> 1.78.0
  * boost-sort[core]:x64-windows -> 1.78.0
  * boost-spirit[core]:x64-windows -> 1.78.0
  * boost-system[core]:x64-windows -> 1.78.0
  * boost-thread[core]:x64-windows -> 1.78.0
  * boost-tokenizer[core]:x64-windows -> 1.78.0
  * boost-tti[core]:x64-windows -> 1.78.0
  * boost-tuple[core]:x64-windows -> 1.78.0
  * boost-type-index[core]:x64-windows -> 1.78.0
  * boost-typeof[core]:x64-windows -> 1.78.0
  * boost-unordered[core]:x64-windows -> 1.78.0
  * boost-utility[core]:x64-windows -> 1.78.0
  * boost-uuid[core]:x64-windows -> 1.78.0
  * boost-variant[core]:x64-windows -> 1.78.0
  * boost-variant2[core]:x64-windows -> 1.78.0
  * boost-winapi[core]:x64-windows -> 1.78.0
  * boost-xpressive[core]:x64-windows -> 1.78.0
  * bzip2[core]:x64-windows -> 1.0.8#2
  * eigen3[core]:x64-windows -> 3.4.0#2
  * flann[core]:x64-windows -> 2019-04-07#5
  * liblzma[core]:x64-windows -> 5.2.5#5
  * libpng[core]:x64-windows -> 1.6.37#16
  * lz4[core]:x64-windows -> 1.9.3#3
    pcl[core]:x64-windows -> 1.12.0#6
  * qhull[core]:x64-windows -> 8.0.2#3
  * zlib[core]:x64-windows -> 1.2.12
  * zstd[core]:x64-windows -> 1.5.2#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...
Restored 23 packages from C:\Users\fabia\AppData\Local\vcpkg\archives in 1.837 s. Use --debug to see more details.
Starting package 1/86: boost-build:x64-windows
Building package boost-build[core]:x64-windows...
-- Using cached boostorg-build-boost-1.78.0.tar.gz.
-- Cleaning sources at C:/src/vcpkg/buildtrees/boost-build/src/ost-1.78.0-7f806436df.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/src/vcpkg/downloads/boostorg-build-boost-1.78.0.tar.gz
-- Applying patch 0001-don-t-skip-install-targets.patch
-- Applying patch 0002-fix-get-version.patch
-- Using source at C:/src/vcpkg/buildtrees/boost-build/src/ost-1.78.0-7f806436df.clean
-- Using cached boost_LICENSE_1_0.txt.
-- Using cached boost-1.78.0-boostcpp.jam.
-- Installing: C:/src/vcpkg/packages/boost-build_x64-windows/share/boost-build/copyright
-- Bootstrapping...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
    Command failed: C:/src/vcpkg/packages/boost-build_x64-windows/tools/boost-build/bootstrap.bat msvc
    Working Directory: C:/src/vcpkg/packages/boost-build_x64-windows/tools/boost-build
    Error code: 1
    See logs for more information:
      C:\src\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-out.log
      C:\src\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-err.log

Call Stack (most recent call first):
  ports/boost-build/portfile.cmake:64 (vcpkg_execute_required_process)
  scripts/ports.cmake:145 (include)

error: building boost-build:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+boost-build
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[boost-build]+Build+error
including:
  package: boost-build[core]:x64-windows -> 1.78.0#1
    vcpkg-tool version: 2022-03-30-692785ac944e81417840c6de244fb3e18a4b35eb
    vcpkg-scripts version: aebb363ea 2022-04-15 (2 days ago)

Additionally, attach any relevant sections from the log files above.

See logs for more information:
C:\src\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-out.log
C:\src\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-err.log

The out.log shows:
Building the B2 engine..
Call_If_Exists "bin\VCVARS32.BAT"

Using 'msvc' toolset.

C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine>"cl" /nologo /MP /MT /TP /Feb2 /wd4996 /O2 /GL /EHsc   -DNDEBUG  builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp execnt.cpp execunix.cpp filent.cpp filesys.cpp fileunix.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathnt.cpp pathsys.cpp pathunix.cpp regexp.cpp rules.cpp scan.cpp search.cpp jam_strings.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp /link kernel32.lib advapi32.lib user32.lib
builtins.cpp
class.cpp
command.cpp
compile.cpp
constants.cpp
cwd.cpp
debug.cpp
debugger.cpp
execcmd.cpp
execnt.cpp
execunix.cpp
filent.cpp
filesys.cpp
fileunix.cpp
frames.cpp
function.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file builtins.cpp)
glob.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file class.cpp)
hash.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file compile.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file command.cpp)
hcache.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file constants.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file debug.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file cwd.cpp)
hdrmacro.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file execcmd.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file fileunix.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file filesys.cpp)
headers.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file frames.cpp)
jam.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file execunix.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file execnt.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file function.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file filent.cpp)
jamgram.cpp
lists.cpp
make.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file debugger.cpp)
make1.cpp
md5.cpp
mem.cpp
modules.cpp
native.cpp
object.cpp
option.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file glob.cpp)
output.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file hash.cpp)
parse.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file hcache.cpp)
pathnt.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file headers.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file hdrmacro.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file jam.cpp)
pathsys.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\md5.h(53): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory (compiling source file md5.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file jamgram.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file make.cpp)
pathunix.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file modules.cpp)
regexp.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file lists.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file mem.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file make1.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file option.cpp)
rules.cpp
scan.cpp
search.cpp
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file native.cpp)
jam_strings.cpp
startup.cpp
subst.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file object.cpp)
sysinfo.cpp
timestamp.cpp
variable.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file output.cpp)
w32_getreg.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file parse.cpp)
order.cpp
path.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file pathnt.cpp)
property-set.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file pathsys.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file regexp.cpp)
regex.cpp
sequence.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file pathunix.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file jam_strings.cpp)
set.cpp
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file rules.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file search.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file scan.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file subst.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file startup.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file timestamp.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file variable.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file sysinfo.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\jam.h(73): fatal error C1083: Cannot open include file: 'ctype.h': No such file or directory (compiling source file w32_getreg.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file modules/path.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file modules/order.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file modules/property-set.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine\modules../mem.h(14): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory (compiling source file modules/regex.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file modules/sequence.cpp)
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.31.31103\include\yvals.h(12): fatal error C1083: Cannot open include file: 'crtdbg.h': No such file or directory (compiling source file modules/set.cpp)
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine>dir *.exe
Volume in drive C is Windows
Volume Serial Number is D0CB-1FC3
Directory of C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine
C:\src\vcpkg\packages\boost-build_x64-windows\tools\boost-build\src\engine>copy /b .\b2.exe .\bjam.exe
Systemet finner ikke angitt fil.
Failed to build the B2 engine.
While err.log shows:
File Not Found

@fabianvakhidi  can you try the solutions in https://github.com/microsoft/vcpkg/issues/23986

@fabianvakhidi  ping~

We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.


cann't install bagisto

Bug report
Title
** I can not install with these command composer create-project bagisto/bagisto-standard**
Issue Description
** Problem 1
- Installation request for bagisto/bagisto v1.1.2 -> satisfiable by bagisto/bagisto[v1.1.2].
- bagisto/bagisto v1.1.2 requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 2
- Installation request for phpoffice/phpspreadsheet 1.13.0 -> satisfiable by phpoffice/phpspreadsheet[1.13.0].
- phpoffice/phpspreadsheet 1.13.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
Problem 3
- phpoffice/phpspreadsheet 1.13.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- maatwebsite/excel 3.1.18 requires phpoffice/phpspreadsheet ^1.10 -> satisfiable by phpoffice/phpspreadsheet[1.13.0].
- Installation request for maatwebsite/excel 3.1.18 -> satisfiable by maatwebsite/excel[3.1.18].
**
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version.
2. Commit id.

Steps to reproduce
It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.
1. step1
2. step2

Expected result
Tell us what should happen.

[Screenshots, logs or description]

Actual result

Tell us what happens instead.

[points....]

You need to install the PHP curl & zip extension
ext-curl
ext-zip

Thanks Bagisto/Bagisto. I solved.
On Thu, Oct 8, 2020 at 7:26 PM Glenn Hermans<EMAIL_ADDRESS>wrote:

You need to install the PHP curl & zip extension
ext-curl
ext-zip
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bagisto/bagisto/issues/4036#issuecomment-705548680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOWLIG5WBYKG4TMLP7PL5CDSJWZGJANCNFSM4SIW7V2Q
.


Use a standard js library to validate email signature.

@cybersiddhu is there any specific library you would suggest?

Do you have a short list that i can look at

These are few libraries I came across

Parsley
validate.js
validator.js (This one looks good)

Alright go for the one that looks good(the third one it seems).


how can i updated-scanning devices in Raspberry Pi 3?

Hi, i have some problem on my project.
when i start scan using StartDiscovery(); first time, it's fine.
but after that, remained devices(discovered when i scanned first time) are shown. and it's not updated.
how can i fix it?
i tried :

using bluetooth adapter.RemoveDevice(device); before scanning
var adapter = await bluetooth.getAdapter('hci0');
await adapter.RemoveDevice(remove); // it pulls error, String can't be accepted?

Did you find your answer?

no, i can't solve this issue. it was problem of bluez.
when bluez scan devices, it store information of scanned devices(dunno where it is).
so if i want update list, i have to clear that or wait for it(it takes 1-3mins. maybe)
so, i use another method(Wi-Fi connect) to do my job.

@woodencatty : What is the fix for this issue ?


⚠ Samsung has degraded performance

In ba85072, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3014 ms

Resolved: Samsung performance has improved in 7786cc2.


Added Receipt Generator

Issue Id you have worked upon -
#273
Briefly explain your program logic -
Added Receipt Genrator
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @anushka-srivastava22 on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.


Debugging Disappearing Crop Cloud

Description
Fixes #

What work was done? Cropcloud was missing a test folder and needed to keep story flow going.
Why was this work done? Cropcloud kept disappearing and needed to look at why it was doing such.
What feature / user story is it for?
Any relevant links or images / screenshots

Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[ ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[x] Incomplete/work-in-progress, PR is for discussion/feedback

Has This Been Tested

[x] Yes
[ ] No
[ ] Not necessary

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

Credit

Rocky Fierro
Greg Brewton
Christopher Amos

Great job debugging the HUD! Looks like very well-tested code.


Need powerful Expandable datatable.

Expandable datatable is a basic one, please check the Angular JS UI-GRID, the grid is very powerful. I am missing such a powerful grid in Angular.
http://ui-grid.info/

I think the Datagrid component has a lot of useful features that you are looking for. I don't know if it is exhaustive or not but I use it in production and it is an absolute beast, and a joy to work with.

You are absolutely correct for a datagrid but for an expandable grid, the features are not up to UI-GRID. Please browse the URL and check for the expandable grid.
http://ui-grid.info/docs/#!/tutorial/216_expandable_grid

The demo tutorial is not working for me ☹ . I might be misunderstanding your requirement but Datagrid has an expandable row feature. Is it not what you are looking for?

@nsksaisaravana
Based on my investigation of the provided link, it appears you want nested datagrids?
This plunkr shows how that can be done.


[Rendering] Original aspect ratio not respected, causing image distortion

Target Platforms
NodeJS
SDK Version
1.3
Application Name
Viva Connections
Problem Description
Image aspect ratio is not respected resulting in a distorted image. The source image below is 2048x1365px and embedding it on a person style clearly shows the distortion as seen in the screenshot
Screenshots

Card JSON
{
    "type": "AdaptiveCard",
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.3",
    "body": [
        {
            "type": "TextBlock",
            "text": "Image 2048x1365 - Persona 200x200px with background #333333",
            "wrap": true
        },
        {
            "type": "Image",
            "url": "https://news.microsoft.com/wp-content/uploads/prod/2020/02/SAKristiOdom4.jpg",
            "height": "200px",
            "selectAction": {
                "type": "Action.OpenUrl"
            },
            "width": "200px",
            "backgroundColor": "#333333",
            "style": "Person"
        }
    ]
}

Sample Code Language
No response
Sample Code
No response

Addressing this issue is not currently on our roadmap, so closing. Please feel free to continue the conversation in this issue for future consideration.


PHP 8.2 support

When I change the php-requirements of my project's composer.json to 8.2 and then run composer update i get a downgraded version of mini-asset (which then throws errors).
Downgrading markstory/mini-asset (1.11.0 => 1.9.1)
Would it be possible to change <8.2 to <=8.2?
https://github.com/markstory/mini-asset/blob/5b3f7d7876d3f7bd9377664208cc386341025e5f/composer.json#L20

Would it be possible to change <8.2 to <=8.2?

Probably. If CI configuration is updated, and tests pass I see no reason the compatible PHP version can't be updated.

Hi Mark,
I just tried to update to php 8.2
https://github.com/markstory/mini-asset/compare/master...mrothauer:mini-asset:master
Github Actions throws a psalm error, but I am not sure if it was caused by my changings
https://github.com/mrothauer/mini-asset/actions/runs/3850103365
[ParseError: vendor/laminas/laminas-diactoros/src/functions/marshal_headers_from_sapi.php#L29](https://github.com/mrothauer/mini-asset/commit/2689566dbbd0d1e3be67f909004a172273a3a34f#annotation_7713975583)
vendor/laminas/laminas-diactoros/src/functions/marshal_headers_from_sapi.php:29:18: ParseError: Syntax error, unexpected T_STRING, expecting T_PAAMAYIM_NEKUDOTAYIM on line 29 (see

BTW: There are a lot of deprecations due to Ubuntu 18.04, Ubuntu should be updated to 22.04

I've opened a pull request to add php 8.2 to the CI matrix. If you're looking for a 8.1+ only version of mini-asset the 2.x branch drops support for PHP7 and adds more native typehints.

Thank you. As the tests for 8.2 are ok, please don't forget to change the php-requirement in composer.json (see my first comment) before merging into master.
https://github.com/markstory/mini-asset/blob/5b3f7d7876d3f7bd9377664208cc386341025e5f/composer.json#L20

If you're looking for a 8.1+ only version of mini-asset the 2.x branch drops support for PHP7 and adds more native typehints.

I'm not using mini-asset directly, I'm using asset_compress. But as I see, I could use https://github.com/markstory/asset_compress/tree/5.x to get the 2.x branch of mini-asset.

Thank you!
#72


Drop (unused) vector of tuples unit test utility

@dalg24 Do you know when we stopped using it?

@dalg24 Do you know when we stopped using it?

I am too lazy to do more "archaeology" but it was superseded by the utilities introduced in #309

... and #318


Android works, but iOS 13.5.1 returns error code 1

Bug Report
Reading a file works on Android. It fails on iOS 13.5.1 with error code 1.
The code I'm using:
function getLocalFile(url, cb) {
	console.log("ATTEMPTING TO LOAD: ",cordova.file.applicationDirectory + "www/"+url);
	window.resolveLocalFileSystemURL(cordova.file.applicationDirectory + "www/"+url, function(fileEntry) {
		console.log(fileEntry);
		fileEntry.file(function(file) {
			var s = "";
			s += "name: " + file.name + "
";
			s += "localURL: " + file.localURL + "
";
			s += "type: " + file.type + "
";
			s += "lastModifiedDate: " + (new Date(file.lastModifiedDate)) + "
";
			s += "size: " + file.size + "
";
			console.log(s);
			var reader = new FileReader();
			reader.onloadend = function() {
				var fileContents = this.result;
				console.log("Successful file read: "+fileContents);
				if(cb) cb(fileContents);
			};
			reader.readAsText(file);
		});
	}, function(err) {
		console.log("File failed ", err);
		console.dir(err);
	});
}

Also works on Android, but fails on iOS:
function getLocalFile(url, cb) {

	resolveLocalFileSystemURL(cordova.file.applicationDirectory, function(entry) {
		console.log("Success! Got a app dir");
		console.log(entry);
		var nativeURL = entry.nativeURL;
		console.log("NATIVE URL IS ",nativeURL);

		console.log("ATTEMPTING TO LOAD: ",nativeURL + "www/"+url);
		window.resolveLocalFileSystemURL(nativeURL + "www/"+url, function(fileEntry) {
			console.log("FILE ENTRY INFORMATION IS: ");
			console.log(fileEntry);
			fileEntry.file(function(file) {
				var s = "";
				s += "name: " + file.name + "
";
				s += "localURL: " + file.localURL + "
";
				s += "type: " + file.type + "
";
				s += "lastModifiedDate: " + (new Date(file.lastModifiedDate)) + "
";
				s += "size: " + file.size + "
";
				console.log(s);
				var reader = new FileReader();
				reader.onloadend = function() {
					var fileContents = this.result;
					console.log("Successful file read: "+fileContents);
					if(cb) cb(fileContents);
				};
				reader.readAsText(file);
			});
		}, function(err) {
			console.log("File failed ################# ", err);
			console.dir(err);
		});

	}, function(error) {
		console.error("Something bad happened, and we didn't get a app dir");
	});

}

What is expected to happen?
Both platforms return same result.
What does actually happen?
Returns error code 1.
Environment, Platform, Device

Physical iPhone X, iOS 13.5.1
Version information
cordova-plugin 6.0.2
Phonegap 9
iOS 13.5.1
Xcode for building
Checklist

[x] I searched for existing GitHub issues
[x] I updated all Cordova tooling to most recent version
[x] I included all the necessary information above

hello, boy .
I meet this bug too,
Did you figure out this problem , my friends
help me

hello, boy .
I meet this bug too,
Did you figure out this problem , my friends
help me
@caleb87

Hey @caleb87 did you ever get this resolved? Running into the same thing on iPadOS 13.7

@caleb87  I ran into the same issue, do you have a solution?

same issue

Is this specific to iOS 13? I can write file successfully to iOS 12 by the code here

Why is this marked Closed?


0.15.x

Refactors

Use SASS legacy importers: the new sass api does not work well with SCSS modules, so we are reverting to the old api
Improve HTML builds: this PR aims to fix some issues and wrong opinions with the esbuild-plugin-html. Now we are compliant with build's chunkNames and assetNames options for artifacts (addressing #35, #38, #39, #40)

Codecov Report

Merging #42 (9140bbb) into main (7ff685a) will increase coverage by 1.79%.
 Consider uploading reports for the commit 3cb15df to get more accurate results

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
+ Coverage   87.45%   89.24%   +1.79%
==========================================
  Files          40       33       -7
  Lines        4949     4455     -494
==========================================
- Hits         4328     3976     -352
+ Misses        621      479     -142

Impacted Files
Coverage Δ

packages/node-resolve/lib/index.js
93.52% <ø> (+5.46%)
:arrow_up:

packages/postcss-dart-sass/lib/sassResolver.js
39.34% <42.10%> (+12.67%)
:arrow_up:

packages/esbuild-plugin-worker/lib/index.js
84.13% <76.61%> (-7.93%)
:arrow_down:

packages/esbuild-plugin-meta-url/lib/index.js
86.15% <79.82%> (-5.48%)
:arrow_down:

packages/esbuild-plugin-postcss/lib/index.js
92.85% <80.35%> (-3.79%)
:arrow_down:

packages/cjs-to-esm/lib/index.js
82.85% <85.43%> (+0.12%)
:arrow_up:

packages/postcss-dart-sass/lib/index.js
80.67% <93.75%> (-0.24%)
:arrow_down:

packages/esbuild-plugin-unwebpack/lib/index.js
97.54% <98.30%> (+2.74%)
:arrow_up:

packages/esbuild-plugin-alias/lib/index.js
95.09% <100.00%> (ø)

packages/esbuild-plugin-babel/lib/index.js
100.00% <100.00%> (ø)

... and 29 more

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 f7ea6cf...3cb15df. Read the comment docs.


Account abstraction integration

Opening a draft PR as I go along since I'm a frontend noob and it's easier to discuss through the PR.

I think we should strongly consider making sure everything is plugged into a viem walletClient (which we then inject in wagmi) so that everything works transparently.
... if that's possible. Not sure if viem makes assumptions about the format of transactions however or if the interfaces are generic enough to allow this.
It's not clear to me that permissionless.js (which is viem-integrated) allows this directly. I'll inquire.

Ok this PR is very outdated, will close this off. Making the integrations in a new branch (with permissionlessjs) https://github.com/0xFableOrg/0xFable/tree/account-abstraction


fix(sec): upgrade org.apache.hive:hive-exec to 3.1.3

What happened？
There are 1 security vulnerabilities found in org.apache.hive:hive-exec 3.1.1

CVE-2021-34538

What did I do？
Upgrade org.apache.hive:hive-exec from 3.1.1 to 3.1.3 for vulnerability fix
What did you expect to happen？
Ideally, no insecure libs should be used.
How was this patch tested?
Run mvn compile failed locally, couldn't complete the build process.
Run mvn clean test failed locally, unit-test couldn't pass.
The specification of the pull request
PR Specification from OSCS

Merged, thanks for pointing out that. @vvsd


[SUPPORT] Flink 1.15 and AWS Managed Flink with Hudi 0.13.1.jar

Steps
Step 1 Create Kinesis Streams
import boto3

def create_kinesis_stream(stream_name, shard_count):
    try:
        # Initialize the Kinesis client
        kinesis_client = boto3.client('kinesis')

        # Create the Kinesis stream
        response = kinesis_client.create_stream(
            StreamName=stream_name,
            ShardCount=shard_count
        )

        # Check for successful response
        if response['ResponseMetadata']['HTTPStatusCode'] == 200:
            print(f"Kinesis stream '{stream_name}' created with {shard_count} shard(s)")
        else:
            print("Failed to create Kinesis stream")

    except Exception as e:
        print(f"Error: {str(e)}")

def delete_kinesis_stream(stream_name):
    try:
        # Initialize the Kinesis client
        kinesis_client = boto3.client('kinesis')

        # Delete the Kinesis stream
        response = kinesis_client.delete_stream(
            StreamName=stream_name
        )

        # Check for successful response
        if response['ResponseMetadata']['HTTPStatusCode'] == 200:
            print(f"Kinesis stream '{stream_name}' deleted successfully")
        else:
            print("Failed to delete Kinesis stream")

    except Exception as e:
        print(f"Error: {str(e)}")

create_kinesis_stream("stocks-stream", 1)

Step 2 : Publish some Dummy Data into Input Streams

import datetime
import json
import random
import boto3

STREAM_NAME = "stocks-stream"

def get_data():
    return {
        'event_time': datetime.datetime.now().isoformat(),
        'ticker': random.choice(['AAPL', 'AMZN', 'MSFT', 'INTC', 'TBV']),
        'price': round(random.random() * 100, 2)
    }

def generate(stream_name, kinesis_client, num_samples):
    for _ in range(num_samples):
        data = get_data()
        print(data)
        kinesis_client.put_record(
            StreamName=stream_name,
            Data=json.dumps(data),
            PartitionKey="partitionkey")
if __name__ == '__main__':
    num_samples = 10  # Change this to the desired number of samples
    generate(STREAM_NAME, boto3.client('kinesis'), num_samples)

Stop 3 Download and upload the JAR

import boto3
import requests

def download_and_upload_to_s3(url, bucket_name, s3_key):
    # Download the JAR file
    response = requests.get(url)
    if response.status_code == 200:
        jar_content = response.content

        # Upload to S3
        s3_client = boto3.client('s3')
        s3_client.put_object(Bucket=bucket_name, Key=s3_key, Body=jar_content)
        print(f"Uploaded {s3_key} to {bucket_name}")
    else:
        print(f"Failed to download {url}")

if __name__ == "__main__":
    # URLs of the JAR files you want to download
    jar_urls = [
        "https://repo1.maven.org/maven2/org/apache/hudi/hudi-flink1.15-bundle/0.13.1/hudi-flink1.15-bundle-0.13.1.jar",
        "https://repo1.maven.org/maven2/org/apache/flink/flink-s3-fs-hadoop/1.15.0/flink-s3-fs-hadoop-1.15.0.jar",
    ]

    # S3 bucket name and S3 keys (object keys) for uploaded JARs
    bucket_name = 'sample-backup-us-west-1'
    s3_keys = [
        'hudi-flink1.15-bundle-0.13.1.jar',
        'flink-s3-fs-hadoop-1.15.0.jar',
    ]

    for i, jar_url in enumerate(jar_urls):
        download_and_upload_to_s3(jar_url, bucket_name, s3_keys[i])

Flink code (Enter them in Zeppelin )
%flink.ssql(type=update)

DROP TABLE IF EXISTS stocks_stream_table;

CREATE TABLE stocks_stream_table (
    uuid VARCHAR,
    ticker VARCHAR(6),
    price DOUBLE,
    event_time TIMESTAMP(3),
    WATERMARK FOR event_time AS event_time - INTERVAL '5' SECOND
)
PARTITIONED BY (ticker)
WITH (
    'connector' = 'kinesis',
    'stream' = 'stocks-stream',
    'aws.region' = 'us-west-1',
    'scan.stream.initpos' = 'TRIM_HORIZON',
    'format' = 'json',
    'json.timestamp-format.standard' = 'ISO-8601'
)

%flink.ssql(type=update)

DROP TABLE IF EXISTS stock_table_hudi;

CREATE TABLE IF NOT EXISTS stock_table_hudi (
    uuid VARCHAR PRIMARY KEY NOT ENFORCED,
    ticker VARCHAR,
    price DOUBLE,
    event_time TIMESTAMP(3)
)
PARTITIONED BY (ticker)
WITH (
    'connector' = 'hudi',
    'path' = 's3a://sample-backup-us-west-1/tmp/',
    'table.type' = 'MERGE_ON_READ',
    'hoodie.embed.timeline.server' = 'false'
);

%ssql

INSERT INTO stock_table_hudi
SELECT uuid, ticker, price, event_time FROM stocks_stream_table;

@danny0405
@dannyhchen

davidshtian
@davidshtian

Fixed it by adding
%flink.conf
execution.checkpointing.interval 5000


How to connect only a few characteristic points

I use this method to display these points, but these points cannot be connected by lines？
I show the points 11, 12, 13, 14 on the body, but I can't connect the points with a line

from mediapipe.framework.formats import landmark_pb2
landmark_subset = landmark_pb2.NormalizedLandmarkList(
      landmark = [
          results.pose_landmarks.landmark[11],
          results.pose_landmarks.landmark[12],
          results.pose_landmarks.landmark[13],
          results.pose_landmarks.landmark[14],
      ]
)
annotated_image = image.copy()
mp_drawing.draw_landmarks(
    image=annotated_image,
    landmark_list=landmark_subset)
cv2_imshow(annotated_image)

Hi @459zyt, Could you please elaborate your query with complete details. Thank you!

你好@459zyt, 请您详细说明您的查询并提供完整的详细信息。谢谢！

I added more detailed instructions

Hi @459zyt, Please feel free to reopen if the issue still persists. Thank you!


cmake format-source not a target in release build

dev build has lots of warnings; we should probably allow formatting source in resease builds too

#37 fixes this


return markdown#markdownlint settings for pandoc#markdownlint

also add aborts

Thanks!
I see that markdown files get set to ft=pandoc by default via https://github.com/vim-pandoc/vim-pandoc/blob/9fe82eb56ff0ebbc22705e8fe911df7d3503f4ff/plugin/pandoc.vim#L101 now.


NIFI-10435: Masked sensitive properties while writing command arguments to the flow file …

…attribute

Summary
NIFI-00000
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 8
[ ] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

It would also be helpful to create a unit test that verifies these changes.

the code i have posted in comment that is for unittest but somehow when we set property as sensitive its not recognizing as sensitive

the code i have posted in comment that is for unittest but somehow when we set property as sensitive its not recognizing as sensitive

Thanks for clarifying, so in that case the unit test behavior aligns with the runtime behavior. This is somewhat expected based on the implementation as it stands. On further evaluation, it may be best to remove the portion of code that sets the arguments as a FlowFile attribute.

the code i have posted in comment that is for unittest but somehow when we set property as sensitive its not recognizing as sensitive

Thanks for clarifying, so in that case the unit test behavior aligns with the runtime behavior. This is somewhat expected based on the implementation as it stands. On further evaluation, it may be best to remove the portion of code that sets the arguments as a FlowFile attribute.

okay i remove that part of the test and commit the changes thanks

Thanks for the updates @ravinarayansingh, can you correct the Checkstyle warnings? Specifically, star imports should be avoided.
AvoidStarImport: Using the '.*' form of import should be avoided

done


Make example/weather a separate Go Module to enable gonew

Codecov Report

Merging #312 (d755d70) into main (8c906ed) will decrease coverage by 0.16%.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #312      +/-   ##
==========================================
- Coverage   94.26%   94.11%   -0.16%
==========================================
  Files          43       40       -3
  Lines        2338     2278      -60
==========================================
- Hits         2204     2144      -60
  Misses         98       98
  Partials       36       36

Flag
Coverage Δ

micro
94.11% <ø> (-0.16%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Access IMU and calculate Yaw Pitch and Roll while streaming RGB and Depth using Python on D435i

Hello. I was trying to access the IMU and get the Yaw Pitch and Roll while also streaming the RGB and Depth. I came across this issue #5628 saying that it isn't possible, is it still the case? I tried to follow this issue #3409 (https://github.com/IntelRealSense/librealsense/issues/3409#issue-418046178) and I get the same error. My code and the error are shown in the pictures. Can you help me get through this error and calculate Yaw Pitch and Roll? Thanks!

Managed to get the x, y and z following #6031. How can I get the Yaw Pitch and Roll using this values on D435i? I saw an issue for the T265, but didn't find any for the D435i. Also, now I have 2 pipelines in different threads, there is no way to synchronize both right?

Hi @pfcouto  There is a discussion at https://github.com/IntelRealSense/librealsense/issues/4391 regarding obtaining roll, pitch and yaw from a D435i IMU with Python code.

Hi @pfcouto  Do you require further assistance with this case, please?  Thanks!

Hi. I managed to get the IMU based on other issues. I am closing this issue. Thanks!

That's great news, @pfcouto - thanks very much for the update!  :)

@pfcouto i am trying to do the same for a project, how reliable are the imu values, i am trying to do slam from only Realsense-D435i

Hello @yash7321, to be honest I don't know since I didn't work on it a lot after opening and closing this issue, however just by moving around and seeing the values I think it wasn't that bad. A slam using only the d435i might be difficult because it doesn't have some specific hardware (I don't remember what it was but I think it was something the T265 had and this one didn't). But if you manage to make a slam using python and using only this camera please update this issue, I would like to see how you accomplished that.


Extension crashes when ${{ insert }} is the first element in a list

I tried installing this extension in an existing project with some reasonably complex templates, and found a crash when opening a file with this particular pattern. I was able to get it down to a small repro:

In a fresh VS Code window, create a doc with this content:

- ${{ each value in parameters.thing }}:
  - ${{ insert }}: ${{ value }}

Switch the file type to Azure Pipelines.

After that, the extension loads and eventually shows this error in the extension's output window:
c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1925
                    throw new Error("Unexpected kind " + value.kind);
                    ^

Error: Unexpected kind 0
    at addItemsToArrayNode (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1925:27)
    at addItemsToArrayNode (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1911:21)
    at recursivelyBuildAst (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1814:13)
    at createJSONDocument (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1942:17)
    at c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1992:66
    at Array.map (<anonymous>)
    at parse (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:1992:38)
    at validateTextDocument (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:344:69)
    at Timeout._onTimeout (c:\Users\dagood\.vscode\extensions\ms-azure-devops.azure-pipelines-1.208.0\dist\server.js:333:9)
    at listOnTimeout (node:internal/timers:557:17)

The error repeats 5 times and I get this notification:

The Azure Pipelines Language server crashed 5 times in the last 3 minutes. The server will not be restarted.

Version 1.208.0

Hi @dagood!
Thanks for your request, seems like the problem is in - ${{ script }}  key and even if it's not possible to parse the script, the extension should not close the connection.
We've added this feature request to our backlog. We'll take a look at it once we have enough capacity. Thank you again!

This no longer reproes on 1.228.0, assuming that the latest batch of language server changes have also fixed this one :).


Flow through answers to questions.

Hi @remcoplasmeyer,
First of all, congratulations on the project, it is brutal 💯  🔥
Now the reason why I write, at the moment I am inserted in a project in which I have to do flow of this kind, however there are some variants that I still haven't been able to understand if it is possible or not to do it with Flowy.
Basically, the objective is to create a script, with multi-selection questions, in which each possible answer takes a path.
Dummy example:
What brought you to our website today?
1. I'm looking to buy
2. I'm just browsing
...

And the objective is that each answer has a certain flow.
I have here a print of an example that is intended.

Do you think it is possible to achieve this with Flowy or if not, its implementation will be very difficult?

Hi @tiagosmartinho, thank you very much!
Your use case should be doable with flowy-vue :)


Change Webjars path aliasing to only use the artifactId

This PR changes the Webjars handler version aliasing introduced in #180 to support implied request resource path version aliases like jquery/ instead of requiring jquery/current/ paths.
This means the first path segment (artifactId) will be substituted at runtime with artifactId/version/ (e.g. jquery/1.11.1/) UNLESS the request resource path already starts with artifactId/version/ (e.g. jquery/1.11.1/).

:+1:


rocketmq can not send messages to more than one cluster

When I create two Producer with different name server,but I can only send message to a single cluster,read relative code,find that it will always use one client instance!

两个生产者使用不同的instanceName就可以了

Maybe nameserver should be a part of the default instanceName.

as @davidpdw said , you can set different instanceName to resolve this issue.
The issue only used for a bug report or feature request, if you have some questions, please subscribe our mailing list and send your question by email, so I will close this issue, but please feel free to reopen it if you have more questions.


date-and-time in g.874.1-model.yang

The yang g.874.1-model.yang still uses the onf date-and-time defintion.
Instead the yang:date-and-time definition must be used from ietf-yang-types.yang (ISO 8601)

fixed - with<EMAIL_ADDRESS>


@field in @class stops working in 0.7

When I migrate from 0.6 to 0.7 the @field lines don't show up in the generated help anymore. Here is an example of a migration commit from 0.6 to 0.7, as you can see a lot disappears without me changing the annotations. I can also reproduce this locally.

How did you define your class? #37 introduced a slight breaking change in class syntax which aligns with sumneko's class definition.

This is an example of one that isn't working:
---@class options `require("registers").setup({...})`
---@field show string Which registers to show and in what order. Default is `"*+\"-/_=#%.0123456789abcdefghijklmnopqrstuvwxyz:"`.
---@field show_empty boolean Show the registers which aren't filled in a separate line. Default is `true`.
---@field register_user_command boolean Whether to register the `:Registers` user command. Default is `true`.
---@field system_clipboard boolean Transfer selected register to the system clipboard. Default is `true`.
---@field trim_whitespace boolean Don't show whitespace at the begin and and of the registers, won't change the output from applying the register. Default is `true`.
---@field hide_only_whitespace boolean Treat registers with only whitespace as empty registers. Default is `true`.
---@field show_register_types boolean Show how the register will be applied in the sign bar, the characters can be customized in the `symbols` table. Default is `true`.
---@field bind_keys bind_keys_options|boolean Which keys to bind, `true` maps all keys and `false` maps no keys. Default is `true`.
---@field symbols symbols_options Symbols used to replace text in the previous buffer.
---@field window window_options Floating window
---@field sign_highlights sign_highlights_options Highlights for the sign section of the window

My bad, I missed the change of the description needing to be on a separate line. Thanks for your time and the nice tool.

I am glad it's now working for you :)


Build assembler files with dwarf debug symbols

This is needed for debuginfo package generation for distributions. E.g.
for openSUSE or Fedora
This should be set if '-C debuginfo=X' is passed to rust. However I'm a total Rust newbie especially when it comes to the build system.

nasm-rs checks for the DEBUG env var and adds -g to its flags from what I could read.

So it would be enough to add -Fdwarf by default?

I guess the problem is that on Windows you can't pass -Fdwarf. I have no idea how to detect if you're building ELF objects.

adding -g alone isn't enough?

No, it looks like the default is -Fstabs for nasm and you can't extract debuginfo packages out of that.

Understood, adding the flag only on linux is just a matter of checking the target arch, do you want to try it or want me to? :)

I have no idea how to do that. I guess the best would be do address that in nasm-rs. But we could fix it here too.

Fixed by #1938


can't be installed mitlm 0.4.1

when I ren atuogen.sh and ./configure,there were some errors like:
./configure: line 20051: AX_CXX_HEADER_UNORDERED_MAP: command not found
./configure: line 20052: syntax error near unexpected token noext,' ./configure: line 20052: AX_CXX_COMPILE_STDCXX_11(noext, optional)'
can anyone help how to deal with this?

You are missing autoconf-archive, that contains the two missing macros. Install it and everything should work.

thanks, I changed another version and it worked well.


at-import-path- rules

Implements #19
Decided to make it a PR from a separate branch as I believe there could be suggestions about the rules' names and functionality. If it's ok then I'll merge it (or you guys can, I don't mind :) )

👍 Looks good, unless there is something related to naming of the rules or other stylelint conventions.

@jeddy3 seems to be ok with the naming and he said he won't be online for a couple of weeks. So i think I'll merge this for now and if we find something odd later we'll just fix that.
BRW thanks for such a detailed looking at the code. So much better to have more than one pair of eyes =)

@jeddy3 seems to be ok with the naming and he said he won't be online for a couple of weeks.

Looks great to me! I'm properly back online in a week's time and so I'll answer any new questions you have then.  Keep up the good work btw, this plugin (pack) is excellent! :)


Fix variable name

Property name is wrong

It's odd that this hasn't caused issues or test failures, but I think you are correct that this would have prevented reusing stored results.


Search Error Reporting

The search screen needs to have a mechanism to report an error in the event of a failed API call - this does not include when the search gives no results. A Snackbar would be suitable.

not a collaborator yet, but I am looking at this now


High memory allocation without freeing it

Describe the bug
I noticed that my WinUI 3 apps uses a lot of memory, so I tried to profile it to find the problem and then I noticed that there's a high memory usage in unmanaged memory, not in .NET heap. I have no idea, I guess it's just a memory leak in runtime. There's a screenshot from the memory profiler.
Steps to reproduce the bug

Create an unpackaged multi-page app with WinUI 3
Put a ListView in a page and bind it to an array
Navigate to that page, it allocates a lot of memory
Navigate back from that page, even with PageCacheMode="Disabled" and clearing BackStack and ForwardStack, it won't free that used memory

Expected behavior
No response
Screenshots

NuGet package version
1.0.0
Packaging type
Unpackaged
Windows version
Windows 11 version 21H2 (22000)
IDE
Visual Studio 2019
Additional context
No response

@minusium Are you using compiled bindings (x:Bind)?

Are you using compiled bindings (x:Bind)?

Yes I do.

We've been working through some memory leak issues related to C# WinRT, event handling, and cycles. We have a servicing update coming to the 0.8 release later this month and 1.0 early next year that will incorporate quite a bit of C# /WinRT performance work. I'd love to know if that addresses the leak. If it doesn't resolve the issue I may need to get more information from you to create a minimal repro that we can analyze.

Ben

Thanks @BenJKuhn
But is there any workaround for now?

I tried to reproduce problem in a simple project but it was fine there, so I removed all controls from my DetailsPage on my main project and I only kept ListView, now when I open DetailsPage memory usage doesn't go higher even one MB, problem is with something else.

@minusium Compiled bindings (x:Bind) may also cause memory leaks especially when the bounded object outlives the page. Could you try calling Bindings.StopTracking under OnNavigatedFrom?

@Jaiganeshkumaran I added Bindings.StopTracking and this is the result:

First red line is when DetailsPage is loaded, and second red line is when I navigate back.
This is memory usage when I remove all elements except the ListView that is binded to an IList:

This is memory usage when I remove all elements except Image with a container on top of it with SystemControlAcrylicElementBrush as background:

Image source is online. I guess leak is in the Image control.

Thanks for your help, but I could fix my problem by reimplementing my DetailsPage xaml code.
I don't know how to reproduce that, memory usage used to go high randomly, even once went to 800MB from 70MB in a navigation to DetailsPage. I simplified my layout in reimplementing it and I used less Grids and I dropped a ScrollViewer.


[UI] Improving the notifications in the stackbar.

Current Behavior

2> Don't capitalize every second letter as it gives a bad feel. Update the notifications as neccessary in the UI.
Desired Behavior

1> Remove the exclamation marks '!' in the stackbar.
One such place is when the user clones his design.
2> Don't capitalize every second letter as it gives a bad feel. Update the notifications as neccessary in the UI.
Implementation

Acceptance Tests

Mockups

Contributor Guides and Handbook

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I would like to work on this issue @legendarykamal

here you go @rakshitgondwal .

@legendarykamal https://discuss.layer5.io/t/error-while-setting-up-meshery-ui-on-my-local-machine/1517/6

Hey @legendarykamal !! I just got done with the setting up of meshery UI on my local environment. A big thanks to the Layer5 Community Forum. Now I wanted to get started with this issue, so can you guide me on how I should start with this issue, or how do I get started with the file structure of meshery-ui?


chore(main): release 1.26.11

:robot: I have created a release beep boop
1.26.11 (2023-09-30)
Bug Fixes

spacing (6b75a75)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.26.11 :sunflower:


Fix crash while parsing version constraints

The '=' operator was parsed but not handled afterward. Fix it by
simplifying the code and not using strings.
This bug is new because the problematic version constraint is new.

The CI failure is due to opam-monorepo, merging.


Add RazorStyle

Adds RazorStyle - a simple solution for in-component CSS.

@wihrl Is the repository private?

Derp, should be accessible now.


Adding a procedure for viewing kserve metrics on the single-model serving platform

How Has This Been Tested?
Local build
Previews:
Monitoring Model Performance (Multi-model serving platform)

Monitoring Model Performance (Single-model serving platform)

Previews look good to me, just some minor suggestions as made previously

A few minor comments, but otherwise LGTM.


Creating a one-block test reactor to speed up testing

What is the change?
In this PR I created a test reactor from an existing single test block reactor:
armi/tests/smallestTestReactor/armiRunSmallest.yaml
And then I used that new, smaller test reactor to speed up our unit tests.
Why is the change being made?
I am just trying to speed up our unit tests. (Close #1736)
On my personal laptop, I saw many unit tests go from between 2 or 6 seconds down to 0.1 to 0.2 seconds.
NOTE: Not all unit tests can use such a small reactor. Be design, if you are doing something like shuffling multiple assemblies, you can not use the smaller test reactor.

Checklist

[X] This PR has only one purpose or idea.
[X] Tests have been added/updated to verify any new/changed code.

[X] The code style follows good practices.
[X] The commit message(s) follow good practices.

[X] The release notes have been updated if necessary.
[X] The documentation is still up-to-date in the doc folder.
[X] The dependencies are still up-to-date in pyproject.toml.

Well, unsuprisingly...

It works on my computer.

I'll fix it.

This PR reduces SOME tests run time by 98%, but it only reduces the overall runtime of ALL the ARMI tests together by 25-30%.
Still, that's something. And now we have the tooling to us across the ecosystem.

@opotowsky I reduced the scope of this PR for you.
I moved the runLog.py fix and the Python 3.7 thing to another PR, which Tony got.
Hope that helps!


Fixed sidebar remaining open

PR Fixes:

1 The state of the main sidebar is made consistent.
2 Implemented a global state variable instead of the a local state variable to open and close the sidebar.

Resolves #1044
https://github.com/user-attachments/assets/60a6f63f-29dd-41bf-b47d-a4e1944bd1b2
Checklist before requesting a review

[x] I have performed a self-review of my code
[x] I assure there is no similar/duplicate pull request regarding same issue

PR Fixes:

1 The state of the main sidebar is made consistent.
2 Implemented a global state variable instead of the a local state variable to open and close the sidebar.

Resolves #1044
Sidebar.Issue.mp4
Checklist before requesting a review

[x]  I have performed a self-review of my code
[x]  I assure there is no similar/duplicate pull request regarding same issue

what about when there is the refresh database button? will be still collapse?

@Azathoth-11 You were right, since the Refresh Database button was added later, it wasn't integrated with the state variable.
I have fixed that in my new commit.


[SSOC 2.0] : Adding all the projects on HomePage

🛠 Closes #776
Description
Added all the projects on the home page with the images, tags and some information about that particular project.
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] The title of my pull request is a short description of the requested changes.

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@harshit-paneri
Please review the PR and let me know if any changes are required.

@dishamodi0910 LGTM

Good work 👍


Add new .fs sample for Formatted.

Apparently, there are many .fs files mostly filled with numbers.  Currently, they are detected as Forth.
https://github.com/lammps/lammps/search?q=extension%3Afs (plenty of copies)
https://github.com/lmhale99/iprPy/search?q=extension%3Afs
This adds a sample to the Formatted language, which corrects the language detection.

Most of these files use .eam.fs. Could this segmented extension be used instead of just .fs? It would ensure that we don't get false positives...

Good observation!  Updated accordingly.

:+1: thanks @larsbrinkhoff


Update installation page

Update Luos installation page without sudo rights

A user came back to us arguing that we could change the package manager from pip to apt-get in doc.
However, as pip is specially made for python libraries, we chose to keep using this tool in the doc for the moment.

sudo was removed from doc


Quick Installation Guide

Quick and dirty installation guide on how to get started with Botstackjs.
https://github.com/cama/botstackjs/blob/master/README.md#installation

Hello cama,
What could be the reasons this error after launching index.js, .env - ok, modules - ok
Redis Error: { Error: Redis connection to localhost:6379 failed - connect ECONNREFUSED <IP_ADDRESS>:6379     at Object.exports._errnoException (util.js:1022:11)     at exports._exceptionWithHostPort (util.js:1045:20)     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)   code: 'ECONNREFUSED',   errno: 'ECONNREFUSED',   syscall: 'connect',   address: '<IP_ADDRESS>',   port: 6379 }

I am running VS code on windows 10, node.js and modules - latest versions

Hello, @Danail-Irinkov .
Yet BotStackJS depends on Redis. In the future we will make this dependency optional.
So now you need to start Redis to solve this issue.

Thank you very much, I am trying to use virtual box to start redis server in ubuntu :)

Thanks Danail for giving Botstackjs a go. Let me know if you have any more challenges getting it working. I've created an issue to make REDIS optional and use MongoDb for Sessions. It will simplify deployment and meet most use cases.
https://github.com/cama/botstackjs/issues/3

@Danail-Irinkov Would a demo repo that extends BotstackJS be useful?
https://github.com/cama/botstackjs/issues/4
We could possible stand up a shared mongoDB\REdis instance so all you have to do is deploy the code to a Heroku instance, update a few env variables like API.AI and be up and running.
Cam

Hello Cam,
great to hear from you :)
I did already start a redis server on my machine, have a look at the
screenshot :)
ngrok is a free SSL tunneling service and works fine with app.listen()
But since I am completely new to this field, I struggle to find info on the
specifics of how I should connect all the modules of everything.
Can you please explain to me what all the modules are used for in
BotStackJS?
Why(What for) do you use?
AWS?
S3?
Redis?
API.ai?
Dashbot?
Bot-metrics(kinda obvious)
DynamoDB? (should be installed on the redis server? I am not quite sure
what do I need to do to set it up and running :))
I pretty much have read half the code to be able to start it to this stage
that the screenshot shows, so I have a decent Idea already, but It will be
very helpful to know definitely why do we need the services :)
Kind regards,
Dan
On 23 February 2017 at 01:53, Cameron McGrane<EMAIL_ADDRESS>wrote:

@Danail-Irinkov https://github.com/Danail-Irinkov Would a demo repo
that extends BotstackJS be useful?
#4 https://github.com/cama/botstackjs/issues/4
We could possible stand up a shared mongoDB\REdis instance so all you have
to do is deploy the code to a Heroku instance, update a few env variables
like API.AI and be up and running.
Cam
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cama/botstackjs/issues/2#issuecomment-281844437, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYjPquVrsTfcjpnsN44CbgqiITahYezMks5rfMp_gaJpZM4MFyDi
.

Is there an easy way to skip the Api-ai event processing and redirect it to
code in node.js?
So I can experiment with FB webview quicker? and then to turn it back to
api.ai?
On 23 February 2017 at 13:02, Danail Irinkov<EMAIL_ADDRESS>wrote:

Hello Cam,
great to hear from you :)
I did already start a redis server on my machine, have a look at the
screenshot :)
ngrok is a free SSL tunneling service and works fine with app.listen()
But since I am completely new to this field, I struggle to find info on
the specifics of how I should connect all the modules of everything.
Can you please explain to me what all the modules are used for in
BotStackJS?
Why(What for) do you use?
AWS?
S3?
Redis?
API.ai?
Dashbot?
Bot-metrics(kinda obvious)
DynamoDB? (should be installed on the redis server? I am not quite sure
what do I need to do to set it up and running :))
I pretty much have read half the code to be able to start it to this stage
that the screenshot shows, so I have a decent Idea already, but It will be
very helpful to know definitely why do we need the services :)
Kind regards,
Dan
On 23 February 2017 at 01:53, Cameron McGrane<EMAIL_ADDRESS>wrote:

@Danail-Irinkov https://github.com/Danail-Irinkov Would a demo repo
that extends BotstackJS be useful?
#4 https://github.com/cama/botstackjs/issues/4
We could possible stand up a shared mongoDB\REdis instance so all you
have to do is deploy the code to a Heroku instance, update a few env
variables like API.AI and be up and running.
Cam
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cama/botstackjs/issues/2#issuecomment-281844437, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYjPquVrsTfcjpnsN44CbgqiITahYezMks5rfMp_gaJpZM4MFyDi
.

Hi @Danail-Irinkov . Yes, you can override class method textMessage or / and postbackMessage and add your custom behaviour.

Thank you :) I got to know the code a lot better now.
I managed to start running it and post some custom replies and buttons.
It will happen shortly :)
On 27 February 2017 at 14:46, webus<EMAIL_ADDRESS>wrote:

Hi @Danail-Irinkov https://github.com/Danail-Irinkov . Yes, you can
override class method textMessage or / and postbackMessage and add your
custom behaviour.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cama/botstackjs/issues/2#issuecomment-282710092, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYjPqmYHnaK0yaypL2DxPKq44N0sID47ks5rgsWmgaJpZM4MFyDi
.

Hi Dan
Here is the updated list of what's in and out why we to use and whether you need them:
In
S3 [optional]  - scalable storage for media like images and video
REDIS - scalable in memory cache for storing session state. It's in the backlog to make this optional and by default use Mongodb for session state
API.AI - Natural Language Programming
DASHBOT [optional]  - Third party analytics and broadcast platform
Botmetrics [optional]  - Third party analytic platform. Less features than Dashbot but has a useful bot for checking  metrics.
Out
Dynamos - Removed. Using Mongodb
Hope this helps.
Cam

Dear Cam,
thank you, yes it helps a lot.
It is a big mess when you first get into bots, because of all the competing
services you can use ==> I wasnt sure how exactly the BotStack is depending
on them.
However now I began to understand.
I faced two bugs though, I guess you know about one of them - the fallback
function and the other one is serving static files on localhost.

fallback(message, senderID) {
log.debug("Unknown message", {
module: "botstack:fallback",
senderId: senderID,
message: message
});
//fb.reply(fb.textMessage("Ops, internal short circuit... Shutting
down... :("), senderID);* ----why does it happen that when this line is
active it loops constantly?*
};

This is inside the Class BotStack:

this.server.get('/images/', (req, res, next) => {
//res.send(__dirname + '/images')
let serveData = {
directory: './images',  -------- I cannot understand where is
the root for this restify function and it just won't serve an html from a
subfolder. I tried for 2 hours different debugging things and couldn't find
it...
file: 'images.html',
}
restify.serveStatic(serveData),
});
Kind regards,
Dan
On 27 February 2017 at 23:10, Cameron McGrane<EMAIL_ADDRESS>wrote:

Hi Dan
Here is the updated list of what's in and out why we to use and whether
you need them:
In
S3 [optional] - scalable storage for media like images and video
REDIS - scalable in memory cache for storing session state. It's in the
backlog to make this optional and by default use Mongodb for session state
API.AI - Natural Language Programming
DASHBOT [optional] - Third party analytics and broadcast platform
Botmetrics [optional] - Third party analytic platform. Less features than
Dashbot but has a useful bot for checking metrics.
Out
Dynamos - Removed. Using Mongodb
Hope this helps.
Cam
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cama/botstackjs/issues/2#issuecomment-282854291, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYjPqpGnDOgShSHXiK1_aX6I35-VK9afks5rgzvBgaJpZM4MFyDi
.

Hi @Danail-Irinkov

fallback(message, senderID) {
log.debug("Unknown message", {
module: "botstack:fallback",
senderId: senderID,
message: message
});
//fb.reply(fb.textMessage("Ops, internal short circuit... Shutting
down... :("), senderID);* ----why does it happen that when this line is
active it loops constantly?*
};

This happens when Facebook sends messages that BotStackJS not yet able to handle correctly. Typically, this is a service message from facebook. In the future we will properly handle.

This is inside the Class BotStack:
this.server.get('/images/', (req, res, next) => {
//res.send(__dirname + '/images')
let serveData = {
directory: './images',  -------- I cannot understand where is
the root for this restify function and it just won't serve an html from a
subfolder. I tried for 2 hours different debugging things and couldn't find
it...
file: 'images.html',
}
restify.serveStatic(serveData),
});

Under the hood BotStackJS uses Restify, perhaps you should read the documentation on restify.serveStatic
Usually the root directory is the directory where you run node for execution.
BotStackJS can serve static files for you. All you just need to set 2 environment variables: BOTSTACK_STATIC and BOTSTACK_URL.
For example, you can set this value: BOTSTACK_STATIC=./media
And next create public path inside media (it's Restify issue). After this you can get your files by this URL for example : http://localhost:3000/public/myfile.png
BOTSTACK_URL reserved for future use. You can setup this variable with empty value: BOTSTACK_URL=

Thank you, for the help a lot :), I also thought it was a restify issue :)
A small bug report:
in session.js:
let clearOldSessions = co(function* () {
let not = new Date(); //possible bug with now=undefined, I guess it should
be 'now' here :)
let sessionsSize = yield client.hlenAsync("sessions");
let sessions = yield client.hgetallAsync("sessions");
for (senderId in sessions) {
let data = JSON.parse(sessions[senderId]);
if (Math.abs(now - data.lastUsed) > maxSessionAge_ms) {
client.hdelAsync("sessions", senderId);
}
}
let sessionsSizeNow = yield client.hlenAsync("sessions");
console.log('Session Size ' + sessionsSizeNow + ' items. Removed ' +
(sessionsSize - sessionsSizeNow) + ' items');
});
On 1 March 2017 at 14:39, webus<EMAIL_ADDRESS>wrote:

Hi @Danail-Irinkov https://github.com/Danail-Irinkov

fallback(message, senderID) {
log.debug("Unknown message", {
module: "botstack:fallback",
senderId: senderID,
message: message
});
//fb.reply(fb.textMessage("Ops, internal short circuit... Shutting
down... :("), senderID);* ----why does it happen that when this line is
active it loops constantly?*
};

This happens when Facebook sends messages that BotStackJS not yet able to
handle correctly. Typically, this is a service message from facebook. In
the future we will properly handle.

This is inside the Class BotStack:
this.server.get('/images/', (req, res, next) => {
//res.send(__dirname + '/images')
let serveData = {
directory: './images',

-------- I cannot understand where is the root for this restify function
and it just won't serve an html from a subfolder. I tried for 2 hours
different debugging things and couldn't find it...
file: 'images.html',
}
restify.serveStatic(serveData),
});
Under the hood BotStackJS uses Restify
https://github.com/restify/node-restify, perhaps you should read the
documentation on restify.serveStatic
https://github.com/restify/node-restify/blob/c7aa7786a4cb6a2d8fe2862c46aca1f726ff8f7c/docs/pages/components/plugins.md#serve-static
Usually the root directory is the directory where you run node for
execution.
BotStackJS can serve static files for you. All you just need to set 2
environment variables: BOTSTACK_STATIC and BOTSTACK_URL.
For example, you can set this value: BOTSTACK_STATIC=./media
And next create public path inside media (it's Restify issue). After this
you can get your files by this URL for example :
http://localhost:3000/public/myfile.png
BOTSTACK_URL reserved for future use. You can setup this variable with
empty value: BOTSTACK_URL=
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cama/botstackjs/issues/2#issuecomment-283329414, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYjPqri7HSmYl2P06ck97bQtC3df_1meks5rhWcFgaJpZM4MFyDi
.


decode_resource fails when response.body is nil

With the introduction of v1.15.0, some errors started appearing on CI builds of a project using this library for tests. The errors are related to the decode_resource method of the http/client.rb, which seem to indicate that response.body is nil.
https://github.com/ruby-amqp/rabbitmq_http_api_client/blob/685769752e2bc7a1ad64c9b40366038f2f69c2b8/lib/rabbitmq/http/client.rb#L429
NoMethodError:
  undefined method `empty?' for nil:NilClass
# /bundle/ruby/2.4.0/gems/rabbitmq_http_api_client-1.15.0/lib/rabbitmq/http/client.rb:429:in `decode_resource'
# /bundle/ruby/2.4.0/gems/rabbitmq_http_api_client-1.15.0/lib/rabbitmq/http/client.rb:134:in `delete_exchange'
# ./spec/support/helpers/rabbitmq_management.rb:11:in `block in delete_exchanges'
# ./spec/support/helpers/rabbitmq_management.rb:11:in `each'
# ./spec/support/helpers/rabbitmq_management.rb:11:in `delete_exchanges'
# ./spec/integration/consumer/event_consumer_spec.rb:27:in `block (2 levels) in <top (required)>'

The CI job used faraday 1.3.0, faraday-net_http 1.0.1 and faraday_middleware 1.0.0.
Downgrading this library to v1.14.0 fixed the problem.

PR with the fix: https://github.com/ruby-amqp/rabbitmq_http_api_client/issues/52

Addressed in https://github.com/ruby-amqp/rabbitmq_http_api_client/commit/0bc48fab99d76a53d7d946405eaefdd28c084898


Error while getting dependencies

when i installed the package in my project, i had the following error:
`$ go get
github.com/deuill/go-php
In file included from ../github.com/deuill/go-php/engine.go:14:
In file included from ../github.com/deuill/go-php/include/receiver.h:15:
../github.com/deuill/go-php/include/php7/_receiver.h:12:34: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
static int _receiver_method_call(zend_string *method, zend_object *object, INTERNAL_FUNCTION_PARAMETERS);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from ../github.com/deuill/go-php/engine.go:14:
In file included from ../github.com/deuill/go-php/include/receiver.h:15:
../github.com/deuill/go-php/include/php7/_receiver.h:13:66: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
static zend_function *_receiver_method_get(zend_object **object, zend_string *name, const zval *key);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
2 errors generated.`

Which version of PHP do you have installed? Did you install the development headers and library needed for building go-php (as per the README)?
You're not using Linux, or not on a distribution that ships packages for the required dependencies, you can try building the Docker image with make docker-image and building inside/against that environment.


Twitter share button should have prefilled text

But that text needs to be translated in a Javascript function, and the request needs to be sent in that function.  Unfortunately, sending an http request in a Javascript function causes a security error.  So I am hoping for another way to do this

Implemented in #498


[stable/postgresql] Values.initdbScripts is ignored if files/docker-entrypoint-initdb.d is empty

Is this a request for help?: No

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT

Version of Helm and Kubernetes: Helm 2.11.0, Kubernetes 1.10.0, Kubectl 1.12.3
Which chart: stable/postgresql 3.2.1
What happened:
I installed a chart with the following requirements.yaml:
dependencies:
- name: postgresql
  version: 3.2.1
  repository: https://kubernetes-charts.storage.googleapis.com/

And the following values.yaml:
postgresql:
  initdbScripts:
    setup.sql: |
      CREATE USER dbuser WITH PASSWORD 'secret';
      CREATE DATABASE mydb WITH OWNER dbuser;

What you expected to happen:
A configmap named ${app}-postgresql-init-scripts should exist, containing my setup script. It doesn't.
Anything else we need to know:
This seems to be caused by #10124, which added a guard on whether to create the ConfigMap. v3.2.0 of the chart works fine.

I just sent this PR fixing the issue https://github.com/helm/charts/pull/10332


Param issue

Hi,
https://github.com/tuneinsight/lattigo/blob/master/examples/ckks/advanced/lut/main.go

why 65.0000116961637 bits?
0x800004001 stands for<PHONE_NUMBER>00000000000100000000000001 (36bits)
0x40002001 stands for<PHONE_NUMBER>000000010000000000001 (31bits)
total bits is 64 bits, so why does the comment say  65.0000116961637 bits?
BR

See https://github.com/tuneinsight/lattigo/issues/250


[Feature Request] Cookbook to showcase o1 data generation

Required prerequisites

[X] I have searched the Issue Tracker and Discussions that this hasn't already been reported. (+1 or comment there if it has.)
[ ] Consider asking first in a Discussion.

Motivation
math, code, science data generation using wolfamalph etc..
Solution
No response
Alternatives
No response
Additional context
No response

some experiment result and it opensource in https://github.com/zjrwtx/o1datagene

already add pr:https://github.com/camel-ai/camel/pull/1274


Figure out how to do schema versioning / migration in the future

Currently, we do not have a good strategy on how to version / migrate to new schemas. We need a longer term strategy on how to do this for the future.

Agree.
As a starting point: The comment field in creating a CQL table could contain a version marker, and the cassIO abstraction, if the table exists already, would respect it and adapt its commands.
The issue still remains, what if new features require a new schema?
Well, in most cases it's adding a new column ("ALTER TABLE ... ADD ..." is a CQL command, so we're good - and then we update the version marker).
If it's a same-named column with different value, or the content in a column is formatted differently, ... well, we should try to avoid those as much as possible in the future.
And/or provide migration tools (and assistance...)

Note to self: comment field is read with
s.cluster.metadata.keyspaces['default_keyspace'].tables['a'].options['comment']

and written with
CREATE TABLE [...] WITH [...] AND COMMENT = 'comment' [...] ;


'asyncData' does not exist in type 'ComponentOptions

Adding the asyncData property and using typescript without classes and decorators, throws this typing error:
Object literal may only specify known properties, and 'asyncData' does not exist in type 'ComponentOptions<Vue, DefaultData<V
ue>, DefaultMethods<Vue>, DefaultComputed, PropsDefinition<Rec...'.

Code:
<script lang="ts">
import Vue from 'vue'

export default Vue.extend({
  async asyncData({ app }) {
    const hero = await app.$content('home').get('hero')
    return {  hero  }
  }
  }
})
</script>

Do you have any hints on solving this?

This is because Vue.extend is expecting an object that satisfies the ComponentOptions interface defined in Vue's types.
Since asyncData, fetch etc. are all mixed in by Nuxt, you will need to augment the ComponentOptions interface defined by Vue (I don't think there are types available from Nuxt yet).
To augment existing TS interfaces within other modules, you need to create a file ending in .d.ts (know as a declaration file) then declare the module you want to augment. I generally create one declaration file per module—so in this case it would be nuxt.d.ts. I also generally put these declaration files in a types directory alongside the other directories, so you would have a dir structure that looked something like this:
pages
- index.vue
types
- nuxt.d.ts

Then the contents of nuxt.d.ts would look something like this:
declare module "vue" {
  import Vue, { ComponentOptions } from "vue"
  import { Route } from "vue-router"
  import { Store } from "vuex"

  // https://nuxtjs.org/api/context
  export interface NuxtContext<V extends Vue> {
    app: V
    isClient: boolean
    isServer: boolean
    isStatic: boolean
    isDev: boolean
    isHMR: boolean
    route: Route
    store: Store
    env: object
    params: object
    query: object
    // ...add remaining key types here
  }

  // https://nuxtjs.org/api/pages-fetch
  export interface ComponentOptions<V extends Vue> {
    asyncData?(context: NuxtContext<V>): Promise<object> | object
    fetch?(context: NuxtContext<V>): Promise<object> | object
    // ...add remaining interface here
  }
}

NOTE 1: It's important that this file is included in the matched files as defined in your tsconfig.json file—otherwise TS won't pick it up.
NOTE 2: I have not tested the above implementation of these "ambient types" so you will probably have to play around a little to appease TS.
If you're struggling to properly type everything, you can start assigning any to each of these interface properties, but you will forfeit strong type checking in the process.
Hope that helps!

I will leave this issue open with a view to potentially add these types to this project—but really they belong in Nuxt's repo, so I would perhaps open an issue there and reference this issue.

Hi, have raised a similar issue with nuxt specific fields of ComponentOptions
ref: https://cmty.app/nuxt/nuxt-class-component/issues/c8

I've left a working example using the directory structure suggested by @wagerfield above:
https://gist.github.com/stepbeekio/1d5392b13503dca248556f0457e83ffd
Copied below for those in a hurry:
import Vue from 'vue'
import { Store } from 'vuex'

// ComponentOptions is declared in types/options.d.ts
declare module 'vue/types/options' {

    interface NuxtContext<V extends Vue> {
        app: V,
        isClient: boolean,
        isServer: boolean,
        isStatic: boolean,
        isDev: boolean,
        store: Store<any>, // Consider vuex-typex in future
        env: object,
        params: object,
        query: object
    }

    interface ComponentOptions<V extends Vue> {
        asyncData?(context: NuxtContext<V>): Promise<object> | object
        fetch?(context: NuxtContext<V>): Promise<object> | object
    }
}

nice, works for me ✨

Thanks @stepbeekio. I haven't abandoned this project—I'm patiently waiting for the release of Nuxt 2 so I can update the implementation to work with Webpack 4 and ts-loader 4.x which is much faster.

Note: I've added types for watchQuery & key on my end.
...
  interface ComponentOptions<V extends Vue> {
    asyncData?(context: NuxtContext<V>): Promise<object> | object
    fetch?(context: NuxtContext<V>): Promise<object> | object
    watchQuery?: string[]
    key?: Function
  }
...

@herkulano @hartmut-co-uk @stepbeekio I was thinking about just adding these declarations to this module rather than handing off the responsibility to Nuxt given that it's written in MJS and not TS. Will keep you updated.

@wagerfield I think adding to the module is a good idea. Keep me in touch :)

note added another line to ComponentOptions..:
    middleware?: string | string[]

Do like this:
  @Component({
    async asyncData({ params, error }) {
     💀// impossible to use this.$http on @component 💀
      const http = Vue.prototype.$nuxt.$http;
      const objectGet = await http.get('/url')
      const objectPost = await http.post('/url', { params })

      return {
        objectGet: objectGet.data,
        objectPost: objectPost.data,
      }
    }
  })
  export default class NameOfYourClass extends Vue {
    name: 'NameOfYourClass'

    // AsyncData
    catalogId?: number

    [...]
  }


Closes plt.Figure() after saving mantel test plot to free up memory

In the code, beta correlation mantel() in _visualizer.py opens an instance of plt.Figure() and doesn't close it, consuming memory. Added a line to close the instance and free up memory after saving.

Going to let the tests run on this and then I'll merge :)


milvus_cli core dumps at any command.

I installed milvus_cli and readline in RHEL 8. and milvus_cli core dumps at any command.
[root@st2]# milvus_cli

  __  __ _ _                    ____ _     ___
 |  \/  (_) |_   ___   _ ___   / ___| |   |_ _|
 | |\/| | | \ \ / / | | / __| | |   | |    | |
 | |  | | | |\ V /| |_| \__ \ | |___| |___ | |
 |_|  |_|_|_| \_/  \__,_|___/  \____|_____|___|

Milvus cli version: 0.4.0
Pymilvus version: 2.3.0

Learn more: https://github.com/zilliztech/milvus_cli.

milvus_cli > connect
free(): invalid pointer
Aborted (core dumped)

[root@st2]# milvus_cli

  __  __ _ _                    ____ _     ___
 |  \/  (_) |_   ___   _ ___   / ___| |   |_ _|
 | |\/| | | \ \ / / | | / __| | |   | |    | |
 | |  | | | |\ V /| |_| \__ \ | |___| |___ | |
 |_|  |_|_|_| \_/  \__,_|___/  \____|_____|___|

Milvus cli version: 0.4.0
Pymilvus version: 2.3.0

Learn more: https://github.com/zilliztech/milvus_cli.

milvus_cli > help
free(): invalid pointer
Aborted (core dumped)

pip show pymilvus
Name: pymilvus
Version: 2.3.0
Summary: Python Sdk for Milvus
Home-page:
Author:
Author-email: Milvus Team<EMAIL_ADDRESS>License:
Location: /root/jupyter/virtualenv/slack/lib/python3.10/site-packages
Requires: environs, grpcio, pandas, protobuf, ujson
Required-by: milvus-cli

when I upgrade pymilvus to 2.3.3, milvus-cli just failed to start.

[root@st2]# pip install -U pymilvus
Requirement already satisfied: pymilvus in /root/jupyter/virtualenv/slack/lib/python3.10/site-packages (2.3.0)
Collecting pymilvus
  Using cached pymilvus-2.3.3-py3-none-any.whl.metadata (4.3 kB)

Using cached pymilvus-2.3.3-py3-none-any.whl (171 kB)
Installing collected packages: pymilvus
  Attempting uninstall: pymilvus
    Found existing installation: pymilvus 2.3.0
    Uninstalling pymilvus-2.3.0:
      Successfully uninstalled pymilvus-2.3.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
milvus-cli 0.4.0 requires pymilvus==2.3.0, but you have pymilvus 2.3.3 which is incompatible.
Successfully installed pymilvus-2.3.3

[root@st2]# pip show pymilvus
Name: pymilvus
Version: 2.3.3
Summary: Python Sdk for Milvus
Home-page:
Author:
Author-email: Milvus Team<EMAIL_ADDRESS>License:
Location: /root/jupyter/virtualenv/slack/lib/python3.10/site-packages
Requires: environs, grpcio, minio, pandas, protobuf, requests, ujson
Required-by: milvus-cli
(slack)

[root@st2]# milvus_cli
dotenv_path = /root/jupyter/instana-slack-app/.env
Traceback (most recent call last):
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/milvus_cli/utils.py", line 13, in getPackageVersion
    version = pkg_resources.require("milvus_cli")[0].version
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/pkg_resources/__init__.py", line 968, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/pkg_resources/__init__.py", line 829, in resolve
    dist = self._resolve_dist(
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/pkg_resources/__init__.py", line 875, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (pymilvus 2.3.3 (/root/jupyter/virtualenv/slack/lib/python3.10/site-packages), Requirement.parse('pymilvus==2.3.0'), {'milvus-cli'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/jupyter/virtualenv/slack/bin/milvus_cli", line 5, in <module>
    from milvus_cli.scripts.milvus_cli import runCliPrompt
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/milvus_cli/scripts/milvus_cli.py", line 1, in <module>
    from .connection_cli import *
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/milvus_cli/scripts/connection_cli.py", line 2, in <module>
    from .helper_cli import show, getList
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/milvus_cli/scripts/helper_cli.py", line 10, in <module>
    from utils import WELCOME_MSG, EXIT_MSG, Completer, getPackageVersion
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/milvus_cli/utils.py", line 177, in <module>
    WELCOME_MSG = msgTemp.safe_substitute(cli=getPackageVersion(), py=__version__)
  File "/root/jupyter/virtualenv/slack/lib/python3.10/site-packages/milvus_cli/utils.py", line 15, in getPackageVersion
    raise ParameterException(
Types.ParameterException: Could not get version under single executable file mode.
```

milvus_cli 0.4.0 only test with pymilvus 2.3.0.
Not sure if it is compatible with pymilvus 2.3.x. Will test it asap

Use milvus 0.4.1 and pymilvus 2.3.4 is working fine for me. Please have a try

Use milvus 0.4.1 and pymilvus 2.3.4 is working fine for me. Please have a try @dove-young

I install milvus cli 0.4.1 and pymilvus 2.3.4, still got the same error. Could you tell me more about your solution? Thanks.

Replace readline module by gnureadline, the this issue is fixed.  @SuperAspen


GSI-LCG2: Added vo.inteligg.com to site configuration

Summary

Related issue :

Hi @kelaamm
Is the VO enabled in OpenStack?

I don't see it.
Thanks!


Runtime Error With Text Boxes

envs\torch\lib\site-packages\torch_ops.py", line 502, in call
return self._op(*args, **kwargs or {})
RuntimeError: boxes should be a 2d tensor, got 1D
I get this error while running the code on custom .jpeg images that are of 1024x768px, Any guidance to how this error is originated? or any resolves?

@AmithisCurious 你输入的文字和大小超过了图片边框了


pp hot threads backport

This branch is the leveldb work needed to support backporting the hot_threads class to eleveldb.
The corresponding pull request for eleveldb is https://github.com/basho/eleveldb/pull/147.
The thread pool in eleveldb, eleveldb_thread_pool, contains a race condition in the job hand-off code that is the subject of at least one bug report (https://github.com/basho/eleveldb/issues/141). This race condition was addressed in the hot_threads code added to leveldb (https://github.com/basho/leveldb/wiki/mv-hot-threads).
Another bit of refactoring in this branch is to split the reference-counted object base class into a separate class, RefObjectBase, so that it can be used in both eleveldb/c_src/refobjects.h and leveldb/util/thread_tasks.h.
Other work done in this branch supports replacing all pthread_mutex_t and pthread_cond_t variables with the corresponding wrapper classes in the port namespace. One other change included in this branch is to re-enable naming the current thread, which makes core dumps a bit more readable.
Note that a stretch goal for this branch was to refactor the queue monitor thread in hot_threads, removing the need for a semaphore; this work did not happen.

A couple more minor comments about the code in hot_threads.cc:

pthread_create() loop in HotThreadPool ctor should break in the "else" case to avoid possible loss of ret_val
check of shutdown_pending() in HotThreadPool::FindWaitingThread() does not short-circuit the do/while loop

sst_rewrite removed.  gThrottleRunning now volatile.