Add possibility to reference original document in single document update statements

UPDATE has the possibility to directly work with a single document:
'UPDATE "dave" WITH { friends: []) } IN persons'

However, while one may use the variable emitted by a surrounding for loop:
FOR user IN users
  FILTER user._key == "7"
  UPDATE user WITH { friends: PUSH(user.friends, "8") } IN users

OLD may only be used in the RETURN statement:
'UPDATE "dave" WITH { friends: PUSH(DOCUMENT("persons/dave").friends, 8) } IN persons'

should be expressable like this:
'UPDATE "dave" WITH { friends: PUSH(OLD.friends, 8) } IN persons'

https://www.arangodb.com/docs/devel/aql/data-queries.html#using-old-and-new-in-the-same-query OLD and NEW now supported.


Passing path to grep { ... } : feat

Would it be possible pass a path to search directory?
There are two ways to achieve this:

One way is to just append path to the calling process. However, with appending PATH, rg will ignore it's some of it's ignore rules.
Starting a new process in search directory and search from there without appending path so the ignore rules still apply.

Any ideas how to approach this?

Why aren’t you passing the path cwd option?

Thanks, I am unsure why it wasn't working before hence the question. The doc for the default config is also very long and becomes cumbersome to identify the position.
Can you please tell if input_prompt is working for you? I am unable to modify the default "Grep for>" text.

I'm doing something like this
        require("fzf-lua").grep({
          prompt = prompt,
          cwd = cwd,
          winopts = {
            preview = {
              hidden = "nohidden",
            },
          },
          grep = {
            input_prompt = input_prompt,
          },
        })

So it looks like input_prompt changes when I pass it to the setup() however fails when I pass it to grep().

The doc for the default config is also very long and becomes cumbersome to identify the position.

You’re welcome to contribute to the wiki, it’s open edit for all and there is always work to be done to make docs more clear as you’ve noticed. There was an initiative to document all the options but unfortunately it’s not where I would like it to be yet:
https://github.com/ibhagwan/fzf-lua/wiki/Options

So it looks like input_prompt changes when I pass it to the setup() however fails when I pass it to grep().

Works perfectly for me:
:FzfLua grep input_prompt=test

The doc for the default config is also very long and becomes cumbersome to identify the position.

You’re welcome to contribute to the wiki, it’s open edit for all and there is always work to be done to make docs more clear as you’ve noticed. There was an initiative to document all the options but unfortunately it’s not where I would like it to be yet: https://github.com/ibhagwan/fzf-lua/wiki/Options

So it looks like input_prompt changes when I pass it to the setup() however fails when I pass it to grep().

Works perfectly for me:
:FzfLua grep input_prompt=test

For me also it works using :FzfLua grep input_prompt=test but not using the Lua function.

Here is my setup config
      require("fzf-lua").setup({
        "max-perf",
        winopts = {
          height = 0.90,
          width = 0.99,
          preview = {
            hidden     = "hidden",
            horizontal = "right:50%",
            scrollbar  = false,
          },
        },
        grep = {
          rg_glob = true,
          multi_process = true,
          glob_flag = "--iglob",
          glob_separator = "%s%-%-",
          rg_opts = "--column --line-number --no-heading --color=always " ..
              "--smart-case --max-columns=512 -e",
        },
        tags = {
          multi_process = true,
        },
        actions = {
          files = {
            ["default"] = actions.file_edit,
          },
          buffers = {
            ["default"] = actions.buf_edit,
          },
        },
        keymap = {
          builtin = {
            ["<C-t>"] = "toggle-preview",
          },
          fzf = {
            ["ctrl-t"] = "toggle-preview",
          },
        },
        files = {
          cwd_prompt = false,
          cwd_prompt_shorten_len = 0,
          cwd_prompt_shorten_val = 1,
        },
      })

And the calling grep function
      require("fzf-lua").setup({
        "max-perf",
        winopts = {
          height = 0.90,
          width = 0.99,
          preview = {
            hidden     = "hidden",
            horizontal = "right:50%",
            scrollbar  = false,
          },
        },
        grep = {
          rg_glob = true,
          multi_process = true,
          glob_flag = "--iglob",
          glob_separator = "%s%-%-",
          rg_opts = "--column --line-number --no-heading --color=always " ..
              "--smart-case --max-columns=512 -e",
        },
        tags = {
          multi_process = true,
        },
        actions = {
          files = {
            ["default"] = actions.file_edit,
          },
          buffers = {
            ["default"] = actions.buf_edit,
          },
        },
        keymap = {
          builtin = {
            ["<C-t>"] = "toggle-preview",
          },
          fzf = {
            ["ctrl-t"] = "toggle-preview",
          },
        },
        files = {
          cwd_prompt = false,
          cwd_prompt_shorten_len = 0,
          cwd_prompt_shorten_val = 1,
        },
      })

