Etcher flash process is killed by unplugging USB mouse

Etcher version: 1.2.1
Operating system and architecture: Windows 10 x64
Image flashed: iso files
Do you see any meaningful error information in the DevTools? No

Today I noticed a bug when the flashing process is in progress and my mouse is inside the "Ethcer" window and I disconnected my mouse by unplugging the USB cabel (it is a USB mouse) the Etcher window goes white and the process disappears in the Task Manager:

Just out of curiosity, why do you need to unplug your USB mouse while flashing an image with Etcher? :laughing:

Strangely enough I just ran into this when testing something on Windows 7, and attaching a Virtual Hard Drive while Etcher was open – it blanked to white, and that was it. Will look into this a bit more, now that I have a way to reproduce.

@jhermsmeier Nice! Glad that you managed to reproduce it :) @lurch :D I have Logitech G700s -
rechargeable mouse. So when charged I unplug it from the cable and it so happened I was flashing an ISO at the time :D

this problem is caused by the library "tessel/node-usb", and it only happens on windows OS. I have a project which also build with electron framework. My use case is using that usb library to watch usb ports and once the target usb device plug into computer(by checking the vendor id, product id....) my application will use hex code to communicate with it.
On linux, macOS everything works, but on windows 7, 10, if I unplug any other usb devices, my electron app will just crashed and goes white without any error message no matter in rendering process or main process. Therefore, for windows OS, I have to cancel the "auto detect" function for usb plug/unplug events to make my app works without that issue. I've tried to find other solutions for about 3 months. This problem is really annoying..... hoping someone knows how to solve it.....


allow disabling autoreplay-missed per device

A suggestion from @wrmsr. Couple possibilities:

A setting such that autoreplay-missed only works on devices that explicitly set a device ID; if this new setting is set, and your session has no device ID, autoreplay is suppressed
A device ID you can set to opt out of autoreplaying on that device (maybe *)

I think I'll go whole hog here: instead of a boolean, autoreplay-missed will be an enum with three possible values, disabled, per-device-only (autoreplay only if a device ID is set), and enabled. Then there will also be a server config to set the default value. (Per-device-only could be a recommended default for the server config.)

This is overcomplicated. How about:

Sending a device ID enables autoreplay-missed on that device unconditionally (if you're always-on)
The boolean autoreplay-missed setting controls whether missed messages are autoreplayed to devices that don't send an ID


RuntimeError: wrapped C/C++ object of type QPlainTextEdit has been deleted when calling multiple live plot using Managedwindow

I am trying to run 2 live plots under managedwindow. I call an additional GUI using PyQt5 to allow the user to choose which procedure to run. While the execution of the procedures is normal and the data recorded, when the second procedure is chosen and the queue button pressed, this error message appears.
RuntimeError: wrapped C/C++ object of type QPlainTextEdit has been deleted.
example_test.txt

The problem is solved should anyone faces this issue one must make sure that the Classes using Managedwindow are called in the definition of the GUI.
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(110, 160, 112, 34))
        self.pushButton.setObjectName("EXP1")
        self.pushButton.clicked.connect(self.startProcedure_1)
        self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_2.setGeometry(QtCore.QRect(580, 170, 112, 34))
        self.pushButton_2.setObjectName("EXP2")
        self.pushButton_2.clicked.connect(self.startProcedure_2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        self.window_1 = MainWindow_1()  # moved from startProcedure_1
        self.window_2 = MainWindow_2() # moved from startProcedure_2

    def startProcedure_1(self):
        self.window_1.show()

    def startProcedure_2(self):
        self.window_2.show()


Shell Sort algorithm

Description
Adding the code of Shell sort algorithm
Important Checklist

[x] I have read the contribution guidelines before making this issue.
[x] I have verified this issue program is not already implemented

Languages and Assignees:

[x] Python: @
[x] Java: @
[x] C: @
[x] C++: @
[x] hacktoberfest2021: @

Notes
Anything you would like to discuss.
Shell sort, also known as Shell sort or Shell's method, is an in-place comparison sort. It can be seen as either a generalization of sorting by exchange (bubble sort) or sorting by insertion (insertion sort).

Can you add hacktoberfest label

Can you add hacktoberfest label

Adding labels are not in my hands as I was not able to add the labels. If you can please add or please guide me to do so.


Can't work with experimentalPreserveModules options

Can't work with experimentalPreserveModules options, an error is as follows:

(node:69913) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_VALUE]: The argument 'path' must be a string or Uint8Array without null bytes. Received '/Users/c100ng/github/rollupTest/\u0000commonjsHelpers...

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid. We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets transferred to the new repo. :beer:


test: Missing section names in the test/bpf/check-complexity.sh output

When running the following, the output doesn't contain the tail call names:
docker run --name foobar --rm -ti --privileged -v $PWD:/cilium quay.io/cilium/cilium-ci:latest /bin/bash
mount -t bpf bpf /sys/fs/bpf
cd /cilium
make -C bpf/ KERNEL=netnext
./test/bpf/check-complexity.sh

The naming is done by the annotate_section_names() function in check-complexity.sh.
Previously, it was working before switching our iproute2 fork's backend to libbpf.
This issue is about figuring out how to get section identifiers from the BPF verifier log. If it's not possible, then adding the section identities to the output of iproute2 loader and cilium/ebpf (once https://github.com/cilium/cilium/pull/19159 has been merged, it will be used to Cilium's BPF load programs; /cc @ti-mo ).

Thanks for the issue! Is this worth the effort in the short term? The plan is to replace verifier-test.sh with a Go progam in the near future, which will also make X/Y section names unnecessary. This new tool should give all the error output needed to properly debug verifier errors.
Currently, the lib can also dump insns with lineinfo annotations directly from ELF BTF, which no existing userspace tool supports at the moment. (only the verifier)
Will assign and send an update here when it's done.

This is no longer an issue.


fix(consensus): correct TxEip1559.encode_with_signature

Motivation
Fixing TxEip1559 encoding, before fix node reply with "error code -32602: Failed to decode transaction" error
Solution
The tx type byte was missing in encode_with_signature.encode_with_signature method
PR Checklist

[x] Added Tests
[ ] Added Documentation
[ ] Breaking changes

How can it be used over abstract Transaction trait?
I have next method, how can i use TxEnvelope there?
    pub async fn sign_tx<T: Transaction<Signature = Signature>>(&self, mut tx: T) -> Result<Bytes> {
        let signature = self.local.sign_transaction(&mut tx).await?;

        dbg!(hex::encode(&signature.as_bytes()));
        let signed = TxEnvelope::from(tx.into_signed(signature));
        Ok(signed.into())
    }

This is a good question—we're working on streamlining the flow from a TransactionRequest -> signing and converting to a TxEnvelope so it's easy to send transactions over the network with a provider, here: https://github.com/alloy-rs/alloy/pull/190 . Right now this flow is not very well polished and it's probably why you found this issue.
The method you posted looks fine—as long as you encode the tx using a tx envelope then this should be working.


"Compose for desktop" cannot be used for X86 applications. How to configure the JVM environment to support the win32 system

"Compose for desktop" cannot be used for X86 applications. How to configure the JVM environment to support the win32 system

This support will add burden for us (we have to test and fix bugs on these platforms).
Considering a very low current market share that will be even more low in the future, we don't have plans to support 32-bit systems.
See, for example this statistics. It is biased, but shows the whole trend.

@igordmn Is it possible to support win32 by replacing skiko canvas with awt canvas?

Unfortunately no. AWT is missing significant parts of the required API.

Unfortunately no. AWT is missing significant parts of the required API.

Could you explain to miss what significant parts?

Most significantly, in text rendering API.

Most significantly, in text rendering API.

Thanks.

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


Build problem about gtsam

When I run the command "cmake --build build_gtsam --config RelWithDebInfo -j", it gave an error as follows. Could you please help me to fix it? Thanks.
Traceback (most recent call last):   File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/scripts/pybind_wrap.py", line 94, in <module>     main()   File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/scripts/pybind_wrap.py", line 90, in main     wrapper.wrap(sources, args.out)   File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/gtwrap/pybind_wrapper.py", line 723, in wrap     submodules=submodules)   File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/gtwrap/pybind_wrapper.py", line 624, in wrap_file     module = parser.Module.parseString(content)   File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/gtwrap/interface_parser/module.py", line 56, in parseString     return Module.rule.parseString(s)[0]   File "/opt/ros/noetic/lib/python3/dist-packages/pyparsing/core.py", line 1141, in parse_string     raise exc.with_traceback(None) pyparsing.exceptions.ParseException: Expected string_end, found 'namespace'  (at char 1249), (line:46, col:1) make[2]: *** [python/CMakeFiles/pybind_wrap_gtsam_unstable.dir/build.make:76: python/gtsam_unstable.cpp] Error 1 make[1]: *** [CMakeFiles/Makefile2:32620: python/CMakeFiles/pybind_wrap_gtsam_unstable.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

Same issue here.    New Ubuntu 20.04 install.

I also have this problem too.

