Cannot import name 'glpk' from 'cvxopt' on ARM.

I have a file that I was able to run on my Mac that has M1 chip. I am current trying to run the code on a Jetson tx1.
I have installed  CVXPY to run on ARM computer:
pip install cvxopt
result:
Collecting cvxopt
  Using cached cvxopt-1.3.2.tar.gz (4.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: cvxopt
  Building wheel for cvxopt (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for cvxopt (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [65 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-aarch64-cpython-37
      creating build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/__init__.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/info.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/_version.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/msk.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/cvxprog.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/misc.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/coneprog.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/modeling.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/solvers.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      copying src/python/printing.py -> build/lib.linux-aarch64-cpython-37/cvxopt
      running build_ext
      building 'base' extension
      creating build/temp.linux-aarch64-cpython-37
      creating build/temp.linux-aarch64-cpython-37/src
      creating build/temp.linux-aarch64-cpython-37/src/C
      gcc -pthread -B /home/ubuntu/c4aarch64_installer/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/c4aarch64_installer/include/python3.7m -c src/C/base.c -o build/temp.linux-aarch64-cpython-37/src/C/base.o
      gcc -pthread -B /home/ubuntu/c4aarch64_installer/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/c4aarch64_installer/include/python3.7m -c src/C/dense.c -o build/temp.linux-aarch64-cpython-37/src/C/dense.o
      gcc -pthread -B /home/ubuntu/c4aarch64_installer/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/c4aarch64_installer/include/python3.7m -c src/C/sparse.c -o build/temp.linux-aarch64-cpython-37/src/C/sparse.o
      gcc -pthread -shared -B /home/ubuntu/c4aarch64_installer/compiler_compat -L/home/ubuntu/c4aarch64_installer/lib -Wl,-rpath=/home/ubuntu/c4aarch64_installer/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-aarch64-cpython-37/src/C/base.o build/temp.linux-aarch64-cpython-37/src/C/dense.o build/temp.linux-aarch64-cpython-37/src/C/sparse.o -L/usr/lib -lm -llapack -lblas -o build/lib.linux-aarch64-cpython-37/cvxopt/base.cpython-37m-aarch64-linux-gnu.so
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../../../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/lib/aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/lib/../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../.." is unsafe for cross-compilation
      building 'blas' extension
      gcc -pthread -B /home/ubuntu/c4aarch64_installer/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/c4aarch64_installer/include/python3.7m -c src/C/blas.c -o build/temp.linux-aarch64-cpython-37/src/C/blas.o
      gcc -pthread -shared -B /home/ubuntu/c4aarch64_installer/compiler_compat -L/home/ubuntu/c4aarch64_installer/lib -Wl,-rpath=/home/ubuntu/c4aarch64_installer/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-aarch64-cpython-37/src/C/blas.o -L/usr/lib -lblas -o build/lib.linux-aarch64-cpython-37/cvxopt/blas.cpython-37m-aarch64-linux-gnu.so
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../../../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/lib/aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/lib/../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../.." is unsafe for cross-compilation
      building 'lapack' extension
      gcc -pthread -B /home/ubuntu/c4aarch64_installer/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/c4aarch64_installer/include/python3.7m -c src/C/lapack.c -o build/temp.linux-aarch64-cpython-37/src/C/lapack.o
      gcc -pthread -shared -B /home/ubuntu/c4aarch64_installer/compiler_compat -L/home/ubuntu/c4aarch64_installer/lib -Wl,-rpath=/home/ubuntu/c4aarch64_installer/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-aarch64-cpython-37/src/C/lapack.o -L/usr/lib -llapack -lblas -o build/lib.linux-aarch64-cpython-37/cvxopt/lapack.cpython-37m-aarch64-linux-gnu.so
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../../aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../../../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/lib/aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/lib/../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/aarch64-linux-gnu" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/../lib" is unsafe for cross-compilation
      /home/ubuntu/c4aarch64_installer/compiler_compat/ld: warning: library search path "/usr/lib/gcc/aarch64-linux-gnu/7/../../.." is unsafe for cross-compilation
      building 'umfpack' extension
      gcc -pthread -B /home/ubuntu/c4aarch64_installer/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include -I/home/ubuntu/c4aarch64_installer/include/python3.7m -c src/C/umfpack.c -o build/temp.linux-aarch64-cpython-37/src/C/umfpack.o
      src/C/umfpack.c:23:10: fatal error: umfpack.h: No such file or directory
       #include "umfpack.h"
                ^~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for cvxopt
Failed to build cvxopt
ERROR: Could not build wheels for cvxopt, which is required to install pyproject.toml-based projects

I then found a solution online to this and did:
 wget http://faculty.cse.tamu.edu/davis/SuiteSparse/SuiteSparse-4.5.3.tar.gz

 tar -xf SuiteSparse-4.5.3.tar.gz SuiteSparse/

 export CVXOPT_SUITESPARSE_SRC_DIR=$(pwd)/SuiteSparse

Then I ran again pip install cvxopt and got an error running my code ModuleNotFoundError: No module named 'cvxpy'
So I ran: pip install cvxpy and sudo apt-get install glpk-utils
I am currently getting:
(CVXPY) Oct 02 04:57:33 PM: Encountered unexpected exception importing solver GLPK:
ImportError("cannot import name 'glpk' from 'cvxopt' (/home/ubuntu/c4aarch64_installer/lib/python3.7/site-packages/cvxopt/__init__.py)")

Traceback (most recent call last):
  File "untitled12.py", line 54, in <module>
    route = vrp_solver.solve_model()
  File "untitled12.py", line 38, in solve_model
    prob.solve(solver=cp.GLPK_MI)  # Use the GLPK MIP solver
  File "/home/ubuntu/c4aarch64_installer/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 495, in solve
    return solve_func(self, *args, **kwargs)
  File "/home/ubuntu/c4aarch64_installer/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 1057, in _solve
    solver, gp, enforce_dpp, ignore_dpp, verbose, canon_backend, kwargs
  File "/home/ubuntu/c4aarch64_installer/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 638, in get_problem_data
    solver_opts=solver_opts)
  File "/home/ubuntu/c4aarch64_installer/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 883, in _construct_chain
    candidate_solvers = self._find_candidate_solvers(solver=solver, gp=gp)
  File "/home/ubuntu/c4aarch64_installer/lib/python3.7/site-packages/cvxpy/problems/problem.py", line 746, in _find_candidate_solvers
    raise error.SolverError("The solver %s is not installed." % solver)
cvxpy.error.SolverError: The solver GLPK_MI is not installed.

I understand it's a cvxpy GitHub, but maybe someone knows how to solve it.

cvxopt and cvxpy are different packages :P You are trying to install cvxopt, not cvxpy.

I am really desperate :D Deleting the post.

Wrong repo.


#feature request: Investigate changes in Git repository

I am sorry if this feature already exists. I could not find it in spyder and I think it is so important and useful.
If it already exists please let me know where I can read about it?
If it does not exist:
I think it is so important to have spyder be more compatible with git, something like what pycharm has here

Hi @seyeeet, thanks for the request. Currently, support is limited and work for it is tracked on https://github.com/spyder-ide/spyder/issues/9001.
Cheers.


Testing

A testing module needs choosing, and testing will need to be built for every included module, or even a generic test (if possible) that should capture from any module.

Does docbuilder need a testing module?

Docbuilder has been moved to its own repo.


use winpty always + catch err

For Windows, it seems that conPty is not very stable yet, enforcing the usage of winPty fixes the console not being released.
We need to handle the rejection of the pty with the code (no stderr: () and process it properly for all OSes.

Uh. Looks the test went haywire. Checking...

fixed 🏁


Fixes #61 macro to use Python ACG

Enables the use of Python code generator that generates
include files from a CSV spec file for a grid comp.

@mathomp4   - I am cancelling this PR at least for the moment.   This macro really needs to evolve as the python script it drives also evolves.   If the macro can live inside MAPL that would be better.


Add explicit return types in std.regex

https://issues.dlang.org/show_bug.cgi?id=18124 : explicit return types are good for documentation. Mildly annoying for editing when you are breaking the public API, but that shouldn't happen, right?

but that shouldn't happen, right?

Quite the contrary, because it's auto we can "break" the API as long as the interface remains the same, e.g. https://github.com/dlang/phobos/pull/5436/files
Thanks for the PR but I'm going to close this because this is churn which has little benefit and restricts us in the future. If you find the documentation lacking, please bug/PR it.

The types are owned by std.regex; they aren't shared with other modules. They have no other purpose. So we can alter them however we wish without having to rename them.
If we needed to switch to a different return type that is shared by another module, it is easy to add an alias.
Finally, the argument that we can alter return types at any time if they're listed as auto applies to literally every function in phobos. What's so special about Capture and RegexMatch that we need to be able to swap them out?

Even worse, such an explicit return type makes function signature looks ugly and any changes to it force us to modify it.
I see no benefit in such prs. Improve the documentation if you want.

@dhasenan thanks a lot for your pull request and wanting to make Phobos a better library. However, I think you should put your energy in something new or real bugs instead.

this is churn which has little benefit and restricts us in the future

+1 (and I also think that auto reads itself a lot better in the documentation than RegexMatch!(Unqual!R)).

If we needed to switch to a different return type that is shared by another module, it is easy to add an alias.

No we wouldn't be able to:

we can't change the meaning of public types
just look at the Unqual's you used

If people really need the return type, it's as simple as typeof(regex("foo").

What's so special about Capture and RegexMatch that we need to be able to swap them out?

Nothing, but development is happening and why should we restrict ourselves without need?


Support symbol values in where and find_by

WHAT
This patch introduces symbol support to where and find_by.
WHY
ActiveRecord accepts symbol values in where and find_by.
I want to use ActiveHash as an alternative of ActiveRecord, so I want symbol support.
Example
Data
# colors.yml
- id: 1
  color: red
- id: 2
  color: blue

# app/models/color.rb
class Color < ActiveYaml::Base
end

Before
[1] pry(main)> Color.where(color: ["red", "blue"])
=> [#<Color:0x007fc79a0e1898 @attributes={:color=>"red", :id=>1}>,
 #<Color:0x007fc79a0e03a8 @attributes={:color=>"blue", :id=>2}>]
[2] pry(main)> Color.where(color: [:red, :blue])
=> []

After
[1] pry(main)> Color.where(color: ["red", "blue"])
=> [#<Color:0x007fc79a0e1898 @attributes={:color=>"red", :id=>1}>,
 #<Color:0x007fc79a0e03a8 @attributes={:color=>"blue", :id=>2}>]
[2] pry(main)> Color.where(color: [:red, :blue])
=> [#<Color:0x007fc79a0e1898 @attributes={:color=>"red", :id=>1}>,
 #<Color:0x007fc79a0e03a8 @attributes={:color=>"blue", :id=>2}>]

Your idea looks good 👍
By the way,  it seems better for performance that we format it to Symbol(using #to_sym). Because Symbol can access faster than String and it is good for memory efficiency too.
Do you have any reason that you choose String?

@syguer
Thank you for your review! 😄

By the way, it seems better for performance that we format it to Symbol(using #to_sym). Because Symbol can access faster than String and it is good for memory efficiency too.
Do you have any reason that you choose String?

I agree with you! 👍
I also checked the cost of respond_to(:to_sym) by running some benchmarks, and result indicates that the cost is very small.
require 'benchmark/ips'

Benchmark.ips do |x|
  x.report "Number#to_s" do |t|
    a = 1

    t.times do
      a.to_s
    end
  end

  x.report "String#to_s" do |t|
    a = "value"

    t.times do
      a.to_s
    end
  end

  x.report "Symbol#to_s" do |t|
    a = :value

    t.times do
      a.to_s
    end
  end

  x.report "String#to_sym" do |t|
    a = "value"

    t.times do
      a.to_sym
    end
  end

  x.report "Symbol#to_sym" do |t|
    a = :value

    t.times do
      a.to_sym
    end
  end

  x.report "Number#to_sym with callability check" do |t|
    a = 1

    t.times do
      a.respond_to?(:to_sym) ? a.to_sym : a
    end
  end

  x.report "String#to_sym with callability check" do |t|
    a = "value"

    t.times do
      a.respond_to?(:to_sym) ? a.to_sym : a
    end
  end

  x.report "Symbol#to_sym with callability check" do |t|
    a = :value

    t.times do
      a.respond_to?(:to_sym) ? a.to_sym : a
    end
  end
end

Number#to_s                           10.146M (± 7.3%) i/s -     50.622M in   5.018917s
String#to_s                           18.255M (±10.1%) i/s -     90.285M in   5.011090s
Symbol#to_s                            9.402M (± 8.4%) i/s -     46.800M in   5.015609s
--------------------------------------------------------------------------
Number#to_sym                                  [no result]
String#to_sym                         10.426M (± 7.6%) i/s -     51.907M in   5.009633s
Symbol#to_sym                         19.776M (± 9.6%) i/s -     97.871M in   5.001819s
--------------------------------------------------------------------------
Number#to_sym with callability check  13.732M (±10.1%) i/s -     67.789M in   5.000646s
String#to_sym with callability check   7.763M (± 7.4%) i/s -     38.663M in   5.009029s
Symbol#to_sym with callability check  12.026M (±10.0%) i/s -     59.373M in   5.002403s

Thanks!
LGTM


Cleanup

Cleans the project from .DS_Store files. Add .DS_Store to exceptions.
Removes duplicate sources.

Thanks Martin to point out this issue. I will fix it on Monday.
Regards,
Kamran
From: Martin Spasov<EMAIL_ADDRESS>Sent: 5. juni 2015 15:04
To: NordicSemiconductor/IOS-nRF-Toolbox
Subject: [IOS-nRF-Toolbox] Cleanup (#2)
Cleans the project from .DS_Store files. Add .DS_Store to exceptions.
Removes duplicate sources.

You can view, comment on, or merge this pull request online at:
https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2
Commit Summary

Removed .DS_Store files.
Ignores .DS_Store files
Cleanup.
Removes duplicated SSZipArchive, adds license.

File Changes

D .DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-0 (0)
M .gitignorehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-1 (2)
R SSZipArchive/SSZipArchiveLicense.rtfhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-2 (0)
D dependencies/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-3 (0)
D dependencies/CorePlotHeaders/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-4 (0)
D nRF Toolbox/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-5 (0)
D nRF Toolbox/Images.xcassets/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-6 (0)
D nRF Toolbox/Images.xcassets/Background4.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-7 (0)
D nRF Toolbox/Images.xcassets/ConnectButton.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-8 (0)
D nRF Toolbox/Images.xcassets/FeatureBPM.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-9 (0)
D nRF Toolbox/Images.xcassets/FeatureBackground.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-10 (0)
D nRF Toolbox/Images.xcassets/FeatureDFU.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-11 (0)
D nRF Toolbox/Images.xcassets/FeatureRSAC.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-12 (0)
D nRF Toolbox/Images.xcassets/FeatureUART.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-13 (0)
D nRF Toolbox/Images.xcassets/file.imageset/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-14 (0)
D nRF Toolbox/SSZipArchive/SSZipArchive.hhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-15 (52)
D nRF Toolbox/SSZipArchive/SSZipArchive.mhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-16 (538)
D nRF Toolbox/SSZipArchive/minizip/crypt.hhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-17 (131)
D nRF Toolbox/SSZipArchive/minizip/ioapi.chttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-18 (239)
D nRF Toolbox/SSZipArchive/minizip/ioapi.hhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-19 (201)
D nRF Toolbox/SSZipArchive/minizip/mztools.chttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-20 (284)
D nRF Toolbox/SSZipArchive/minizip/mztools.hhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-21 (31)
D nRF Toolbox/SSZipArchive/minizip/unzip.chttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-22 (2153)
D nRF Toolbox/SSZipArchive/minizip/unzip.hhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-23 (437)
D nRF Toolbox/SSZipArchive/minizip/zip.chttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-24 (2022)
D nRF Toolbox/SSZipArchive/minizip/zip.hhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-25 (362)
D nRF Toolbox/firmwares/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-26 (0)
D nRF Toolbox/nRF Toolbox/.DS_Storehttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2/files#diff-27 (0)

Patch Links:

https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2.patch
https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2.diff

—
Reply to this email directly or view it on GitHubhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2.

Seems you have decided to reimplement the changes yourself, merging was the easier option imho.
There are several issues I've found in the source that should be addressed:

missing super calls various view methods (fix is here 424a9784cda7c3064d6a0b5a6bc618f98690efb5).
actually the whole source code was included twice, cf2fc15083edbd8aca4545c417547e40f767beb2 fixes it.

Should I rebase for easier merge?

Thanks Martin, I appreciate your suggestions and I have fixed by removing duplicate code, included super calls and also now you can enjoy new code uploaded for UART Remote control.
This time I have fixed things by uploading myself but in future I am looking forward to merge with your suggestions.
Also looking forward more suggestions from you in future.
Regards,
Kamran
From: Martin Spasov<EMAIL_ADDRESS>Sent: 8. juni 2015 12:02
To: NordicSemiconductor/IOS-nRF-Toolbox
Cc: Soomro, Kamran
Subject: Re: [IOS-nRF-Toolbox] Cleanup (#2)
Seems you have decided to reimplement the changes yourself, merging was the easier option imho.
There are several issues I've found in the source that should be addressed:

missing super calls various view methods (fix is here 424a978https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/commit/424a9784cda7c3064d6a0b5a6bc618f98690efb5).
actually the whole source code was included twice, cf2fc15https://github.com/NordicSemiconductor/IOS-nRF-Toolbox/commit/cf2fc15083edbd8aca4545c417547e40f767beb2 fixes it.

Should I rebase for easier merge?
—
Reply to this email directly or view it on GitHubhttps://github.com/NordicSemiconductor/IOS-nRF-Toolbox/pull/2#issuecomment-109938089.

Great. I'll close this PR.


1.2: Fixed issues with --vlan-id on nic create/update

Rolls back PR #293 into 1.2.1

Coverage decreased (-0.03%) to 32.556% when pulling b12039d9bea4f79eaf8fb6c1244224b0d83d2966 on 1.2/andy/fix-nic-create-vlan into a23eb32b2ba6248c284e7225bd7416ce21622833 on stable_1.2.


Earthscope Dataset IAK34

Station IAK34 at Merrill IA, USA, was part of the USArray project, Transportable Array Survey.
Site Name | Site ID | Latitude | Longitude | Project | Survey | Start Time (UTC) | End Time (UTC) | Last modified (UTC)
Merrill, IA, USA | IAK34 | 42.70 | -96.31 | USArray | Transportable Array | 2013-04-25 18:28:59 | 2013-05-27 21:12:55 | 2017-11-08 12:28:05
The dates of this station were April 25 to May 27, 2013
The published results were processed against station NEK33
Buckskin Hills, NE, USA | NEK33 | 42.63 | -96.92 | USArray | Transportable Array | 2013-04-26 17:36:00 | 2013-05-27 16:32:13 | 2017-11-08 12:30:58
General SPUD info can be found here: http://ds.iris.edu/spud/emtf
SPUD results for IAK34 are here http://ds.iris.edu/spud/emtf/14961569#
SPUD results for NEK33 are here http://ds.iris.edu/spud/emtf/14983533#
Looks like the available runs are:   IAK34a IAK34b IAK34c
<RunList>IAK34a IAK34b IAK34c</RunList>

run IAK34b has the following start/end
<Start>2013-04-25T20:10:08</Start>
<End>2013-05-13T21:18:53</End>

and for IAK34c we have:
<Start>2013-05-14T18:11:22</Start>
<End>2013-05-27T21:12:55</End>

For Reference Station NEK33 there were also three runs
<FieldNotes run="NEK33b">

run NEK33b:
<Start>2013-04-26T19:35:07</Start>
<End>2013-05-13T17:38:44</End>

run NEK33c:
<Start>2013-05-13T19:02:54</Start>
<End>2013-05-27T16:32:13</End>

It turns out Gary processed this station with a different remote reference station: NEN34.

It turns out Gary processed this station with a different remote reference station: NEN34.
In any case I cannot seem to access station IAK34 from IRIS on either ZU or XX networks.
trying to go to this website:
https://service.iris.edu/fdsnwsbeta/station/1/query?net=ZU&sta=IAK34&level=response&format=xml&includecomments=true&nodata=404
Results in 404
However if I replace IAK34 with say CAS04 in the URL I do get an XML metadata page

The data should be on the EM network


Metadata properties are responding with 500 Internal Errors during ContentUpload

Describe the bug
Issued code: https://github.com/Virtomize/confluence-go-api/blob/master/content.go#L39
Metadata properties are responding with 500 Internal Errors.
With the implementation of Metadata, Confluence is continuously returning 500 errors.
To Reproduce
Let's try to configure Metadata in the following way:
		Metadata: &goconfluence.Metadata{
			Properties: &goconfluence.Properties{
				ContentAppearanceDraft: &goconfluence.ContentAppearanceDraft{
					Value: "full-width",
				},
				ContentAppearancePublished: &goconfluence.ContentAppearancePublished{
					Value: "full-width",
				},
			},
		},

Expected behavior
The operation - UploadContent should be completed successfully.
The Content should be uploaded the response code should be 200 and the layout should be configured for "full-width".
Release version
v1.4.4
Additional context
Found open-source references:
		// Commented because Confluence was returned:
// '{"statusCode":500,"message":"java.lang.NullPointerException: null"}'
Solution
I found the solution to fix the issue with these 500 errors.
Based on community comments:
https://community.developer.atlassian.com/t/make-layout-full-width-when-creating-page/40461/3
The editor property should be not included in the request.
Even if this property isn't configured, go-confluence is attaching this field with the value: none
The solution is to omit/remove this parameter in the request.
Remove -> https://github.com/Virtomize/confluence-go-api/blob/master/content.go#L45
and run the above configuration again to resolve the issue and receive a 200 status code from Confluence.
or:
Fix it modifying:
	Editor                     *Editor                     `json:"editor,omitempty"`

PR: #60


[PR] Integration of Docker with Bind Mounts and Compose for Production and Development (#79)

Description
This pull request addresses issue #79 by implementing Docker integration with bind mounts for local development and multi stage builds for production environments. The changes are summarized as follows:
Changes Made

Added Docker Compose files for both production and development environments
Integrated bind mounts for development environment
Implemented multi-stage builds for production environment

Related Issues
Closes #79

@hkirat  brought postgres from docker and passed it as env
Please review the changes and let me know if any changes are required

@Kartik1110
Please review the changes

Outdated. Please open a new one if you have some bandwidth


[Bug]: Taxon name doesn't appear in "Citations by source" module

Steps to reproduce the bug
1. I have registered species Ischyropsalis ruffoi Caporiacco, 1947, which is a junior synonym of Ischyropsalis strandi Kratochvíl, 1936.
2. However, species name doesn't appear in the corresponding Citations by source page.
3. I suspect it might be because of another persistent bug which manifests whenever author name has a preposition such as "de" or "di".
See here:
https://sfg.taxonworks.org/tasks/nomenclature/browse?taxon_name_id=321915
https://sfg.taxonworks.org/tasks/nomenclature/by_source?source_id=110638

Screenshot

Expected behavior
No response
Additional Screenshots
No response
Environment
Production
Sandbox Used
No response
Version
No response
Browser Used
chrome

Original combination for the taxon is missing, that is why the blank record is displayed. But it is still a bug.

Thanks, Dmitry! It was missing because of some bug due to the new overhaul. We couldn't always register -- it kept disappearing... Now it seems all OK.

@adrik29 are you saying we can close this issue now?

Thanks, closing for now.

Uh... the bug is back. I entered two new combinations and they appear only as placeholders in the "Citations by source" module. The original citation is OK, I have even created OTUs, thinking that might be the problem, but nothing works.

https://sfg.taxonworks.org/tasks/nomenclature/by_source?source_id=131692

https://sfg.taxonworks.org/tasks/nomenclature/browse?taxon_name_id=321630


Shield support region locked to us-east-1

Session creation for setting Shield protection through Custodian has been pre-pointed to us-east-1, rather than dynamically detecting whichever account Custodian is running against.
Attempting to set against a different region results in this error, in this example attempting to run against accounts in us-west-2: ClientError: An error occurred (InvalidSignatureException) when calling the DescribeSubscription operation: Credential should be scoped to a valid region, not 'us-west-2'.
The below lines should probably be set to inherit the region from the policy rather than pre-defining the value in-line as done currently.
https://github.com/capitalone/cloud-custodian/blob/master/c7n/resources/shield.py#L72
https://github.com/capitalone/cloud-custodian/blob/master/c7n/resources/shield.py#L104

I don't think shield is a available across all regions.
https://aws.amazon.com/about-aws/whats-new/2018/01/aws-shield-advanced-and-aws-waf-now-available-in-asia-pacific-sydney-and-eu-frankfurt-regions/

hmmm,  yeah there's something odd here, i think my intent was for around cloudfront for us-east-1 since its a global resource. thanks for filing the issue.


add protobuf version dependency to py requirements

Fixes #337
Based on https://github.com/protocolbuffers/protobuf/issues/10051#issuecomment-1138392640
May not be a permanent fix.

E2E tests pass


[Feature] Remove the contributing steps from readme.md file

Description
Hey, @ShwetKhatri2001 The contributing.md file already contains all the steps for contribution. So there is no need to keep these steps in readme.md file. So I want to remove it. Please assign me this issue. Thank you!
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

I think for an open-source project the steps to setup the project has to be on README.md as well, since its the first reference for anyone trying out the project.

ok ok cool np!


Endpoint with parameter that has forward "/" slashes

Is there a way to put a parameter that is part of the URL but it has forward-slashes?
For example:
from fastapi import FastAPI

app = FastAPI()

@app.get("/items/{path}")
def read_root(path:str="/inventory/armor/helmet):
    return path

With that route above, if I put example.com/items/this/is/my/path I get a 404.

thanks for the reply; I've put the {path} as a query string parameter now.
@app.get("/items/{path}")
def read_root(k:str =Query(None)):
    return path

This works and seems safe.

Thanks for the help here @Kludex! :clap: :bow:
Thanks for reporting back and closing the issue @NickDatLe  :+1:

If I've understood this issue correctly then there's now a solution in the official docs using Starlette which is similar to one of the answers in the Stackoverflow.


Bugfix wink: Missing garage door detection

Related issue (if applicable): fixes #
#3346  #3348

🐬


PDF bookmarks don't link to the right pages

PDF bookmarks don't always link to the right pages. For example, if you download the PDF here and click the "Namespaces" bookmark, page 347 ("Transfers of Control") is displayed. Many other bookmarks are also wrong (some are more than one page off). To be clear, the bookmarks I'm referring to are the PDF bookmarks, not the links in the table of contents section of the document. The same problem appears when reading the PDF in Google Chrome and in Adobe Acrobat, so I think the problem is with the PDF, not with the reader.

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

ID: 55b79794-72e8-5fc5-1788-e6bee86d040d
Version Independent ID: 3e6dc433-4bab-13cd-50ff-4212e79e3056
Content: C++ Language Reference
Content Source: docs/cpp/cpp-language-reference.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @corob-msft
Microsoft Alias: corob

Closing as part of backlog grooming. We have accrued more issues than our resources can manage.
Criteria for closing include severity of the issue, how broadly applicable it is, whether the issue enough information is provide to act on the issue, how old it is, etc.
If you think this issue should not have been closed, reopen it with a comment explaining why.


[dart2js] dynamic call uses any instead of instantiating to bounds

class Foo<T> {
  void bar<S extends T>() {
    void baz<X>() => print(X);
    baz<S>();
  }
}

void main() {
  var foo1 = Foo<num>();
  foo1.bar();

  dynamic foo2 = Foo<int>();
  foo2.bar();
}

On the VM, this prints num and int. dart2js prints num and any. Here's the relevant compiled code:
main: function() {
  new V.Foo(type$.Foo_legacy_num).bar$1$0(type$.legacy_num);
  new V.Foo(type$.Foo_legacy_int).bar$0();
}

V.Foo.prototype = {
  bar$1$0: function($S) {
    H.checkTypeBound($S, this.$ti._eval$1("1*"), "S", "bar");
    new V.Foo_bar_baz().call$1$0($S._eval$1("0*"));
  },
  bar$0: function() {
    return this.bar$1$0(type$.any);
  }
};

I believe the any comes from here: https://github.com/dart-lang/sdk/blob/62cc07dbca3bbfc42e99b821d9ea512f0187bcd0/pkg/compiler/lib/src/js_emitter/parameter_stub_generator.dart#L177
This causes {language,language_2}/closure/type_arguments_test to fail on on https://dart-review.googlesource.com/c/sdk/+/151460

Fixing this requires that we push (some) parameter stubs through SSA.
We might be able to hack up an access to the class environment, but it will not benefit from optimizations that we currently do in SSA. I'm sure we could construct a case similar to this based on nested closures / local functions where we would have no idea of how to access type variables without generating SSA.
See #32741.

/cc @biggs0125


Charset.forName -> StandardCharsets & Linting fixes

The first commit will have the code changes and the second will have formatting fixes

Your commit does have some merit, but I don't see all the changes as usable. I wouldn't say I disagree with your formatting changes, but I could see this be changed back and forth for every developer who likes the formatting differently.
But I want to say thank you anyway for your contribution and interest in the project :)

Sure no problems. :)


Update torchscript or remove dependence

Torch Script - onnx does not support float8:
  File "/home/justinchu/anaconda3/envs/onnx/lib/python3.10/site-packages/torch/onnx/_internal/exporter.py", line 837, in export
    onnx_model = onnxscript_graph.to_model_proto(
  File "<@beartype(onnxscript.function_libs.torch_lib.graph_building.TorchScriptGraph.to_model_proto) at 0x7f0b8c1a32e0>", line 51, in to_model_proto
  File "/home/justinchu/dev/onnx-script/onnxscript/function_libs/torch_lib/graph_building.py", line 691, in to_model_proto
    ) = self._torch_graph._export_onnx(  # type: ignore[attr-defined] # pylint: disable=protected-access
RuntimeError: ScalarType Float8_e5m2 is an unexpected tensor scalar type

Fix by adding dtype mapping

https://github.com/pytorch/pytorch/blob/main/torch/csrc/jit/serialization/export.cpp
https://github.com/pytorch/pytorch/blob/main/torch/csrc/jit/passes/onnx/helper.cpp

Requires ONNX version bump

https://github.com/pytorch/pytorch/pull/106883

https://github.com/pytorch/pytorch/pull/106379


get_mutation_frequency_bin_matrix example in vignette causes R session to hang

This issue is self-explanatory. It would be good to know if someone else can reproduce this issue or if this was specific to my session.

The example above works fine in my session. However, the execution of this chunk does take a few moments to complete. Maybe someone else should also have a go at this and see if my session is the exception (since I added the example)?


Spelling, wording

Once more, with feeling.
Signed-off-by: Brian Weston<EMAIL_ADDRESS>

Thank you @MrChozo!! Much appreciated.


ros_canopen: 0.7.9-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_canopen to 0.7.9-0:

upstream repository: https://github.com/ros-industrial/ros_canopen.git
release repository: https://github.com/ros-industrial-release/ros_canopen-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.6.4
previous version for package: 0.7.8-0

can_msgs

No changes

canopen_402
* fix initialization bug in ProfiledPositionMode
* Contributors: Mathias Lüdtke

canopen_chain_node

No changes

canopen_master
* provided KeyHash
  for use with unordered containers
* added c_array access functons to can::Frame
* Contributors: Mathias Lüdtke

canopen_motor_node
* introduced HandleLayerSharedPtr
* Contributors: Mathias Lüdtke

ros_canopen

No changes

socketcan_bridge
* compare can_msgs::Frame and can::Frame properly
* Contributors: Mathias Lüdtke

socketcan_interface
* introduced ROSCANOPEN_MAKE_SHARED
* added c_array access functons to can::Frame
* Contributors: Mathias Lüdtke

Holding for Melodic release.


The link for looking up the users district court on a map is broken

There is no obvious alternative for this resource when searching on MLH's site. However, it may not be needed anymore for the Docassemble interview since the district is automatically selected based on the address (including for a county like Genesee with multiple district courts).
@ekressmiller The A2j interview still has you select the district court and this broken link is also listed there.

I think it's likely just that the logic for court selection had not yet been finished by MobileFirst, because the County should not be enough to select the court when there are multiple district courts for that county.
I have emailed Nora (SME) and Wilson (our MLH website dev) to see if we still have the resource the link was supposed to go to.

Here's an updated link: https://michiganlegalhelp.org/sites/default/files/2024-12/trial-court-map-w-regions.pdf
Wilson redirected the old address so it so the existing LHI tool link should also be fixed in the interim.

Our framework has code under "Court Loader" which you should be able to use to get to the point of selecting the right court.
I think we want to first ask for county. If there's more than one district court for that county (try looking at court_count in the yaml linked above), we would then ask them pick from a list. If there's only one district court for that county, we would just set it behind the scenes and move on.


Bug thats need fix 0.0/suggestion

BUG = Hey Its me again :D lol just coming by to say that your able to "break" blocks in protected areas
they dont break but it acts if as your breaking a normal piece of wood please fix :D
Basically what im tryna say is your able to sit there in a protected area "breaking" the block and getting money every fer 2-3 mins
SUGGESTION! = Also please add a cooldown for each job/goal

This was already reported by me at the time, but he ignored me.
I told him that if you have a protected area in a world where you can bite for example, you cannot remove that permission because otherwise they would not get money there, and you can not change the game mode of that area because sometimes it is bugea and the transition of the objects with worldguard are fired and they lose items.


[Source Request] 123Movies

Source name
123Movies
Source link
https://123movies.tw/
Language
English
Other details
A free torrent website for movies with a variety of choices. It has some that other sources do not have as well.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

Closing as site is blank


Change fallback fonts to something readable

Change-Id: I5f5ce8c7113b2188083ef0ec9ef2bcc4d74f5500

Mh, what's not readable about it?
A screenshot would help.

Because the first three fonts are not installed on my machine, it falls back to "Courier" which is pretty ugly.


http proxy for express

Have you considered adding support for http proxy? It would be a very helpful feature.
tools/utils/server.ts file:
export function serveSPA() {
  ...

  //  currently express-http-proxy is not  DefinitelyTyped
  var proxy = require('express-http-proxy');

  server.use('/api/*', proxy('localhost:4567', {
      decorateRequest: function(req) {
        req.path = req.path + req.params['0'];
        return req;
      },
      forwardPath: function(req, res) {
        return require('url').parse(req.url).path;
      }
    })
  );
}

For the above code, /api/somePath will be translated to localhost:4567/somePath

Hey @pmackowski thanks for the suggestion! This is out of the scope of the seed project. We provide only the front-end of your application, express is included only for development purposes.


[QUESTION]How can I get the merge data from excel file

Prerequisites

[X ] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
[X ] Checked that your issue isn't already filed.
[X ] Checked if no PR was submitted that fixes this problem.

Versions

PHP version: 7.1
Laravel version: 5.2
Package version: 2.1

Description
get merge data and their relevance
Steps to Reproduce

this is the excel file image

I need the data like this:
[
           'father'=>[
               'son1'=>[
                   'money'=>1
               ],
               'son2'=>[
                   'money1'=>2,
                   'money2'=>3,
               ]
           ]
]

Thanks!

Hey @hhxiaohei that's something to custom to handle with importing the file as array. You'll have to do the looping yourself using PhpExcel methods (e.g. $sheet->getCell('B8')->getValue())  or you could try something like import by config: https://laravel-excel.maatwebsite.nl/docs/2.1/import/config

Closing due to inactivity.


Fix crossover same key

Hello,
It is still throwing me out of the app wihen i try to use crossovers, will upload error soon.
here are my setting , are they OK?
CROSSOVER_STD_CROSSOVER_0_ENABLED=false
CROSSOVER_STD_CROSSOVER_0_ALERT_FREQUENCY=always
CROSSOVER_STD_CROSSOVER_0_KEY_INDICATOR=sma
CROSSOVER_STD_CROSSOVER_0_KEY_INDICATOR_INDEX=0
CROSSOVER_STD_CROSSOVER_0_KEY_SIGNAL=sma
CROSSOVER_STD_CROSSOVER_0_CROSSED_INDICATOR=sma
CROSSOVER_STD_CROSSOVER_0_CROSSED_INDICATOR_INDEX=1
CROSSOVER_STD_CROSSOVER_0_CROSSED_SIGNAL=sma


Unable to run iOS after build

Describe the bug
I was trying to build an ios app with compose.
I followed [this guide], and build a simple compose app using Android Studio.
However, after a successful build, only the following message appears and it does not run.
Even if I run the targeted ios simulator directly, nothing is installed.

/Users/smith.jspiner/android/KRepository/build/ios/Debug-iphonesimulator/iosApp.app

Android works fine.
I think something is wrong with the communication with xcode.
Because when I try to close android studio, 'waiting for process detach' message comes out and it goes into an infinite waiting state.
Affected platforms

iOS

Versions\

Compose Multiplatform version*: 1.8.21
OS version(s)* (required for Desktop and iOS issues): I tried on macOS 13.4 and Monterey
OS architecture (x86 or arm64): arm64
JDK (for desktop issues): java <IP_ADDRESS>

Additional context
I tried just build a simple iOS app in xCode, it works fine.
I checked kdoctor, it says fine.
I changed ios simulator several versions, it works fail.
I updated macOS version, it works fail.
I updated xCode to 14.3.1, it works fail.
I tried reboot android studio, xCode and mac but it failed.

What is the guide you followed?

@m-sasha
I tried two project
First, clone this repository and try build & run.
Second, create new empty project from android studio and try build & run.
I also checked kotlin multiplatform mobile plugin is installed. I'm using 0.6.0(222)-13 version.
Which one should I check?

The same happens to me. I believe xCode sets something somewhere that Android Studio doesn't.

Hmm, I just followed the instructions in that repo (for the first time) and it worked for me. Can you say exactly what steps you did? Preferably with screenshots.

Hmm, I just followed the instructions in that repo (for the first time) and it worked for me. Can you say exactly what steps you did? Preferably with screenshots.

I am not following any tutorial, just clone the template or the examples and modify them from Android Studio. I have noticed that if I don't open the iOSApp module with xCode it doesn't run.
Once I open the project once, then it starts working.

I met the same issue and has been resolved by running the following command:
sudo chown [username] ~/Library/LaunchAgents
Solution was found here

I am having the same issue as described by @JSpiner. Following this guide: [https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-multiplatform-getting-started.html].
Some Info:
Compose Multiplatform version:  0.8.1
OS version: macOS 13.0.1 Ventura
OS architecture (x86 or arm64): arm64 (M1)
JDK : 17.07

I tried the solution referred to by @benjamin-cheng, and it did not work. The output from the logs (retrieved by following steps in the solution) are the following. I have not been able to resolve this issue...
java.lang.Throwable: Assertion failed: Attempted to use an uninitialized connection
	at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:258)
	at com.jetbrains.cidr.xcode.XPCServiceConnection.invokeService(XPCServiceConnection.kt:236)
	at com.jetbrains.cidr.xcode.XPCServiceConnection$getValue$3.invoke(XPCServiceConnection.kt:232)
	at com.jetbrains.cidr.xcode.XPCServiceConnection$getValue$3.invoke(XPCServiceConnection.kt:232)
	at com.jetbrains.cidr.xcode.XPCServiceConnection.getValue$lambda$11(XPCServiceConnection.kt:213)
	at com.jetbrains.cidr.ObjCHelper.performWithCallback(ObjCHelper.java:143)
	at com.jetbrains.cidr.xcode.XPCServiceConnection.getValue(XPCServiceConnection.kt:213)
	at com.jetbrains.cidr.xcode.XPCServiceConnection.getValue(XPCServiceConnection.kt:232)
	at com.jetbrains.cidr.execution.JBDeviceFramework$Companion$getValue$1.invokeSuspend(JBDeviceFramework.kt:62)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at com.jetbrains.cidr.execution.JBDeviceFramework$Companion.getValue(JBDeviceFramework.kt:60)
	at com.jetbrains.cidr.execution.JBDeviceFramework.getValue(JBDeviceFramework.kt)
	at com.jetbrains.cidr.execution.AppleProcessHandler.lambda$new$4(AppleProcessHandler.java:187)
	at com.jetbrains.cidr.execution.AppleProcessHandler.startProcess(AppleProcessHandler.java:263)
	at com.jetbrains.cidr.execution.AppleProcessHandler.lambda$new$5(AppleProcessHandler.java:186)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:296)
	at com.intellij.util.concurrency.QueueProcessor$RunnableConsumer.consume(QueueProcessor.java:293)
	at com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$0(QueueProcessor.java:80)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:249)
	at com.intellij.util.concurrency.QueueProcessor.lambda$wrappingProcessor$1(QueueProcessor.java:80)
	at com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$3(QueueProcessor.java:223)
	at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:249)
	at com.intellij.util.concurrency.QueueProcessor.lambda$startProcessing$4(QueueProcessor.java:223)
	at com.intellij.util.concurrency.AppJavaExecutorUtil$executeOnPooledIoThread$1$1.invoke(executor.kt:19)
	at com.intellij.util.concurrency.AppJavaExecutorUtil$executeOnPooledIoThread$1$1.invoke(executor.kt:19)
	at com.intellij.openapi.progress.CancellationKt.withCurrentJob$lambda$0(cancellation.kt:17)
	at com.intellij.openapi.progress.Cancellation.withCurrentJob(Cancellation.java:60)
	at com.intellij.openapi.progress.CancellationKt.withCurrentJob(cancellation.kt:17)
	at com.intellij.openapi.progress.CoroutinesKt.blockingContext(coroutines.kt:193)
	at com.intellij.util.concurrency.AppJavaExecutorUtil$executeOnPooledIoThread$1.invokeSuspend(executor.kt:19)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
2023-12-14 17:29:54,970 [  31690] SEVERE - #c.j.c.e.deviceSupport - Android Studio Hedgehog | 2023.1.1  Build #AI-231.9392.1.2311.11076708
2023-12-14 17:29:54,970 [  31690] SEVERE - #c.j.c.e.deviceSupport - JDK: 17.0.7; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2023-12-14 17:29:54,970 [  31690] SEVERE - #c.j.c.e.deviceSupport - OS: Mac OS X
2023-12-14 17:29:54,970 [  31690] SEVERE - #c.j.c.e.deviceSupport - Plugin to blame: Kotlin Multiplatform Mobile version: 0.8.1(231)-23
2023-12-14 17:29:58,930 [  35650]   INFO - #c.i.u.MemTester - not supported: not an executable file: null
2023-12-14 17:30:08,191 [  44911]   WARN - #c.j.c.xcode - Could not retrieve service endpoint for JBDevice.framework/Versions/A/Resources/JBDeviceService
2023-12-14 17:30:08,247 [  44967]   INFO - #c.j.c.xcode - dyld[6994]: Symbol not found: _$s10CoreDevice06RemoteB0C07acquireB14UsageAssertion10withReason7optionsAA0beF0CSS_AA0eF7OptionsVtYaKF
2023-12-14 17:30:08,247 [  44967]   INFO - #c.j.c.xcode - Referenced from: <C16FF0DD-0D1D-3230-8CFB-973AA18710B3> /Users/nick/Library/Application Support/Google/AndroidStudio2023.1/plugins/kmm/bin/JBDevice.framework/Versions/A/Resources/JBDeviceService
2023-12-14 17:30:08,247 [  44967]   INFO - #c.j.c.xcode - Expected in:     <3F15E8A3-08F3-3428-9BF3-42CA3F6475E6> /Library/Developer/PrivateFrameworks/CoreDevice.framework/Versions/A/CoreDevice

i had same issue, but then i added java home path to xcode as custom path and it worked, i'm using java from sdkman

Any updates about this issue? I'm getting the exact same error.
OS version: MacOS Monterey 12.7.3
OS architecture: x86_64
JDK (for desktop issues): java 21.0.2
Android Studio version(s): Android Studio Iguana 2023.2.1 RC 2. I migrated from Android Studio Hedgehog | 2023.1.1 Patch 2
Kotlin Multiplatform Mobile plugin: 0.8.2(232)-20
Kdoctor:
[✓] Operation System
  ➤ Version OS: macOS 12.7.3
    CPU: Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz

[✓] Java
  ➤ Java (openjdk version "21.0.2" 2024-01-16 LTS)
    Location: /Users/asahel/.sdkman/candidates/java/current/bin/java
  ➤ JAVA_HOME: /Users/asahel/.sdkman/candidates/java/current

[✓] Android Studio
  ➤ Android Studio (AI-232.10227.8.2321.11429013)
    Location: /Applications/Android Studio.app
    Bundled Java: openjdk 17.0.9 2023-10-17
    Kotlin Plugin: 232-1.9.0-release-358-AS10227.8.2321.11429013
    Kotlin Multiplatform Mobile Plugin: 0.8.2(232)-20
  i Note that, by default, Android Studio uses bundled JDK for Gradle tasks execution.
    Gradle JDK can be configured in Android Studio Preferences under Build, Execution, Deployment -> Build Tools -> Gradle section

[✓] Xcode
  ➤ Xcode (14.2)
    Location: /Applications/Xcode.app
  i Xcode JAVA_HOME: /Users/asahel/.sdkman/candidates/java/current
    Xcode JAVA_HOME can be configured in Xcode -> Settings -> Locations -> Custom Paths

[✓] CocoaPods
  ➤ ruby (ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin21])
  ➤ ruby gems (3.2.3)
  ➤ cocoapods (1.15.2)

[✓] Synthetic generated project
  ➤ Template project build was successful

[✓] Project: /Users/asahel/StudioProjects/sick_trainer
  ➤ Gradle (8.4)
  ➤ Gradle plugins:
    com.android.application:8.2.0
    com.android.library:8.2.0
    org.jetbrains.compose:1.5.12
    org.jetbrains.kotlin.multiplatform:1.9.22
    org.jetbrains.kotlin.plugin.serialization:1.9.21

Recommendations:
  ➤ IDE doesn't suggest running all tests in file if it contains more than one class
    More details: https://youtrack.jetbrains.com/issue/KTIJ-22078
Conclusion:
  ✓ Your operation system is ready for Kotlin Multiplatform Mobile Development!

stat ~/Library/LaunchAgents
16777220 1532314 drwxr-xr-x 4 asahel staff 0 128 "Feb 26 18:42:27 2024" "Feb 26 18:42:27 2024" "Feb 26 18:42:27 2024" "Feb 19 17:15:15 2024" 4096 0 0 /Users/asahel/Library/LaunchAgents

This problem is not related with Compose Multiplatform. It relates to Kotlin tooling in IDE.
@asahelk @serj113 @cnickh
Can you please describe your problem here:
http://kotl.in/issue
It is good to attach newly created YouTrack issue to current Issue on GitHub.
Thanks!

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


HSEARCH-4365 remove of entity with IndexedEmbedded collections cause LazyInitializationException during indexing

https://hibernate.atlassian.net/browse/HSEARCH-4365

LGTM. Merged, thanks!


HDDS-3280. Ozone BaseHTTPServer should honor ozone.security.enabled c…

…onfig
What changes were proposed in this pull request?

Base HTTP server should start with SPNEGO username and keytab only if "ozone.security.enabled" and "ozone.security.kerberos.http.enabled" configs are set to true.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3280
How was this patch tested?
This patch was tested in a cluster with Kerberos and auto-TLS enabled under different configurations:

Both "ozone.security.enabled" and "ozone.security.kerberos.http.enabled" set to false
"ozone.security.enabled" set to true
Both "ozone.security.enabled" and "ozone.security.kerberos.http.enabled" set to true

@xiaoyuyao Please review


(Calendar) Add Thai DateFormat Supports

I wanted supports for buddhist calendar in Thai. This pull request contains localization and buddhist year supported.

Hey, I would love to see the support for Buddhist calendar and see your PR merged!

I would love to see any suggestions regarding to my PR 😀.

Closed due to inactivity


Styling of grid/header/button in left menu, and project title on right

This is what it does:

Conflicts solved :-)


mobile sam onnx model does not work

I've export onnx model ''mobile_sam.onnx" use script provided in mobile sam project,call it use v1.4.1,error msg as follows:
Now click on the image (press q/esc to quit; press c to clear selection; press a to run automatic segmentation) Ctrl+Left click to select foreground, Ctrl+Right click to select background, Middle click and drag to select a region 2023-07-12 10:52:46.2316412 [E:onnxruntime:, sequential_executor.cc:368 onnxruntime::SequentialExecutor::Execute] Non-zero status code returned while running Reshape node. Name:'Reshape_197' Status Message: D:\a\_work\1\s\onnxruntime\core\providers\cpu\tensor\reshape_helper.h:41 onnxruntime::ReshapeHelper::ReshapeHelper gsl::narrow_cast<int64_t>(input_shape.Size()) == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,6,256}, requested shape:{1,10,8,32}

Have you tried using the mobile_sam.onnx included in the releases of this project? It is also exported using the official scripts.

Have you tried using the mobile_sam.onnx included in the releases of this project? It is also exported using the official scripts.

it's ok using the model provided in this project, the model exported by myself is smaller than yours, about 15970KB. i compared the  difference between two models in netron, is not complete identical. maybe a problem about pytorch version or other aspect？

Have you tried using the mobile_sam.onnx included in the releases of this project? It is also exported using the official scripts.

it's ok using the model provided in this project, the model exported by myself is smaller than yours, about 15970KB. i compared the difference between two models in netron, is not complete identical. maybe a problem about pytorch version or other aspect？

it's a problem about pytorch version ,it's ok now,thanks.


Show busy indicator while waiting for query results

Currently it's quite hard to tell if KorAP is busy or not.  A progress bar would be perfect, a large busy indicator would be great, but a local small indicator as for Corpus Statistics would already do the job.

As KorAP is (at least atm) no single page app, this indicator would start to run and will only stop once the page changes. Is that acceptable?

As KorAP is (at least atm) no single page app, this indicator would start to run and will only stop once the page changes. Is that acceptable?

Absolutely, I think this fulfill  the by far the most important function.


What is the problem here? I cannot save new brews, I can save only the old ones...

Error: Forbidden
Error: Forbidden
    at Request.<anonymous> (https://homebrewery.naturalcrit.com/homebrew/bundle.js:71844:19)
    at Request.Emitter.emit (https://homebrewery.naturalcrit.com/homebrew/bundle.js:1768:20)
    at XMLHttpRequest.xhr.onreadystatechange (https://homebrewery.naturalcrit.com/homebrew/bundle.js:72153:10)
{
  "status": 403,
  "method": "POST",
  "url": "/api/newGoogle/"
}

Try following the steps in #1580 - this should resolve your issues. If you continue to experience this problem, please let us know and we will re-open this issue for further investigation.


NameError in RailsAdmin::Main#dashboard

Hi,all.
I use this rails_admin and I'm getting this error in case of show the dashboard.
I use the standard view interface of this gem, I don't create any kind of custom view&controller in my application.
I have tried this gem:rails_admin over three months, I don't have any kind of trouble at all.
I tried rails: 4.0.1/4.0.2 and rails_admin: 0.6.0/0.6.1, but I got same error.
And I tried to solve the cause of this error, but I give up because it is too difficult for me.
Please help me!
Showing /var/myappl/vendor/src/gems/rails_admin/app/views/layouts/rails_admin/application.html.haml where line #17 raised:

undefined local variable or method `dashboard_path' for #<#<Class:0x007fe921093cd0>:0x007fe9242f2e88>

14  .navbar.navbar-fixed-top
15    .navbar-inner
16      .container-fluid
17        %a.brand.pjax{:href => dashboard_path}
18          = _get_plugin_name[0] || 'Rails'
19          %small= _get_plugin_name[1] || 'Admin'
20        .nav-collapse

my environments as follow:
config/routes.rb:
MyAppl::Application.routes.draw do
  mount RailsAdmin::Engine=>'/system/monitors/admin/index', as: 'rails_admin'
    ...
  root to: 'appl/pages#index'
end

basic environments:
Ruby version	2.1.0 (x86_64-linux)
RubyGems version	2.2.0
Rack version	1.5
Rails version	4.0.2
JavaScript Runtime	Node.js (V8)
Action Pack version	4.0.2
Action Mailer version	4.0.2
Active Support version	4.0.2
Middleware

    Rack::Sendfile
    ActionDispatch::Static
    Rack::Lock
    Dragonfly::CookieMonster
    Rack::Runtime
    Rack::MethodOverride
    ActionDispatch::RequestId
    Rails::Rack::Logger
    ActionDispatch::ShowExceptions
    ActionDispatch::DebugExceptions
    ActionDispatch::RemoteIp
    ActionDispatch::Reloader
    ActionDispatch::Callbacks
    ActionDispatch::Cookies
    ActionDispatch::Session::CookieStore
    ActionDispatch::Flash
    ActionDispatch::ParamsParser
    Remotipart::Middleware
    Rack::Head
    Rack::ConditionalGet
    Rack::ETag
    TreasureData::Logger::Agent::Rack::Hook
    Rack::Mongoid::Middleware::IdentityMap
    HttpAcceptLanguage::Middleware
    Dragonfly::Middleware
    Rack::Pjax

Application root	/var/myappl
Environment	development

Gemfile file:
source 'https://rubygems.org'

gem 'rails', '4.0.2'
group :doc do
  gem 'sdoc', require: false
end
gem 'debugger', group: [:development, :test]
group :development, :test do
  gem 'rspec-rails'
  gem 'capybara'
  gem 'launchy'
  gem 'yard', require: false
  gem 'spring'
  gem "spring-commands-rspec"
end
gem 'unicorn'
gem "mongoid_rails4", "~> 4.0.0"
gem "mongo", "~> 1.9.2"
gem 'bson', "~> 1.9.2"
gem "bson_ext", "~> 1.9.2"
gem 'protected_attributes'
gem 'fluentd'
gem 'td-logger'
gem "sunspot_rails", "~>2.0.0.pre.120925"
group :development do
  gem "sunspot_solr", "~>2.0.0.pre.120925"
end
gem 'sunspot_mongoid', path: 'vendor/src/gems/sunspot_mongoid'
gem 'rack-cache', require: 'rack/cache'
gem 'dragonfly'
gem 'dragonfly-mongo_data_store'
gem "redis"
gem 'sidekiq'
gem 'sidetiq'
gem 'sinatra', require: nil
gem 'slim'
gem 'systemu'
gem 'mimemagic'
gem 'jbuilder'
gem 'nokogiri'
gem 'sanitize'
gem 'rails_admin', "0.6.1"
gem 'oauth', "~> 0.4.4"
gem 'oauth2', "~> 0.8.0"
gem 'bcrypt-ruby', "~> 3.0.0"
gem 'state_machine'
gem 'monetize'
gem 'money-rails'
gem 'wunderground'
gem 'rails-i18n'
gem 'http_accept_language'
gem 'activemerchant'
gem 'sass-rails'
gem 'uglifier'
gem 'coffee-rails'
gem 'haml'
gem 'kaminari'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'bootstrap-sass'
gem 'bootstrap-datepicker-rails'

+1 having the same problem.

+1 on the same issue

please reopen

@matisoffn Please try @scarfacedeb's suggestion and report the result.

I'm having this issue as well

This is what prints rails console in my application:
C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.6-x86-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/sqlite3-1.3.6-x86-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler/runtime.rb:76:in `require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler/runtime.rb:76:in `block (2 levels) in require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler/runtime.rb:72:in `each'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler/runtime.rb:72:in `block in require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler/runtime.rb:61:in `each'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler/runtime.rb:61:in `require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/bundler-1.7.7/lib/bundler.rb:133:in `require'
	from C:/Users/shama_000/Google Drive/Projects/Ruby Projects/Rails/dummy_app-master/config/application.rb:11:in `<top (required)>'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-3.2.9/lib/rails/commands.rb:39:in `require'
	from C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/railties-3.2.9/lib/rails/commands.rb:39:in `<top (required)>'
	from C:/Users/shama_000/Google Drive/Projects/Ruby Projects/Rails/dummy_app-master/script/rails:6:in `require'
	from C:/Users/shama_000/Google Drive/Projects/Ruby Projects/Rails/dummy_app-master/script/rails:6:in `<top (required)>'
	from -e:1:in `load'
	from -e:1:in `<main>'

Process finished with exit code 1

Also seeing this one. "rake routes" output is good and shows the same rails_admin routes as in @hmaruchi's case, but line 8 in views/layouts/rails_admin/_navigation.html.haml throws a
undefined local variable or method dashboard_path' for #<#Class:0x007fa70fef6e98:0x007fa711570480>`

Ok, figured out a little more here. It looks like my tests are trying to render rails_admin layouts without ever instantiating the MainController. Since MainController is never loaded/instantiated, a bunch of important actions/paths that the layouts need are never defined by the main class_eval that dynamically defines all of MainControllers actions at line 13 in app/controllers/main_controller.rb. Does this provide more insight?

Please reopen if this is still an issue.


feat(client): split runtime by the engine and minify it

Builds separate runtime files for library, binary and data proxy
engines. Generated client will then use corresponding runtime.
This decreases the size of library engine runtime by half and data proxy
by 2/3.
Close prisma/client-planning#202

Results:

Runtime
Size, bytes
Difference, bytes

all(baseline)
1,305,137
0

library
612,378
-692,759

data-proxy
463,806
-841,331

binary
1,253,838
-51,299

Note: the size difference will be visible amount of code loaded/bundled. Size of @prisma/client package on disk will increase by 2.3 MB because it will now contain 3 additional versions of the runtime.
PR continues to build version of runtime with all engines bundled for backward compatibility: I've seen import {something}   from '@prisma/client/runtime' popping up in user's reproduction from time to time. I am not sure it ever supposed to be public API - if we decide if it is not, we could stop building this version, then npm size of the package will increase only by ~1 MB.
We could also stop using undici in binary engine - then we might produce roughly the same size package.

'@prisma/client/runtime' is quite popular apparently (and used by popular projects)
See search
https://cs.github.com/?scopeName=All+repos&scope=&q=%40prisma%2Fclient%2Fruntime
Random collection of results
import { DMMF } from '@prisma/client/runtime'
import type { DMMF } from '@prisma/client/runtime';
import { DMMFClass } from '@prisma/client/runtime';
import { PrismaClientKnownRequestError } from "@prisma/client/runtime";
import {
  PrismaClientKnownRequestError,
  PrismaClientValidationError,
} from "@prisma/client/runtime";
export {Decimal} from '@prisma/client/runtime'
const { raw } = require("@prisma/client/runtime");

Latest commit enables minifcation of the runtime during build. That gives us following numbers:
| Runtime    | Size |
|------------|------|
| all        | 612K |
| library    | 244K |
| data-proxy | 216K |
| binary     | 584K |

Error messages will need to be fixed for it to be mergeable.

This is ready for another review. Summary of what happened since the last time it was updated:

we now generate source maps for minified runtime. jest picks them out automatically, reproduction folder scripts got adjusted to do so as well. We'll now have the stacktraces that point to original sources in our dev setup.
we don't copy source maps into generated client, since it provides little value to the end users in my opinion (they are mostly useful for us), but blows up the size of the client. It is possible to get them copied across with env variable.
import from @prisma/client/runtime will produce a warning, telling users to pick one of the specific runtimes.
bunch of fancy errors fixes: some of them were needed to adjust for minification, some of them were fixes for the stuff that is broken on main as well.

I think this issue https://github.com/prisma/prisma/issues/11730 might be a good place to "report" the improvements? (add a comment with the decrease in size)
What do you think @SevInf ?

I think this issue https://github.com/prisma/prisma/issues/11730 might be a good place to "report" the improvements? (add a comment with the decrease in size)
What do you think @SevInf ?

Edge client is mostly unaffected by this unfortinately — it was altready minified and excluded all engines except for data proxy.

@SevInf Maybe double check where @prisma/client/runtime is mentioned in the codebase? https://cs.github.com/?q=%40prisma%2Fclient%2Fruntime repo%3Aprisma%2Fprisma&scopeName=prisma&scope=org%3Aprisma
Also, it looks like it is used in

pdp-control-plane see here maybe ping Jason/Team CDN
reflector see here ping Jason/Team CDN about this change?
accelerate see here ping Team Real-time about this?

Added a test

how can I use this features? my bundle size is more than ~350kb. I'm also using previewFeatures = ["jsonProtocol"].

@sighash256 this was merged into prisma 4.9.0 and available by default since then.


Missing remotes: Google Drive

Google Drive support as a remote would be nice!

Hey, look who's here!
Yup I agree, it's another nice to have. I label this accordingly.
If you want to contribute feel free to open a merge request :smile:

As soon as I have some spare cycles I'd be happy too :)


Add minTime & minDateTime props to disable period of time

Just a suggestion, I have a case where I need the earliest time selectable to be exactly 24 hours ago.

Actually this is a big scope of work - to disable the part of hour. It will not be implemented in the nearest relase. But maybe it would be better to validate this by yourself - and additionally show the error?

It would be great if disablePast on <DateTimePicker  also respected the time constraint.

It would be great if disablePast on <DateTimePicker also respected the time constraint.
Woah, thanks for pointing out that it doesn't.  I totally assumed it did.

Any news whether this feature will be implemented? I hope so since it's quite an important requirement in our App.
Is the only alternative for now is to overwrite the TextFieldComponent and have the full control of the validation handling? Any suggestions?
Thanks :^^

This issue is caused by the recent change(https://github.com/dmtrKovalenko/material-ui-pickers/pull/658/commits/b556698997ec874667f4cce98a6e093e1456d15c).
Suggest we can change the DateTimePicker passing a flag => ModalWrapper => DateTextField, if the flag is datetime, don't apply utils.endOfDay and utils.startOfDay when getError().

Any feedback about this issue status?

This issue needs a lot of work. And low priority for us. But if you want you can submit a PR

Hi, I tried forking this package from the master branch to add this functionality but got the following errors when doing npm install :
Module not found: Error: Can't resolve 'material-ui-pickers/DateTimePicker'  Module not found: Error: Can't resolve 'material-ui-pickers/MuiPickersUtilsProvider'
When I opened the material-ui-pickers folder in the node_modules, there's no lib file in there, which I believe is what's causing the error. Can anyone help?
This is the command that I used: npm install material-ui-pickers@github:dmtrKovalenko/material-ui-pickers

That’s strange. If you want to contribute checkout CONTRIBUTORS.md

Any updates regarding this?
Would be quite useful for many of us!

Is there any update on this ? 🧐

any news?

Hi everyone 👋
Any news about this feature?

Nice to see that this feature with land in v4.
However, is there any good workaround for now?
I thought about showing an error message to the user if the selected time is invalid, but how could we achieve that?

I got a little workaround for minTime and maxTime, though I couldn't get the component's native error message to trigger, so I created my own.
I created a component called CustomTimePicker:
import React from "react";
import moment from "moment";
import MomentUtils from "@date-io/moment";
import { MuiPickersUtilsProvider, TimePicker } from "@material-ui/pickers";

function CustomTimePicker(props) {
    return (
        <MuiPickersUtilsProvider utils={MomentUtils}>

                <TimePicker
                label={props.label ? props.label : "Time Picker"}
                value={
                    props.value
                    ? moment(props.value, "HH:mm")
                    : moment("00:00", "HH:mm")
                }
                ampm={false}
                autoOk={true}
                minutesStep={1}
                onChange={(time) => props.setSelectedTime(time)}
                error={props.errorMessage ? true : false}
                {...props.children}
                />
                {props.errorMessage && (
                {props.errorMessage}
                )}

        </MuiPickersUtilsProvider>
    );
}

export default CustomTimePicker;

Then I use it like this:
let { error } = this.state;

<CustomTimePicker
    label="My Time Picker"
    value={"8:00"}
    setSelectedTime={(time) => {
        const minTime = moment("5:00", "HH:mm");
        const maxTime = moment("9:00", "HH:mm");
        if (minTime.isBefore(time) && maxTime.isAfter(time)) {
            this.changeTime(time.format("HH:mm"));
            error = false;
        } else {
            error = "Select between 5:00 and 9:00";
        }
        this.setState({ error });
    }}
    errorMessage={error}
/>;

Do your own testing, I created this quickly just now and it seems to be working for me. The error message will need some CSS styling to look pretty and it can probably be improved upon.
Cheers.

I need a comparision include time so I used date.getTime() compare..

any update on this?


Programming exercises: Keep custom build scripts when the build plan configuration changes

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I strictly followed the server coding and design guidelines.
[x] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I strictly followed the client coding and design guidelines.
[x] I added multiple screenshots/screencasts of my UI changes.
[x] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[x] High priority: I tested all changes and their related features with all corresponding user types on a test server configured with the integrated lifecycle setup (LocalVC and LocalCI).

Motivation and Context

Closes #9020 and #8980.
When changing the build configuration of an exercise (e.g. by changing the docker image), the custom build script would be discarded. In particular, this would happen when the build script was customized for the first time.
Description

Stopped discarding the build script when the configuration changes. It can still be reset via the "Reset" option of the exercise.
Changed the translations for LocalCI (BASE and SOLUTION build plans do not exist) to be more accurate.

Steps for Testing
Prerequisites:

1 Test Server with LocalCI enabled
1 Instructor

Log in to Artemis
Navigate to Course management > Your course > Exercises
Create a programming exercise. While creating the exercise, customize the build script.
Verify that the build script carries over after you've created the exercise.
Edit the exercise and customize the build script. Verify that the changes are saved correctly.
Edit the exercise and change the docker image (this is also available when you tick the "customize build script" box). Verify that the custom build script is not reset.
Click the "Reset" button of the exercise. Recreate the build plans and then refresh the page. Verify that the build script has been reset to the default.
Create another programming exercise, but do not customize the build script while creating it.
Repeat steps 5-7 for this exercise.

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress
Code Review

[x] Code Review 1
[ ] Code Review 2

Manual Tests

[x] Test 1
[ ] Test 2

Test Coverage
Unchanged.
Screenshots

Summary by CodeRabbit

New Features

Added the ability to reset customized build plans for LocalCI and Aeolus configurations in programming exercises.

Improvements

Updated labels and translations to clarify the impact of resetting build plans.
Enhanced user interface to indicate when LocalCI is active and if customized build plans exist.

Documentation

Updated documentation for build plan reset functionality to include information about LocalCI and customized build plans.

@egekurt123 Thanks for testing. It doesn't appear to have anything to do with this PR as it occurs on other test servers as well.

But I think this will be fine once we exchange the editor (#8978)


tailscale: 1.36.2 -> 1.38.1

Link to the release: https://github.com/tailscale/tailscale/releases/tag/v1.38.1
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 221279 run on x86_64-linux 1

1 package built:

tailscale

I've added the backport label just so we can hopefully keep this up to date with each update rather than block backports
https://github.com/NixOS/nixpkgs/pull/220127#issuecomment-1468676951

No 1.37 because odd version numbers are unstable builds for tailscale. Nixpkgs should only expect to see even-numbered versions.

No 1.37 because odd version numbers are unstable builds for tailscale. Nixpkgs should only expect to see even-numbered versions.

TIL, thanks
I'm surprised I've not noticed that so far


Add Esri variables

Added EsriLeaflet variables

This was an accident. Please disregard. If I get it working then I may do an actual pull request but for now, there's nothing to see here.


test: update useMenu tests

While updating useMenu tests, I've noticed that <Sider/> in @pankod/refine-antd uses the same key for all items and resulting in opening all menus at once initially.

[x] updated useMenu tests in @pankod/refine-core
[x] updated Menu.Item.keys in @pankod/refine-antd's <Sider/>
[x] updated <Sider /> in documentations and examples
[x] updated TestWrapper in @pankod/refine-core with resources modifiers.
[x] reverted behavioral change in deprecated useMenu hook in @pankod/refine-antd

Also applied the changes here https://github.com/pankod/superplate-core-plugins/pull/269


Titles say that do not use small 'o' and 'i' for E741~E743

Contents of E741~E743 describe the rule correctly, but I had confused with the title.

I updated the titles in E741-E743 to include the correct capitalization. I also added an example to E741. Hope this helps!


Revert "[OSPP]The proposal of unknow task recognition algorithm reproduction"

Reverts kubeedge/ianvs#26

This PR is outdated and thus reverted. Please refer to the updated PR https://github.com/kubeedge/ianvs/pull/41


Changed internal link title for navigation, smartcontent and internal link

Tasks:

[x] test coverage
[ ] gather feedback for my changes
[x] added changelog line

Informations:

Q
A

Tests pass?
yes

Fixed tickets
fixes sulu-io/sulu-standard#423

BC Breaks
yes => UPGRADE

Doc
none

ACK


uadk/sched: modify the automatic scheduling function

In the scenario of setting the default numa parameters, use the numa affinity method to obtain the numa scheduling domain, so as to achieve automatic balanced use of hardware resources.
Signed-off-by: Longfang Liu<EMAIL_ADDRESS>

Test OK, thanks


Raycast plugin

Hello,
Currently a Raycast plugin offers pretty similar features : https://www.raycast.com/massimiliano_pasquini/raycast-ollama
(but already include custom commands for example)
You can also bind any keyboard shortcut to any custom feature.
Your app however allows for less clicks thanks to streaming on the cursor directly.
What do you think about merging the two ? (or converting plock into a Raycast plugin)

I'd totally want this as a raycast plugin.

@michael-dm Fwiw, raycast is mac only and I believe the plugin you mentioned is ollama only. plock actually allows you to use anything that can stream to stdout. Just wasn't how I marketed it. So you could use it with echo,cat, or some complex script - or like I demonstrated with GPT or Perplexity APIs.
So that being said, no plan to ask for this to be merged or to convert it into a raycast plugin.
BUT, I'm not against making a raycast plugin, either as a fork or something that calls plock binary. I've never made one before so you or @Gintasz or another developer who is familiar with raycast might be faster.
I can definitely add it to the roadmap.
I'd love for this to be a community project though, not "my project", if that makes sense.


Gradient QR code not detect

Previously I have used white background to detect QR code but when we have change gradient then it wont detect QR code data. Below mention QR wont detect
Is there any other solution to detect gradient color QR code?

Hi @ahsanparacha02
On which platform did you try? iOS or Android

I have try on both platform getting same issue
On Thu, 10 Oct 2024, 5:48 pm Gevorg Gasparyan, @.***>
wrote:

Hi @ahsanparacha02 https://github.com/ahsanparacha02
On which platform did you try? iOS or Android
—
Reply to this email directly, view it on GitHub
https://github.com/gevgasparyan/rn-qr-generator/issues/52#issuecomment-2404996900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AISOL5VX2UMGJHMN3ATCQQ3Z2ZZQ7AVCNFSM6AAAAABPT2C6LSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBUHE4TMOJQGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Just tried it on iOS and it detected successfully. Using 1.3.1 version

Ok i will check with uri can u try on android
On Thu, Oct 10, 2024 at 6:00 PM Gevorg Gasparyan @.***>
wrote:

Just tried it on iOS and it detected successfully. Using 1.3.1 version
Screenshot.2024-10-10.at.16.59.56.png (view on web)
https://github.com/user-attachments/assets/2ad9d35a-c7ec-4a34-b3cf-5f21e26d331b
—
Reply to this email directly, view it on GitHub
https://github.com/gevgasparyan/rn-qr-generator/issues/52#issuecomment-2405026605,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AISOL5TLJSBZPJMQBPHWKGDZ2Z26ZAVCNFSM6AAAAABPT2C6LSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGAZDMNRQGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

@gevgasparyan any update?

@ahsanparacha02 you can use a new version v1.4.1, seems it can detect QR codes with a gradient background

@ahsanparacha02 you can use a new version v1.4.1, seems it can detect QR codes with a gradient background

It’s working fine now, but black and white mode isn’t functioning as it did in version 1.4.0

@ahsanparacha02 missed that, try 1.4.2,

@ahsanparacha02 missed that, try 1.4.2,

Working fine, thanks @gevgasparyan


Attempt to load IPv6 when requesting over IPv4

Just like when the request is IPv6 it'll load IPv4 using ipv4.wtfismyip.com, it would come in handy if it's the same the other way around: IPv4 load IPv6.
I've unfortunately had survival cases when Chrome fail back to IPv4 due to an aggressive Happy Eyeballs implementation.

Hi Wouter,
Sorry for the late reply!
The current strategy for serving HTML content on https://wtfismyip.com/ is to provide both an A and AAAA record in DNS. If the request is made over IPv6, then JavaScript is loaded to display the IPv4 address through ipv4.wtfismyip.com/js2.
There may be a better strategy to handle the case you described. Will think about it.

Yeah, I saw how that worked. That seems like the way to go, but it would be awesome if it's possibly to add the same for IPv6: if the page is loaded using ipv4, try to load IPv6 using JS.

Perhaps we could load all content through JavaScript - if enabled - both IPv4 and IPv6 addresses, and have a fallback if JS isn't enabled.

That seems like a neat solution. Fallback would just be the current way of rendering the IP in a , right?

My 2 cents:
For some reasons my browser prefers IPv4 over IPv6. I only see my IPv4 address, but can't force to visit the IPv6 Check as there is none like for IPv4. So something like ipv4.wtfismyip.com for IPv6 would be neat.

@AndiKnight you know that https://ipv6.wtfismyip.com exists? 😜

@Wouter0100 Well, now I do. Thanks.
Could swear I tried it some time ago and it didn't worked - my fault sorry for bugging you.


Integrate vercel analytics and audiences

More info — https://vercel.com/docs/concepts/analytics/audiences/quickstart

Done and working


Is it Possible to remove the Cogweel and SendOutfit Button in Charscreen?

Would be nice to be able to remove/hide the Icons because its right above my Pawn Button and kind of distracting. For me its enough to just have a changed preview Window with the buttons being displayed there anyway.

Sorry it's taken so long but I finally got around to doing this for the upcoming Battle for Azeroth update next week.


Limit the number of unanswered Typings Installer requests

If we send them all at once, we (apparently) hit a buffer limit in the Node IPC channel and both TS Server and the Typings Installer become unresponsive.
We accomplish this by explicitly maintaining a queue of yet-to-be-sent requests.
Fixes #18255

@amcasey,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Fixes #18255

Some thoughts about massive projects

I'm worried about the magic limit 10 not being enough to protect against the buffer being blown. I think the project we were investigating might have had less than 10 projects. Perhaps we could have a limit on total size of in-progress requests: we could use a heuristic for the size such as request.fileNames.length?

On a related note, do we still queue a typings request for a project we've disabled as a result of the 20MB limit? If so, it should be a no-brainer to quit doing that.

Failures are lint.  I'll update.

@minestarks Are disabled projects flagged in some way?

languageServiceEnabled

It does not appear to be skipped at present.  I'd like to fix that in a separate PR though.

@amcasey can you port this to release-2.5

@mhegazy we're just waiting on final validation from an affected user.


Deploy only frontend or backend

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

How to deploy only backend files or frontend files. I added 150MB of enterprise data and deployed the entire environment. Now I need to update single file in frontend or backend. If I give azd up - entire environment (frontend, backend, data files, etc are getting deployed)

Any log messages given by the failure

no

Expected/desired behavior

Only selected backend or front end must be deployed based on need.

OS and Version?

Linux - App Service

azd version?

azd version 1.0.1 (commit e0cd1aca716fa5d08704beade7dcc734fe68f5f1)

If you just want to update indexes, you can run the script:
.\scripts\prepdocs.ps1

I understand you mean data folder as indexes. Yes ".\scripts\prepdocs.ps1" can be used for updating the data.
I need to make a change to the UI or prompt. azd up is not a very good solution as it incurs me additional cost by reuploading all data.
Is there an option for that ?

You can comment out the hook in the azure.yaml to stop azd up from reuploading on every frontend/backend change that you want to upload.
name: azure-search-openai-demo
metadata:
  template<EMAIL_ADDRESS>services:
  backend:
    project: ./app/backend
    language: py
    host: appservice
    hooks:
      prepackage:
        windows:
          shell: pwsh
          run: cd ../frontend;npm install;npm run build
          interactive: true
          continueOnError: false
        posix:
          shell: sh
          run: cd ../frontend;npm install;npm run build
          interactive: true
          continueOnError: false
# hooks:
#     postprovision:
#       windows:
#         shell: pwsh
#         run: ./scripts/prepdocs.ps1
#         interactive: true
#         continueOnError: false
#       posix:
#         shell: sh
#         run: ./scripts/prepdocs.sh
#         interactive: true
#         continueOnError: false

Another option, if you haven't changed any of the infra/ Bicep files, is to just run azd deploy. That will first run the prepackage hook, but it wont run the postprovision hook.
Here's what it looks like for me:
vscode ➜ /workspaces/azure-search-openai-demo (main) $ azd deploy

Deploying services (azd deploy)

  |       | Deploying service backendExecuting prepackage hook => /tmp/azd-prepackage-2644389450.sh
  |===    | Deploying service backend(##################) ⠇ reify:@esbuild/android-arm: timing reifyNode:node_modul
  |====   | Deploying service backend(##################) ⠇ reify:@esbuild/android-arm: timing reifyNode:node_modul

up to date, audited 124 packages in 586ms

10 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
  |=====  | Deploying service backend
><EMAIL_ADDRESS>build
> tsc && vite build

  |=======| Deploying service backendvite v4.1.1 building for production...
✓ 1250 modules transformed.
../backend/static/index.html                    0.47 kB
../backend/static/assets/github-fab00c2d.svg    0.96 kB
../backend/static/assets/index-2fb53ec2.css     7.44 kB │ gzip:   2.19 kB
../backend/static/assets/index-7abdfda7.js    625.74 kB │ gzip: 204.87 kB │ map: 5,054.95 kB

(!) Some chunks are larger than 500 kBs after minification. Consider:
- Using dynamic import() to code-split the application
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
  (✓) Done: Deploying service backend
  - Endpoint: https://app-backend-7bsyuhdvztows.azurewebsites.net/

SUCCESS: Your Azure app has been deployed!
You can view the resources created under the resource group rg-openai-search in Azure Portal:
https://portal.azure.com/#@/resource/subscriptions/32ea8a26-5b40-4838-b6cb-be5c89a57c16/resourceGroups/rg-openai-search/overview

@pamelafox - thanks and it sounds to be promising. More details about azd deploy were not found in the GitHub as well as cli.
Will a new URL be created for accessing the front end or will it overwrite the existing files in AppService?

@pamelafox azd deploy is great for deploying backend code, however does not seem to deploy the UI code - e.g. under the frontend folder.
e.g. When I run AZD deploy if I have made changes to the pages>layout>layout.tsx file, I cannot see that change on the cloud based deployment.
I can see the change locally by using start.sh
Am I not understanding, or is there a way to also deploy the "frontend" changes as well as the "backend" changes with azd deploy?

It should deploy both, due to the prepackage scripts in azure.yaml:
services:
backend:
project: ./app/backend
language: py
host: appservice
hooks:
prepackage:
windows:
shell: pwsh
run:  cd ../frontend;npm install;npm run build
interactive: true
continueOnError: false
posix:
shell: sh
run:  cd ../frontend;npm install;npm run build
interactive: true
continueOnError: false
npm run build will generate the static folder which is then used by the backend. Do you not see the packaging step running when you deploy?

@pamelafox - yes sorry - silly on my behalf - realised my mistake that for helping me.

Anyone tried to deploy only app? Does it work? Please share inputs and procedure


Replace the current block broadcast in the Blockchain Service with gossipsub

Split off from #1247

set up a publish-subscribe mechanism using libp2p/gossipsub
all nodes listen for messages that arrive (although messages are not expected to always arrive)
the authorized node publishes the new block as a message instead of the current broadcast mechanism. this must happen asynchronously.
when a message is received:

validate the block in the message, drop the message if the block is invalid
check if the block ordinal is the expected next ordinal

if so, store the received block
if not, drop the message and trigger the current mechanism to retrieve missing blocks

when a node restarts, keep using the current mechanism to retrieve missing blocks

@efrisch Can you add a link to the branch where this is being worked on? Will help people test.

https://github.com/pyrsia/pyrsia/pull/1409


Fail to run npm i in Codespaces and Dev Containers

Describe the issue:
When running the npm i command according to README.md, the following error appears:

After installing Node.js using the command:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
nvm install --lts

The dependency conflict problem is as follows;

Repro Steps:

Open in GitHub Codespaces.
Run python -m venv .venv and source .venv/bin/activate.
Run pip install -r requirements.txt.
Run azd auth login.
Run npm i.

Environment:

Azd version: azd version 1.9.6 (commit 0b1a8ad350177078312141f4465ad72205d7c077)
OS: Codespaces, Dev Containers

Expected behavior:
No need to manually install Node.js and run npm i successfully.
@hemarina and @cwaddingham  for notification.

Resolved in branch "address-awesome-azd-issues".