Your config, makes no difference, it doesn't specify input_prompt, the below doesn't work (would be very strange if it didn't):
:lua require("fzf-lua").grep({ input_prompt = "test>" })

And here is the calling grep function.

When calling grep you don't need to specify these are grep options, just set it at the top level:
  require("fzf-lua").grep({
          prompt = prompt,
          cwd = cwd,
          winopts = {
            preview = {
              hidden = "nohidden",
            },
          },
          input_prompt = input_prompt,
        })


Upload flow should not load video file into memory

Right now the upload code uses an NSMutableData to form the entire multipart upload data into one big data blob. This means using Data(contentsOf: videoUrl). Since video files are pretty big, this is not ideal. We should leave it on disk, and tell iOS to stream the data as-needed.
A better approach would be using the URLRequest.httpBodyStream property. We need to form the body stream from 3 parts:

A stream containing the Data before the video file
A stream of the video file from disk, i.e. InputStream(url: videoUrl)
A stream containing the Data after the video file

There's an Objective-C helper class here that can combine streams like this, so we need to either import that directly, or make a stripped-down clone of it in Swift.
I think I can get this done.

A direct import is fine if the license is compatible with MIT, or any similar open source licenses.


automate pulling data?

have you thought about adding automation so it fetches new data every hour for example? easy to do with a github action

for example
name: Hourly Build

on:
  schedule:
    - cron: '0 * * * *' # Run every hour

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout Repository
      uses: actions/checkout@v2

    - name: Set up Node.js
      uses: actions/setup-node@v3
      with:
        node-version: '14'

    - name: Install Dependencies
      run: npm install

    - name: Build
      run: npm run build

    - name: Commit and Push Changes
      run: |
        git config --global user.name 'GitHub Actions'
        git config --global user.email<EMAIL_ADDRESS>        git add .
        git commit -m "Auto-build every hour"
        git push

We could do something like this to keep the repo up to date, but we'd still have to manually audit because sometimes things break, plus do the publish to npm and update core and web deps


ARROW-1274: [C++] Fix CMake >= 3.3 warning. Also add option to suppress ExternalProject output

The default is the current behavior, but if enabled the build output will log ExternalProject build progress to files instead of dumping everything to the console. It might be nice to change the default to ON but we could do that in a separate patch

+1


munin: 2.0.34 -> 2.0.37

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/munin/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped -h’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped --help’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-check-wrapped help’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check -h’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check --help’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-check help’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/.munin-cron-wrapped --help’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-cron --help’ got 0 exit code
ran ‘/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin/munin-node-configure help’ got 0 exit code
found 2.0.37 with grep in /nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37
directory tree listing: https://gist.github.com/44aa9c5969938bba7e7a4e9710568ae9

cc @domenkozar @bjornfor for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: munin
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: munin
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: munin
Partial log (click to expand)
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/lib/plugins/ejabberd_: interpreter directive changed from "" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/lib/plugins/tcp: interpreter directive changed from "" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/lib/plugins/mysql_innodb: interpreter directive changed from "" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/lib/plugins/qmailqstat: interpreter directive changed from "" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/lib/plugins/snort_pattern_match: interpreter directive changed from "" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/lib/plugins/netstat: interpreter directive changed from "" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/sh"
checking for references to /build in /nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37...
moving /nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/sbin/* to /nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37/bin
Removing references to /usr/{bin,sbin}/ from munin plugins...
/nix/store/af5ja0gxnyhdhg8qgfnfbvxdf7zl110c-munin-2.0.37

Applied to master (10f02ad446d8c452ddd9c4c0314cef4eca11b782).


Building package opencv:x64-windows failed with: BUILD_FAILED

Package: opencv:x64-windows
Vcpkg version: 2018.11.23-nohash
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:175 (message):
Command failed: H:/vcpkgs/vcpkg-opencv/downloads/tools/cmake-3.12.4-windows/cmake-3.12.4-win32-x86/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v;-j1
Working Directory: H:/vcpkgs/vcpkg-opencv/buildtrees/opencv/x64-windows-dbg
See logs for more information:
H:\vcpkgs\vcpkg-opencv\buildtrees\opencv\install-x64-windows-dbg-out.log
install-x64-windows-dbg-out.log

Have same problem, any fix??

Have same problem, any fix??
PS C:\vcpkg> .\vcpkg install pthreads opencv[cuda]
The following packages are already installed:
    pthreads[core]:x64-windows
The following packages will be built and installed:
    opencv[core,cuda,eigen,flann,jpeg,opengl,png,tiff]:x64-windows
Starting package 1/2: pthreads:x64-windows
Package pthreads:x64-windows is already installed
Elapsed time for package pthreads:x64-windows: 522.5 us
Starting package 2/2: opencv:x64-windows
Building package opencv[core,cuda,eigen,flann,jpeg,opengl,png,tiff]:x64-windows...
-- Using cached C:/vcpkg/downloads/opencv-opencv-3.4.3.tar.gz
-- Using source at C:/vcpkg/buildtrees/opencv/src/3.4.3-701a6234df
-- Configuring x64-windows
-- Building x64-windows-dbg
PS C:\vcpkg> .\vcpkg install pthreads opencv[cuda]
The following packages are already installed:
    pthreads[core]:x64-windows
The following packages will be built and installed:
    opencv[core,cuda,eigen,flann,jpeg,opengl,png,tiff]:x64-windows
Starting package 1/2: pthreads:x64-windows
Package pthreads:x64-windows is already installed
Elapsed time for package pthreads:x64-windows: 522.5 us
Starting package 2/2: opencv:x64-windows
Building package opencv[core,cuda,eigen,flann,jpeg,opengl,png,tiff]:x64-windows...
-- Using cached C:/vcpkg/downloads/opencv-opencv-3.4.3.tar.gz
-- Using source at C:/vcpkg/buildtrees/opencv/src/3.4.3-701a6234df
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:175 (message):
    Command failed: C:/vcpkg/downloads/tools/cmake-3.12.4-windows/cmake-3.12.4-win32-x86/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v;-j1
    Working Directory: C:/vcpkg/buildtrees/opencv/x64-windows-dbg
    See logs for more information:
      C:\vcpkg\buildtrees\opencv\install-x64-windows-dbg-out.log
      C:\vcpkg\buildtrees\opencv\install-x64-windows-dbg-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/opencv/portfile.cmake:323 (vcpkg_install_cmake)
  scripts/ports.cmake:71 (include)

Error: Building package opencv:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: opencv:x64-windows
  Vcpkg version: 2018.11.23-nohash

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

i tried many times, finally it succeeded

@lineCode How did you solve the problem?

not solved, i only build many times, luck ... ^-^

Same problem here
D:\ProgramFiles\vcpkg>vcpkg install opencv[ffmpeg,qt,vtk,contrib,nonfree]:x64-windows
The following packages will be built and installed:
    opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,qt,tiff,vtk]:x64-windows
Starting package 1/1: opencv:x64-windows
Building package opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,qt,tiff,vtk]:x64-windows...
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-opencv-3.4.3.tar.gz
-- Using source at D:/ProgramFiles/vcpkg/buildtrees/opencv/src/3.4.3-701a6234df
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/data/7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/ffmpeg/fa5a2a4e2f37defcb95bde8ed145c2b3-opencv_ffmpeg.dll
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/ffmpeg/2cc08fc4fef8199fe80e0f126684834f-opencv_ffmpeg_64.dll
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/ffmpeg/3b90f67f4b429e77d3da36698cef700c-ffmpeg_version.cmake
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-opencv_contrib-3.4.3.tar.gz
-- Using source at D:/ProgramFiles/vcpkg/buildtrees/opencv/src/3.4.3-98dbf13329
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:202 (message):
    Command failed: D:/ProgramFiles/vcpkg/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v
    Working Directory: D:/ProgramFiles/vcpkg/buildtrees/opencv/x64-windows-dbg
    See logs for more information:
      D:\ProgramFiles\vcpkg\buildtrees\opencv\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/opencv/portfile.cmake:323 (vcpkg_install_cmake)
  scripts/ports.cmake:71 (include)

Error: Building package opencv:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: opencv:x64-windows
  Vcpkg version: 2018.11.23-nohash

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

My issue is that I tried to install too many features at the same time, so instead I installed less features and it success:
D:\ProgramFiles\vcpkg>vcpkg install opencv[ffmpeg,vtk,contrib,nonfree]:x64-windows
The following packages will be built and installed:
    opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,tiff,vtk]:x64-windows
Starting package 1/1: opencv:x64-windows
Building package opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,tiff,vtk]:x64-windows...
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-opencv-3.4.3.tar.gz
-- Using source at D:/ProgramFiles/vcpkg/buildtrees/opencv/src/3.4.3-701a6234df
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/data/7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/ffmpeg/fa5a2a4e2f37defcb95bde8ed145c2b3-opencv_ffmpeg.dll
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/ffmpeg/2cc08fc4fef8199fe80e0f126684834f-opencv_ffmpeg_64.dll
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-cache/ffmpeg/3b90f67f4b429e77d3da36698cef700c-ffmpeg_version.cmake
-- Using cached D:/ProgramFiles/vcpkg/downloads/opencv-opencv_contrib-3.4.3.tar.gz
-- Using source at D:/ProgramFiles/vcpkg/buildtrees/opencv/src/3.4.3-98dbf13329
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Warning: Could not find a matching pdb file for:
    D:/ProgramFiles/vcpkg/packages/opencv_x64-windows/bin/opencv_ffmpeg343_64.dll
    D:/ProgramFiles/vcpkg/packages/opencv_x64-windows/debug/bin/opencv_ffmpeg343_64.dll

-- Performing post-build validation
-- Performing post-build validation done
Building package opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,tiff,vtk]:x64-windows... done
Installing package opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,tiff,vtk]:x64-windows...
Installing package opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,tiff,vtk]:x64-windows... done
Elapsed time for package opencv:x64-windows: 9.967 min

Total elapsed time: 9.967 min

The package opencv provides CMake integration:

    find_package(OpenCV REQUIRED)
    target_include_directories(main PRIVATE ${OpenCV_INCLUDE_DIRS})
    target_link_libraries(main PRIVATE ${OpenCV_LIBS})

Hi All, thanks for your feedback. I installed opencv[contrib,core,eigen,ffmpeg,flann,jpeg,nonfree,opengl,png,tiff,vtk]:x64-windows successfully with VS 2017 15.9.11, Please try to use latest vcpkg version and reopen a new issue if it still stable reproduce in your side.

@LarryIII thank you for testing, could you also try to install opencv with qt support? and that is where the issue happens to me:
vcpkg install opencv[ffmpeg,qt,vtk,contrib,nonfree]:x64-windows

@mengfan1102 Thanks for your test example. But I still not reproduce it!
Successfully installed on my side with power shell.
Elapsed time for package opencv:x64-windows: 28.25 min
Total elapsed time: 7.954 h

Hi @LarryIII and all,
I have the same issue when running the command  .\vcpkg install pthreads opencv[cuda,ffmpeg] . Sholud I try to downgrade VS to VS 2017 15.9.11? Or do i need to install any specific packages for VS?

Window 10 Pro 1803
VS 2019 16.0.1
Package: opencv:x64-windows
Vcpkg version: 2018.11.23-nohash

Error Log
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:202 (message):
    Command failed: C:/Program Files/CMake/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;-v
    Working Directory: C:/machine_learning/Programme/vcpkg/buildtrees/opencv/x64-windows-dbg
    See logs for more information:
      C:\machine_learning\Programme\vcpkg\buildtrees\opencv\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
  ports/opencv/portfile.cmake:323 (vcpkg_install_cmake)
  scripts/ports.cmake:71 (include)

Error: Building package opencv:x64-windows failed with: BUILD_FAILED

install-x64-windows-dbg-out.log

I solved the problem with a downgrade to VS 2017 15.9.11.

@LarryIII  what code did you typed in the Windows Powershell.exe? Many thanks

@LarryIII what command did you used to install FFMPEG in Windows Powershell

Having the same problem with powershell command ".\vcpkg install pthreads opencv[cuda,ffmpeg]".
Log:
PS C:\Users\JuBaer AD\vcpkg> .\vcpkg install pthreads opencv[cuda,ffmpeg]
Computing installation plan...
The following packages will be built and installed:

cuda[core]:x64-windows
ffmpeg[avresample,core]:x64-windows
hdf5[core,szip,zlib]:x64-windows
libjpeg-turbo[core]:x64-windows
liblzma[core]:x64-windows
libpng[core]:x64-windows
libwebp[core,nearlossless,simd,unicode]:x64-windows
opencv[core,cuda,dnn,ffmpeg,jpeg,opengl,png,tiff,webp]:x64-windows
opencv4[contrib,core,cuda,dnn,ffmpeg,jpeg,opengl,png,tiff,webp]:x64-windows
opengl[core]:x64-windows
protobuf[core]:x64-windows
pthreads[core]:x64-windows
szip[core]:x64-windows
tiff[core]:x64-windows
zlib[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/15: libwebp:x64-windows
Building package libwebp[core,nearlossless,simd,unicode]:x64-windows...
-- Downloading https://github.com/webmproject/libwebp/archive/d7844e9762b61c9638c263657bd49e1690184832.tar.gz...
-- Extracting source C:/Users/JuBaer AD/vcpkg/downloads/webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz
-- Applying patch 0001-build.patch
-- Applying patch 0002-cmake-config-add-backwards-compatibility.patch
-- Applying patch 0003-always-mux.patch
-- Applying patch 0004-add-missing-linked-library.patch
-- Applying patch 0006-fix-dependecies-platform.patch
-- Applying patch 0007-fix-arm-build.patch
-- Applying patch 0008-sdl.patch
-- Applying patch 0009-glut.patch
-- Using source at C:/Users/JuBaer AD/vcpkg/buildtrees/libwebp/src/1690184832-82bbc619db
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/JuBaer AD/vcpkg/packages/libwebp_x64-windows/share/libwebp/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package libwebp[core,nearlossless,simd,unicode]:x64-windows... done
Installing package libwebp[core,nearlossless,simd,unicode]:x64-windows...
Installing package libwebp[core,nearlossless,simd,unicode]:x64-windows... done
Elapsed time for package libwebp:x64-windows: 42.84 s
Starting package 2/15: liblzma:x64-windows
Building package liblzma[core]:x64-windows...
-- Downloading https://github.com/xz-mirror/xz/archive/v5.2.4.tar.gz...
-- Extracting source C:/Users/JuBaer AD/vcpkg/downloads/xz-mirror-xz-v5.2.4.tar.gz
-- Applying patch enable-uwp-builds.patch
-- Using source at C:/Users/JuBaer AD/vcpkg/buildtrees/liblzma/src/v5.2.4-66bfe33102
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/JuBaer AD/vcpkg/packages/liblzma_x64-windows/share/liblzma/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package liblzma[core]:x64-windows... done
Installing package liblzma[core]:x64-windows...
Installing package liblzma[core]:x64-windows... done
Elapsed time for package liblzma:x64-windows: 17.6 s
Starting package 3/15: cuda:x64-windows
Building package cuda[core]:x64-windows...
-- Found CUDA V10.0.130
-- Performing post-build validation
-- Performing post-build validation done
Building package cuda[core]:x64-windows... done
Installing package cuda[core]:x64-windows...
Installing package cuda[core]:x64-windows... done
Elapsed time for package cuda:x64-windows: 252.5 ms
Starting package 4/15: zlib:x64-windows
Building package zlib[core]:x64-windows...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz...
-- Extracting source C:/Users/JuBaer AD/vcpkg/downloads/zlib1211.tar.gz
-- Applying patch cmake_dont_build_more_than_needed.patch
-- Using source at C:/Users/JuBaer AD/vcpkg/buildtrees/zlib/src/1.2.11-deec42f53b
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: C:/Users/JuBaer AD/vcpkg/packages/zlib_x64-windows/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package zlib[core]:x64-windows... done
Installing package zlib[core]:x64-windows...
Installing package zlib[core]:x64-windows... done
Elapsed time for package zlib:x64-windows: 15.67 s
Starting package 5/15: ffmpeg:x64-windows
Building package ffmpeg[avresample,core]:x64-windows...
-- Downloading https://github.com/ffmpeg/ffmpeg/archive/n4.2.tar.gz...
-- Extracting source C:/Users/JuBaer AD/vcpkg/downloads/ffmpeg-ffmpeg-n4.2.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0002-detect-openssl.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-fix-debug-build.patch
-- Applying patch 0005-fix-libvpx-linking.patch
-- Using source at C:/Users/JuBaer AD/vcpkg/buildtrees/ffmpeg/src/n4.2-b7812eeecc
CMake Error at ports/ffmpeg/portfile.cmake:18 (message):
Error: ffmpeg will not build with spaces in the path.  Please use a
directory with no spaces
Call Stack (most recent call first):
scripts/ports.cmake:90 (include)

Error: Building package ffmpeg:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: ffmpeg:x64-windows
Vcpkg version: 2020.02.04-nohash
Additionally, attach any relevant sections from the log files above.
Any solution???

any solution?
···
Error: Building package opencv4:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: opencv4:x86-windows
Vcpkg version: 2020.01.17-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\typer\Downloads\vcpkg-2020.01>.\vcpkg.exe update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.
···

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: ninja -v
Working Directory: D:/darknet/vcpkg-2020.06/buildtrees/opencv4/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\darknet\vcpkg-2020.06\buildtrees\opencv4
config-x64-windows-out.log
config-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:299 (vcpkg_execute_required_process)
ports/opencv4/portfile.cmake:262 (vcpkg_configure_cmake)
scripts/ports.cmake:76 (include)
Error: Building package opencv4:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: opencv4:x64-windows
Vcpkg version: 2020.02.04-nohash

VS2022 enterprise + standalone vcpkg install, still can't install opencv2 just gives the build-failed.
I did notice one odd thing about the debug output:
Command failed: C:/dev/vcpkg/downloads/tools/cmake-3.27.1-windows/cmake-3.27.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j21
notice the "--" before the -v -j21

@calebtt

notice the "--" before the -v -j21

This is normal. -- separates the arguments to CMake itself from arguments to be passed to the actual build tool (e.h. ninja).
Given that this issue is old and closed, you better report a new issue with all proper information.

The problem for me was needing to rebuild the dependencies for opencv or the opencv parts I had installed already after changing VS version.


Save and restore state of ExperimentDataPipe to resume iteration

Great work!
Is there a way to save and restore the state of the IterableDataPipe? The use case is to train for N hours, stop and then resume training at a given point in the iterable. Poking around I could not see any obvious ways in the code.
https://github.com/chanzuckerberg/cellxgene-census/blob/3b935f1199c8ac71245884c0cf6e740fbf8545d8/api/python/cellxgene_census/src/cellxgene_census/experimental/ml/pytorch.py#L329

Thanks for the question! There is not currently a way to save and restore the state of the ExperimentDataPipe, but clearly that would be a useful enhancement for checkpointing support.  Since you want to checkpoint at hourly intervals, it sounds like you are interested in being able to checkpoint in the middle of an epoch, rather than at the end of an epoch, correct?
I believe this could be accomplished by adding support to save and restore the current epoch, the current batch, and the state of the random number generator (used to perform shuffling). I'll raise this with the team to see if it's something we can consider adding.

Thanks for your comment. Mid-epoch restoring is what we are interested in, including RNG state. So you could (at least approximately) stop and resume a training job, even if it would take many many days and you are bound to a queue with 24h max-length jobs. The idea would be to integrate this with Pytorch Lightning DataModule state_dict support as in https://lightning.ai/docs/pytorch/stable/extensions/datamodules_state.html
One could implement a simple batch counter and then re-stream that number of batches with the same seed on restore. Like the old 90s VHS rewinding machines 😆 . Surely there's a better way to save and restore iterator state, but from a quick look at the code, I wasn't able to see it.


Vim9: confusing error when assigning to script-local variable in ":def" function in legacy script without "s:" prefix

Describe the bug
In Vim9 script, assigning to a script-local variable in a :def function in a legacy script might give a confusing error if the s: prefix is omitted.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    let s:name = ''
    def Func()
        name = 'assigned'
    enddef
    call Func()
EOF
)

E1054 is raised:
E1054: Variable already declared in the script: name = 'assigned'

Expected behavior
E476 is raised:
E476: Invalid command: name = 'assigned'

Because the issue is not that we are trying to declare the variable a second time.  A declaration requires the keyword :var; but there is no :var here.
Environment

Vim version: 8.2 Included patches: 1-2725
OS: Ubuntu 16.04.7 LTS
Terminal: xterm(366)

Additional context
Since 8.2.1510, in a legacy script, it is required for the name of a script-local variable to be prefixed with s:, even in a :def function.  That's not the case here:
name = 'assigned'
^
no "s:" prefix

So, name should not be parsed as the name of a variable.

The concept of declaration only makes sense in the Vim9 context.  It doesn't make sense for a legacy script-local variable:
def Func()
    s:name = 123
    s:name = "I was a number, now I'm a string"
    echo s:name
enddef
call Func()

I was a number, now I'm a string

Notice that no error was raised even though the type of s:name has changed.  There is no type checking, which means there was no declaration either.  This contradicts the first error message:
E1054: Variable already declared in the script: name = 'assigned'
       ^-----------------------^

I am reconsidering whether we should require the s: prefix to find a script-local variable only in legacy script.  This rule probably isn't easy to understand.  We also don't require a prefix for finding a function.  We do need the s: prefix if the variable does not exist at the time the function is compiled.  I think that is OK.

This works when legacy is assigned to:
let s:legacy = 'one'
def Func()
    legacy = 'two'
enddef
call Func()

But not when legacy is referred to:
let s:legacy = 'one'
def Func()
    echo legacy
enddef
call Func()

E1001: Variable not found: legacy

In that case, we still need s::
let s:legacy = 'one'
def Func()
    echo s:legacy
enddef
call Func()

one

This seems inconsistent.  And confusing when we do both in the same function:
let s:legacy = 'one'
def Func()
    legacy = 'two'
    echo legacy
enddef
call Func()

E1001: Variable not found: legacy

When referring to a script-local variable in a :def function in a legacy script, we can omit the s: prefix if it was assigned at the script level:
let s:legacy = 'no error'
def Func()
    echo legacy
enddef
call Func()

no error

But not if it was assigned in the :def function itself:
def Func()
    s:legacy = 'no error'
    echo legacy
enddef
call Func()

E1001: Variable not found: legacy

In that case, we still need the s: prefix:
def Func()
    s:legacy = 'no error'
    echo s:legacy
enddef
call Func()

no error

After failing to find legacy in the function scope, shouldn't Vim also look in the script-local namespace?  It would be more consistent with the first snippet.

Ah no.  I understand what happens.  Sorry for the noise.

The rule is that we can drop s: only for variables that Vim can see in the script-local namespace at compile time.  If the variable was not declared in the script earlier, Vim can't know about its existence.  The fact that it's created/assigned in the function itself doesn't matter.  The variable won't exist until runtime.


Add a prompt with a server name where all steps are to be run

Some of these steps are nut fully clear which server they should run on (master(s) ? worker(s) ? which worker ?).
Please add a prompt to each snippet showing where all these commands should be run on.

it's feel like documents are not well structure and in course video just copy/paste this doc without proper explanation, Please add little more info on video

Hi @przemolb
We have now merged a major change to bring this to v1.24.
Many issues have been addressed as part of the upgrade.
I realise this is a very old issue, however I was tasked with closing off all old issues following the upgrade.
Please try it now and feel free to raise further issues.
Thanks.


how to creat a confg file that generate a servic worker that include sw-toolbox and sw-precache

i want the files in the cache update when i do changes in the same file in the server

Do the following help?

https://github.com/GoogleChrome/sw-precache/blob/master/sw-precache-and-sw-toolbox.md
https://github.com/GoogleChrome/sw-precache/blob/master/GettingStarted.md#runtime-caching-for-dynamic-content

Please reopen if that doesn't help.


Resend confirmation email

Hi there,
Not sure if I missed this, but is there a way to resend a confirmation email to a user (that obviously hasn't confirmed his/her email)? Issues occasionally happen with spam folders and what-not, so this would be very useful.
Thanks!

It doesn't look like there is currently an easy way to do this with the public API. You would have to look up the confirm token manually in the userDB and use the superlogin.sendEmail API.
I'll set up a superlogin.resendConfirmation(userId) function in the next release. I will not make this part of the public API until some sort of rate limiting is in place, because this is something that could be harmful if abused.

Hi, meteor is giving this ability to resend email, it'll be really nice to have it. Up to you to add a number of max total resend per user.
:)

I'm currently busy with some other paid projects right now, but within the next couple weeks I intend to sit down and knock out all the high priority issues. Meanwhile, I would love a PR as long as it has tests.

why dont you get a trusted fellow project master programmer that can help you with all that? would be nice to get the project running and updated, even if you are busy or on vacation or...


Add Range slider to maps map

To allow tweaking upper and lower limits of colour palette.

Those last two commits switch to using MUI Material UI, which adds another dependency but removes a heap of fragile code in favour of a very simple interface for a dual range slider. All components in the control panels can then also be switched over to MUI Material UI.

Those commits finally implement a nicely working version. Now just need to add description to the tour to merge first working PR #110

Now there just seems to be a problem with some of the scales (like Transport Interval for Beriln). Need to fix that ...


Missing Struct when generating from CRD

The following CRD does not generate the struct AppProjectStatusJwtTokensByRoleItems, but references it (correctly):
          status:
            description: AppProjectStatus contains status information for AppProject
              CRs
            properties:
              jwtTokensByRole:
                additionalProperties:
                  description: JWTTokens represents a list of JWT tokens
                  properties:
                    items:
                      items:
                        description: JWTToken holds the issuedAt and expiresAt values
                          of a token
                        properties:
                          exp:
                            format: int64
                            type: integer
                          iat:
                            format: int64
                            type: integer
                          id:
                            type: string
                        required:
                        - iat
                        type: object
                      type: array
                  type: object
                description: JWTTokensByRole contains a list of JWT tokens issued
                  for a given role
                type: object
            type: object

Generates:
/// AppProjectStatus contains status information for AppProject CRs
#[derive(Serialize, Deserialize, Clone, Debug, JsonSchema)]
pub struct AppProjectStatus {
    /// JWTTokensByRole contains a list of JWT tokens issued for a given role
    #[serde(default, skip_serializing_if = "Option::is_none", rename = "jwtTokensByRole")]
    pub jwt_tokens_by_role: Option<BTreeMap<String, AppProjectStatusJwtTokensByRole>>,
}

/// JWTTokensByRole contains a list of JWT tokens issued for a given role
#[derive(Serialize, Deserialize, Clone, Debug, JsonSchema)]
pub struct AppProjectStatusJwtTokensByRole {
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub items: Option<Vec<AppProjectStatusJwtTokensByRoleItems>>,
}

The struct AppProjectStatusJwtTokensByRoleItems does not get generated.
To reproduce: curl -sSL https://raw.githubusercontent.com/argoproj/argo-cd/v2.4.0/manifests/crds/appproject-crd.yaml | kopium -Af -
Using a fresh cargo install kopium

hm, that definitely looks like a bug. thank you.
presumably another edge case in the analyzer's array recursion with the double items, should be a nice test case for this :-)

Should be fixed in 0.13.0. Have added your yaml as a test.
Turned out to be a big oversight in the recursion logic that was hard to spot because 1. it was obscured by big function bodies, and 2. it was unlikely to be hit on smaller CRDs.


Subscription challenges

Hello,
I'm attempting to get subscriptions working with Ferry and I'm encountering challenges that are very hard for me to debug.  I found issue (https://github.com/gql-dart/ferry/issues/387) that's been closed stating to look at various graphql documents.
However these documents appear to be using variables and methods that are not available to me in Ferry.
Such as:

Link.split -> It's supposed to have request.isSubscription but the object I'm working with does not have this variable.  I've tried working around the issue by utilizing my operation name so this isn't critical yet.
These docs also state to use client.subscribe(...) however the Ferry client doesn't appear to have such a method.

I know my server is working with subscriptions as I can use the graphiql webpage and when I update my user name the subscription reflects the change in the webpage immediately.
I'm attempting a simple text widget to see the users name change but it's not showing any data, it's always coming back as null.
I'm splitting the link as follows:
Link.split(
  (request) {
    return request.operation.operationName?.toLowerCase().endsWith('subscription') ?? false;
  },
  WebSocketLink(Environment.wsEndpoint),
  HttpLink(params.apiUrl, httpClient: networkClient),
),

This is the widget I'm trying to use to view the name changes:
class NameCard extends StatelessWidget {
  const NameCard({super.key});

  @override
  Widget build(BuildContext context) {
    return Operation(
      client: app<FerryClient>(),
      operationRequest: GNameUpdatedSubscriptionReq(),
      builder: (
        BuildContext context,
        OperationResponse<GNameUpdatedSubscriptionData, GNameUpdatedSubscriptionVars>? response,
        Object? error,
      ) {
        if (response != null && response.hasErrors) {
          throw response.linkException ?? response.graphqlErrors!.first;
        }
        return Text(response?.data?.currentUserUpdated?.user?.name ?? 'N/A');
      },
    );
  }
}

edit
This is my graphql query:
subscription NameUpdatedSubscription {
  currentUserUpdated {
    event
    user {
      name
    }
  }
}

I want to also mention that under normal query circumstances, my queries all work as expected.  So I know my server is capable of sending me the data and my app is capable of receiving it.
However, with subscriptions I'm not getting any error messages, I tried putting a completely bogus websocket address and that caused an exception, so I know it's finding the server.  However when I receive nothing but null values and no error messages I'm not entirely sure how to proceed.
Lastly, I should mention that we're using the IsolateClient, just in case that makes a difference.
Does anyone have any suggestions as having subscriptions work it becoming more and more important.
Thank you,
Michael

Hi,
in the latest alpha version of gql_exec there is the getOperationType() extension on the Operation type, which should allow to easily to determine which operation is a Subscription.
With ferry, you can just use client.request(), since ferry is stream based anyway the API for queries and subscriptions is the same.
It might be that your server only supports the newer graphql-transport-ws protocol, not the legacy subscriptions-transport-ws protocol which is used by WebsocketLink.
There is a pull request for the new PR here: https://github.com/gql-dart/gql/pull/355
and graphql-flutter also has an implementation of a Websocket link that supports the new protocol here: https://github.com/zino-hofmann/graphql-flutter/blob/main/packages/graphql/lib/src/links/websocket_link/websocket_link.dart , but it's not part of gql-dart unfortunately (but is uses the same Link base class and should be compatible)

Thank you @knaeckeKami -- I'll take a look at this information shortly!

Another thing that I forgot: since you are using the IsolateClient, be sure to pass the onError SendPort in case there are uncaught exceptions on the other Isolate.
You can obtain the SendPort by creating a ReceivePort and then accessing its sendPort. Then listen to the ReceivePort for mesages.

I discovered the root problem I was having with this issue... it came down to two things:

I had to use the code from https://github.com/gql-dart/gql/pull/355, most likely due to needing the graphql-transport-ws protocol.
I had to update some code to pass in headers, I realize I could have passed in a socket maker generator, but this is the approach I took.

I changed
        socket = WebSocketChannel.connect(
          Uri.parse(await options.socketMaker.url!()),
          protocols: [graphQLTransportWSProtocol],
        );

To be this:
        socket = IOWebSocketChannel.connect(
          Uri.parse(await options.socketMaker.url!()),
          protocols: [graphQLTransportWSProtocol],
          headers: options.headers,
        );

Note that I had to use IOWebSocketChannel instead of WebSocketChannel to expose the required headers property using the import 'package:web_socket_channel/io.dart'; import.
I also had to update the ClientOptions class to have a property called final Map<String, dynamic>? headers; so that I could access the variable I needed.
Hopefully this helps someone else should they have similar challenges attempting to get subscriptions running using cookie based authentication.
Michael

Thanks for the help @knaeckeKami!


[SR-15694] make isolation inference + override more consistent

During actor isolation inference, we would unconditionally choose the
isolation of the overridden decl (when, say, there is no attribute on the decl).
The overridden decl is identified with getOverriddenDecl.
This works mostly fine, but initializers have some unusual overridden decls
returned by that method. For example, in the following code:
@objc class PictureFrame: NSObject {
  init(size: Int) { }
}

@MainActor
class FooFrame: PictureFrame {
  init() {
    super.init(size: 0)
  }
}

that method claims that FooFrame.init() overrides PictureFrame.init(), when
it really does not! So, if we were to unconditionally take the isolation from
PictureFrame.init() (and thus NSObject.init()), then we'd infer that
FooFrame.init() has unspecified isolation, despite the nominal it resides in
being marked as MainActor. This is in essence the problem in SR-15694, where
placing the isolation directly on the initializer fixes this issue.
If FooFrame.init() really does override, then why can it be MainActor? Well,
we have a rule in one part of the type-checker saying that if an ObjC-imported
decl has unspecified isolation, then overriding it with isolation is permitted.
But the other part of the type-checker dealing with the isolation inference was
not permitting that.
So, this patch unifies how actor-isolation inference is conducted to reuse that
same logic. In addition, the inference now effectively says that, if the decl
has no inferred isolation, or the inferred isolation is invalid according to the
overriding rules, then we use the isolation of the overridden decl. This
preserves the old behavior of the inference, while also fixing this issue with
ObjC declarations by expanding where isolation is allowed.
For example, as a consequence of this change, in the following code:
@MainActor
class FooFrame: NotIsolatedPictureFrame {
  override func rotate() {
    mainActorFn()
  }
}

if NotIsolatedPictureFrame is a plain-old not-isolated class imported from
Objective-C, then rotate will now have MainActor isolation, instead of
having unspecified isolation like it was inferred to have previously. This
helps make things consistent, because rotate is allowed to be @MainActor if
it were explicitly marked as such.
resolves rdar://87217618 / SR-15694

@swift-ci please test

@swift-ci please test and merge

@swift-ci please test and merge


Used minitest::benchmark to profile validation performance

I've had a first pass at benchmarking the gem. This adds a few basic
tests, to ensure that #fully_validate has constant performance as the
size of the json being parsed increases.
I'm not sure it's very useful at the moment. It will fail if any of the
tests do not run in constant time (as the size of the json increases)
but this isn't a problem right now. It would be more instructive to see
the results of this over time, as the codebase changes.
I'd welcome any suggestions for more useful tests.

I wrote this to help with #218

Actually I'm going to close this. I doth think it adds any value


SR-6449: FileManager.removeItem(atPath) leaks

FileManager.fileSystemRepresentation returns a heap allocated
pointer that needs to be freed by the caller.

@parkera Is it worth just fixing this in the 4.1 branch to remove the leak but then coming up with something better for 5 onwards?

I think we're stuck with this until Swift 5, since we shouldn't introduce a source breaking change in a dot release. The Swift 5 solution probably has to be a replacement method.

FileManager could perhaps switch to some other mechanism of getting the C string.

@parkera Sorry, when I said fixing it in 4.1 I meant applying this PR to 4.1-branch to just fix the leak, not change the API.

I thought about this some and I guess this makes sense to do in the short term. Eventually we'll have to just deprecate this API (or remove it, maybe).

@swift-ci please test and merge

@swift-ci please test and merge

@swift-ci please test and merge


Tile in the overview tile has wrong URL

The problem
The URL in the overview tile is wrong and refers to 8006 on the same machine as iobroker, instead to use tiles for each instance with the correct IP or URL, defined in each instance (see screenshots below)
Details see here: https://forum.iobroker.net/post/1186692
Version of nodejs
v20.16.0
Version of ioBroker js-controller
6.0.9
Version of Adapter
v2.3.0
Version of Proxmox
8.2.4
Operating system running ioBroker
Debian - Bookworm
Checklist of files to include below

[X] iobroker.current.log (Please share the logs in debug mode)
[ ] Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads

A log is irrelevant - as this has nothing to do with adapter activities


Tulius has the wrong sword

he usually wields an Elven sword

not an imperial one

That might be from another mod. In vanilla he wields an imperial sword.  Well it's a 'Take my sword. I've sharpened it for the occasion.'  In CWO, when he gives you 'his sword' you get Stormblade, a Glass Sword with a lightning enchantment.

Fair enough, i'll agree with that too and the name "Stormblade" really rubs it in Ulfrics face especially if the Dragonborn kills Ulfric after betraying him

oh also i meant glass


Add creationtime for blob_download operation.

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Add a changelog entry for this PR by answering the following questions:

What's the purpose of the update?

update existing version to fix swagger quality issue

When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.

It's already deployed in service.

When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.

2022-02

If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.

[x] SDK of .NET (need service team to ensure code readiness)
[x] SDK of Python
[ ] SDK of Java
[x] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[ ] No refresh required for updates in this PR

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of "no breaking changes"
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

Applicability: :warning:
If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

Change to data plane APIs
Adding new properties
All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

[ ] Check this box if any of the following apply to the PR so that label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

Adding a new service
Adding new API(s)
Adding a new API version
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.

[ ] Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in a stable version
[ ] Removing properties in a stable version
[ ] Removing API version(s) in a stable version
[ ] Updating API in a stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

Are we sure this change accurately reflects the service?


feat: SDK configurables

This adds the configurables data structures the project, as specified here. Concrete implementations and integration will happen in followup PRs.
Work towards #78

LGTM, though I agree that changing BaseConfiguration to Configuration and PrebuiltConfigurations to Configurations would be nice.

Renamed in https://github.com/momentohq/client-sdk-dotnet/pull/170/commits/36d3c41e41b57822047a411aeb3f4e2311a4c51d


Add cli reference docs page

Checklist:

[ ] Added tests for changed code where applicable.
[x] Documentation reflects the changes where applicable.
[x] Updated the CHANGELOG.md file with your changes.
[x] My PR is ready to review.

**Resolves: **
Description of the changes being introduced by the pull request:
Add CLI Reference documentation page.

Codecov Report

Merging #231 (1cbee86) into master (6ccdad5) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master      #231   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        15    +1
  Lines          394       418   +24
=========================================
+ Hits           394       418   +24

Impacted Files
Coverage Δ

fastapi_mvc/core.py
100.00% <ø> (ø)

fastapi_mvc/cli/cli.py
100.00% <100.00%> (ø)

fastapi_mvc/cli/new.py
100.00% <100.00%> (ø)

fastapi_mvc/cli/update.py
100.00% <100.00%> (ø)

fastapi_mvc/utils/shell.py
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


drivers: serial: sam0: Add DMA async mode

This adds support for the async API for SAM0 SERCOM UARTs using DMA to drive the device.
Tested on SAMD21 with a few trivial programs and with tests/drivers/uart/uart_async_api.

Codecov Report

Merging #14867 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #14867   +/-   ##
=======================================
  Coverage   52.49%   52.49%
=======================================
  Files         309      309
  Lines       45056    45056
  Branches    10432    10432
=======================================
  Hits        23651    23651
  Misses      16592    16592
  Partials     4813     4813

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 5d35b66...64d762a. Read the comment docs.

Updated to reflect the merge of #15956 which allows better conformance to the async API (i.e. no more granularity).  However, this no longer passes the async API test without #16024 (since it now correctly reports some number of bytes sent before the abort).

Updated to reflect #16126 (i.e. the reversion of my incorrect interpretation).  So this is consistent with that applied now.


Added Maven support

can we have this merged?

@LeffelMania how do i use this lib with maven in my project ? It seems that it's not linking.


Batch draw calls?

See https://github.com/bevyengine/bevy/issues/3763#issuecomment-1025022526. I'm not sure if this is actually an issue.

Performance seems like an issue for this crate currently, I'm drawing the same thing multiple times and notice a big dip in fps, batching should help a lot

With Bevy 0.12 getting automatic batching, it might be possible to rework bevy_prototype_lyon so that it can benefit from that. As things stand now, this doesn't help us.
We would need to find some way to reuse generated mesh assets so that shape entities with the same attributes would point at the same mesh asset. I'm guessing that this is more complicated than it sounds -- we need to make sure Bevy's asset lifecycle continues to work. i.e. assets that are no longer referenced in the world get dropped.

Is this fixed? Since Bevy should now group material and meshes together?

As far as I know, no. Last time I looked, Bevy only batches when the mesh handle is identical and unless I missed something, that hasn't changed. My previous message should still generally be true


Scrolling project credits into the launcher

I moved my scrolling credits into the Launcher app. The contents of the scrolling is the same as before. Currently launches with the menu button.
I have not added a menu yet, because I did not want a menu with just one item on it :-) But later if we need a separate menu, we can add the scrolling as one item there.
Please comment, this is certainly not intended as the finished product -- if you have any comments, please share :-)

I'd like to add Theme stuff into the menu at some point- with some sliders (or something) to set R/G/B values for the various (4 IIRC) colours of the launcher Theme.

I'd like to add Theme stuff into the menu at some point- with some sliders (or something) to set R/G/B values for the various (4 IIRC) colours of the launcher Theme.

"gee" (or rabid-inventor) under Pirate Engineer for sure.

Really slick though. Nice work. I also like the black bars.

"gee" (or rabid-inventor) under Pirate Engineer for sure.

Really slick though. Nice work. I also like the black bars.

You should probably also use theme.color_text for white text and theme.color_accent for the green; see:
https://github.com/pimoroni/32blit-beta/blob/a6f5afb987f8555d743310e70d1bead1303f0446/launcher/theme.hpp#L5-L10
This will mean those change with whatever colours the user picks, when theme customization is fully integrated. (right now you need to hexedit .blit/Launcher/save0)

You should probably also use theme.color_text for white text and theme.color_accent for the green; see:
https://github.com/pimoroni/32blit-beta/blob/a6f5afb987f8555d743310e70d1bead1303f0446/launcher/theme.hpp#L5-L10
This will mean those change with whatever colours the user picks, when theme customization is fully integrated. (right now you need to hexedit .blit/Launcher/save0)

insert joke about getting a special colour
lowfatcode == Jon, right? Also, should we be asking people what name to use? (Guess they can just PR if they don't like it...)

insert joke about getting a special colour
lowfatcode == Jon, right? Also, should we be asking people what name to use? (Guess they can just PR if they don't like it...)

@Daft-Freak your name should either flash like a retro “Press Start” prompt or do the sine wave thing from rainbow ascent 🤣🤣

@Daft-Freak your name should either flash like a retro “Press Start” prompt or do the sine wave thing from rainbow ascent 🤣🤣

I realize this is self-serving but do we have a way to update the launcher/credits.cpp file as new people contribute to the repo? Or can this be automated somehow 🤖?

I realize this is self-serving but do we have a way to update the launcher/credits.cpp file as new people contribute to the repo? Or can this be automated somehow 🤖?

What is your special colour @Daft-Freak ? 🤔

What is your special colour @Daft-Freak ? 🤔

I realize this is self-serving but do we have a way to update the launcher/credits.cpp file as new people contribute to the repo? Or can this be automated somehow 🤖?

There should be an API that could get the names from Github. But as some might prefer a nickname - like it was pointed out above - we then would need an additional mapping file as well 😀
That said, I am a big fan of automation.
@Gadgetoid ?

I realize this is self-serving but do we have a way to update the launcher/credits.cpp file as new people contribute to the repo? Or can this be automated somehow 🤖?

There should be an API that could get the names from Github. But as some might prefer a nickname - like it was pointed out above - we then would need an additional mapping file as well 😀
That said, I am a big fan of automation.
@Gadgetoid ?

Added a python script to update the contributors from Github (REST API). I did not add this to the build process, because it would mean every single time the project is built, it would need to make a REST API call. No more offline builds  ... besides, these do not change that often. So probably enough if @Gadgetoid runs it before every release, or something like that.
Added an ignore list to this Python script, so that Pimoroni crew will not end up on the contributors section.
Added a nickname list to this Python script. This is where people can PR their nicknames if they are dissatisfied with the github username.
Everyone above 100 contributions will end up on the Special Thanks list, which also gets a special visual upgrade in the credits :-) Go check it out.
Started using theme colours

Added a python script to update the contributors from Github (REST API). I did not add this to the build process, because it would mean every single time the project is built, it would need to make a REST API call. No more offline builds  ... besides, these do not change that often. So probably enough if @Gadgetoid runs it before every release, or something like that.
Added an ignore list to this Python script, so that Pimoroni crew will not end up on the contributors section.
Added a nickname list to this Python script. This is where people can PR their nicknames if they are dissatisfied with the github username.
Everyone above 100 contributions will end up on the Special Thanks list, which also gets a special visual upgrade in the credits :-) Go check it out.
Started using theme colours

Added rabid-inventor, as suggested above

Added rabid-inventor, as suggested above

Automation is an awesome idea and I think it's entirely possible to add this to the release part of the GitHub Actions and basically forget about it. Will check it out!
Thank you!

Automation is an awesome idea and I think it's entirely possible to add this to the release part of the GitHub Actions and basically forget about it. Will check it out!
Thank you!

In case there are changes, after running the script it would be great to check in any changes, so the file is up to date. Have never automated using GitHub, so I don't know how this is done :)
Anyway, the file contrib.hpp is now part of the repository (is committed). I think it should be like this - the automation only updtes it, but is not like the assets that get generated at compile time.

In case there are changes, after running the script it would be great to check in any changes, so the file is up to date. Have never automated using GitHub, so I don't know how this is done :)
Anyway, the file contrib.hpp is now part of the repository (is committed). I think it should be like this - the automation only updtes it, but is not like the assets that get generated at compile time.

Attempting to update the file during a release would be... interesting (you'd need to commit it, but releases are based on a tag... that would then be before that commit)
Hmm... could do with some nice fonts...

Attempting to update the file during a release would be... interesting (you'd need to commit it, but releases are based on a tag... that would then be before that commit)
Hmm... could do with some nice fonts...

Probably for the best, we've all seen what happens if I try to do anything. :laughing:

We'll cross the release bridge when we come to it, but I suspect just generating the .hpp at release time is probably the sensible choice, and then stub it out with some default (jokey?) values for people building along at home. I don't think generated data necessarily needs source controlled.

We'll cross the release bridge when we come to it, but I suspect just generating the .hpp at release time is probably the sensible choice, and then stub it out with some default (jokey?) values for people building along at home. I don't think generated data necessarily needs source controlled.


Incomplete docs for "Auto-tag orders that contain an out of stock item"

https://tasks.mechanic.dev/auto-tag-orders-that-contain-an-out-of-stock-item
It's unclear that the inventory policy is relevant, from the task documentation. Can y'all add a note about that "DENY" requirement, so as to explain to merchants why a "CONTINUE" policy results in the task ignoring the line item? Or might this purpose be better served by making the policy bit configurable?

I'll make this configurable, per the discussion in #236


feat: allow JavaScript numbers in css template literal

This allows for real JavaScript numbers within the css tagged template literal.
Reference Issue
closes: #488

@daKmoR this looks great! Hopefully wouldn't change anything, but it would be nice to see a test were a number in used in a media query. That is supported by this addition, right?
Also, I'd love to see at least a first pass on adding this to the docs. Though maybe that's best relegated to a follow up PR.

but it would be nice to see a test were a number in used in a media query. That is supported by this addition, right?

yes - but why would you like to see a test for a media query there? testing media queries is a little tough and testing the string
const breakpoint = 600;
expect(css`@media screen and (max-width: ${breakpoint}px) {`.cssText).to.equal('@media screen and (max-width: 600px) {');

seems kinda redundante with the existing test.
so that's probably something to add to the documentation?

I’d like to see it because it was one of the most compelling reasonings I saw for this addition and because I could see (naively) support for this very easily falling victim to regression over time.
You make a good point that the difficulty might outweigh the benefits however it’s not the media query per say that I’d suggest testing as much as that it writes a media query that gets applied. However, it’s likely that I’m just overworried and you’re right that documentation is more in order.

I don't think we need additional tests on the CSS side. As long as we're producing the expected text, the CSS parser will take it from there.

we probably should just adopt Expressions in static styles.
But as it's also altered in https://github.com/Polymer/lit-element/pull/600 it's probably better to do it step by step to avoid an unneeded merge conflict.

Recommend we fix the docs in a follow-on PR. #600 is not correct right now.

friendly reminder :hugs:
are there any blockers for this PR? anything I should adjust?

Thanks @daKmoR!


Chat

I didn't find any mention of a chat, so I added one on matrix: https://matrix.to/#/#wiretrustee:matrix.org

Great idea! Thank you @ptman


Is this the same model as you guys used in https://www.tripo3d.ai/?

Is this the same model as you guys used in https://www.tripo3d.ai/?

These are completely different models and pipelines.


New blog post Sitecore Sitecore Search Best Practice part 2

@francoislg is it good now ?
@SLangevin once its ok we can merge ?


Release on merge

using sbt-release-early

#22

Pull Request Test Coverage Report for Build 13

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

Totals

Change from base Build 12:
0.0%

Covered Lines:
18

Relevant Lines:
38

💛  - Coveralls


swagger-models does not provides correct MANIFEST entries for OSGI

I'm using swagger-jaxrs with swagger-models and other dependencies with version 1.5.0.
My container is OSGI Karaf.
These are interesting MANIFEST.MF entries of swagger-models:
Export-Package =
io.swagger.models.parameters;uses:="com.fasterxml.jackson.annotation,io.swagger.models,io.swagger.models.properties";version=1.5.0,
io.swagger.models.properties;uses:="com.fasterxml.jackson.annotation,io.swagger.models";version=1.5.0,
io.swagger.models;uses:="com.fasterxml.jackson.annotation,io.swagger.models.parameters,io.swagger.models.properties,javax.xml.bind.annotation";version=1.5.0
I can't see sub-package named "io.swagger.models.auth", neither OSGI can, which results in runtime NoClassDefFoundError like this:
Caused by: java.lang.NoClassDefFoundError: io/swagger/models/auth/SecuritySchemeDefinition
at io.swagger.util.Json.create(Json.java:36)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.util.Json.mapper(Json.java:23)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.converter.ModelConverters.(ModelConverters.java:31)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.converter.ModelConverters.(ModelConverters.java:23)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.jaxrs.Reader.parseMethod(Reader.java:768)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.jaxrs.Reader.read(Reader.java:286)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.jaxrs.Reader.read(Reader.java:169)[162:my.application.ws:0.0.6.SNAPSHOT]
at io.swagger.jaxrs.Reader.read(Reader.java:146)[162:my.application.ws:0.0.6.SNAPSHOT]
Looking at swagger-models POM brings obvious anwser:
https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-models/pom.xml#L36
Package is not exported.
Why? Did I missed something?

We're no experts in OSGi. Some other user have mentioned he may submit a few PRs to help the code improve with that regard, but if you know what needs to be done, go ahead and do it.

Added PR, for me it fixed issue, please review and merge if you think it's ok.

Fixed in develop_2.0. Thanks!


Set group Thumbnail

Hello friends
Is there any way to set group thumbnail via WAPI call?
Thanks in advance

This solved all my problems https://green-api.com
WhatsApp API 30 days trial and only $10/month
The you can set group thumbnail


Valid denom cannot be sent via IBC

gamm/pool/1 is a valid denom, ref: sdk validation
but I am getting an error when I try to send it through IBC.
code: 3
codespace: transfer
data: ""
gas_used: "0"
gas_wanted: "0"
height: "0"
info: ""
logs: []
raw_log: 'denomination should be prefixed with the format ''ibc/{hash(trace + "/"
  + gamm/pool/1)}'': invalid denomination for cross-chain transfer'
timestamp: ""
tx: null
txhash: CD4305E38FDDC054B64B8F076DD860AD431EA56E456FE4EF16272571381D1FB8

Thanks for opening this issue, @giansalex.
Looks like we assume that base denominations do not contain /s. If a / is present in the denom, then we always expect that the denom is for an IBC fungible token and has the ibc prefix.
Looks like this would be a bug, but I would like a confirmation also from @colin-axner.

Yea that's a bug. We can change it. Appears that validation function is only used in MsgTransfer anyways. I'm not exactly sure if we even need any of the extra validation in that function. Ensuring it is a valid SDK denom should be good enough


Add ruby/erb language support

Mostly this patch just sets Ruby styles to inherit from the generic styles, but some styles needed to be manually set to make it consistent with the rest of the theme.
Before:

After:

I will spend some more time tweaking this to match the other languages/editors in the nord ecosystem, but this is a huge step up at the moment.

Hi @caleb :wave:, thanks for your contribution :+1:
This already looks great. I'll review and test the changes, but my first change request would be to explicitly define the syntax element attributes instead of inheriting from others.
Unfortunately this is a currently inevitable step we need to go because of the problem documented in #120. It was fixed in #121 some time ago, but for new languages we need to implement keys the same way. Otherwise as far as I can see on the screenshots the highlighting looks fantastic 😄
I'll review it in detail later on. Please note that it might take some time due to hundreds of other issues/PRs/support requests in other projects and my limited free time (combined with the current health situation of this world).

Okay, I can update the theme to specify the colors rather than inherit.
Once this looks good, I have a minor update for the clojure language to change keyword highlighting (e.g. :keyword).
Thanks!

Hi there,
It seems like the problem is still there. Have been patiently waiting since a few months, since I know that Sven is often very busy. Now I just want to ask if this is still in progress?
Thanks in advance!

Hi @arcticicestudio,
Can you already tell, if this one will get reviewed and eventually merged into the next release?

Hi @mariojackson, as far as I understand @caleb was about to update the PR to use the explicitly defined syntax element attributes instead of the inherited colors.
But since it is currently the only remaining ticket for the next release version I can take care of it to ship it as soon as possible.

Hi @arcticicestudio,
That would be awesome if you could do that. If you can't, I could also wait of course or do it myself. I initially thought that this just had to be reviewed :)
Thanks you Sven!

I've adapted the changes and tested it locally. Looks good so far so I guess I'll push and merge this tomorrow to package and deploy the new release version 🚢

@mariojackson Plugin version 0.13.0 is deployed to the JetBrains plugin registry and should be available soon 🚀

Hi @arcticicestudio
Thanks once again for your research, explanations and awesome work ✌🏽
I'm glad to be able to support you a little.
Have a nice start into the week!

Thanks, I wish you the same 😊
Unfortunately the Ruby plugin groups identifiers and structs/classes into the same syntax highlighting group so both are now using nord4. I hope this will me improved in some plugin and RubyMine updates so that we can achieve a more consistent style.


Update the package name to use org.apache.gravitino

I’m interested in working on this issue. Can you please provide more details about this issue?

The current package name is "com.datastrato.gravitino.xxx", we need to change to "org.apache.gravitino.xxx" in everywhere, like java/python code, scripts, documents.

You can go ahead, after the PR is merged, I will assign the issue to you.

No problem. thank you for your feeback.

@jerryshao  hello , after I changed all the "com.datastrato.gravitino.xxx" to "org.apache.gravitino.xxx" , it came out when I ran ./gradlew build . What can I improve this?

I think you should grep all the file contents as well as the file name to see if it is modified. You must miss something, for example like service loader file.

@rich7420
If the issue still persists, please push your branch to Github and we will help to check it.

@yuqi1129 Ok! Thank you for your feedback.


File handle of executable is not closed after execution of the file if the file is on a docker volume

Describe the bug
When a container executes a executable file (*.exe) which is placed inside a docker volume than vmwp.exe keeps a open handle to this file forever (until the container exists).
Hence, e.g. deleting the file after the executable has finished is not possible.
(at least if the container is running in HyperV isolation)
To Reproduce
Run the following steps in a cmd shell:
REM create a host-dir for a docker volume
mkdir .\content

REM copy a executable to the host-dir of a docker volume
copy c:\Windows\System32\xcopy.exe .\content

REM run a docker container which executes the above executable and then tries to delete this executable -> ERROR the executable is still opened by vmwp.exe
docker.exe run --isolation=hyperv -v .\content:c:/content mcr.microsoft.com/windows/nanoserver:ltsc2019 cmd /c "c:\content\xcopy.exe & del c:\content\xcopy.exe"

Expected behavior
The del command should not fail with the error message "Access is denied".
The reason for this seems to be that vmwp.exe still has a open handle to xcopy.exe.
It works if the executable is not on a docker volume but stored direct in the container.
It also works if the executable is not executed before the delete.
Configuration:

Edition: Windows 10 Pro
Base Image being used: nanoserver:ltsc2019
Container engine: docker
Container Engine version docker 27.3.1 (server and client)

@friedrichatgc Hey, thanks for bringing this up. We'll repro this as soon as we can.


Segmentation fault: Builder killed by signal SIGSEGV[11]

Vagga version: v0.4.0-54-g331f7f0
The entire config file:
containers:

  ##[Helpers] Don't use ubuntu container directly, it's only for SubConfigs
  ubuntu:
    setup:
    - !UbuntuRelease { version: 15.10 }

  ##[Helpers] Don't use qt5 container directly, it's only for SubConfigs
  qt5:
    setup:
    - !SubConfig
      container: ubuntu
    - !Install [qt5-default, libgl1-mesa-dev]

  dev-env:
    setup:
    - !SubConfig
      container: qt5

commands:
  build: !Command
    container: dev-env
    description: Build QMLChecker with Qt 5.4.2
    run: "qmake --version"

  shell: !Command
    container: dev-env
    description: Open bash inside the container
    run: /bin/bash

Error:
ERROR:vagga::wrapper: Error executing _build: Builder killed by signal SIGSEGV[11] (core dumped)
Command <Command "/proc/self/exe" ("vagga_wrapper") "_build" "dev-env"; environ: {"ftp_proxy"="[company ftp proxy]","RUST_LOG"="warn","http_proxy"="http://localhost:3128","TERM"="xterm","VAGGA_USER_HOME"="/home/[my company user]","https_proxy"="https://localhost:3128",}; uid_map=[UidMap { inside_uid: 0, outside_uid: 1000, count: 1 }, UidMap { inside_uid: 100000, outside_uid: 100000, count: 65536 }]; gid_map=[GidMap { inside_gid: 0, outside_gid: 1000, count: 1 }, GidMap { inside_gid: 100000, outside_gid: 100000, count: 65536 }]> exited with code 124

Moving !Install in ubuntu container and changing in dev-env to use container ubuntu solves the issue. I wanted to separate the concerns...
What's even more strange, after it installs everything into the container I can change the config file as it was before and it will work ok. If I remove .vagga and run it again, it crashes again.
Segmentation fault even though using Rust :)
Searched now and you do have unsafe in a few locations. For some reason, I searched a while back and had the impression you had no unsafe inside the code(libraries using unsafe, not vagga itself).
Said core dumped but I couldn't manage to find it.

It's probably stack overflow. Unfortunately musl libc has small stack (80kib) but rust usually relies on large stack (order of megabytes). I could not find easy way to change the stack size previously.
Anyway, if you can reproduce it reliably, I'll fix it.
In the meantime, you can probably run vagga _build ubuntu && vagga _build qt5 && vagga _build dev-env. I.e. build containers sequentially.

To reproduce it reliably you have to use this config file and do
rm -rf .vagga && vagga build

Hm, I don't believe I didn't think of it before. With 80k stack and 64k default buffer for file copying (on stack) it surprising that it was working before :)
Fixed in v0.4.1-4-gf63d8a5


[BUG] - Newest release of nebari overrides supplied values for existing and local deployment and existing is broken

Describe the bug
Existing provider is broken due to https://github.com/nebari-dev/nebari/blob/376ffbaac6b555481eafb9686a76d9def772f548/src/_nebari/stages/infrastructure/init.py#L546-L547. Additionally the default values for local and existing are always applied which breaks does not allow local / existing deployments. It is complaining with a kube_context.
Expected behavior
Should preserve local/existing deployment
OS and architecture in which you are running Nebari
latest 2023.10.1.
How to Reproduce the problem?
provider: existing
existing:
kube_context: thisisacontext
Command output
No response
Versions and dependencies used.
No response
Compute environment
None
Integrations
No response
Anything else?
No response

relate to #2064


[Bug]:

Current Behavior
After installing the package into the project here what i m getting below;
it s expecting lower version i assume but the only way i was resolving this issue with downgrading the react-scripts
however i dont know is this expected behavior with react-scripts > 5.0

Expected Behavior
No response
Steps To Reproduce
npm run start
Onboard Version
2.1.0
Node Version
i have tried 12 and 16
What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
No response
Anything else?
No response

Hey @francose thanks for bringing this to our attention. What framework are you using?

See https://webpack.js.org/blog/2020-10-10-webpack-5-release/#automatic-nodejs-polyfills-removed
React scripts 5 uses webpack 5. I've been sticking with react scripts 4 for the time being.

Thank you very much i dont know why it keeps giving me same error. I will try to rebuild in a new project..

@taylorjdawson Thanks it all worked out.


Cluster() should clear the property from all other people

Not sure whether to treat this as a bug in Cluster() or my scripts for Nats23, but a staff member who dropped out received staff assignments late in the competition. Make sure this doesn't happen again.

I think this should be done in the calling script, not directly in Cluster(). It would be weird for Cluster() to modify people not provided, and I could imagine clustering staff and non-staff separately using different scorers.
Leaving open as a reminder to handle this in the calling script.


[#596][#597] Fix decodeIntIfPresent and related tests

Resolves #596 and #597
Short description 📝
Some of our Xcode projects were failing to be decoded due to proxyType being encoded as an Int when decodeIntIfPresent only tries to decode as String/Bool.
Solution 📦

Fix decodeIntIfPresent to try to decode UInt if decoding as String/Bool fails.
Fix _____BuildPhaseTests to properly check failure cases now that decodeIntIfPresent doesn't wrongly throw when trying to decode encoded ints.

Implementation 👩💻👨💻

Detail in a checklist the steps that you took to implement the PR.


Add Python Script for Realtime-Face-Detection

Description
Python Script for a Realtime Face Detection App using Python-OpenCV.
Fixes #31
Replace issue_no in the above line, with the issue related to this PR.
Type of change
Choosing one or more options from the following as per the nature of your Pull request.

NOTE: These boxes can be checked using [X]

[ ] Bug fix (non-breaking change which fixes an issue)

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

[ ] Documentation Update

Checklist:
Please tick all the boxes that are fulfilled by your Pull Request.

[X] I have named my files and folder, according to this project's guidelines.
[X] My code follows the style guidelines of this project.
[X] My Pull Request has a descriptive title. (not a vague title like Update index.md)
[X] I have commented on my code, particularly in hard-to-understand areas.
[X] I have created a helpful and easy to understand README.md, according to the given README_TEMPLATE.
[ ] I have included a requirements.txt file (if external libraries are required.)
[X] My changes do not produce any warnings.
[X] I have added a working sample/screenshot of the script.

hey @pksgmv can you remove the xml file and just mention a link from which it can be downloaded?

hey @pksgmv can you remove the xml file and just mention a link from which it can be downloaded?
also adjust your readme file and add a requirments.txt file

Okay @AdityaJ7 I'll make the above changes and then make a PR...

@tusharnankani Okay. I'll make another PR looking into the errors...

@tusharnankani Okay. I'll make another PR looking into the errors...

You don't need to create another PR, you can push the changes directly to the respective branch you checked out to, and the changes will be made.


Index name lost during groupby aggregates on Streamz Dataframes.

I am trying to do a simple groupbySum using Streamz Dataframes over cudf Dataframes. I am getting an issue wherein the result is correct, but the index name ('x' in this case) is lost. This issue is not seen with Pandas.
I am trying to peruse through the code to see where I would have to make changes to make this work. It would be great if someone could help me out as to where exactly the GroupBy class methods do the index name check happen?
The code to reproduce the bug is:
from streamz import Stream
from streamz.dataframe import DataFrame
import cudf
import numpy as np
import pandas as pd

df = cudf.DataFrame({'x': (np.arange(10) // 2).astype(float), 'y': [1.0, 2.0] * 5})

stream = Stream()
a = DataFrame(example=df.iloc[:0], stream=stream)

def f(x):
    return x.groupby('x').sum()

L = f(a).stream.gather().sink_to_list()

a.emit(df.iloc[:3])
first = df.iloc[:3]

print(L[0])
print(f(first))

The outputs I get are pasted below.
       y
0.0  3.0
1.0  1.0
       y
x
0.0  3.0
1.0  1.0

Is this also true with Pandas instead of cudf? It would help with debugging to keep with the simpler dependency.

@martindurant No, this issue isn't seen with Pandas. That's why debugging it is a little more complex. I'd completely understand if you are not able to test this snippet. :(
Where exactly the GroupBy class/methods in the dataframe folder consider 'x' to be the new index name is not clear to me — maybe you guys can help me out.

I guess check that groupy does the right thing for the cudfs without streamz first, then investigate how the "example" df gets manipulated.

It seems to come from GroupbySum in the initial(...) method. A data frame with an index gets passed into self.grouped(...), but when .sum() is called, the return value is without an index.
return self.grouped(new.iloc[:0], grouper=grouper).sum()

I guess check that groupy does the right thing for the cudfs without streamz first, then investigate how the "example" df gets manipulated.

Yes, I already checked for cudf outside of streamz, and it seems to work fine.


Fix broken links

I just noticed that links to immersion day workshop does not support /en/ in the URL, i've updated README.md links accordingly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Labs have been moved.


Update niche_vegetation.csv

Update in reaction to issue Names for vegetation types are incomplete #79
Changes:
veg 10 = RG Phalaris arundinacea-[Convolvulo-Filipendulion]
veg 11 = RG Juncus effusus-[Molinietalia/Lolio-Potentillion]
veg 13 = RG Glyceria maxima [Phragmitatea]
Also removed the spaces around the hyphen in veg 9 Galio-Alliarion, veg 17 Junco-Molinion, veg 24 Oxycocco-Ericion, veg 28 Calluno-Genistion pilosae

Looks good - Thanks
Closes: #79

Oops, seems I closed when I wanted to merge.


Azure Net App Sample Issue

Section link1, link2, link3, link4

Reason:
Put the parameter in the wrong position.
Suggestion:
Update the code as following:
  const result = await client.netAppResource.checkNameAvailability(
    location,
    name,
    resourceGroup,
    typeParam
  );

@joheredi, @dw511214992 for notification.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'App Services:0.28956097,Docs:0.062473122,Network - Virtual Network:0.040446203'

@kazrael2119 It works well, thank you. I will close the issue now.


When I click on edit the text is not displayed, I need to click ok and click again edit to visualize it

Hello,
Thanks for this package ;)
I tried small game using flutter with code_editor and eval package.
it will be available in few hours there:
https://play.google.com/store/apps/details?id=com.kapalak.connect4
The game is the famous Connect Four, In this Connect4Dev version player can create their own bot.
Before the edit click

First Click on edit

Second Click it is working

Here my code
CodeEditor(                       model: EditorModel(                         files: [                           FileEditor(                             name: "player.dart",                             language: "dart",                             code: player.code,                           )                         ],                         styleOptions: EditorModelStyleOptions(                           showUndoRedoButtons: true,                           reverseEditAndUndoRedoButtons: true,                           fontSize: 13,                         ),                       ),                       disableNavigationbar: true,                       // textModifier: (language, content) {                       //   content = player.code ?? "";                       //   return content;                       // },                       onSubmit: (String language, String value) {                         if (value != player.code) {                           try {                             setState(() {                               errorCodeEditor = "";                             });                             var grid = List.generate(42, (index) => $int(0));                             var clicks = [];                             eval(value,                                 function: 'getColumnToPlay',                                 args: [grid, clicks]);                             player.code = value;                             playerUpdated = true;                           } catch (ex) {                             setState(() {                               errorCodeEditor = ex.toString();                             });                           }                         }                       },                       formatters: const ["dart"],                     ),

same issue.


Find a way to let users know about changes/new features

Use case 1
New species are added to the list.
If I have an alert with Species = All, no problem,  I get notified about new obs within my alert. But if I specified a subset of species, it's not easy for me to get to know about the addition of other species which I could be interested as well.
Use case 2
A species has been replaced with a new one.
This happened yesterday. It could happen again, although not likely.
If I have an alert for that species only, or  a subset of species including it, I will not know why I don't get any observation anymore. I would first think it's just that no obs are made, but that's not the case.
Use case 3
Addition of extra features, improvements of the user experience.
New features and improvements are coming up regularly, that's great. However, they are not communicated at the moment.
Possible solutions
Some solutions popping up in my mind:

A News page with a chronological list of improvements/changes communicating to people our efforts to follow up bugs, feature requests, etc.. This could be enough for Use case 3. Tweeting about it can help as well.
Send mails to all users to inform them about addition of new species/features. This is more "disturbing" but I think is necessary for solving use cases 1 and 2. Notice that the use cases 1 and 2 will occur at year frequency or even less in the future.

@niconoe, @peterdesmet: what do you think about it?

I would add a news page (cf. NEWS.md for R packages), where we describe changes between versions. I would not actively push this information to users, but we can tweet about new versions.

Update: a news page (including a "see/unseen" status per user) is now implemented in the whats_new_page branch. Implementation tests missing.

Tests implemented!


Update state transition matrix

Update to a simpler and slightly easier to read version

It looks like I have forgotten to transpose the state transition matrix in above pull request so that my matrix will replicate yours. But I am curious why you made the matrix "inverted", correct me if I am wrong, according to Rust's paper, I think the matrix produced by codes in above request is in the "Rust 1987" form.


HELP

Hi, i don't know hot to open this because there is no .bat files :?

Are you trying to compile this yourself or open the precompiled version?

@martovasko I feel like you don't understand the base concepts of computers;
.bat files are Batch files, which aren't responsible for most of the runnable stuff, more like a "shortcut".
Please provide further information if you mean something else.


Gives an error when doing a voice request

The error seems obvious from the screenshot lol. Am closing this issue.


New Rule: create IntelliJ plugins

Rule details
IntelliJ plugins
Related ECMAScript feature
No response
What type of rule is this?
Other feature
Which codebase the rule should be implemented?

Participation

[ ] I am willing to submit a pull request to implement this rule.

Additional comments
No response

Backlog of release v3.0.0

free to take

Will be implemented in next release