I found the solution. Please go to the folder thirdparty and delete gtsam then git clone the updated (https://github.com/borglab/gtsam). Then build again.
@ToniRV . I think you should update the gtsam in thirdparty to avoid this issue.

@phamquandung I have done as you said, but I still have the problem. Which version pyparsing you used?

@JIANG-CX, @pgaston I found the solution. Please go to the folder thirdparty and delete gtsam then git clone the updated (https://github.com/ToniRV/gtsam-1/tree/feature/nerf_slam). Then build again.
@ToniRV . I think you should update the gtsam in thirdparty to avoid this issue.

After downloading the new gtsam,  I find this error still exists.

@JIANG-CX @pgaston @hjxwhy you can fork https://github.com/borglab/gtsam this one and build python wrapper like this https://github.com/borglab/gtsam/tree/develop/python. I tried, and it works.

Okay, still hung up here.     I moved the gtsam you specified above and built it per instructions.   However...   when I run I get:
File "/home/pg/repos/NeRF-SLAM/./examples/../slam/vio_slam.py", line 65, in initial_state
naive_pose = gtsam.Pose3.identity()
AttributeError: type object 'gtsam.gtsam.Pose3' has no attribute 'identity'
Thoughts?

I think it's a problem of gtsam version. According to https://github.com/borglab/gtsam/issues/1298, identity() was replaced to Identity() (UpperCase)

Then, another error:
File "/home/user/research/NeRF-SLAM/./examples/../slam/visual_frontends/visual_frontend.py", line 48, in gtsam_pose_to_torch
q = pose.rotation().quaternion()
AttributeError: 'gtsam.gtsam.Rot3' object has no attribute 'quaternion'

Then, another error:
File "/home/user/research/NeRF-SLAM/./examples/../slam/visual_frontends/visual_frontend.py", line 48, in gtsam_pose_to_torch q = pose.rotation().quaternion() AttributeError: 'gtsam.gtsam.Rot3' object has no attribute 'quaternion'

That line and the following return statement should be replaced like this
    q = pose.rotation().toQuaternion()
    return torch.tensor([t[0], t[1], t[2], q.x(), q.y(), q.z(), q.w()], device=device, dtype=dtype)

@JIANG-CX @pgaston @hjxwhy you can fork https://github.com/borglab/gtsam this one and build python wrapper like this https://github.com/borglab/gtsam/tree/develop/python. I tried, and it works.

Thanks for your kindly help. I can pass the build step now. But when I run the "./examples/slam_demo.py”, I find there is an error about the gtsam. I wonder have you met such error? How did you solve it? Thanks a lot.
 File "./examples/slam_demo.py", line 200, in <module>     run(args)   File "./examples/slam_demo.py", line 143, in run     slam_module.spin() # visualizer should be the main spin, but pytorch has a memory bug/leak if threaded...   File "./examples/../pipeline/pipeline_module.py", line 88, in spin     self.initialize_module()   File "./examples/../slam/slam_module.py", line 18, in initialize_module     from slam.vio_slam import VioSLAM   File "./examples/../slam/vio_slam.py", line 9, in <module>     from factor_graph.factor_graph import TorchFactorGraph   File "./examples/../factor_graph/factor_graph.py", line 14, in <module>     from gtsam import NonlinearFactorGraph as FactorGraph ModuleNotFoundError: No module named 'gtsam'

@JIANG-CX @pgaston @hjxwhy you can fork https://github.com/borglab/gtsam this one and build python wrapper like this https://github.com/borglab/gtsam/tree/develop/python. I tried, and it works.

Thanks for your kindly help. I can pass the build step now. But when I run the "./examples/slam_demo.py”, I find there is an error about the gtsam. I wonder have you met such error? How did you solve it? Thanks a lot.  File "./examples/slam_demo.py", line 200, in <module> run(args) File "./examples/slam_demo.py", line 143, in run slam_module.spin() # visualizer should be the main spin, but pytorch has a memory bug/leak if threaded... File "./examples/../pipeline/pipeline_module.py", line 88, in spin self.initialize_module() File "./examples/../slam/slam_module.py", line 18, in initialize_module from slam.vio_slam import VioSLAM File "./examples/../slam/vio_slam.py", line 9, in <module> from factor_graph.factor_graph import TorchFactorGraph File "./examples/../factor_graph/factor_graph.py", line 14, in <module> from gtsam import NonlinearFactorGraph as FactorGraph ModuleNotFoundError: No module named 'gtsam'

In the build folder you should run make python-install and make python-test, then it should be OK.

Yes, I have run make python-install and make python-test, and got the feedback "[100%] Built target python-test" and "Successfully installed gtsam-4.2a8". But the error still exits.

Maybe you installed gtsam to another python environment?
Also, I made a bunch the changes to adopt to new gtsam in this PR, in case it helps:  https://github.com/ToniRV/NeRF-SLAM/issues/12

Using the branch feature/nerf_slam https://github.com/ToniRV/gtsam-1/tree/feature/nerf_slam
I found that there is a syntax error in gtsam_unstable/gtsam_unstable.i
causing a parsing error:
virtual class LinearizedHessianFactor : gtsam::LinearizedGaussianFactor {
Needs to be closed 2 lines below (line 818) with };.

Maybe you installed gtsam to another python environment?
Also, I made a bunch the changes to adopt to new gtsam in this PR, in case it helps: #12

It works well! Nice job!

@jrpowers Using your latest PR I got everything to build - whew.    The cube sample scene runs fine!    Unfortunately, the first example dies a horrible death...    (perhaps I'll wait for the dust to settle on all these changes...)    Thanks again to all!
(nerf) pg@pg-MS-7A59:~/repos/NeRF-SLAM$ python ./examples/slam_demo.py --dataset_dir=./datasets/Replica/office0 --dataset_name=nerf --buffer=100 --slam --img_stride=2 --fusion='nerf' --multi_gpu --gui
Running with GPUs: 0
Running pipeline in sequential mode.
Loading 1000 images.
  0%|                                                  | 0/1000 [00:00<?, ?it/s]/home/pg/miniconda3/envs/nerf/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
Segmentation fault (core dumped)

The "GPUs: 0" looks fishy.    However, nvidia-smi; nvcc --version; and nvitop -- all seem to be showing the usual results.

works fully for me with the fixed GTSAM from the author & (only) python changes in this repo made by jrpowers

what is you gcc version or other environment setup ? , after switch the branch. met this error
/usr/include/c++/8/bits/alloc_traits.h:392:27: error: forming pointer to reference type ‘const Eigen::Matrix<double, -1, -1>&’
       using pointer = _Tp*;
                           ^
/usr/include/c++/8/bits/alloc_traits.h:395:39: error: forming pointer to reference type ‘const Eigen::Matrix<double, -1, -1>&’
       using const_pointer = const _Tp*;

Looks like version issue from gcc

works fully for me with the fixed GTSAM from the author & (only) python changes in this repo made by jrpowers

what is you gcc version or other environment setup ? , after switch the branch. met this error
/usr/include/c++/8/bits/alloc_traits.h:392:27: error: forming pointer to reference type ‘const Eigen::Matrix<double, -1, -1>&’
       using pointer = _Tp*;
                           ^
/usr/include/c++/8/bits/alloc_traits.h:395:39: error: forming pointer to reference type ‘const Eigen::Matrix<double, -1, -1>&’
       using const_pointer = const _Tp*;

Solved by checking:

works fully for me with the fixed GTSAM from the author & (only) python changes in this repo made by jrpowers

I do  not understand how to change the code in linear.cpp. Could you tell me the what the inner const X& stands for? Thanks.

what is you gcc version or other environment setup ? , after switch the branch. met this error
/usr/include/c++/8/bits/alloc_traits.h:392:27: error: forming pointer to reference type ‘const Eigen::Matrix<double, -1, -1>&’
       using pointer = _Tp*;
                           ^
/usr/include/c++/8/bits/alloc_traits.h:395:39: error: forming pointer to reference type ‘const Eigen::Matrix<double, -1, -1>&’
       using const_pointer = const _Tp*;

Solved by checking:

works fully for me with the fixed GTSAM from the author & (only) python changes in this repo made by jrpowers

I do not understand this comment. Could you tell me how to fix the linear.cpp? What's the "inner const X& ..." stands for?

It seems that the solution comes from README installation-issues: 3. But i'm also not clear about the "inner const X& ..." and still stuck with this problem now. If you have figured it out, please let me know. @JIANG-CX @pengwangucla

You may change const std::vector<const gtsam::Matrix&>& to const std::vector<gtsam::Matrix>&  use & as pointer is not proper define of std::vector

You may change const std::vector<const gtsam::Matrix&>& to const std::vector<gtsam::Matrix>& use & as pointer is not proper define of std::vector

Thanks a lot! That's the solution and it works now!

@JIANG-CX, @pgaston I found the solution. Please go to the folder thirdparty and delete gtsam then git clone the updated (https://github.com/ToniRV/gtsam-1/tree/feature/nerf_slam). Then build again.
@ToniRV . I think you should update the gtsam in thirdparty to avoid this issue.

After downloading the new gtsam, I find this error still exists.

this worked for me

@phamquandung
Then, another error:
File "/home/user/research/NeRF-SLAM/./examples/../slam/visual_frontends/visual_frontend.py", line 48, in gtsam_pose_to_torch q = pose.rotation().quaternion() AttributeError: 'gtsam.gtsam.Rot3' object has no attribute 'quaternion'

That line and the following return statement should be replaced like this
    q = pose.rotation().toQuaternion()
    return torch.tensor([t[0], t[1], t[2], q.x(), q.y(), q.z(), q.w()], device=device, dtype=dtype)

Thanks for your reply! It saved my day! I have run into an error because of wrong modification of this.
My wrong version is pose.rotation().toQuaternion().coeffs();
This modification leads  q to all nan

When I run the command "cmake --build build_gtsam --config RelWithDebInfo -j", it gave an error as follows. Could you please help me to fix it? Thanks.
Traceback (most recent call last): File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/scripts/pybind_wrap.py", line 94, in <module> main() File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/scripts/pybind_wrap.py", line 90, in main wrapper.wrap(sources, args.out) File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/gtwrap/pybind_wrapper.py", line 723, in wrap submodules=submodules) File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/gtwrap/pybind_wrapper.py", line 624, in wrap_file module = parser.Module.parseString(content) File "/home/jiangcx/Documents/Nerf_related/NeRF-SLAM/thirdparty/gtsam/wrap/gtwrap/interface_parser/module.py", line 56, in parseString return Module.rule.parseString(s)[0] File "/opt/ros/noetic/lib/python3/dist-packages/pyparsing/core.py", line 1141, in parse_string raise exc.with_traceback(None) pyparsing.exceptions.ParseException: Expected string_end, found 'namespace' (at char 1249), (line:46, col:1) make[2]: *** [python/CMakeFiles/pybind_wrap_gtsam_unstable.dir/build.make:76: python/gtsam_unstable.cpp] Error 1 make[1]: *** [CMakeFiles/Makefile2:32620: python/CMakeFiles/pybind_wrap_gtsam_unstable.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

thirdparty/gtsam/gtsam_unstable/gtsam_unstable.i
815,1: virtual class LinearizedHessianFactor : gtsam::LinearizedGaussianFactor {
这个类结尾 少了两个字符  };  ，加上即可

try "git clone https://github.com/ToniRV/gtsam-1"
then cmake it!

try "git clone https://github.com/ToniRV/gtsam-1" then cmake it!

this worked for me.

@jrpowers Using your latest PR I got everything to build - whew. The cube sample scene runs fine! Unfortunately, the first example dies a horrible death... (perhaps I'll wait for the dust to settle on all these changes...) Thanks again to all!
(nerf) pg@pg-MS-7A59:~/repos/NeRF-SLAM$ python ./examples/slam_demo.py --dataset_dir=./datasets/Replica/office0 --dataset_name=nerf --buffer=100 --slam --img_stride=2 --fusion='nerf' --multi_gpu --gui
Running with GPUs: 0
Running pipeline in sequential mode.
Loading 1000 images.
  0%|                                                  | 0/1000 [00:00<?, ?it/s]/home/pg/miniconda3/envs/nerf/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '
Segmentation fault (core dumped)

The "GPUs: 0" looks fishy. However, nvidia-smi; nvcc --version; and nvitop -- all seem to be showing the usual results.

Hi I also met this segmentation fault error. Could you please tell me how did you solve this issue? Thx a lot!

@JIANG-CX @pgaston @hjxwhy you can fork https://github.com/borglab/gtsam this one and build python wrapper like this https://github.com/borglab/gtsam/tree/develop/python. I tried, and it works.

Thanks for your kindly help. I can pass the build step now. But when I run the "./examples/slam_demo.py”, I find there is an error about the gtsam. I wonder have you met such error? How did you solve it? Thanks a lot.  File "./examples/slam_demo.py", line 200, in <module> run(args) File "./examples/slam_demo.py", line 143, in run slam_module.spin() # visualizer should be the main spin, but pytorch has a memory bug/leak if threaded... File "./examples/../pipeline/pipeline_module.py", line 88, in spin self.initialize_module() File "./examples/../slam/slam_module.py", line 18, in initialize_module from slam.vio_slam import VioSLAM File "./examples/../slam/vio_slam.py", line 9, in <module> from factor_graph.factor_graph import TorchFactorGraph File "./examples/../factor_graph/factor_graph.py", line 14, in <module> from gtsam import NonlinearFactorGraph as FactorGraph ModuleNotFoundError: No module named 'gtsam'

Hello, I have the same problem when I run the demo. Although I have update gtsam and torch118, it didn't work. So how did you solve the problem(No module named 'gtsam')?


Assigning design variable to parameter "amplitude" Maxwell2d.assign_current() does not work.

Running the following line of code runs successfully:
m2d = Maxwell2d(designname=design_name, NG=True, solution_type=solution) m2d.modeler.model_units = "mm" current_boundary = m2d.assign_current([coil], amplitude=10, phase="0deg", solid=True, swap_direction=False, name="Current1").
A current condition on the coil object is created with an amplitude of 10A. However, when a an existing design variable is assigned to the amplitude parameter, the code runs but the variable is not assigned to the current condition.
m2d["I1"] = "10A" current_boundary = m2d.assign_current([coil], amplitude="I1", phase="0deg", solid=True, swap_direction=False, name="Current1")
No exception or error is caught.
A reference code is attached in this issue.
PyAEDT_M2D_DesignVariable_AssignCurrent.zip
PyAEDT_M2D_DesignVariable_AssignCurrent.txt
Thanks and best regards
ganett

Hello,
I've fixed it in #548


MuZero agent in examples folder not  present

I see the examples have MuZero for discrete control tasks.
But this doesn't seem to have been released yet. Any idea on when it will be?

used in https://github.com/deepmind/acme/blob/master/examples/baselines/rl_discrete/run_muzero.py


chore(main): release 0.2.0

:robot: I have created a release beep boop
0.2.0 (2024-10-23)
Features

actuators: Enhance actuator display and improve API error handling (2861839)
ActuatorSlider: enhance actuator UI components with InputNumber and refactor actuator switch components (301e573)
actuators: responsive layout for Switch rows (f8f2db2)
add icons for actuators (a40c42a)
icon: use water drop icon (3955c84)
meta: add metadata to website (3f90c80)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.2.0
:sunflower:


generate a full graph

During bootstrap (optionally?) create a full graph of all the dependencies, without repeatedly building anything. This should replace the existing command to convert a build order file to a graph.

#258 added a graph.json file to the work-dir.


BucketId Dynamic Metadata for RateLimitQuota filter

Commit Message: Add dynamic metadata to the rate_limit_quota filter to export the selected bucket for a given request for logging
Additional Description: Functionality tested using an access log filter in integration testing
Risk Level: low
Testing: integration testing
Docs Changes:
Release Notes:
Platform Specific Features:

The presubmit failure seems to have come from a failure to cache the results of the presubmit, not an actual failing of a test

/retest

/retest


Distance from all node to all nodes

Hi,
I am a new user of the toolkit, and I want to get the distance matrix from all nodes to all nodes.
A Breadth-first search implementation would help or a way to change the tree root.
Do you know of another way?
Thanks,
Boaz

Hi,
I'm not sure I fully understand. Do you mean the euclidean distance between each point in a neuron? Also, how would the breadth first traversal and tree root changing help with this?

Hi,
Sorry for not being clear.
I want the minimal **path **distance between all nodes in the tree.
If I will do a BFS from each node I could build that matrix.
You have a function to get all the distances to the root, so if I will change the root, I could also build that matrix.
Boaz

Hi Boaz,
I am assuming that what you need is the shortest path distance within the paths defined by the tree structure. For a rooted tree, the minimal path distance is defined using the property of the root (so it would not be very efficient to modify it). The fastest way I can think of is to take the path towards the root for a pair of nodes and find the branching point at which they merge. From this you can extract the "shortest path distance".
Please let me know if this makes sense.
Lida

Hi Boaz,
I'm not sure we will implement this functionality in NeuroM, but we may implement functionality that helps you achieve that end. But we'd need to know how exactly you define the distance between two arbitrary nodes in a neurite tree or cell (and also, are you talking about cells, or neurites?)

Hi,
I am talking about neurites, and defining the shortest path you could make by following point along the tree.
I implemented this by loading an swc file using NeuroM, creating a pandas DataFrame with three series:
1. Start node of each segment
2. End node of each segment
3. Segment length (weight)
I loaded it up with networkX that has this algorithm.
Here is the code for doing that (only for bifurcation points).
from neurom.core.tree import isection, val_iter
from neurom.io.utils import load_neuron
from neurom.analysis.morphmath import segment_length
import networkx as nx

nrn = load_neuron('cell1.swc')

SegIter = nrn.i_neurites(isection)
Start = pd.Series()
End = pd.Series()
for i, seg in enumerate(SegIter):
    Start.set_value(i, seg[0].value[6].astype(int)) # first point of the segment
    End.set_value(i, seg[-1].value[6].astype(int)) # last point of the segment

SegIter = nrn.i_neurites(isection)
Length = pd.Series()
for i, seg in enumerate(val_iter(SegIter)):
    Length.set_value(i, np.sum(segment_length(seg))) # segment length

Graph = pd.DataFrame({  'Start': Start,
                        'End':   End,
                        'weight': Length})

G=nx.from_pandas_dataframe(Graph, 'Start', 'End', ['weight'])

pathLen = nx.shortest_path_length(G,weight='weight')

 # length from cell body
pathLen[1.0]
out: {1.0: 0,
 3.0: 5.0251467640259015,
 4.0: 9.5986137202856803,
 5.0: 14.041686980991598,
 7.0: 21.520430190916645,
 11.0: 26.466570099977055,
...
 # length from another point on the tree:
pathLen[11.0]
out: {1.0: 26.466570099977051,
 3.0: 21.44142333595115,
 4.0: 16.867956379691371,
 5.0: 12.424883118985456,
 7.0: 4.9461399090604088,
 11.0: 0,
 12.0: 5.0195716948759701,
 14.0: 10.025588075192742,
...


Support for fast Inference

Hi @lovelyqian,
Thanks for the great work.
I would like to know if there is a support for TensorRT or similar for fast inference to support real-time application.
Thanks

Dear @retazo0018 , thanks for your attention and the question.  For now, we don't explore such fast inference.  It would be great if you plan to  and could give us some feedback!

Thanks @lovelyqian for your reply.
Sure, have you tried converting the CD-ViTO model be converted to ONNX format? I tried to export the model to ONNX but couldn't succeed.

@retazo0018 Unfortunately, I haven't tried it (sorry that can't help you in the matter


Build Faster Whisper in a docker container issues

I've been able to run regular Whisper just fine from a docker build, but haven't been able to get it to work for Faster Whisper
Currently using pytorch/pytorch:2.1.0-cuda11.8-cudnn8-runtime as the base image and getting the issue "libcudnn_cnn_infer.so.8 not found"
The nvidia image mentioned in the README was too large for my VM to handle

You can try starting from the ctranslate2 docker image

Seems like the newest one of those images uses CUDA11.2, which I'm not sure will work for me here. I updated my docker file like so (I got the LD_LIBRARY_PATH by testing on my VM by running python3 -c 'import os; import nvidia.cublas.lib; import nvidia.cudnn.lib; print(os.path.dirname(nvidia.cublas.lib.__file__) + ":" + os.path.dirname(nvidia.cudnn.lib.__file__))' )
FROM pytorch/pytorch:2.1.0-cuda11.8-cudnn8-runtime

RUN pip install nvidia-cublas-cu11 nvidia-cudnn-cu11

RUN pip install -r requirements.txt

ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/conda/lib/python3.10/site-packages/nvidia/cublas/lib:/opt/conda/lib/python3.10/site-packages/nvidia/cudnn/lib

Got a bit further, but got this error:
Could not load library libcudnn_cnn_infer.so.8. Error: /opt/conda/lib/python3.10/site-packages/nvidia/cudnn/lib/libcudnn_cnn_infer.so.8: undefined symbol: _ZN11nvrtcHelper4loadEb, version libcudnn_ops_infer.so.8
Seems like it's close, just missing one thing on compatibility.

ENTRYPOINT "/app/entrypoint.sh"

And then in entrypoint.sh I have:
export LD_LIBRARY_PATH=`python -c 'import os; import nvidia.cublas.lib; import nvidia.cudnn.lib; print(os.path.dirname(nvidia.cublas.lib.__file__) + ":" + os.path.dirname(nvidia.cudnn.lib.__file__))'`

python -u main.py

or just add this to docker compose that LD_LIBRARY_PATH

Unfortunately the nvidia/cuda:12.2.2-cudnn8-runtime-ubuntu22.04 docker image is too large for my machine to handle; still not sure why the original pytorch image doesn't accomplish what I need. Do I need to be setting the LD_LIBRARY_PATH (I'd assume that would be set in the base image)?

setting LD_LIBRARY_PATH is needed due the fact that the libraries that are needed are installed via PIP (not by operating system).
In other words if those libraries were installed by apt (as base is UBUNTU), you would not need to set that LD_LIBRARY_PATH

this worked for me after trying multiple solutions
FROM pytorch/pytorch:1.13.1-cuda11.6-cudnn8-runtime

WORKDIR /app
COPY . .

RUN apt-get update && apt-get install -y libglib2.0-0 build-essential git && \
    apt-get clean && rm -rf /var/lib/apt/lists/*

ENV TORCH_CUDA_ARCH_LIST="6.0;6.1;7.0;7.5;8.0;8.6+PTX;8.9;9.0"

RUN pip install -U pip setuptools
RUN pip install python-multipart faster-whisper nvidia-cublas-cu11 nvidia-cudnn-cu11

ENTRYPOINT ["sh", "-c", "export LD_LIBRARY_PATH=`python -c 'import os; import nvidia.cublas.lib; import nvidia.cudnn.lib; print(os.path.dirname(nvidia.cublas.lib.__file__) + \":\" + os.path.dirname(nvidia.cudnn.lib.__file__))'` && python -u test.py"]

Here's a workaround, which might help for those trying to make it work in Docker.
https://github.com/SYSTRAN/faster-whisper/issues/516#issuecomment-2119010765

fwiw, nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04 fixed it for me, without having to set library paths. i was using it through whisperx.


Implemented --disable-httponly-cookie

The new option disables the HTTPOnly flag so that JS can access the cookie.
This might be a security risk, that's why it's enabled by default.
Only use it, if you know, what you're doing.

I think it would be a good idea to warn the user in the help about this security risk.

I'm 👍  for this change but it will need a few tweaks, I'm happy with the name but this will need a few formatting tweaks (indentation on Config object, this should be fixed with go fmt) and content tweaks (I don't believe the the usage output actually matches what is printed with --help)


Automate testing of the ValidatorRegistrationContract.java and ValidatorRegistrationClient.java

Utilize the framework laid out in Issue #46 to automate the testing of ValidatorRegistrationContract.java and ValidatorRegistrationClient.java. Ensuring the firing of the events Eth1Deposit and ChainStart are critical to triggering the BeaconChain.

@dangerousfood, has this been completed or is it still an open issue?


Update index.html to use / before @@env

cc: @AllenBW
There is a problem with the common webpack config. There is no preceding / before beta, so chrome isn't serving from the right place. This adds the / to the @@env so that everything works correctly.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   16.92%   16.92%
=======================================
  Files          12       12
  Lines          65       65
  Branches        4        4
=======================================
  Hits           11       11
  Misses         51       51
  Partials        3        3

Continue to review full report at Codecov.

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


Traduction January 2024

@pierre-yves-monnet is this still WIP? we recently restructured the repo. Can you update this PR?

Yes, just waiting for the Spanish translation. Ready to do the PR now.


issue with Release Date

[Enter feedback here]
can you please show  how to fix the Release Date when updating or creating a new entry it defaults to 1/1/0001
Thank you so much

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

ID: 97234f18-4009-0ebf-a379-9b63125529cd
Version Independent ID: 1bf4792d-dab4-e03d-2021-3dcdcaff6a0f
Content: Part 10, examine the Details and Delete methods of an ASP.NET Core app
Content Source: aspnetcore/tutorials/first-mvc-app/details.md
Product: aspnet-core
Technology: aspnetcore-tutorials
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate). For Visual Studio, use the Report a Problem gesture or Suggest a Feature gesture within VS, which open internal issues for the VS team. For Visual Studio Code, you can open an issue at microsoft/vscode issues.


Font Request: Geist Sans (1.3.0)

Font Name
Geist Sans (1.3.0)
Link to font source
https://github.com/vercel/geist-font/releases/tag/1.3.0
Link to font license
https://github.com/vercel/geist-font/blob/main/LICENSE.txt
Additional context
Fontsource already have Geist, but recently the font was updated to the version 1.3.0, which seems to have a lot of changes.

To add to this, would be good to add Geist variable font which is not currently available through fontsource.


Make it easier for cdef dist to auto-vectorize

Cdef dist should autovectorize with default compiler flags now.
Since I don't see a performance benifit from it anymore, remove the forced
inlining.

If you enable avx2 what does it happen?

Honestly, I couldn't seem to get any vectorized code on master with RUSTFLAGS="-C target-feature=+avx2,+fma". When I tested removing the inlining, I ran with those options. I was thinking of leaving it in if there were speedups with avx2.

Looks optimized and unrolled although only using SSE2 opts even with AVX2 enabled, but our microbenchmark on my machine shows that this version is 20% slower.

I ran the microbenchmarks and did reproduce the a performance regression, but in the order of a couple percent instead.
Here are the awcy results. I do see performance improvements here.
https://beta.arewecompressedyet.com/?job=master-0a1335fb86686808df86654938fae420c77b4660&job=auto_vec_cdef_dist_2%402019-12-27T17%3A23%3A29.539Z
I guess more investigation is warranted.

I wonder if it depends on CPU architecture. My current machine is running an i7-6700.

Try it now.

This version is 50% faster compared to master, strangely enough. Running a full encode, 1080p ducks take off, encode speed is about 3% faster at speed 6.


Make ListRandomizer abort experiment immediately if full

Currently, the experiment is only aborted when get_condition is called. This should probably be optional.

In v2.2.0, you can check for the ListRandomizer's status with the new attributes ListRandomizer.full, ListRandomizer.allfinished, ListRandomizer.nopen, ListRandomizer.npending - these allow a fine-grained manual control over experiment abortion.


Not download file where format .txt

Hey
Thanks for good library
I want to download file .txt
mega.py download it but content file is blank
Please help to fix it
Thanks

What file did you try to download? This is unfortunately not much informations you're giving us.
And I know that this response comes kinda late but still I would like to try to help you ^^

https://stackoverflow.com/questions/68465210/problem-downloading-mega-files-with-python

https://stackoverflow.com/questions/68465210/problem-downloading-mega-files-with-python

Yes
It worked
Thanks


building on OpenBSD: export autoconf and autmake version needed

To build on OpenBSD I had to
export AUTOCONF_VERSION=2.69
export AUTOMAKE_VERSION=1.15

before ./autogen.sh would work.

Thanks for letting me know about this. I can add this to the BSD build instructions. Do you happen to know why it's needed?


Fixed failing tests due to the change we check for file readability.

I added another commit with a serving suggesting :) I strongly believe, you should not try to parse error strings. Use sentinel errors instead. Or return the errors you got from the os, if possible.
And, if you do fmt.Errorf, use %w to Wrap and not convert the errors.

@HeikoSchlittermann, thanks for the suggestion. In tests now I use errors.Is(...) instead of parsing error strings.


Adding  a Reset button for contact us form for better user experience

🎇 Description
It would have been better if we could have add a Reset button for contact us form in order to improve the user experience.So if a user makes a error while filling the details  at a couple of places they could directly reset the form without much trouble.
i would like to work on this issue.

🖼 Screenshots
No response

@KiranAminPanjwani  i would like to work on this issue

Sure, go ahead!😊

Ok thanks for assigning me this issue i would work on this and get back to u soon


IOS - google drive account login and permission error on Safari

Hi! When safari launches and ask for gDrive account; after the mail and pass are introduced it redirects to the permision web (google account), but this messages appears instead:
"Safari cannot open the page because address is invalid"
Any ideas?
Maybe something related to the uri or redirection ?
The podFile content:
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/CocoaPods/Specs'
platform :ios, '9.0'
target 'Unity-iPhone' do
pod 'AppAuth', '~> 1.1.0'
end

The api works on Windows and on Android, and have the configuration made from both of them (android/ios and standalone/windows).
I create the XCode project on windows, transfer it to a mac and then 'pod install' dependencies and compile the project.

No Idea? I've done what the readme says, but it doesn´t work. It has to be something with the Google Drive permissions on IOS.
Should resinstall the api ?

Redoing the credentials with a new account solve this issue, but it still doesn´t work.
Closing this becouse the initial error is solved.


Fully document change from systemd-timesyncd to chrony

As noted in https://github.com/balena-io/docs/pull/867, as of v2.13 balenaOS moved from systemd-timesyncd to chronyd and that has yet to be documented. cc @ZubairLK @agherzan

A version note for the change from systemd-timesyncd -> chronyd was added here https://github.com/balena-io/docs/pull/1284/commits.

[garethtdavies] This issue has attached support thread https://jel.ly.fish/#/78c1dd72-b9d8-4792-8b44-06fbb48782b3

Closed via https://github.com/balena-io/docs/pull/1380


Add nft weights data to boost data

The boost file doesn't contain the data for the nft weights for each NFT. This will be needed for the UI to show the correct weights for each nft. We can add a seperate dictionary in the boost file called nftWeights and store this data there so it can be consumed by the badger api.

API should pull data from the NFT control contract, not trust from us.


Add Section functional for allow users discern and control source of the log.

Please see the README. This package does not accept pull requests.


detached-elements demo shows [object Promise] in Detached Elements panel

Edge version: 115

Dev version(117) works fine.

Thanks for reporting this issue. I'll move it to the DevTools repo now, since that's where we track problems that relate to DevTools itself (as opposed to here, where we track issues about demos only).


lighter client

it would be nice to have a lighter (Size) client maybe something like a client with only file manager and the user can upload the full client after connection

While I do think it is interesting to be able to pick and choose features (as would be possible with a good plugin system), the client is pretty small in size already. I am just a bit lost on how it would be useful to have to upload the rest of the client later.

it will be nice because now i don't have to send my 200kb client but something like 35kb client and maybe the server will upload the 200kb server automatically

I suppose. But 200kb is still very very small.

yes its small but not as small as the other rats

I only see this happening with a good plugin system, which as of right now quasar is lacking

Ability to choose between sending a full client or just certain classes like downloader.cs, which downloads the other classes such as file manager.cs; remote desktop.cs and etc. when a connection is fully established. Once downloaded it then installs the rest of the required ones or something similar like that. Would require some kind of a plugin manager as previously mentioned above. Which compiles with only downloader.cs and other possibly selected classes for minimum stub size.

Send client with a Downloader.cl only so when it connects it downloads and installs the rest of the selected classes from server = Smaller stub
Full client all classes included = Larger stub

That would be kinda of awesome.

Maybe in the Builder user could be able to choose what features to include (along with the space expense that one would take)

The requirement for this to work is to make Quasar more modular (i.e. plugin system). It's planned, but no ETA yet.

An assembly Loader would meet the needs. The loader Programm streams the featrues from the Server. So that everything except the connection handling is in Memory. So no more needed more space on HDD. My smallest Loader written in c++ was 3 Kbyte in size. It loads downloads the QuasarRAT Client and decides which Version .Net Framework 3.x or 4.x to use because some have only .Net 3.x installed. The loader Downloads the Assemblys and executes them in their own Memoryspace, this prevents Virus Scanner detections or Heuristic attacks.

@0xE232FE mind sharing the C++ stub/(down)loader ?

@Abdullah2993 yes, your right. Please excuse me for repeating!!! :-(
The first Problem I ran into was Virus Scanner ;-) I needed something to circumvent it and get rid of the Virus Scanner Headaches.


Euclidean Loss Layer

Hi !
I can't find any Euclidean Loss Layer or equivalent.
My neural network output one value, and I know the value that should have been returned.
Thanks :)

"loss" is simply a value, so you can use a "Sub()" operator followed by an "Abs()" operator to get absolute distance in 1D space.
For N-D space, I use:
Sub([output, label], diff)
Abs(diff, adiff)
Dot(adiff, adiff)

This calculates distance-squared in Euclidean space. If you want plain distance, add a square root (power of 0.5).


Support "cascade" interaction for inputMap

When setting the inputMap it is useful for the RHS targets that are package names, which are then resolved based on the known map.
Effectively this is calling traceInstall on the RHS of inputMap for all RHS targets that are bare specifiers.

Rather than overloading the input map logic, I've decided to go with custom resolutions via https://github.com/jspm/generator/issues/13 which can exist side-by-side with the authoritative inputMap implementation.


[WASM] ListView - take item margins into account

ListView layouting now takes item margins into account.
This fixes bug where items are arranged with different offset when scrolling backwards vs forwards, which is bad.
GitHub Issue (If applicable): #234

PR Type
What kind of change does this PR introduce?

Feature

What is the current behavior?

What is the new behavior?

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[ ] Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[ ] Wasm UI Tests are not showing unexpected any differences
[x] Contains NO breaking changes
[x] Updated the Release Notes
[x] Associated with an issue (GitHub or internal)

Other information

Internal Issue (If applicable):

https://github.com/nventive/calculator/issues/153

https://github.com/nventive/Uno/blob/master/src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ListView/ListView_Explicit_Items.xaml.cs#L34
Left: Old / Right: New

Story checks out


mantlui support for mesos 0.24+

Sandbox links in the Mesos UI are currently broken with mesos 0.24.1.

fixed via #955


Roll engine 8d11d1c81573..3dc233f04e8e (1 commits)

git@github.com:flutter/engine.git/compare/8d11d1c81573...3dc233f04e8e
git log 8d11d1c81573..3dc233f04e8e --no-merges --oneline
2019-08-17<EMAIL_ADDRESS>Roll src/third_party/dart 8ab978b6d4..beee442625 (17 commits)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (stuartmorgan@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


Add new delete + autoabort on quota used functionality

Coverage increased (+1.03%) to 78.46% when pulling d432a757d10191732b7b617f0c41da4d028b86ae on mranostay:master into e1eaf50f0db30ddac83f26ba08ba648af9db5825 on jvenezia:master.

Thanks @mranostay
I added tests on the quota limit, and change a bit of the code. Please tell me if its ok for you.
Cheers

Seems fine and more clear.


Why do Max and Minn have opposite definitions?

tsdb/head.go
func (h *Head) processWALSamples(
	minValidTime int64,
	input <-chan []RefSample, output chan<- []RefSample,
) (unknownRefs uint64) {
	defer close(output)

	// Mitigate lock contention in getByID.
	refSeries := map[uint64]*memSeries{}

	mint, maxt := int64(math.MaxInt64), int64(math.MinInt64)

yeah it is a bit awkward, but this is so that some parts of the code assume that when mint == math.MaxInt64 it is considered as NOT set. The same for maxt == math.MinInt64.
for example:
https://github.com/prometheus/tsdb/blob/99703b3269a1b870e04524e97b807319e1540720/head.go#L672
Could you please ask dev questions in #prometheus-dev channel as we use github for tracking issues and new feature requests.
feel free to ping me directly


Update readme for azure-core

Take https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/core/Azure.Core as a reference

Fixed in #10645


Adding "urlMaps" API

I want to use the urlMaps API to be able to invalidateCache from Nodejs.
Is there a plan to add it to the nodejs-compute API ?
If not, I will be happy to contribute.
Reference :
https://cloud.google.com/compute/docs/reference/rest/v1/urlMaps?authuser=1#resource-urlmap

👋 @K4ST0R I don't think this is on anyone's radar, but we're always happy to accept pull requests!


nbdev_clean pre-commit hook doesn't clean all metadata

Thank you @seeM for adding this awesome feature.
I am currently seeing an issue where the nbdev_clean pre-commit hook doesn't clean all cell meta-data (specifically execute times -- "recordTiming": true in Notebook settings - JupyterLab):

If this is expected behavior for the hook, would it be possible to pass custom cell tags as a parameter to the pre-commit hook?

Are you executing the hook by pre-commit run or are you staging the change and committing? When I was experimenting with the hooks I didn't realise that it essentially does a git stash before running the hook and git stash pop afterwards so that any unstaged changes don't get cleaned. Maybe this is happening to you?

Is it possible that it's not finding the notebooks because they aren't in the nbs_path dir or whatever yours is configured to be? See: https://github.com/fastai/nbdev/blob/master/settings.ini#L52
In one of my repos (private unfortunately) I have the majority of notebooks in the nbs folder like the link above but I have some in a sibling folder to nbs called scheduled and I updated the .pre-commit-config.yaml to be:
repos:
- repo: https://github.com/fastai/nbdev
  rev: 2.3.7
  hooks:
  - id: nbdev_clean
  - id: nbdev_clean
    args: [--fname=scheduled]
  - id: nbdev_export

This approach seems to be a workaround, since it will always run nbdev_clean on all the notebooks in that path.
Wouldn't it be possible for nbdev to accept a list of paths? And let pre-commit handle which notebooks needs to run the command on -- that would be only those files that have been modified by commit.


Status: failed to load - Project not restored

how about just restoring it then? ;-)

ah paket.lock is missing. so it's just unfortunate error message

have another instance of this. It would be great if ionide would just try to restore

the crazy thing is: it looks like everything still works. So I assume the restore happens eventually and it's just showing the annoying message.
Maybe we should just remove the error that's displayed from:

Yeah, it’s probably something I haven’t really changed when we’ve introduced background restore

This sounds like a correct behaviour - as long as the project is not restored it has "not restored" status in the solution explorer. When a restore is finished we get notification and change status.


[BUG] Cannot read properties of undefined (reading 'trim')

What happened?
When in the NFT tab, I clicked the three dots to create an offer and it failed and I received the error below
Version
1.8.0rc1
What platform are you using?
Windows
What ui mode are you using?
GUI
Relevant log output or stacktrace
Cannot read properties of undefined (reading 'trim')

URL
#/dashboard/offers/builder

Stacktrace
at webpack://@chia-network/gui/src/util/getNFTId.ts:6:25 getNFTId
at webpack://@chia-network/gui/src/components/nfts/NFTCard.tsx:35:30 NFTCard
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:172:114 useLayoutEffect
at webpack://@chia-network/gui/node_modules/react/cjs/react.production.min.js:23:112 useLayoutEffect
at webpack://@chia-network/gui/src/components/nfts/NFTCard.tsx:35:16 NFTCard
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:157:136 Ch
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:180:153 oi
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:178:168 ki
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:177:177 ii
at webpack://@chia-network/gui/node_modules/react-dom/cjs/react-dom.production.min.js:274:125 k.firstContext;null!==l;){if(l.context===d&&0!==(l.observedBits&f)){1===h.tag&&(l=zg(-1,c&-c),l.tag=2,Ag(h,l));h.lanes|=c;l=h.alternate;null!==l&&(l.lanes|=c);sg

Looks like this has already been reported but for Mac. Wanted to add here in case there were specific unique issues not documented in the others

Thanks for the report. This is fixed by https://github.com/Chia-Network/chia-blockchain-gui/pull/1704


Wired MAC addresses should be predictable before connecting

To be revisited when we have more field experience with the OT-2 refresh. See https://github.com/Opentrons/opentrons/issues/4757#issuecomment-808480013.
Current behavior
An OT-2's wired MAC address is only visible once you're already connected to the OT-2. This makes it somewhat difficult to set up wired DHCP networks that assign a static IP addresses based on MAC. Such networks are one way to work around failing robot auto-discovery.
Desired behavior
Some way to predict what the OT-2's wired MAC address will be, that doesn't rely on establishing any kind of connection to it.
Maybe derive it from the serial number.
Migration
People have networks set up relying on their OT-2s' current MAC addresses. We need a transition plan so that those people aren't forced to reconfigure their networks when this gets fixed.
┆Issue is synchronized with this Wrike Task by Unito

This is not addressed in the OT-2 refresh (at the time of writing, anyway).
I'm iceboxing this because we don't know how much it actually matters.
The release of the OT-2 refresh, with its real Ethernet port, might affect customer demand for this feature, but we don't know by how much. When we have more field experience with the OT-2 refresh, we can revisit this and either put it in the backlog or confidently close it as not worth implementing.

Bug triage determination: MHM

Gonna make an executive decision and close this one. Adding the wired MAC address to the label was floated internally but got no uptake. With the OT-2R's exposed Ethernet port and the general drop in connectivity support cases (in terms of what gets surfaced somewhere I can see it), I don't think this ticket will go anywhere


Support Yarn 2 without the need to unplug

Currently, to use the npm package with Yarn 2, the dependency needs to be unplugged or the binary is not found. If we can find a way to find it without unplugging that'd be preferable.

It doesn't seem that PnP can support this outside of unplugging the dependency. This is done automatically for some packages in this pr but renaming the binary to tie.exe seems a bit heavy-handed. Once a windows binary is packaged from #25, the need for this may go away. Marking as wontfix in the meantime unless anyone else has any better ideas.


cannot get my n64 configuration

I tried to give you information recently, but perhaps I should have made my own thread like this.
The gamepad option you suggested, doesn't seem to take into account or detect L, R or Z buttons.
Or should I be going to the one maintaining that tool? I am not sure if its you or not.

"The gamepad option you suggested, doesn't seem to take into account or detect L, R or Z buttons."

I wrote you very specific instructions in the following comment.
https://github.com/mdqinc/SDL_GameControllerDB/pull/723#issuecomment-2484081523

"The gamepad option you suggested, doesn't seem to take into account or detect L, R or Z buttons."

I wrote you very specific instructions in the following comment #723 (comment)

Yeah you did, but when I pressed L, R and Z I don't see anything happen. Every other button, shows something light up green. Its kind of puzzling.

I think I figured out the problem on my end. Your setup expects the control stick in a different place, but I am connecting the star wars tie x wing ship shaped controller to the raphnet dual n64 v3 adapter.
The control stick is in an entirely different place. My apologies for not noticing that sooner.


python312Packages: refresh various prominent python packages

Top off various prominent python packages.

python312Packages.aiohttp: 3.10.8 -> 3.10.10
python312Packages.fastapi: 0.115.0 -> 0.115.3
python312Packages.uvicorn: 0.31.0 -> 0.32.0
python312Packages.anyio: 4.6.0 -> 4.6.2
python312Packages.starlette: 0.39.2 -> 0.40.0

Fixes CVE-2024-47874 (backport in #350969)

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Tested on my hydra and looks fine to me.


Syntax highlight issue in .tsx files using generics

VSCode Version: Code - Insiders 1.3.0-insider (5eaf9f05038b0a9818ebff510e1aafe07ac1ae68, 2016-06-23T05:07:59.360Z)
OS Version: Windows_NT ia32 10.0.10586

Steps to Reproduce:

Create new .tsx file
Paste following

let a = Array<number>();   // Highlight ok here

interface egGenericsInArray {
   a: Array<number>;   // Highlight fails here with generics
}
let s = "anything fails here...";

Syntax highlight breaks after Array

Temporary workaround: adding spaces around brackets.
Syntax highlight broken with .tsx files in Visual Studio Code 1.3.0-insider:
interface test {
  a: Array<number>,
  b: string
};

Temporary workaround:
interface test {
  a: Array< number >,
  b: string
};

One can even just make a single space
:)
interface test {
  a: Array< number>,
  b: string
};

Thanks for the workaround!

This is wrecking all kinds of havoc on our code base highlighting in the 1.3.0 release. Can a fix please be prioritized?

@aeschli @dbaeumer Forward this to TypeScript if that's the case.

@mbilling Even when space within Array is workaround it is not suitable for project with 200+ ts files where at least half of them has Array. So weird that this issue was reported 15 days ago and was not fixed into final release of 1.3.

I reverted tsx to the version we had in 1.2. ts and js still have the changes for https://github.com/Microsoft/TypeScript-TmLanguage/pull/19 which seems to work well.

Awesome!
How can I get the version that contains the patch? When will it be shipped?
Thanks!

Install insiders version of vscode. Latest update from this morning includes the patch
https://code.visualstudio.com/insiders

@mbilling Do you release "fix" release as public for this same as was for 1.2.1 version? I think its breaking critical bug to be able to use public 1.3 release without this fix!

Agree. I'm just not in the release chain. I only raised the issue.
I guess someone is on it - or i hope :-)

We will have a release with the fix in the coming days.

@aeschli I am still having this issue. I think we should re-open it:

Version info:
Version 1.5.2
Commit 66f37fd2a99eb9d628dd374d81d78835b410c39b
Date 2016-09-12T13:22:54.636Z
Shell 0.37.6
Renderer 49.0.2623.75
Node 5.10.0

This is what I see:

1.6.0-insider
0619ede1e469ed23fbb214eaa0377625a402ca87
Seems to be fixed in latest.

ping @aeschli

Broken for me in a .tsx file.
Version 1.9.0-insider (1.9.0-insider)

f2379e882b415e2c503a723776c4431a40d7c1aa

2017-01-02T07:03:01.993Z

Removing the space between the component and the angle bracket works around it!


Application ID?

Is the youtube and youtube dev old Youtube Together or new one branded as "Watch Together"?
If you could, can you provide it both if missing?
Ty for it.

The 2 identifiers are new, if you want the old version, you just have to download an old version.
If you have no more questions, can I close this issue?
~ RemyK

The 2 ids are new, if you want the old version, you just have to download an old version.
If you have no more questions, can I close this issue?
~ RemyK

Can you provide link or ids of them? Thank You

Download older versions of the project or look at previous versions on Github, all IDs are commented


refactor-branch

You have mentioned that you did not make any changes to the code as it did not require refactoring. However, you have provided sample examples of refactoring techniques that you would have used if necessary. These techniques included improving variable names, removing redundancy, and simplifying logic.
If refactoring was necessary, you would have created a namedtuple to store and retrieve variables, renamed the helper function to be more descriptive, and made it simpler where needed. You would have used if-else statements to check optional arguments, broke down code into smaller helper functions, introduced more explicit error handling, and simplified the code. Overall, the refactored code would have maintained the same functionality while being more readable, maintainable, and efficient.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Feature change ip

Thank you for your time and interest.
Unfortunately, your PR has not been approved because the lack of documentation.
ArvanCloud wishes you all the best for the future. We are sure that you will soon be approved in one of our future projects.

Thank you for your time and interest.
Unfortunately, your PR has not been approved because the lack of documentation.
ArvanCloud wishes you all the best for the future. We are sure that you will soon be approved in one of our future projects.

:)))))
زمانی نبرد صرفا سر مسخره بازی و تفریح بود

:)))))
زمانی نبرد صرفا سر مسخره بازی و تفریح بود


URP: User with only "Login" Privilege is able to create RackGroup and Rack

Steps to Reproduce:

Create Role with only "Login" privelege
Create user with the Role created in step 1
Start URP service
Add URP to odimra
Create session with user credentials created in step 2
Create Rack Group RG#1 or Rack Rack#1  with session created in step 5.
Expected: User with only "Login" privilege should not be able create rack group and rack
Actual : User with only "Login" privilege is able to create rack group and rack

Should be fixed now, could you check it again?

Tested with updated code. Returns 403 forbidden now.


Unsafe explicit type casting

https://github.com/dartclub/dart_sort_queue/blob/05478e6e3b12e935c5c319a644c6d0bab7a5b8d6/lib/src/dart_sort_queue_base.dart#L10
As I removed in my earlier commit, because this is extremely unsafe. This contradicts the whole usage of generic type T altogether..
@armantorkzaban

I would say, that this is too limiting. Either we have it unsorted with "1" as the return val and no actual comparison and therefore no sorting. Or other option: We make the field compare mandatory/required.
I tend to the latter option, because then the user never encounters unexpected sorting and always has to explicitly set the comparison closure.

I would take the 2nd option too. Thanks


change directory for getting jar file

Fixes #
Proposed Changes

gradle plugin 3.1.4 puts the intermediate jar in a different location than the gradle plugin 3.0.2
Since we've upgraded the gradle version previously, this update fixes the makeJar task


Set default unit of memory to MiB if non is provided

Pull Request Checklist

[ ] implement the feature
[ ] write the documentation
[ ] extend the test coverage
[ ] update the specification
[ ] adjust plugin docstring
[ ] modify the json schema
[ ] mention the version
[ ] include a release note

Fix #3112:)


Having problems with getting services for connected device

class App extends React.Component {
  ...
  componentDidUpdate = (prevProps, prevState) => {
    if (prevState.connectedDevice !== this.state.connectedDevice) {
      this.tryConnectToDevice(this.state.connectedDevice);
    }
  }

  tryConnectToDevice =(device) => {
    if (device.connect) { // check if it is actual bluetooth device
      device.connect()
        .then((device) => {
            return device.discoverAllServicesAndCharacteristics()
        })
        .then((device) => {
          this.setState({
            services: device.serviceUUIDs,
          })
          return Promise.resolve();
        })
        .catch((error) => {
          this.setState({
            error: error,
          })
        });
    }
  }
  ...
}

I am trying to get all the serviceUUIDs for a connectedDevice so I wrote it as above. It's pretty straight forward but when I run it it somehow shows the following error.
console.error. "Unhandled promise rejection", {"line":1494, "column": 30, "sourceURL":"file:///var/containers/Bundle/Application/.../Blefirst.app/main.jsbundle"}

Can anyone take a look at my code and figure out what may have went wrong?
Thanks in advance!
p.s. Thanks for the great open source!

Device's serviceUUIDs field is part of advertisement data which may not be available. Basically it may be used by BLE devices to broadcast which services are available before connecting to it.
You should use services function to retrieve real services after connection and discovery step:
https://polidea.github.io/react-native-ble-plx/class/react-native-ble-plx/src/Device.js~Device.html#instance-method-services

Thanks!


Tests distribution based on "feature" files

Hello @rajdeepv and @sleekweasel
First of all I want to thank you guys for your great work upon this project - nicely done :+1:
The only question that still confuses me is the tests distribution.
Can you explain how exactly --distribution-tag tag works ? How can we divide features using only 1 tag ? Can you add some info about this under Wiki section ? Thank you advance.
Or can you advise me how can I set distribution mode based on feature files ? For example I'd like to split all available feature files into 2 separate groups and run them using 2 iOS simulators (each simulator gets its own set of features) ?
Should I use some weighing_factor ?
If you have some manuals or tutorials can you pin them under Wiki section ? Thank you advance once again.

@SergiyBeno Thanks for your question

--distribution-tag was added to distribute features files equally, based on occurrence of a perticular cucumber tag. It was inefficient and hence I removed the reference from wiki. To have better distribution of the tests, another flag --group-by-scenarios was introduced.
If you want to split all 'feature files' equally, you do not need to specify any flag. If you want to split all 'scenarios' equally, you need to use --group-by-scenarios. Each simulator will get its own features/scenarios by default.
As of now, readme file is the only reference.

Hi again @rajdeepv
Thank you for your fast reply.
Roger that. Closing this question.


Unable to create addrress

Create New Address
$wallet = Blockchain::createNewAddress($wallet_guid, $wallet_password, $label ='');

i found solution to my error


GRASS: List of library availability within conda for Grass installation

Tested with conda 4.13.0
Tested by using conda search [package_name] in a new conda environment
Available
bison
flex
gettext
Not available
libbz2-dev
libcairo2-dev
libzstd-dev
libproj-dev
proj-bin
libreadline-dev
libgdal-dev
libglu1-mesa-dev
libfftw3-dev
libpng-dev
libpdal-dev

We can try these conda packages:

bz2file
cairo
proj
readline
gdal
fftw
pda
libpng-devel-cos7-x86_64

but I'm not sure if GRASS needs headers, which these packages may not provide. (I'm guessing yes.)

I installed the packages listed above and attempted to install grass. I received the following error:
configure: error: *** Unable to locate zstd includes.
include/Make/Vars.make:1: include/Make/Platform.make: No such file or directory
make: *** No rule to make target include/Make/Platform.make'.  Stop. include/Make/Vars.make:1: include/Make/Platform.make: No such file or directory make: *** No rule to make target include/Make/Platform.make'.  Stop.
~
I also have the full output when attempting to install below if that is helpful.
GrassInstall_attempt.txt

I also ran the same test from above using homebrew, would it be helpful to post the results here as well or would that be a later consideration or different ticket?

I also ran the same test from above using homebrew

@SamKodama Homebrew is a good target because it'll make an install on macOS easier. I'm aiming for conda because it'll work on macOS and Linux (and maybe Windows, but probably not). Plus, it's the preferred distribution channel for CSDMS.

Okay, thank you for explaining. Is there anything I can do to help at this stage?

Is there anything I can do to help at this stage?

If you'd like, take a look at #15 and see if you can get further. But don't feel obligated to do so. It's kinda tedious.


Cancel grpc invocation when sensible

Includes specific gRPC status errors for unsupported input/output
MIME types (see https://github.com/projectriff/invoker-specification/issues/12
and https://github.com/projectriff/invoker-specification/issues/13).
The invocation is also canceled when an invalid signal sequence
occurs and when the function throws at invocation time.

Better merged with https://github.com/projectriff/streaming-http-adapter/pull/25, but not mandatory.

Bonus side effect: Ctrl-C'ing the process now works fine when the call is canceled.


Grant write access to new archive_v2 bucket from Dart service account

Dart CI's new monorepo engine builders will upload their artifacts to cloud storage, to the bucket flutter_archives_v2.
The recipes change to enable that is https://flutter-review.googlesource.com/c/recipes/+/31400
While testing, I am using the try jobs service account to run the builders, and in production I would continue using that.
So either we should give that service account write access to flutter_archives_v2, or change the destination of the
monorepo GCS uploads to a different bucket that we create, or we could move the production builders to our internal project, which
has more access controls and more restricted service accounts, if those would be better.
So I would like to have the service account
<EMAIL_ADDRESS>be given object creation access to flutter_archives_v2, if possible.  We can change this later if we want to lock it down more.
@keyonghan @athomas @godofredoc

Granted write access to<EMAIL_ADDRESS>but later on this will be configurable once we finish validating the gn generated artifacts.

This is implemented.


Param Visibility (Partial) - Enhancement

While working in ASP.NET, we had the option of assigning values to @params and hide them (using following code)
List userKeyParam = new List();
userKeyParam.Add(new ReportParameter("paramName", "paramVal", false)); //false represent param visibility
Now in MvcReportViewer, ReportParameter (which is KeyValuePair<string, object>) does not have visible property. It would be really handy when user wants to assign sensitive "paramVal" from code, and let the user allow to enter generic param val.

I have implemented this feature. It will be available in the next NuGet package.


sfdx plugins:install https://github.com/forcedotcom/sfdx-1commerce-plugin Not working

error Could not open cafile: ENOENT: no such file or directory, open 'C:\Downloads\DigiCertHighAssuranceEVRootCA.crt'
PS D:\Git\SubscriptionAccerlator\commerce1> sfdx plugins:install https://github.com/forcedotcom/sfdx-1commerce-plugin
This plugin is not digitally signed and its authenticity cannot be verified. Continue installation y/n?: y
error Could not open cafile: ENOENT: no such file or directory, open 'C:\Downloads\DigiCertHighAssuranceEVRootCA.crt'
warning https://github.com/forcedotcom/sfdx-1commerce-plugin > @salesforce/core > jsforce ><EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
warning https://github.com/forcedotcom/sfdx-1commerce-plugin > @salesforce/command ><EMAIL_ADDRESS>Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning https://github.com/forcedotcom/sfdx-1commerce-plugin > @salesforce/core > jsforce > request ><EMAIL_ADDRESS>this library is no longer supported
warning https://github.com/forcedotcom/sfdx-1commerce-plugin > @salesforce/core > jsforce > request ><EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
error Could not open cafile: ENOENT: no such file or directory, open 'C:\Downloads\DigiCertHighAssuranceEVRootCA.crt'
error Could not open cafile: ENOENT: no such file or directory, open 'C:\Downloads\DigiCertHighAssuranceEVRootCA.crt'
error Command failed with exit code 2.
error Command failed with exit code 2.
Installing plugin https://github.com/forcedotcom/sfdx-1commerce-plugin... failed
Error: yarn add https://github.com/forcedotcom/sfdx-1commerce-plugin --non-interactive --mutex=file:C:\Users\devan\AppData\Local\sfdx\yarn.lock
--preferred-cache-folder=C:\Users\devan\AppData\Local\sfdx\yarn --check-files exited with code 2
PS D:\Git\SubscriptionAccerlator\commerce1>

@smolynsf

Hello, make sure the salesforce certificates are installed correctly in your machine. I have tried to install the plugin to my machine using "sfdx plugins:install https://github.com/forcedotcom/sfdx-1commerce-plugin" and it have worked fine.


Epic: pending/proven chains with reorg support

We want to decouple the pending/proven chain from the view of the rollup contract.
### Tasks
- [ ] #7592
- [ ] #7594
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/7615
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/7616
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/7656
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/7587
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/7579
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/8102
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/8103
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/8259
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/8457
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/8459
- [ ] https://github.com/AztecProtocol/aztec-packages/issues/8463

Renaming the issue to make it easier for people to follow.


Ignore error when logger was already set

That's nice! when it's gonna be released?

I will wait until Friday for a response to the other open issue. If nothing happens I will release it this weekend.

@emranbm I nearly forgot to release the change. The MacOS and Linux version is published. And Windows will follow tomorrow.

That's great. Thanks!


Remove xmlData from subscribe/delete APIs since it is provided by sub…

…scription/deletion parameter
replace #8144

Just for the unittest checking. Still need to improve the code.

test this please

@vkuznet, @amaltaro, Alan please review.

+1

test this please

@ticoann Seangchan where do we stand on this? I need this PR to be merged before moving forwards with Unified Transferor. Alan asked to run test workflow with this PR, did you able to do this test?

I found some problem on the test. I am investigating. I will try to fix that and merge later today.

@vkuznet, Valentin, sorry for the late update. 1.1.7.pre2 tag contains this.


Private Video

When I upload a video, the video is automatically marked as private. Is it possible for the video to automatically be public on upload?

Also, is it possible to mention users in your post?


Removing Duplicated Text

there is confusing duplication in examples

Docs Build status updates of commit 8e8740d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Language/Reference/User-Interface-Help/overflow-error-6.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@b3tchi Good catch! Thanks so much!


[MS4] Improvements

General Improvements

Make description pop-up more readable
Progress bar (?)
Add a download button for graphs
Add a download button for addresses of art pieces (?)
Make drop-down options in alphabetical order (?)
Add a choropleth map + radio button to switch between original and choropleth

TA Feedback (link)

Change colour scheme so art-type values are visible

"Art type panel, the second art type picked, the number cannot be seen."

Make title bigger, bolder, no emojis

"The title can be a bigger and bolder font without emojis."

Move bars to the left (?)

"The bars for adjusting data can be a bit tidier if they were stacked on the left."

Add more information for potential collaborators

"README.md: It is prepared for potential collaborators. There is information included on how to install the app and run it locally."

Peer Review Feedback (link)

Change the x-axis for year to integer/categorical instead of continuous

"For example the combination Art Type: Memorial or Monument + Neighborhood: Mount Pleasant has values in the Year Installed plot of 2009.75, 2010.00."
"If you add something like this to your plot, it seems to fix the problem: scale_x_continuous(breaks = seq(1950, 2020, 10))"

Fix map if a combination of no art pieces exist

"It would probably be better to show empty map or show a message which saying something like: 'No Art for this period with the selected criteria.'"
Notification pop-up
Keep map on Vancouver, but empty

.

Put notification info + recreation in Readme.


Fixing syntax error in readme

@stefanjudis, it should be good now for contributions. Got indication you signed IPR agreement. Unfortunately, this system doesn't auto update the PR.

(Will merge tomorrow to avoid you having to go through any more pain)

@marcoscaceres Thanks. :)


JavaKit: clear exception before initializing Throwable

Initializing Throwable with an exception calls the JNI method NewGlobalRef, which on Android cannot be called while an exception is pending. [1] Clear the exception first before initializing the Throwable.
[1] https://developer.android.com/training/articles/perf-jni.html#exceptions_1

Closes #143


BUG: 500 status response on when updating agencies with non-unique values

Description: This issue is similar to #1376, but relates to scenarios where users are attempting to update an existing agency rather than create a new one. Although the queries issued to Postgres are different, the same unique constraint violation errors are thrown (depending on whether the request attempted to set the agencies name or code to a non-unique value, the UPDATE query violates the agencies_tenant_id_name_unique or agencies_tenant_id_code_unique unique constraints, respectively). As with #1376, the UI does not provide any indication that a problem occurred, although in this case the modal closes upon form submission, making the error even harder to detect for the end-user.
Steps to reproduce:

Login as a user with permission to create and update agencies (e.g. tenant admin).
Create a new agency for the tenant, providing a valid and unique name (ex. ABC Agency) and code (ex. ABC).
Create another new agency for the tenant, also providing a valid and unique name (ex. DEF Agency) and code (ex. DEF).
Ensure that the browser's developer console is recording requests, and attempt to edit the second agency (ex. DEF Agency) to a name that is not unique to the tenant (ex. ABC Agency). Observe that the modal closes and that no error is conveyed to the user. Also observe that the PUT /api/organizations/:organizationId/agencies/name/:agency request issued upon form has a status code of 500.
Attempt to edit the agency once more, this time by setting its code to a value that is not unique to the tenant (ex. ABC). Again, observe that the modal closes and that no error is conveyed to the user. Also observe that the PUT /api/organizations/:organizationId/agencies/code/:agency request issued upon form has a status code of 500.

Impacts:

Suboptimal user experience.
Increased noise in our service monitors.

Desired behavior:

The server should handle the errors and respond with a status code of 400 (Bad Request).
The response data should also contain text that helps communicate the nature of the problem to the user.

Implementation details:

Update the behavior of the PUT /api/organizations/:organizationId/agencies/name/:agency and PUT /api/organizations/:organizationId/agencies/code/:agency API endpoints to catch unique constraint violation errors encountered when attempting to persist a new agency to the DB, and handle those errors by issuing a 400 response that conveys the nature of the problem.
Update the UI to react appropriately when (400 status) responses containing errors are received by the client upon form submission.

cc @caitlinwinner for input on how errors should behave in the UI.

@agn-dsgn

CC: @caitlinwinner @TylerHendrickson
Also recommended for: #1376
My recommendation from the design side is to throw an error immediately upon user input, BEFORE they hit submit.
We should use the current pattern, wherein if any input field in the modal has an error, the "OK" (save) button is disabled.
Whenever possible we should strive to prevent user error as early as possible to prevent extra time and effort on the user's part.
Here's how that would look:
(Imagine each input field is improperly filled out)

Text
An agency with that name already exists
An agency with that code already exists

In ARPA, we already throw an error post-submission. While not ideal this could be a backup solution for Grants Finder as well. We could use the alert pattern within the modal in this case.

@TylerHendrickson are the above mocks sufficient?


feat: disabled telemetry by default

Description
disabling telemetry by default.
User needs to enable it (opt-in)
Which issue(s) does this PR fix

Fixes #?

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

Related change to the doc PR: https://github.com/redhat-developer/red-hat-developers-documentation-rhdh/pull/212#pullrequestreview-2082819253

/hold

After another set of discussions we are keeping it as opt-out (enabled by default)


Added -j4 to Makefile.linux.mk to speed things up

Also dropped unnecessary leading tabs.

I'd support removing the tabs, but I would avoid the -j4 in this case. Not because it's bad to run things in parallel, but because I already use a much higher -j value (specifically -j20) via the MAKEFLAGS environmental variable.

Make sense. I'll drop the flags then and document how you can do it using MAKEFLAGS.

Looks good to me. Merged :+1:


variants: improve handling of booleans

boolean variants now store values as bool
all other variants still store values as str

I turned OpenMP, CUDA, ROCm variants into binary variants to test @becker33's code.
@scheibelp please review/merge.
@rfhaque please take a look, and start a new PR to fix up the other variants that can now be binary.


ci: added python linting

style: normalize-yaml
build: cleaned makefile
build: removed pipenv
build: added poetry
chore: removed obsolete notebooks
build: using poetry instead of pipenv for python
ci: added linting

:tada: This PR is included in version 2.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


"Jump" button for OPR doesn't work

@Nate2019 Can you provide an example please? Looks like it works


Elements exceeded bounds using tcp my message i sent from server length 431 while try to use reader.ReadString()

Elements exceeded bounds using tcp my messgae i sent from server its

hi, it's almost the same as the other issue, KingServer also expects the first byte to be the message identifier. :P


JAMES-4030 Carry over Bouncer exceptions

This results on a nack of the underlying mailqueue, thus not loosing the email

forgotten


added finding kth smallest element in an array algorithm

You are given an array of integers, and you have to find the k-th smallest number in the array.
Input Format
The first line contains the value of K
The second line contains a space separated list of integers
Output Format
The only line contains the k-th smallest number in the array
Example:
Input
3
7 10 4 3 20 15
Output
7

Thanks for the PR 👍

I have updated the initial comment

Thanks for updating with comments, one last thing: could you please rebase master?

Done

You are given an array of integers, and you have to find the k-th smallest number in the array.
Input Format
The first line contains the value of K
The second line contains a space separated list of integers
Output Format
The only line contains the k-th smallest number in the array
Example:
Input
3
7 10 4 3 20 15
Output
7

@Sarthakbh321 few more changes

The above details needs to be added to the actual script file
rebase and push to master
everything else looks good 👍

Updated the script and rebased master


Fix active req handling

avoid double free when client is closed during processing of active request
fix own cert chain ref counting(openssl)

lgtm other than  the tests :)


Fixed build now that sign-ext-feature-flag branch has been merged upstream

The branch being now deleted, the master branch is failing to compile properly. This fixes it by changing the location and rev where to find the dependency.

Thanks1

Just for sake of completeness, the branch was actually still there, but the commit was gone most probably due to a rebase.


sandbox: Add UpdateResource API for sandbox controller

For a well defined sandbox the resources may be restricted, and the Task API server may run inside the sandbox, so we may rely on the sandox controller to add or remove resources in the sandbox before/after we create/delete Tasks or Processes in the sandbox.

Add this in 2.0 milestone list.

/ok-to-test

@dmcgowan I am not sure how to modify the api package after you made api a go module. The CI of  subsequent PRs will fail after this merged as it is happening in #9904 .

Should I submit another pr, to modify the dependent version of containerd/api in go.mod of containerd, to the commit id of this PR, after this PR is merged? so that make vendor can get the newest change from this PR and update the vendor? @dmcgowan

Should I submit another pr, to modify the dependent version of containerd/api in go.mod of containerd, to the commit id of this PR, after this PR is merged? so that make vendor can get the newest change from this PR and update the vendor?

I think after rebasing the newest main branch, the issue is resolved.
Could you please take a look at this PR?
/cc @fuweid @mxpv @dmcgowan

/test pull-containerd-k8s-e2e-ec2

/retest

@fuweid @dmcgowan Could you please take a look?

/retest

/retest


possible extension: probabilities for enum variants

We could allow #[P = 0.45] annotations to allow setting the probabilities for enum variants. The variants without annotations divide the remaining probability under themselves.
We should raise an error if the sum of probabilities is greater than 1.

I came here to say this. Or almost this—I prefer integer weights (defaulting to 1) because I find it easier to adjust them independently. It wouldn't be difficult to support both.


[Impeller] .webp assets are broken on macOS.

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Flutter 3.13.6
macOS Sonoma
Image.asset('assets/image.webp')

Expected results
Regular Image view with asset displayed
Actual results
Broken image widget
Code sample
Code sample
Image.asset('assets/image.webp')

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture:<PHONE_NUMBER>60032
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture:<PHONE_NUMBER>60032
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture:<PHONE_NUMBER>60032
[ERROR:flutter/shell/platform/embedder/embedder_external_texture_metal.mm(100)] Could not create external texture:<PHONE_NUMBER>60032
embedder.cc (2691): 'FlutterEngineMarkExternalTextureFrameAvailable' returned 'kInternalInconsistency'. Could not mark the texture frame as being available.
2023-10-11 16:27:40.668 Konflikt[66554:659692] Unable to mark texture with id<PHONE_NUMBER>60032 as available.
Lost connection to device.
MediaKitEventLoopHandler::Register: std::thread exit:<PHONE_NUMBER>47120

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.6, on macOS 14.0 23A344 darwin-x64, locale en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.2.2)
[✓] Connected device (3 available)
    ! Error: Browsing on the local area network for chäeMil’s iPad Pro. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources

! Doctor found issues in 1 category.

I thought we shipped the webp codec as part of the engine. So we should not depend on the host codec availability. Will investigate.

I was able to render an example WebP image from https://developers.google.com/speed/webp/gallery1 in a Flutter desktop app on macOS Sonoma with Impeller.
Is there a specific WebP asset that is failing to decode?

For me its all webp images. But im compressing them with Squash mac app. Will try some example one too. But it should be solved since its working on iOS.

Update. Its all images with impeller. Tried the example webp, jpg or png
══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞════════════════════════════════════════════════════
The following _Exception was thrown resolving an image frame:
Exception: Could not decompress image.

When the exception was thrown, this was the stack

Image provider: AssetImage(bundle: null, name: "assets/ui/menu/logo.png")
Image key: AssetBundleImageKey(bundle: PlatformAssetBundle#8a168(), name: "assets/ui/menu/logo.png",
  scale: 1.0)
════════════════════════════════════════════════════════════════════════════════════════════════════

I have 2019 Macbook Pro 16' with Intel and Radeon graphics. It happens on both of them when using Impeller. 🤷♂

There was another report of this happening on an Intel Mac (https://github.com/flutter/flutter/issues/134399).
Previously we have seen issues with Impeller image codecs on simulators or virtualized environments that do not provide the Metal capabilities required by Impeller (see https://github.com/flutter/flutter/issues/126768).  Possibly something like that may be happening on this platform?


Don´t know how to see data received from node-red mindconnect in mindsphere.

we can send data to Mindsphere but we dont know how to see this values in MindSPhere. We were trying see but we dont find how to.

We follow some documentation. Something is missing.
This is an example of one boolean variable and i wanted to see in table and time how it´s changing (from 0 to 1).
We have more variables but knowing how to see this one we can try by my own.

If someone can help me or tell me how to see these variables values in mindsphere i would appreciate it.

Thank you in advance and kind regards

lets continue the discussion in the forum.
https://community.sw.siemens.com/s/question/0D54O00007NeXltSAF/see-data-current-variables-received-from-nodered-mindconnect-lib?t=1647331842383&_ref=dD0xNjQ3MzMxODQyMzgz

ok, sorry for duplicate. I  didn´t know that are the same. Thank you!