feat(acpi): Implement ACPI device enumeration

Our existing code uses ACPI to get a few tables which give us
information like how many processors exist, memory layout, locality,
existence of IOAPICs, etc. This is all accessed during acpi::BootInit
very early in our initialization
In order to use ACPI for further functionality, like enumerating
peripheral devices (in particular - which PCI Root Buses exist), we need
to do a later round of initialization which requires some more
OS-dependent functionality.
This commit implements the required functionality to get a full ACPI
initialization on kvm-qemu and then walks the ACPI namespace looking for
PCI devices.
Signed-off-by: Dan Schatzberg<EMAIL_ADDRESS>

@BetsyRT try

:hourglass: Trying commit 14f5bc5 with merge cd63ce9...

:sunny: Test successful - runtests
State: approved= try=True


CSS etc is not part of the dist ?

I created a new simple app with create-react-app
but the CSS can't be found.
checking in the built /dist folder there are indeed no css files there.
So I copied them from the docs folder into my app
https://github.com/akiran/react-slick/blob/master/docs/slick-theme.css
But now getting this error

./src/components/KwGame/slick-theme.css (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-3-1!./node_modules/postcss-loader/src??postcss!./src/components/KwGame/slick-theme.css)
Module not found: Can't resolve './ajax-loader.gif' in '/Users/dc/dev/rnd/trax/kws/src/components/KwGame'

and yeah all that stuff isn't in the dist either
So am I doing something wrong, or do I actually have to go in and eject the project and tweak the webpack config to get this to work with create-react-app?

oh it requires another project

npm install slick-carousel

yes


Creating and afterwards deleting files in volume does not release disk space

I have a weird issue regarding a docker container that runs a python script which creates a single file in a volume, processes it and afterwards deletes it (this consecutive times). The problem seems to be that disk usage increases although the files are deleted after they are processed and after a while the python scripts fails because the disk runs out of space.
Below is the output of df -h after the python script has been running for some time (the volume is mounted on /home )

Filesystem
Size
Used
Avail
Use%
Mounted on

/dev/vda1
20G
7.3G
12G
39% /

none
1.9G
0
1.9G
0%
/dev/shm

/dev/vdb
30G
20G
8.7G
69%
/home

After I stop the container and run df -h again, /home displays the correct disk usage:

Filesystem
Size
Used
Avail
Use%
Mounted on

/dev/vda1
20G
7.3G
12G
39%
/

none
1.9G
0
1.9G
0%
/dev/shm

/dev/vdb
30G
4.2G
24G
15%
/home

While the container is running, I checked the volume on the host and interestingly I see some previously processed and supposingly deleted files with 0 bytes and one file ( <> 0 bytes) which is currently processed.
This happens on a Centos 6.5 VM.
uname -a: Linux vm64 2.6.32-504.12.2.el6.x86_64 #1 SMP Wed Mar 11 22:03:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
docker info:
Storage Driver: devicemapper
 Pool Name: docker-252:1-398424-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file:
 Metadata file:
 Data Space Used: 1.301 GB
 Data Space Total: 107.4 GB
 Metadata Space Used: 2.507 MB
 Metadata Space Total: 2.147 GB
 Udev Sync Supported: true
 Library Version: 1.02.89-RHEL6 (2014-09-01)
Execution Driver: native-0.2
Kernel Version: 2.6.32-504.12.2.el6.x86_64
Operating System: <unknown>
CPUs: 1
Total Memory: 3.741 GiB
Name: vm64
ID: 3WUB:EVCM:DKFV:OJJ6:KF3Z:2HN4:H233:I5FG:3CFU:W7BM:Y4UP:TFBN

docker version:
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.3.3
Git commit (client): a8a31ef/1.5.0
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.3.3
Git commit (server): a8a31ef/1.5.0

This sounds like your script isn't closing its file handles, which is keeping the files from being released.
See https://unix.stackexchange.com/questions/34140/tell-fs-to-free-space-from-deleted-files-now

Agreed. This is just a simple bind-mount from the host fs into the container, docker isn't doing anything here.
And since it's a bind-mount it's not using any of the graph drivers or anything.
I'm going to close this since it doesn't look like a docker issue.
Feel free to ping me here or (prefferably on #docker on IRC) for any questions/help.
Thanks!

Yes you are right of course.  The script was leaking the file handles.
After fixing it, the problem went away.
Sorry for opening the issue.


ensure toolbar_chooser calls into controller

Went over #3700 and can't find anything else that could have snuck in there.
/cc @romanblanco This should fix #3802
/cc @gmcculloug does this look right to you too?

<updated comment to include bz - code is unchanged>


INTRODUCTIONS!!! First pop in here and say hello!

Welcome everyone and thank you for participating in this experimental project.
Drop a comment below and tell us where your from?
How long have you been interested in coding for the Web?
What are your other hobbies?
Where are you from?
Or any other question & answers that you wish to share with the group :D

Hey guys, I'm an old developer who's trying to learn new tricks. :)  I just finished Colt's course on Github and recommend it. It's a very helpful intro to Git and Github, but you really have to do the exercises a lot and even then a lot of this stuff (for me anyway) doesn't get solidified until I'm doing something "real."  So this repository is a great learning experience.  I actually use Bitbucket for my job, but had only used the GUI, so while I understood kind of the basic concepts of branches, check-ins, pull requests, commits, etc., the GUI obscures so much of that, that your knowledge is only kind of surface level.

Look forward to working with you @dvdmon
I have done most of the git course too, and I still have to refer back to my notes before being sure whether to use a git restore/reset/revert!

@dvdmon would love to work with you man!!!


Improve Handling of frp Errors and Prevent Daytona from Crashing

Describe the bug
When frp (Fast Reverse Proxy) throws an error, potentially due to slow networking or other issues, Daytona crashes. The HTML error output from frp is not properly parsed and displayed, resulting in a poorly formatted, hard-to-read error message.
To Reproduce
Steps to reproduce the behavior:

Set up an environment using Daytona that relies on frp for networking.
Introduce a networking issue to trigger an error from frp.
Observe that Daytona crashes and the frp error message is displayed in an unformatted HTML.

Expected behavior
Daytona should handle frp errors more gracefully:

Capture and log the error without crashing.
Properly parse and display HTML error messages in a readable format.

Screenshots

Desktop (please complete the following information):

OS: macos sonoma
Daytona Version: v0.21.0

This is harder to reproduce, any other way to reproduce this?

Split part of this issue into https://github.com/daytonaio/daytona/issues/953.
This issue will focus on handling FRP errors more clearly.


Updated lk_env.h to resolve compilation error

Pull Request Template
Description
Updated line 64 to resolve compilation error during conversion of string when installing SAM / PySAM as developer.
If this should be merged into a different branch, please let me know.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

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

Checklist:
If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

@sjanzou updated long_name and desc per your review in latest commit. Please let me know if you need anything further.


chore: release v0.3.2

The draft release note is at https://github.com/google/node-fastify-auto-push/releases/tag/untagged-b3daa75e7778691e5355

Codecov Report

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

@@           Coverage Diff           @@
##           master      #27   +/-   ##
=======================================
  Coverage   97.29%   97.29%
=======================================
  Files           1        1
  Lines          37       37
  Branches        8        8
=======================================
  Hits           36       36
  Misses          1        1

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 d597106...382b5b9. Read the comment docs.

I just released fastify-static 0.10.1 that should fix the 304 problem.

I'll check this in after addressing a few more things:

Emit pushError on errors during push (from h2-auto-push)
Log an error on pushError (from fastify-auto-push)
Update fastify-static to 0.10.1


Remove microkernel build from build_all.sh

Currently we still need old mikrokernel image for other workflows like shell-command
in this commit, we download the microkernel from bintray instead of building it locally

@geoff-reid @anhou @tannoa2 @srinia6 @dalebremner


Flug Gym says it's done training after 10 seconds

Hi...  I got it working and added my images and had it add captions.  I hit "start training" and after about 10 seconds it says "Training Complete. Check the outputs folder for the LoRA files."  Which is obviously way too fast and there's nothing there.  Any idea why it thinks it's done when it didn't do anything?  I kept all the settings at default and I have a beefy NVidia A6000 card with 48GB VRam.  I did notice that on line 39 in the training log it does say "[RuntimeError: use libuv was requested but PyTorch was built without libuv support]"  What would that indicate?  Thanks!

same problem

Answered here: https://github.com/cocktailpeanut/fluxgym/issues/41

Answered here: #41

I added that text right where it said to.  I put Still says done with training after 20 seconds or so.  I restarted the entire program and tried again.  Same thing.  Not working.
Iadded the num processes line just like this...
accelerate launch ^
--num_processes=1 ^
--mixed_precision bf16 ^
Here's the train log if it helps...
[2024-09-15 14:56:07] [INFO] Running D:\fluxgym\train.bat [2024-09-15 14:56:07] [INFO]  [2024-09-15 14:56:07] [INFO] (env) D:\fluxgym>accelerate launch --num_processes=1   --mixed_precision bf16   --num_cpu_threads_per_process 1   sd-scripts/flux_train_network.py   --pretrained_model_name_or_path "D:\fluxgym\models\unet\flux1-dev.sft"   --clip_l "D:\fluxgym\models\clip\clip_l.safetensors"   --t5xxl "D:\fluxgym\models\clip\t5xxl_fp16.safetensors"   --ae "D:\fluxgym\models\vae\ae.sft"   --cache_latents_to_disk   --save_model_as safetensors   --sdpa --persistent_data_loader_workers   --max_data_loader_n_workers 2   --seed 42   --gradient_checkpointing   --mixed_precision bf16   --save_precision bf16   --network_module networks.lora_flux   --network_dim 4   --optimizer_type adamw8bit   --learning_rate 8e-4   --cache_text_encoder_outputs   --cache_text_encoder_outputs_to_disk   --fp8_base   --highvram   --max_train_epochs 16   --save_every_n_epochs 4   --dataset_config "D:\fluxgym\dataset.toml"   --output_dir "D:\fluxgym\outputs"   --output_name david-spade   --timestep_sampling shift   --discrete_flow_shift 3.1582   --model_prediction_type raw   --guidance_scale 1   --loss_type l2 [2024-09-15 14:56:11] [INFO] W0915 14:56:11.621557 21000 Lib\site-packages\torch\distributed\elastic\multiprocessing\redirects.py:29] NOTE: Redirects are currently not supported in Windows or MacOs. [2024-09-15 14:56:13] [INFO] Traceback (most recent call last): [2024-09-15 14:56:13] [INFO] File "C:\Users\Brian\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main [2024-09-15 14:56:13] [INFO] return _run_code(code, main_globals, None, [2024-09-15 14:56:13] [INFO] File "C:\Users\Brian\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code [2024-09-15 14:56:13] [INFO] exec(code, run_globals) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\Scripts\accelerate.exe\__main__.py", line 7, in <module> [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\accelerate\commands\accelerate_cli.py", line 48, in main [2024-09-15 14:56:13] [INFO] args.func(args) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\accelerate\commands\launch.py", line 1097, in launch_command [2024-09-15 14:56:13] [INFO] multi_gpu_launcher(args) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\accelerate\commands\launch.py", line 734, in multi_gpu_launcher [2024-09-15 14:56:13] [INFO] distrib_run.run(args) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\run.py", line 910, in run [2024-09-15 14:56:13] [INFO] elastic_launch( [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\launcher\api.py", line 138, in __call__ [2024-09-15 14:56:13] [INFO] return launch_agent(self._config, self._entrypoint, list(args)) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\launcher\api.py", line 260, in launch_agent [2024-09-15 14:56:13] [INFO] result = agent.run() [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 137, in wrapper [2024-09-15 14:56:13] [INFO] result = f(*args, **kwargs) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 696, in run [2024-09-15 14:56:13] [INFO] result = self._invoke_run(role) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 849, in _invoke_run [2024-09-15 14:56:13] [INFO] self._initialize_workers(self._worker_group) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 137, in wrapper [2024-09-15 14:56:13] [INFO] result = f(*args, **kwargs) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 668, in _initialize_workers [2024-09-15 14:56:13] [INFO] self._rendezvous(worker_group) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\metrics\api.py", line 137, in wrapper [2024-09-15 14:56:13] [INFO] result = f(*args, **kwargs) [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\agent\server\api.py", line 500, in _rendezvous [2024-09-15 14:56:13] [INFO] rdzv_info = spec.rdzv_handler.next_rendezvous() [2024-09-15 14:56:13] [INFO] File "D:\fluxgym\env\lib\site-packages\torch\distributed\elastic\rendezvous\static_tcp_rendezvous.py", line 67, in next_rendezvous [2024-09-15 14:56:13] [INFO] self._store = TCPStore(  # type: ignore[call-arg] [2024-09-15 14:56:13] [INFO] RuntimeError: use_libuv was requested but PyTorch was build without libuv support [2024-09-15 14:56:14] [ERROR] Command exited with code 1 [2024-09-15 14:56:14] [INFO] Runner: <LogsViewRunner nb_logs=40 exit_code=1>

i have same problem, i find when i'm using !wget command in jupiter notebook for download models on cloud servers, that file downloaded from hugging face, named "flux-dev.safetensors?download" , you should renamed that to "flux-dev.safetensors" for working well. also for clip models and vae.

No chance! Same Problem. Finished after few seconds.

The model was not downloaded


fix(stream agg): fix agg backwards compatibility issue introduced by #13376

Signed-off-by: Richard Chien<EMAIL_ADDRESS>I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Fixes backwards compatibility issue caused by #13376. Closes #13465.
See https://github.com/risingwavelabs/risingwave/issues/13559#issuecomment-1820945754 and https://github.com/risingwavelabs/risingwave/issues/13465#issuecomment-1821016508 for more details.
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

Can keep ci/main-cron/skip-ci. Only ci/skip-ci should be removed. This is because we just want to test backwards compatibility in main-cron (otherwise the full main-cron workflow will run).

Seems like it found an error, but not at the precise commit. Wonder why.

I guess it's a tiny mistake or some extend of non-deterministic execution.


fix(button): remove disabled attribute when disabled value is false…

… for MdAnchor
Caused by #1778
R: @jelbourn

Test added

LGTM

Fixes #1801.


GFCard : Null check operator used on a null value

I have the same issue since i updated my project to null-safety

same

@Sandipkakadiya Please release next version.

i'm having the same problem

We have updated packages,  please check with new version.
Thanks everyone please keep sharing valuable feedback to improve and add more widgets in packages.


Fix multirc

MultiRC seems broken for two reasons:

label = 1 seems to indicate True. Though np.argmax would return 0 is we found the answer to be correct. https://huggingface.co/datasets/viewer/?dataset=super_glue
The answer format isn't natural language. Example.

>>> from datasets import load_dataset
>>> ds = load_dataset("super_glue","multirc", split="validation")
>>> ds[20] # we only display question/answer
{'question': "Why does Sunita's professor deny her access to records on Sanjay Singhania?", 'answer': 'Notable city businessman', 'idx': {'paragraph': 1, 'question': 4, 'answer': 20}, 'label': 0}

Current formatting would show:
Question: Why does Sunita's professor deny her access to records on Sanjay Singhania?
Answer: no, Notable city businessman

The new format would return:
Question: Why does Sunita's professor deny her access to records on Sanjay Singhania?
Answer: Notable city businessman
Is the answer correct? No

For what it's worth, gpt3 did something closer to what we currently have, though I think in this instance it makes sense to break compatibility with gpt3 since the new format makes more sense.

Also, not sure how I feel about the capitalization - lowercase would be more consistent with all the existing yes/nos, so I think it would be best to keep it that way.
(also, version still needs a bump and testdata an update)

Hum note I tried running evaluation on EleutherAI/gpt-neo-2.7B showing both the "accuracy per question" and "accuracy". Both performances were poor. Even worse, it seems lower than random baseline (0.448 vs 0.5) which is worrisome. Now if it's because the task is just hard, or if I broke something is unclear to me.

Hmm I'll need to take a closer look at this. Also we'll need to add in the proper metrics for MultiRC, the current accuracy seems to be computed per choice which seems wrong.

Jason confirmed on discord that he checked and didn't notice any bug, neo2.7B just seems to be bad at this

Reposting what I put in discord:

As far as I've checked there is no bug, but the performance is poor
Looking at the LM requests there does not seem to be an issue, but the predictions are very imbalanced (~80% True)
I tested with slightly different wording and still had the same issue


package failed

Summary: 14 packages finished [26.6s]
1 package failed: carla_l5player_aeb_with_python_script
11 packages aborted: carla_ackermann_msgs carla_l5player_lqr_pid_controller carla_l5player_lqr_pid_controller_waypoint carla_l5player_mpc_controller carla_l5player_nop_with_python_script carla_l5player_pid_controller carla_l5player_pid_new_controller carla_l5player_stanley_pid_controller carla_ros_bridge carla_walker_agent rviz_carla_plugin
12 packages had stderr output: carla_ad_agent carla_common carla_l5player_aeb_with_python_script carla_l5player_bridge_ego_vis carla_l5player_nop_with_python_script carla_manual_control carla_ros_scenario_runner carla_spawn_objects carla_twist_to_control carla_waypoint_publisher ros_compatibility rqt_carla_control
3 packages not processed

Starting >>> carla_msgs
Starting >>> ros_compatibility
Starting >>> carla_common
Starting >>> carla_ros_scenario_runner_types
Starting >>> carla_waypoint_types
Starting >>> carla_twist_to_control
Starting >>> l5player_nop_msgs
Starting >>> rqt_carla_control
--- stderr: ros_compatibility
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< ros_compatibility [2.23s]
--- stderr: carla_twist_to_control
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_twist_to_control [2.22s]
--- stderr: rqt_carla_control
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< rqt_carla_control [2.22s]
--- stderr: carla_common
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_common [2.27s]
Finished <<< carla_waypoint_types [12.8s]
Starting >>> carla_waypoint_publisher
Finished <<< carla_ros_scenario_runner_types [13.4s]
Finished <<< l5player_nop_msgs [13.8s]
--- stderr: carla_waypoint_publisher
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_waypoint_publisher [1.57s]
Finished <<< carla_msgs [20.3s]
Starting >>> carla_manual_control
Starting >>> carla_spawn_objects
Starting >>> carla_ackermann_msgs
Starting >>> carla_ad_agent
Starting >>> carla_ros_scenario_runner
Starting >>> rviz_carla_plugin
Starting >>> carla_l5player_aeb_with_python_script
Starting >>> carla_l5player_bridge_ego_vis
Starting >>> carla_l5player_lqr_pid_controller
Starting >>> carla_l5player_lqr_pid_controller_waypoint
Starting >>> carla_l5player_mpc_controller
Starting >>> carla_l5player_nop_with_python_script
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
warnings.warn(
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'install-scripts' will not be supported in future versions. Please use the underscore name 'install_scripts' instead
warnings.warn(
--- stderr: carla_manual_control
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_manual_control [3.01s]
Starting >>> carla_l5player_pid_controller
--- stderr: carla_ad_agent
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_ad_agent [3.07s]
Starting >>> carla_l5player_pid_new_controller
--- stderr: carla_ros_scenario_runner
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_ros_scenario_runner [3.10s]
Starting >>> carla_l5player_stanley_pid_controller
--- stderr: carla_spawn_objects
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_spawn_objects [3.16s]
--- stderr: carla_l5player_bridge_ego_vis
/usr/local/lib/python3.8/dist-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'script-dir' will not be supported in future versions. Please use the underscore name 'script_dir' instead
warnings.warn(
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
Finished <<< carla_l5player_bridge_ego_vis [3.11s]
Starting >>> carla_ros_bridge
Starting >>> carla_walker_agent
--- stderr: carla_l5player_aeb_with_python_script
CMake Error at CMakeLists.txt:22 (find_package):
By not providing "Findderived_object_msgs.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"derived_object_msgs", but CMake did not find one.
Could not find a package configuration file provided by
"derived_object_msgs" with any of the following names:
derived_object_msgsConfig.cmake
derived_object_msgs-config.cmake

Add the installation prefix of "derived_object_msgs" to CMAKE_PREFIX_PATH
or set "derived_object_msgs_DIR" to a directory containing one of the above
files.  If "derived_object_msgs" provides a separate development package or
SDK, be sure it has been installed.


Missing terms in Research Expenditures report

Per Caela:
The following measures are not included in the Associated Terms section:
NSF HERD Headcount of Principal Investigators
NSF HERD Headcount of Other Research Personnel

I've added the terms to the Report Details document for this report.

Done.


CIP-0989? | ISPO KYC_CDD

We introduce a mechanism to enable delegators to securely provide identifying information about themselves, which can be leveraged by SPOs to perform appropriate KYC/CDD. The approach also provides bilateral privacy between participants.
This article outlines a technical approach to ensure SPO (stake pool operators) are empowered to receive data regarding the identity of ADA holders delegating their stake to a pool.
John Woods
Director of Architecture for Cardano
IOG

@johnalanwoods we're wondering about the motivation behind the proposal, in particular from the SPO side? We're thinking this is something worth maybe presenting in the next discord SPO call to get attention from relevant parties?
Also, we'd invite you to share it on the Cardano forum: https://forum.cardano.org/c/developers/cips/122 where CIPs gets discussed with a broader community (including some SPOs)

@johnalanwoods @KtorZ also I've asked SPOCRA to chime in about this 😎 https://members.spocra.io/posts/22505688

Sounds good both.
Motivation is to get ahead of things. Being proactive about providing a mechanism rather than reactive to any possible need to the future.

Sounds good both.

@johnalanwoods at the CIP Editors' meeting yesterday we were talking about this one again & still no feedback from SPOs.  I wrote to Rebecca Hopwood @ IOG and she says you're a regular on the SPO calls... did you ever share this there?  If not, could you poll the SPOs at the next call to feed back here?
I would also like to see this discussed on the Cardano Forum as linked above, though I haven't seen much forum participation from the leads of the big token projects.  Yet some potential CIPs there e.g. those having to do with PoS mechanics have had a lot of detailed discussion there so I still think it's worth a try.
It may be most helpful to ping the project leads of ISPOs of the last year, and the ones active now, for feedback.  Also World Mobile Token didn't do an ISPO but they used KYC for their ICO, storing the validations as metadata somehow.  If you need help finding the project leads or tagging them on Github let me know & I'll do what I can.

Hello John, thanks for submitting this CIP, when i was reading this cip, I came to one phrase: This article outlines a technical approach to ensure SPO (stake pool operators) are empowered to receive data regarding the identity of ADA holders delegating their stake to a pool." SPO will receive data regarding the identity of the ADA holder. Most ada holder want to stay anonymous. What will happen if the SPO refuse to collect user information?

Credentials and Decentralized Id
Tests

WALLET creation -Education- Tooling-
-Data input-
-Email-
-Stake Key-
-Matrix encryption verifications
Gaining Identity- through proof of life/work
Shielding of sensitive information to improve utility and building Reputation
F8 Proposal:
https://cardano.ideascale.com/c/idea/401391
Collect 7 points of Verification- Email- Name(username)- (Any socials or profiles/resume) (Stake1) (Region)(Matrix ID) (Crafts NFT) Cost- 2ADA
Collect 7 credentials from Peers. (NFT’s or Fungible token trades) Goal: (collect 10 ADA) to Stake Stakekey +( Matrix name) (collect 1.3-2.2ADA) 7 proof’s of verification to reach Staking- Add key by sending credentials and new inputs.
-Craft own fungible token to give to others.
-Give 7 credentials to peers for rewards. ( give 7 fungible or NFT proof of life interactions) -14 ADA
Use verified ID for proof of life and work in ecosystem and Attach to DID profile
Verified by peers- New User Contributes and delegates to community (POOL) after ID points reached.
Example of token - b3f5cdbf8d987a1d04b72a2b728e748a5d58e9d0f5e439b0890cc212

Other tests
Transparency
xxxxx did not have ANY NFT’s in his wallet
addr1qyc65d00lprtyyjl47ew88mftta9tvww0x5tnxmldfq0mww66grw5asm7gja49xx44ht3jvmlqcqnta5fwv67xhu72kq3jyynv
xxxx) :
addr1q9dqn650hrwy2dyeda3uzuqe5s4ea6xpqtlkeu6uzhngx5kmfy3lzvgsttrudre8nust430tpxgkc27mzrqwdcx76sss2qp0f9
xxxxxt
addr1qxzftwvmsnfawl4ytxf9n6hn25xwru5uszutrmsyzcz64u0s46qm0tqw7m2mmz4m05d4wnu4cvayw8g42wmesww0a30su8hvl3
xxxx did no have ANY NFT’s in his wallet
addr1qypr5t6prh924z58h9ga8q5w842njth4uqth5zn0k7dllr5rdcnj6lwu3zw854y76snq07kauuw4uj3s3hz2v6k4t5gquxd83r
xxxxneeded NFT’s in their wallet
addr1qxrha8nx8qj4j8dqn5jr2ju4pmpc2wra85fd95dkpnaw9rndc0du2ykudjxmwc8rsfhky0ppm42h0twk22ucx7qyswtqr6536d
SOLVE
3 month challenge- HOW many nft’s can they collect in 3 months
Return on Intention- The intention is the put NFT’s in each person’s wallet and show Return and Proof
Document and track what is going on in the challenge- ADVISE and provide guidance- Challenge to help without making any decision. 3 month cycle and review
SENT xxxxxx
Proof-
https://explorer.cardano.org/en/transaction?id=7d5490299aee5915b2c648f6f7947df71f1c708738eaca129dda21be21036815
https://explorer.cardano.org/en/transaction?id=bf08aeadca7e93ee3ed2826b7dc735e58f4e36fbe53d35be5514d8ae7fb5a1ea
https://explorer.cardano.org/en/transaction?id=2037d5a5ad15a13832adf34043605913969e59ddaf194b5e633ec80c1071a827
https://explorer.cardano.org/en/transaction?id=18f7fb69a427cf66b11823f3331839ec2ad1dacd6256bd704add57cda485c1c2
https://explorer.cardano.org/en/transaction?id=f7d87ea3ef32c4e69eea57043b5aa96c81892b80da2ac1ae12120fad36da9091
To check each wallet- Please check here
Fxx
https://pool.pm/addr1qyc65d00lprtyyjl47ew88mftta9tvww0x5tnxmldfq0mww66grw5asm7gja49xx44ht3jvmlqcqnta5fwv67xhu72kq3jyynv
Jxxx
https://pool.pm/addr1q9dqn650hrwy2dyeda3uzuqe5s4ea6xpqtlkeu6uzhngx5kmfy3lzvgsttrudre8nust430tpxgkc27mzrqwdcx76sss2qp0f9
Nxxx
https://pool.pm/addr1qxzftwvmsnfawl4ytxf9n6hn25xwru5uszutrmsyzcz64u0s46qm0tqw7m2mmz4m05d4wnu4cvayw8g42wmesww0a30su8hvl3
Axxx
https://pool.pm/addr1qypr5t6prh924z58h9ga8q5w842njth4uqth5zn0k7dllr5rdcnj6lwu3zw854y76snq07kauuw4uj3s3hz2v6k4t5gquxd83r
Nxxx
https://pool.pm/addr1qxrha8nx8qj4j8dqn5jr2ju4pmpc2wra85fd95dkpnaw9rndc0du2ykudjxmwc8rsfhky0ppm42h0twk22ucx7qyswtqr6536d
Conclusion of Part 1 Return on intent
Total assets in ADA XXX Plus
2.317899 + 2.238285 + 2.23285 + 2.49837 +2.289489
11.576893 Sum total for Transactions.
Investment into NFT’s
Asset id’s – approx. 3 ADA mint for each or accepted by trade.
436865717565426f78
41
4152474f30
4b494e47424954
4a415641
All tasks have been completed and follow up will be in 3 months on progress.

Credentials and Decentralized Id

@RaceSpeed was your last comment intended for this PR and not some Catalyst Circle discussion?
If so I do think that NFT based means of identity would be relevant to ISPOs and KYC in general, though it would help if you'd explain how that relates to the method of DID storage that's being proposed here.
In either case perhaps you could edit down your last comment so we can focus on whatever comment(s) you're making that relates to the text of this proposal. 😎

Sounds good both.

@johnalanwoods at the CIP Editors' meeting yesterday we were talking about this one again & still no feedback from SPOs. I wrote to Rebecca Hopwood @ IOG and she says you're a regular on the SPO calls... did you ever share this there? If not, could you poll the SPOs at the next call to feed back here?
I would also like to see this discussed on the Cardano Forum as @KtorZ suggested, though I haven't seen much forum participation from the leads of the big token projects. Yet some potential CIPs there e.g. those having to do with PoS mechanics have had a lot of detailed discussion there so I still think it's worth a try.
It may be most helpful to ping the project leads of ISPOs of the last year, and the ones active now, for feedback. Also World Mobile Token didn't do an ISPO but they used KYC for their ICO, storing the validations as metadata somehow. If you need help finding the project leads or tagging them on Github let me know & I'll do what I can.

Yep - I think we need to discuss this on the SPO call.

empowered to receive data regarding the identity of ADA holders delegating their stake to a pool.

@johnalanwoods there may be others who read this besides @link78 who get the wrong idea from the use of the word "empowered" ... though it was clear enough to me that this framework would be there only if it suits certain SPOs running an ISPO, rather than imposed on all stake pools & delegators. Maybe some different language can be chosen that's less likely to make people think it's obligatory?

enabled to receive data ...

or something more explicit:

enabled, if it suits the conditions of a stake pool's ISPO, to receive data ...

You're absolutely right. This is completely optional. It's only applicable in certain jurisdictions, where specific laws apply.
This does not apply to regular delegation.

Hello John, thanks for submitting this CIP, when i was reading this cip, I came to one phrase: This article outlines a technical approach to ensure SPO (stake pool operators) are empowered to receive data regarding the identity of ADA holders delegating their stake to a pool." SPO will receive data regarding the identity of the ADA holder. Most ada holder want to stay anonymous. What will happen if the SPO refuse to collect user information?

Nothing. This is optional. It's really only to be used when an SPO is issuing a token, and even then, only if the SPO wishes to comply with regulation.

Yep - I think we need to discuss this on the SPO call.

Yes @johnalanwoods  I think that will be needed, since as requested they put something in today's monthly newsletter: https://mailchi.mp/iohk/spo-digest-february-675438?e=d55ecc2aed
... but it's little more than a footnote and wasn't highlighted either for administrators of ISPO projects or SPO's interested in the KYC or DID's:

Be sure to check out CIP-0989 which may be of interest to the SPO community.

also I had a message from another marketing team member this morning saying there was a Twitter Space today on the subject (I was invited but missed it).  @johnalanwoods if there was any feedback from community members joining that session could you relay it here? - https://twitter.com/NodeSanto/status/1529889457473826824
Also I was thinking if this Twitter Space was announced somewhere it must have been the Discord server (it wasn't on Telegram or email), so there may also be come chat in the relevant IOG Discord channels about the proposal.

@johnalanwoods FYI a new user on the Cardano Forum tried to open up a thread on this topic, but it was removed; probably because it was a link and nothing else.  Since therefore it seems there's some need to discuss this on the forum I've created a topic here: https://forum.cardano.org/t/ispo-kyc-proposal-cip-0989/102084

call for discussion today in monthly SPO Digest here: https://mailchi.mp/iohk/spo-digest-february-675602

@johnalanwoods given this announcement (with best of luck to you) will you be advocating this PR further, or are you leaving it up to the editors & community?

Hi happy to contribute on this still. It makes sense that I do not own it, but still happy to work with others.
Thanks

Closing this for inactivity and for the sake of cleaning up things. The debate / feature can be discussed anew be re-opening the PR or making a new one championed by a new author.


Cannot pass isAuthenticated through Context API

Please do not report security vulnerabilities here. The Responsible Disclosure Program details the procedure for disclosing security issues.
Thank you in advance for helping us to improve this library! Please read through the template below and answer all relevant questions. Your additional work here is greatly appreciated and will help us respond as quickly as possible. For general support or usage questions, use the Auth0 Community or Auth0 Support. Finally, to avoid duplicates, please search existing Issues before submitting one here.
By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem
When passing isAuthenticated through a Provider and importing via ContextAPI, I receive a TypeError: Object(...)(...) is undefined error
What was the expected behavior?
I should be able to pass isAuthenticated and other objects through the ContextAPI [untested for other objects returned from useAuth0()]
Reproduction
App.js:
    const { isAuthenticated } = useAuth0();
    ....
    const providing = {
        isAuthenticated
    }
    ....
    return (
            ....
            <Provider value={providing}>
                    <Navbar />
            </Provider>
    ....

Context.js:
import React from 'react'

const Context = React.createContext()

export const Provider = Context.Provider
export const Consumer = Context.Consumer

export default Context

nav-bar.js
....
import { useAuth0 } from "@auth0/auth0-react";
....
import Context from '../Context';
const NavBar = () => {
const { isAuthenticated } = useContext(Context);
....
....
....
};
Can the behavior be reproduced using the React SDK Playground? Possibly though I'm not sure how. Happy to share my project code with you if necessary.
Environment

Please provide the following:

Version of auth0-react used: 1.5.0
Which browsers have you tested in? firefox and chromium
Which framework are you using, if applicable (Angular, React, etc): React
Other modules/plugins/libraries that might be involved: react-bootstrap navbar

HI @bitshiftnetau,

I should be able to pass isAuthenticated and other objects through the ContextAPI

isAuthenticated is a boolean, so if you can pass var foo = true; through the Context API you can pass isAuthenticated
Also, you don't need to create your own Provider to pass isAuthenticated through the Context API. Use Auth0Provider and useAuth0 will provide isAuthenticated to your components through the Context API. See the basic example https://github.com/auth0/auth0-react#getting-started for how this should work

Ah I see! Yes that makes sense. I'm already using Auth0Provider but didn't
make the connection there.
Also I had made an error with my code anyway so this can be closed.
Thank you!
On Thu, 24 Jun 2021, 14:21 Adam Mcgrath, @.***> wrote:

HI @bitshiftnetau https://github.com/bitshiftnetau,
I should be able to pass isAuthenticated and other objects through the
ContextAPI
isAuthenticated is a boolean, so if you can pass var foo = true; through
the Context API you can pass isAuthenticated
Also, you don't need to create your own Provider to pass isAuthenticated
through the Context API. Use Auth0Provider and useAuth0 will provide
isAuthenticated to your components through the Context API. See the basic
example https://github.com/auth0/auth0-react#getting-started for how this
should work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/auth0/auth0-react/issues/253#issuecomment-867632301,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGNAOMDW3SN5G27WYD5NGW3TUMWPBANCNFSM47FYN4KQ
.


Morph Model.Person to Model.Task

To edit existing code from level 4 to suit floating tasks

Completed.


[stable/clamav] Enable use of both freshclamConfig and clamdConfig

Signed-off-by: Markus Schöpke<EMAIL_ADDRESS>What this PR does / why we need it:
Enable use of both freshclamConfig and clamdConfig
Which issue this PR fixes
The volumes key is currently duplicated when using both freshclamConfig and clamdConfig.
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @zakkg3

/lgtm

Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"

o,0

/retest

/retest

But the test failed last time and there were no new commits...
anw, this repo will be archived soon...
/ok-to-test

I0929 20:51:06.861] Error: validation failed: unable to recognize "": no matches for kind "Deployment" in version "apps/v1beta2"
The string "apps/v1beta2" is nowhere in this chart anymore, I don't get why the test fails.


move fail dep to dev only

Changed fail dependency to make it dev-dep only.
fail prevents compilation on wasm target

Why though?
The failpoint macro is already no-op if the feature fail/failpoints is disabled.

Why though? The failpoint macro is already no-op if the feature fail/failpoints is disabled.

But the crate still gets compiled

But the crate still gets compiled

It is definitely a downside, but a minor one. I prefer that to juggling with the cfg!() everywhere.

It is definitely a downside, (it is not a big one and not one we recompile over and over) but a minor one. I prefer that to juggling with the cfg!() everywhere.

It's centralized at one place now. failpoints is a blocker when compiling to wasm

@PSeitz Approved. When you merge can you tell in the commit message failpoint prevented wasm compilation?

This commit is causing following failures:
`
running 5 tests
test test_fail_on_commit_segment has been running for over 60 seconds
test test_fail_on_flush_segment has been running for over 60 seconds
test test_fail_on_flush_segment_but_one_worker_remains has been running for over 60 seconds
test test_failpoints_managed_directory_gc_if_delete_fails has been running for over 60 seconds
test test_write_commit_fails has been running for over 60 seconds
test test_fail_on_flush_segment_but_one_worker_remains ... FAILED
test test_write_commit_fails ... FAILED
test test_failpoints_managed_directory_gc_if_delete_fails ... FAILED
test test_fail_on_commit_segment ... FAILED
test test_fail_on_flush_segment ... FAILED
failures:
---- test_fail_on_flush_segment_but_one_worker_remains stdout ----
thread 'test_fail_on_flush_segment_but_one_worker_remains' panicked at 'add_document should have returned an error', tests/failpoints/mod.rs:107:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
---- test_write_commit_fails stdout ----
thread 'test_write_commit_fails' panicked at 'assertion failed: index_writer.commit().is_err()', tests/failpoints/mod.rs:57:5
---- test_failpoints_managed_directory_gc_if_delete_fails stdout ----
thread 'test_failpoints_managed_directory_gc_if_delete_fails' panicked at 'assertion failed: managed_directory.exists(test_path).unwrap()', tests/failpoints/mod.rs:31:5
---- test_fail_on_commit_segment stdout ----
thread 'test_fail_on_commit_segment' panicked at 'assertion failed: index_writer.commit().is_err()', tests/failpoints/mod.rs:122:5
---- test_fail_on_flush_segment stdout ----
thread 'test_fail_on_flush_segment' panicked at 'add_document should have returned an error', tests/failpoints/mod.rs:88:5
failures:
test_fail_on_commit_segment
test_fail_on_flush_segment
test_fail_on_flush_segment_but_one_worker_remains
test_failpoints_managed_directory_gc_if_delete_fails
test_write_commit_fails
test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2892.20s
`
Steps:

Cloned the git repo
cargo build
cargo test


[ScrollViewerPresenter] Fix rtl scroll (#16667)

What does the pull request do?

Make ScrollViewerPresenter horizontal scroll more natural when FlowDirection set to RightToLeft.
Fix #16667.
What is the current behavior?

When FlowDirection set to RightToLeft, swiping from right to left will move the left-hand-side content to the right.
https://github.com/user-attachments/assets/b59c9474-3814-4f75-8b7a-d8e70e4e4de5
What is the updated/expected behavior with this PR?

When FlowDirection set to RightToLeft, swiping from right to left should move the right-hand-side content to the left.
https://github.com/user-attachments/assets/96c4d802-3605-431c-9c10-8f809740b37b
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/avalonia-docs with user documentation

Fixed issues
Fix #16667.

@maxkatz6 Any updates?


The win-64 failure is due to Numba producing better code than Numpy. Under win-64, Numpy's prod() uses 32-bit computations, while Numba uses 64-bit ones.

We should open up a bug report in their issue tracker...  :)

I've reported the Numpy issue at https://github.com/numpy/numpy/issues/5448

And I added a comment to explain the workaround in the tests.


remove unnecessary errors

Codecov Report

Merging #205 into master will decrease coverage by 0.34%.
The diff coverage is 25%.

@@            Coverage Diff             @@
##           master     #205      +/-   ##
==========================================
- Coverage    65.7%   65.36%   -0.35%
==========================================
  Files          27       27
  Lines        1254     1253       -1
  Branches      157      160       +3
==========================================
- Hits          824      819       -5
- Misses        430      434       +4

Impacted Files
Coverage Δ

core/jvm/src/main/scala/scalaz/zio/App.scala
0% <0%> (ø)
:arrow_up:

core/shared/src/main/scala/scalaz/zio/IO.scala
70.4% <33.33%> (-0.16%)
:arrow_down:

core/shared/src/main/scala/scalaz/zio/Queue.scala
94.28% <0%> (-5.72%)
:arrow_down:

core/jvm/src/main/scala/scalaz/zio/RTS.scala
90.95% <0%> (-0.49%)
:arrow_down:

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 b45a820...9342646. Read the comment docs.


Is it possible to read from io.BytesIO?

I am going to use this util in Flask backend. However, I would like to use pims_nd2 in io.BytesIO.
Is it possible? Or should I save file locally?

Hi,
Sorry, the open only works with actual file paths. As this project is merely wrapping the ND2 reading library from Nikon, we don’t have much control.
You could try virtual file systems if you want to stay in memory, but it depends on your OS how that works. I don’t have experience with that.
Or, try a pure Python alternative like https://github.com/rbnvrw/nd2reader

Hi,
Sorry, the open only works with actual file paths. As this project is merely wrapping the ND2 reading library from Nikon, we don’t have much control.
You could try virtual file systems if you want to stay in memory, but it depends on your OS how that works. I don’t have experience with that.
Or, try a pure Python alternative like https://github.com/rbnvrw/nd2reader

Thank you! What is the approach with virtual file system?

@caspervdw I have created a temporal file in /dev/shm from which nd2reader read contents. However, after clossing reader, and deleting temporal file. It is keeped open at /dev/shm. Do you maintain any reference inside it?

@caspervdw There's more context in https://github.com/PyFilesystem/pyfilesystem2/issues/402#issuecomment-640048586

@caspervdw There's more context in PyFilesystem/pyfilesystem2#402 (comment)

Right!

Hi,
I do think this library properly closes the reader. The correct ND2SDK function is called at reader.close(). Even if you do not call reader.close(), it should still be done when the reader goes out of scope. It happens at https://github.com/soft-matter/pims_nd2/blob/00acf8c732c6b3f373fab61c79536fc0325ca79c/pims_nd2/nd2reader.py#L173


add metrics for number of tasks in celery queue

I realized that we don't need to use any of the external tools or
projects since we already gather metrics on our own: we can easily just
get the current number of celery tasks and record it in a push gateway.
I haven't actually try this code, yet.
TODO:

[ ] get approval for the design (where should we record these?)

Thank you for your feedback, I'm going to close this one then, let's do it properly so we don't need to refactor in future :)


Add a link to VB constants on XL enumerations page

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Excel-VBA/articles/enumerations-excel.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Pull request 595 is not needed. The same change is part of pull request 631, "Add the Constants enum to a table of enumerations."


Fix flickering when dragging over child element

If dragged over the child element, the dz-drag-hover class is removed. See https://github.com/enyo/dropzone/issues/438 for more info.
It's unlikely this problem will be fixed in the core of dropzonejs soon, so applied the fix made by @jhubert. Code can be deleted as soon dropzonjs team fixes this.

@jevanlingen I'm getting a modules/ember-cli-dropzonejs/components/drop-zone.js: line 149, col 9, Bad invocation. on server run. Any thoughts?

 See http://stackoverflow.com/questions/12358927/how-to-concisely-assign-and-immediately-invoke-a-function-variable for more information!


Defining Path to Importfile in hdbtabledata

Hi there,
Iam not able to find any configuration descriptions of how to use parameters to define the path for Importfiles in the hdbtabledata, as Iam trying to achieve a folder seperation due to easier management.
Thanks in advance
Dominik

Hi Ang3er,
Sorry for my delayed response.
If you have namespace in your application(eg: test.abc) and you have "subfolder": "append" setting, then you can give the the file_name in your hdbtabledata like below:
"file_name": "test.abc.data::PROJECTS.csv",
In this case csv's are present inside the data folder.
Hope this helps.
Please let me know if you have further questions.
Thanks and Regards,
Kiruthika

Closing this issue as there is no response. Please reopen in case there are any updates.


Added min height to map

#2766  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite


WIP: Remove samples repository reference

This setting used to exist before. I'm not 100% sure about what it does, but I guess it makes the live docs dependent on the live branch of the samples repo instead of master.
I'm also curious why docs is now dependent again on samples?
cc: @adegeo

@Youssef1313

I guess it makes the live docs dependent on the live branch of the samples repo instead of master.

Yes, that's exactly what it does.
I agree that we should be able to remove the dependency on the dotnet/samples repo at this time. Do you want to update this PR to try that instead? (If the build is clean, we should be ready to merge it).

The build won't be clean. There is a sample from samples repo that is referenced here in docs.
Should I move the sample?
cc: @Evangelist

The build won't be clean. There is a sample from samples repo that is referenced here in docs.
Should I move the sample?
cc: @IEvangelist

Yeah, we added that a while back. The only concern that I have with removing it, and copying code back over is the concern of having code that is copied in two places. Ideally we should avoid that.

I totally agree that code shouldn't be in 2 places. That's harder to maintain. But on the other hand, there was a work to avoid dependency on the other repo.
What about adding the sample here and deleting it from the other repo? Is there any concerns about that?

@IEvangelist Duplication is fine when it comes to full samples. Full samples should be clean and perfect code that a user can download and use. Snippets shouldn't be. This is just a problem we have to live with if we want samples for the samples browser. 😦
@Youssef1313 Can you elaborate on which sample dependency is specifically being talked about?

@adegeo https://github.com/dotnet/samples/tree/master/csharp/unit-testing
It's used in https://github.com/dotnet/docs/blob/9511adb1d654883c948b39363174f774ece7d444/docs/core/testing/order-unit-tests.md

Ahh yes. We need to clean that up. @IEvangelist 😄

@adegeo What's the correct action to do here?

@adegeo What's the correct action to do here?

Hi @Youssef1313,
According to @adegeo - the correct action is to remove the mapping altogether, and then fix references to it. The fixes would be to create a local snippets directory next to the articles, and copy the projects, and source code local to the docs repo. Does that make sense?

Ahh yes. We need to clean that up. @IEvangelist 😄

We talked about this before, when I initially brought it up to the team and got permission to add it this way. I'm fine with it's removal too.

@adegeo What's the correct action to do here?

Hi @Youssef1313,
According to @adegeo - the correct action is to remove the mapping altogether, and then fix references to it. The fixes would be to create a local snippets directory next to the articles, and copy the projects, and source code local to the docs repo. Does that make sense?

So you're okay with the duplication?
I'll finish it soon once I get home.

"ok with the duplication" is the best way to phrase it. It's the least painful of all the practical solutions.
Ideally, we'd like cross-repo build enhancements that would enable a single code source for larger samples and included in article snippets. We've asked for that feature, and it's under investigation.

@Youssef1313 I'm going over older PRs, and I'm wondering if this one should be closed. Is it still relevant?
/cc @adegeo

@Youssef1313 I'm going over older PRs, and I'm wondering if this one should be closed. Is it still relevant?
/cc @adegeo

@BillWagner OK I looked this over. It looks like we had removed reference to the samples repo in my migration pr but with #18456 addressing unit test articles, it was added it back in.
Considering we don't want samples and docs mixed, we should copy the unit test snippets into the local snippets folder and reference them there and remove the link to the sample repo. The file using these samples is core\testing\order-unit-tests.md
Perhaps we should scrap this PR and open an issue to discuss/track?
cc @IEvangelist

@BillWagner OK I looked this over. It looks like we had removed reference to the samples repo in my migration pr but with #18456 addressing unit test articles, it was added it back in.
Considering we don't want samples and docs mixed, we should copy the unit test snippets into the local snippets folder and reference them there and remove the link to the sample repo. The file using these samples is core\testing\order-unit-tests.md
Perhaps we should scrap this PR and open an issue to discuss/track?
cc @IEvangelist

I'm still conflicted on this, but I'm happy to support anyone's strong opinions. :)

I'm still conflicted on this, but I'm happy to support anyone's strong opinions. :)

I like the suggestion from @adegeo

copy the unit test snippets into the local snippets folder and reference them there and remove the link to the sample repo.

I like the suggestion from @adegeo

copy the unit test snippets into the local snippets folder and reference them there and remove the link to the sample repo.

@Youssef1313
This is still in draft mode. Do you want to complete it, or do you want to close it?

Sorry for the delay. I copied the samples from dotnet/samples and removed the dependency on dotnet/samples repository.


Yin throws RangeError

Hi,
I am trying to use your library. The recording package you use in your example (flutter_audio_capture) does not work on my machines. Android and Linux are only throwing errors.
So i tried to use the "record" package instead.
I recieve a  stream of UInt8 here instead of double. And the yin-difference has some problem with this input.
Maybe you have an idea.
This is the output. Firstline is the casted UintList to List
I/flutter (18180): [255.0, 249.0, 16.0, 128.0, 1.0, 127.0, 252.0, 43.0, 146.0, 8.0, 0.0]
E/flutter (18180): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: RangeError (index): Invalid value: Not in inclusive range 0..10: 11
E/flutter (18180): #0      List.[] (dart:core-patch/growable_array.dart:264:36)
E/flutter (18180): #1      Yin._difference (package:pitch_detector_dart/algorithm/yin.dart:75:49)
E/flutter (18180): #2      Yin.getPitch (package:pitch_detector_dart/algorithm/yin.dart:36:5)
E/flutter (18180): #3      PitchDetector.getPitch (package:pitch_detector_dart/pitch_detector.dart:14:28)

Code is almost copied from your example with some changes for the record-package:
class _PitchPageState extends State<PitchPage> {
  final AudioRecorder _audioRecorder = AudioRecorder();
  final PitchDetector pitchDetectorDart = PitchDetector(44100, 2000);
  final PitchHandler pitchupDart = PitchHandler(InstrumentType.guitar);

  String note = "";
  String status = "Click on start";

  Future<void> _startCapture() async {

    if (await _audioRecorder.hasPermission()) {
      final Stream<Uint8List> stream = await _audioRecorder.startStream(const RecordConfig(
        encoder: AudioEncoder.aacHe,
      ));
      stream
        ..handleError(onError)
        ..listen((Uint8List event) => listener(event.map((int i) => i.toDouble()).toList()));
    }

    setState(() {
      note = "";
      status = "Play something";
    });
  }

I am very thankful for any hint.
Thanks!

@synchronisator have you tried to convert your input to a list of doubles? E.g. divide each uint8 by 1000

I got the flutter_audio_capture package to work. And the input is completely different to what i got from the record-package.
flutter_audio_capture:
[-0.012298583984375, -0.011810302734375, -0.011444091796875, -0.010650634765625, -0.011383056640625, -0.010284423828125, -0.01068115234375, -0.00946044921875, -0.009979248046875, -0.008941650390625, -0.008544921875, -0.008697509765625, -0.007415771484375, -0.006866455078125, -0.00750732421875, -0.005889892578125, -0.005584716796875, -0.00592041015625, -0.00445556640625, -0.004608154296875, -0.00311279296875, -0.003448486328125, -0.002593994140625, -0.002166748046875, -0.001220703125, -0.0009765625, -0.000518798828125, 0.00115966796875, 0.000396728515625, 0.00201416015625, 0.002288818359375, 0.002593994140625, 0.003753662109375, 0.00457763671875, 0.00408935546875, 0.005950927734375, 0.005859375, 0.007110595703125, 0.0074462890625, 0.007843017578125, 0.009368896484375, 0.00982666015625, 0.010040283203125, 0.01123046875, 0.0123291015625, 0.011871337890625, 0.01385498046875, 0.01287841796875, 0.015380859375, 0.014923095703125, 0.016448974609375, 0.0166015625, 0.017852783203125, 0.018341064453125, 0.0179748535156

record:
[255.0, 249.0, 16.0, 128.0, 1.0, 127.0, 252.0, 43.0, 146.0, 8.0, 0.0]

Maybe it would be a good idea to specify what format the audiostream must have, to work with this package. I have no idea how to convert one into the other.
But for me personally this problem is kind of solved by getting the other package to work. But thats not a general solution.

Sorry it took so long. I've updated the sample to use newer versions.
I'll write an example on how to use  record-package as well.

Have a look at https://github.com/techpotatoes/pitchup_flutter_sample
I updated it to use a more widely available recording library. Please test it.
Cheers


fix: single add select css updates

Contributes to #2014
fixes some css issues found during the single add select design review

@matthewgallo fixt


About the Wiring (Question)

Hello!
Hello! I would like to try this project by connecting several arduino mini boards in parallel, but i'm wondering about the best way to power each board
In schematics says that arduino works with 5v and ESP8266 works with 3.3v
I see that you power arduino on the 5v pin (directly to the chip bypassing all regulators) but with 3.3v That actually works fine? (low voltage means overclock the internal processor).
Another question is if you power ESP8266 via USB, then you are using the wemos D1 mini regulator 5v to 3.3 to power the ESP8266 and all ATMegas chips, so... you are stressing that regulator to its max capacity (with more devices you plug on 3.3v output).
On this case, i'm wondering which is the best way to make the connection optimizer.
Im thinking to use a phone charger 5v 2A to power directly all on 5v (includding the Wemos D1 Mini). As i2c signals on arduino are 5v, and ESP8266 signals are 3.3 (prefered, 5v is also supported). Use a voltage divider resistor 2K and 1K to drop 5v to 3.3 (here i don't know exactly if i sould do on SCL, SDA or both) or maybe use a logic level bidirectional.
The other option is to use a lm2596 module, connect the input to a phone charger 5v/2A or universal charger 12v/2A and regulate the output to 3.3v and power all directly just as the schematic (but on this way it doesnt like as arduino works with 5v).
Please comment wich is the best way to power up many boards. Obviusly we always think in the most simple way and if it works it doesnt matter, but my goal is to learn, understand and do the "correct" way to dont damage any component at long term.

Hello @PipeDeveloper

In schematics says that arduino works with 5v and ESP8266 works with 3.3v
I see that you power arduino on the 5v pin (directly to the chip bypassing all regulators) but with 3.3v That actually works fine? (low voltage means overclock the internal processor).

Yes, the Arduino can handle 3.3V and 16MHz, the datasheet does not approve this but works. This a cool trick! Arduino 3.3v-conversion.

Another question is if you power ESP8266 via USB, then you are using the wemos D1 mini regulator 5v to 3.3 to power the ESP8266 and all ATMegas chips, so... you are stressing that regulator to its max capacity (with more devices you plug on 3.3v output).

Yes probably is stressing the regulator and should be limited the number of Arduino connected to this power supply.

On this case, i'm wondering which is the best way to make the connection optimizer.
Im thinking to use a phone charger 5v 2A to power directly all on 5v (includding the Wemos D1 Mini). As i2c signals on arduino are 5v, and ESP8266 signals are 3.3 (prefered, 5v is also supported). Use a voltage divider resistor 2K and 1K to drop 5v to 3.3 (here i don't know exactly if i sould do on SCL, SDA or both) or maybe use a logic level bidirectional.

Power everything with USB should be a better design, and a logic level bidirectional is the best solution, but I gonna try with some resistor and make a voltage divider with resistor 2K and 1K, this part needs to be improved.

The other option is to use a lm2596 module, connect the input to a phone charger 5v/2A or universal charger 12v/2A and regulate the output to 3.3v and power all directly just as the schematic (but on this way it doesnt like as arduino works with 5v).

Power everything with 3.3V should be fine.

Please comment wich is the best way to power up many boards. Obviusly we always think in the most simple way and if it works it doesnt matter, but my goal is to learn, understand and do the "correct" way to dont damage any component at long term.

In my opinion, the easiest way is powering everything with 3.3V, but if you have a lot of boards you should use a regulator lm2596 to supply all the power with 3.3V.
Another way is to power the Arduino with 5V like it's should be the normal way to work, and add a logic level bidirectional or resistors to connect between the Esp and the Arduinos on the I2C bus.
I pretend to add the second option on the documentation.

Thank you very mcuh @ricaun
For bidirectional level shifting i found this video very interesting
https://www.youtube.com/watch?v=t-yuYasIKtY&ab_channel=KevinDarrah
(See the comparison signal at the end of the video)
I also think that power all with 5v should be the best option, but avoiding power it with USB (since the USB input goes through a linear DC-DC converter 5v at max 1A, and there is loss of energy here, like 85-90% efficiency), in stead power directly on the 5v pin of the arduino (the same ATMega chip have an internal regulator that tolerates a range of 4,85 and 5,20v) thats the operational range, so if you power it with a phone charger (not using the USB) should be the best way, more eficient and also you have available the max output current that the phone charger could handle 2A 2.4A most of them or even 3A if you use a raspberry pi transformer
And i guess using a mosfet like this should be the best option (all depends on the frequency of the signal) but using a voltage divider resistors should be the worse option, all depending on how many devices you connect.


Ensure that correct PHP version is symlinked

This PR fixes https://github.com/laradock/laradock/issues/3133 by ensuring that the correct PHP version is symlinked. As noted in my comment on the issue it seems that there is an indirect dependency on PHP 8.1 during the installation of the PHP 8.0 packages. This causes both PHP 8.0 and PHP 8.1 to be installed, and for 8.1 to take priority in the php virtual package. The fix in this PR re-sets the virtual package to use PHP 8.0 instead, which then restores the image's expected behaviour.
This issue seems to be affecting the CI job for testing the build of PHP 8.0 workspace, so this fix should resolve that failure. It looks like this issue could also be affecting the other workspace jobs for previous PHP versions, however I haven't been able to validate that locally. If this is the case, I imagine that a similar fix in each of the previous Dockerfile's could resolve that too (ie. in Dockerfile-7.4: update-alternatives --set php /usr/bin/php7.4, etc).
I suppose that this fix could instead be applied in laradock/laradock's workspace/Dockerfile as RUN update-alternatives --set php /usr/bin/php${LARADOCK_PHP_VERSION} - however, as it seems a more fundamental fix I figured it might be better placed here in the base image itself.
Please feel free to amend this PR as necessary.

We can also improve every Dockerfile in order to check that the php version used by default matches with the php version defined in the Dockerfile.
We can also suggest checking every extension with a php -m | grep -q extension>

I found the package using this trick Debug::pkgDepCache::AutoInstall=true to list the tree of dependencies :
    && apt-get install -y --allow-downgrades --allow-remove-essential \
        --allow-change-held-packages \
        -o Debug::pkgDepCache::AutoInstall=true \

Then I looked for "8.1" string in CI logs.

@bestlong Thanks for running the checks. It looks like the failures are related to some missing Docker Hub data for the actions - which I think are unrelated to the changes in this PR. In any case, let me know if there's any changes to be made here.

relate #54


YAML linting and formating

The current YAML format was linted using the following service and follows it's conventions
http://www.yamllint.com/
When PRBot submits a change it's rewriting the whole file in a different format and that makes it hard to see what changes were made to the files.
Possible solutions:

Re-lint the YAML before sending it through PRBot
Update current YAML files to match format used by PRBot

Hi, we can use a linter for YAML files. I found this script:  https://github.com/adrienverge/yamllint,, we can writing a custom configuration file with our rules , https://yamllint.readthedocs.io/
I created a PR that shows how we can use this script, Add linter for YAML files #234. https://github.com/canada-ca/ore-ero/pull/234

@smellems I'll also work to see if I can figure out how to change the formatting of the YAML writer. I can't seem to find a good browser-supporting YAML parsing library. The one I've got has bare bones documentation. I'll dig deeper and work with @WJXHenry to get this resolved.

YamlLint was added to the build.  Not sure if it could also reformat the YAML.. but I guess reformatting (linting) would have to be done by CanadaBot

YAML formatting was updated for all files but it still does not match when an update is submitted using the form.
I only updated my email in #523

My latest pull request should take care of this. @imadeDev and I went through all the files to adapt them to how jsyaml format files, so when it's merged, this should be resolved. There's also different format we can pass to the jsyaml object config (when using the dump method), but I think it's safer to use the default version and adapt around it than the other way around.

Additionally, @j-rewerts mentionned that if it happens again, it might come from a known issue of PRB0T when it's not updated its own fork, creating a divergence between the pull request and master. One workaround is to manually delete PRB0T forked repo, so it force it to refork from master and not use its current outdated version.
There's two issues regarding this:
https://github.com/PRB0t/PRB0t/issues/45
https://github.com/PRB0t/PRB0t/issues/25
But otherwise it shouldn't be an issue anymore


cgo: unknown relocation type 284 on netbsd-arm64

In the cases where none of the other current sources of flakiness prevent finishing the build, the test run on the netbsd-arm64-bsiegert builder finishes with this error:
##### ../misc/cgo/test
PASS
ok  	misc/cgo/test	41.606s
# misc/cgo/test.test
/var/gobuilder/buildlet/tmp/go-build335358639/b057/_pkg_.a(_x001.o): unknown relocation type 284; compiled without -fpic?
FAIL	misc/cgo/test [build failed]
2020/11/13 17:12:45 Failed: exit status 2
go tool dist: FAILED

https://build.golang.org/log/bead76b2d0066e4561eea39a0d55057e96cd8813
https://build.golang.org/log/3c34916162f58056f80512f3486dc9f99fb65883
https://build.golang.org/log/31691975f27101b3386bbfe816fcc99a3d0c2edd
The earliest instance of this is after https://go-review.googlesource.com/c/go/+/269337 was submitted, hence /cc @aclements @ianlancetaylor.

284 is R_AARCH64_LDST16_ABS_LO12_NC. The linker supports R_AARCH64_LDST{8,32,64,128}_ABS_LO12_NC, R_AARCH64_LDST32_ABS_LO12_NC. Maybe it should support R_AARCH64_LDST16_ABS_LO12_NC as well.
cc @erifan

Ok, I'll take a look.


Error related to libsql_experimental.a when used with golang sqlite3 driver

Hi,
I'm using golang and am using go-libsql.
When I import sqlite3 and libsql, both drivers, the error below occurs.
import (
	_ "github.com/libsql/go-libsql"
	_ "github.com/mattn/go-sqlite3"
)

/usr/local/go/pkg/tool/darwin_arm64/link: running clang failed: exit status 1
duplicate symbol '_sqlite3_vsnprintf' in:
    /private/var/folders/16/lvgrynkd1n93dqjg140gs5wm0000gn/T/go-link-3924145887/000013.o
    /Users/sejunpark/go/pkg/mod/github.com/libsql/go-libsql@v0.0.0-20240210093909-f14a170a8487/lib/darwin_arm64/libsql_experimental.a[102](sqlite3.o)
duplicate symbol '_sqlite3_column_count' in:
    /private/var/folders/16/lvgrynkd1n93dqjg140gs5wm0000gn/T/go-link-3924145887/000013.o
    /Users/sejunpark/go/pkg/mod/github.com/libsql/go-libsql@v0.0.0-20240210093909-f14a170a8487/lib/darwin_arm64/libsql_experimental.a[102](sqlite3.o)
duplicate symbol '_sqlite3_vfs_find' in:
    /private/var/folders/16/lvgrynkd1n93dqjg140gs5wm0000gn/T/go-link-3924145887/000013.o
    /Users/sejunpark/go/pkg/mod/github.com/libsql/go-libsql@v0.0.0-20240210093909-f14a170a8487/lib/darwin_arm64/libsql_experimental.a[102](sqlite3.o)

(omitted)

ld: 266 duplicate symbols
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I thought this was an error related to bindings/c/Makefile
@haaawk Can you help check this out if possible? Thanks again.

@haaawk Wish I could help but I have no idea on what's going on😔

Plus one on this, I've tried working on multiple golang migration libraries and they all have link issues.

It's happening the same thing to me, any idea on how to solve this ?

I was wondering whether there is any updates regarding this issue? I'm experiencing the same thing when trying to use libsql and github.com/mattn/go-sqlite3 together in a project. I'm using github.com/mattn/go-sqlite3 to migrate my libsql databases


RenderingDevice: Fix uncapped mipmap sizes causing div-by-zero

In #94069 I failed to realize some lower bound was still needed. Otherwise mip sizes could become <= 0.
Fixes #96352.

Thanks!

Cherry-picked for 4.3.1.


Support for custom HTML block elements

Now that web components are a thing (and just in general for XML anyway), it would be nice to support arbitrary block elements. For example, if I have markdown like this:
A paragraph

<example>
  - A
  - List
  - Of
  - Things
</example>

I'd expect to get:

A paragraph

<example>

A

List

Of

Things

</example>

But instead I get:

A paragraph

<example></example>

A

List

Of

Things

These elements are always parsed as inline, due to the whitelist here: https://github.com/wooorm/remark/blob/master/packages/remark-parse/lib/block-elements.json
But, if I'm reading the spec right, this should at least be allowed in commonmark: https://github.com/jgm/CommonMark/blob/master/spec.txt#L8531-L8534 (although the accompanying example is inline, so it's not extraordinarily clear). Markdown-it supports this, at least.
Is there a case where Remark really needs to ensure that an element is or is not a block? Could the whitelist simply be eliminated? Otherwise, maybe the whitelist could be inverted and made into a blacklist—elements that can only appear in inline form?
If none of that is workable and we can't have arbitrary block-level elements, it would at least be nice to expose the whitelist on the parser so that plugins can modify it. I can do this in a really terrible way now, but it's pretty ugly and very brittle (it depends on how NPM winds up processing the dependencies):
var blockElements = require('remark-parse/lib/block-elements.json');
blockElements.push('example');
remark().process(someText);

(FWIW, I am running into this issue in an actual project I’m working on for a client.)

@Mr0grog 👍 I like this, and see no reason not to implement it.
However, say you provide a list of tag-names to see as block-level elements, should it be instead of the internal list, or joined with the internal list?
Also, I don’t get your results with commonmark or markdown-it, either.

@Mr0grog Ping!

Sorry for the slow reply! I’ve been traveling and am just now catching up.

Also, I don’t get your results with commonmark or markdown-it, either.

My fault—I took my specific case and generalized without testing 😓  Markdown-it appears to require blank lines around the block element, so this works where my previous example did not:
A paragraph

<example>

  - A
  - List
  - Of
  - Things

</example>

If it helps, my actual/original use case is a language-switcher for code samples:
This code prints some text:

```js
console.log('Some text!');
```

```java
System.out.println("Some text!");
```

```go
import "log"
log.Println("Some text!")
```

However, say you provide a list of tag-names to see as block-level elements, should it be instead of the internal list, or joined with the internal list?

I definitely think this should be joined with the internal list. Or at the very least, that’s what the easy path should do. I can’t imagine wanting to make
 behave like an inline element would be a common desire.


Update Deploy Ghost Theme to v1.2.1

Updated to the latest version, check the GitHub Action page.

I'm following upstream for dependencies versions


Create dofunction.rb

Created basic test for doFunction. Hopefully this will work, but I'm only a Ruby beginner 🙁 Closes #43

This change is

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.

tests/dofunction.rb, line 13 at r1 (raw file):

  def test_doFunction
    code = "def is_even(number)\n  if number % 2 == 1\n    return false\n  else\n    return true\n  end\nend"
    resultCode = "def is_even(number)\n# Processes a single number, testing if it is equal\n# number - The number to process\n  if number % 2 == 1\n    return false\n  else\n    return true\n  end\nend"

Could be a multiline string...

tests/dofunction.rb, line 19 at r1 (raw file):

      end
      user.puts "Processes a single number, testing if it is equal"
      user.puts "The number to process"

Will this double-puts call work???

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

tests/dofunction.rb, line 19 at r1 (raw file):
Previously, StellarDoor5319 (Daniel Thwaites) wrote…
Will this double-puts call work???

Just tested, and it works.

Comments from Reviewable


Add keras notebook example

Created a notebook example using Keras models

Amazing! I am trying to do the same thing right now. I have an embedding model with users and items, but there seems to be some issues with the embedding sizes and lookups. Would love to get an example with embeddings.


Using with SOCKS5

I've recently started using my VPN provider's SOCKS5 on Firefox in conjunction with their WireGuard VPN servers. The result has been a significant speed increase as well as reduced CAPTCHAs.
The problem, of course, is that its bypassing my beloved hosts. Even with the usual privacy-focused Firefox extensions, I still feel uncomfortable. But I really want to keep the SOCKS5 for the reasons above.
Is there any way around this for me?

You can use hosts lists with uBlock Origin for FireFox


Changed developer id

The developer zihluwong has changed his username to zihluwang on Github.

We are not merging this PR to master.


Bump sdk version, update tests

Bump sdk to 3.1.*
Use @tmds remote executor to avoid to keep in synch with arcade one. Thank's Tom for the tool!

Uh seem not supported on Mac, it's a shame.

Uh seem not supported on Mac, it's a pity.

Do you want to help make this work? I'll help figure out how to implement it. I don't have a mac myself.

I don't have a mac myself.

Eh the problem is that I don't have Mac too...I work on win 😞 and WSL.

I've created an issue for it: https://github.com/tmds/Tmds.ExecFunction/issues/6. Maybe we can find someone willing, and able.

Ok for now I'll skip that test on Mac, historically I never seen any difference for these tests between three plat. Win/Linux should be enough


Integration in Django throws many KeyError 'request' on each issue report

How do you use Sentry?
Sentry Saas (sentry.io)
Version
2.13.0
Steps to Reproduce
I am going nuts with this issue which I believe is coming from sentry-sdk for python, probably in combination with some other dependencies. I have a project in Django 4.2 with the sentry-sdk 2.13.0 which throws a KeyError request each time something is triggered on sentry, meaning if an error is reported I get X more errors reported about KeyError request (yes it is not just 1 for each report done). What confuses me is that the original error is shown correctly on sentry so I cannot say that sentry-sdk is failing reporting the issue. Moreover this happens also whenever I manually trigger a info/warning report from code to sentry.
To note, this started happening after upgrading the project dependencies, especially Django to 4.2. I am also not sure it is a bug directly on sentry_sdk probably is the combination with something else.
I also thought it could have been a context_processor issue but context_processor for request is in the settings (see code below)
Any help or suggestion is much appreciated.
import sentry_sdk
from sentry_sdk.integrations.django import DjangoIntegration

sentry_sdk.init(
    dsn="XXXX",
    integrations=[DjangoIntegration()],
    server_name='XXXX',

    send_default_pii=True
)

Stack trace:
KeyError
'request'

django/template/context.py in __getitem__ at line 83

cms/templatetags/cms_tags.py in _get_empty_context at line 636

cms/templatetags/cms_tags.py in get_context at line 829

cms/templatetags/cms_tags.py in render_tag at line 810

classytags/core.py in render at line 142

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

django/template/loader_tags.py in render at line 54

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

django/template/base.py in _render at line 167

django/template/base.py in render at line 177

django/template/loader_tags.py in render at line 208

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

django/template/loader_tags.py in render at line 63

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

cms/templatetags/cms_tags.py in render_tag at line 426

classytags/core.py in render at line 142

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

sekizai/templatetags/sekizai_tags.py in render_tag at line 86

classytags/core.py in render at line 142

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

django/template/base.py in _render at line 167

django/template/loader_tags.py in render at line 157

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

django/template/base.py in _render at line 167

django/template/loader_tags.py in render at line 157

django/template/base.py in render_annotated at line 966

django/template/base.py in render at line 1005

django/template/base.py in _render at line 167

django/template/base.py in render at line 175

django/template/backends/django.py in render at line 61

django/views/defaults.py in server_error at line 99

django/utils/decorators.py in _wrapper_view at line 134

django/core/handlers/exception.py in handle_uncaught_exception at line 185

django/core/handlers/exception.py in response_for_exception at line 140

django/core/handlers/exception.py in inner at line 57

django/utils/deprecation.py in __call__ at line 134

django/core/handlers/exception.py in inner at line 55

Context processors:
TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            ...
        ],
        'OPTIONS': {
            'context_processors': [
                'django.contrib.auth.context_processors.auth',
                'django.template.context_processors.debug',
                'django.template.context_processors.i18n',
                'django.template.context_processors.media',
                'django.template.context_processors.static',
                'django.template.context_processors.tz',
                'django.contrib.messages.context_processors.messages',
                'django.template.context_processors.request',
                'sekizai.context_processors.sekizai',
                'cms.context_processors.cms_settings',
                'website.context_processors.google_analytics'
            ],
            'loaders': [
                'django.template.loaders.filesystem.Loader',
                'django.template.loaders.app_directories.Loader',
                'admin_tools.template_loaders.Loader',
            ],
        },
    }
]

pip freeze --all:
amqp==5.2.0
asgiref==3.8.1
attrs==24.2.0
billiard==4.2.0
Brotli==1.1.0
cachetools==5.5.0
celery==5.4.0
certifi==2024.7.4
cffi==1.17.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
click-didyoumean==0.3.1
click-plugins==1.1.1
click-repl==0.3.0
cron-descriptor==1.4.3
cssselect==1.2.0
cssselect2==0.7.0
cssutils==2.11.1
decorator==5.1.1
dj-database-url==2.2.0
Django==4.2.10
django-admin-tools==0.9.3
django-appconf==1.0.6
django-celery-beat==2.6.0
django-ckeditor==6.7.1
django-classy-tags==4.1.0
django-cms==3.11.6
django-countries==7.6.1
django-easy-select2==1.5.8
django-export-csv==0.1.2
django-filer==3.1.4
django-formtools==2.5.1
django-image-cropping==1.7
django-imagekit==5.0.0
django-js-asset==2.2.0
django-materializecss-form==1.1.17
django-modeltranslation==0.19.7
django-otp==1.5.2
django-phonenumber-field==8.0.0
django-polymorphic==3.1.0
django-ranged-response==0.2.0
django-sekizai==4.1.0
django-simple-captcha==0.6.0
django-simple-mail==2.3.5
django-timezone-field==7.0
django-treebeard==4.7.1
django-two-factor-auth==1.17.0
django-weasyprint==2.3.0
djangocms-admin-style==3.3.1
djangocms-attributes-field==3.0.0
djangocms-column==2.1.0
djangocms-file==3.0.1
djangocms-googlemap==2.2.0
djangocms-link==4.0.0
djangocms-picture==4.1.1
djangocms-snippet==3.1.1
djangocms-style==3.1.0
djangocms-text-ckeditor==5.1.5
djangocms-video==3.1.0
djangorestframework==3.15.2
easy-thumbnails==2.9
et-xmlfile==1.1.0
fonttools==4.53.1
future==1.0.0
geocoder==1.38.1
gunicorn==23.0.0
html2text==2024.2.26
html5lib==1.1
idna==3.7
isodate==0.6.1
kombu==5.4.0
lxml==5.3.0
more-itertools==10.4.0
openpyxl==3.1.5
packaging==24.1
phonenumbers==8.13.43
pilkit==3.0
pillow==10.4.0
pip==24.0
platformdirs==4.2.2
premailer==3.10.0
prompt_toolkit==3.0.47
psycopg2==2.9.9
pycparser==2.22
pydyf==0.11.0
pyphen==0.16.0
pypng==0.20220715.0
python-crontab==3.2.0
python-dateutil==2.9.0.post0
pytz==2024.1
qrcode==7.4.2
ratelim==0.1.6
redis==5.0.8
reportlab==4.2.2
requests==2.32.3
requests-file==2.1.0
requests-toolbelt==1.0.0
sentry-sdk==2.13.0
setuptools==69.1.1
six==1.16.0
sorl-thumbnail==12.10.0
sqlparse==0.5.1
svglib==1.5.1
tinycss2==1.3.0
typing_extensions==4.12.2
tzdata==2024.1
unicodecsv==0.14.1
urllib3==2.2.2
vine==5.1.0
wcwidth==0.2.13
weasyprint==62.3
webencodings==0.5.1
wheel==0.43.0
XlsxWriter==3.2.0
zeep==4.2.1
zopfli==0.2.3

Expected Result
Report the issue on sentry.
Actual Result
Reports the error followed by many KeyError 'request' triggered by the first error.

@NicoEdge5, could you maybe send us links to the sentry errors for both:

the original exception you expect to be seen
one of the others that is triggerred by that

Seeing both of the stacktraces will help us debug better.
If you don't want to send the error links publicly here on github, you can email them to me at neel.shah at sentry.io.

@sl0thentr0py thanks for your feedback. I sent the requested data to you. I will update the issue here as soon as there is any progress for other people's sake (in case they have same or similar issue).

yes I received the email, thank you! I will set aside some time next week to debug your issue.

Hello!
I have been facing the very same issue since August, before and after upgrading Django to the latest versions.
Did you get a chance to make progress on that issue ?
Are all Django customers affected or is this an issue on the customer side?
Kind regards

Hi @lbillon,
unfortunately no progress at the moment. I am still waiting also input from @sl0thentr0py
As soon as I have an update I will share with everyone.

I set out to investigate and reproduce the issue, and after some digging, I suspect it's not directly related to sentry-sdk itself.
Here’s what I found:

The KeyError messages also appeared in the logs independently of Sentry, so it seems not directly linked to sentry-sdk.
The issue only surfaces when DEBUG = False, which is typical of production environments where Sentry is active. With DEBUG = True, when a 500 error occurs, Django displays the debug screen instead.
When DEBUG = False, Django tries to display the corresponding error template, which could be customized for the application.
The KeyError appears when Django fails to fully process or display the error page. This often happens if the error template triggers some data processing that may not be available when there's a server error.
In my case, my error template was inheriting the base template, which had dynamic content like user data and menus. Replacing the error template with a simple, static version that doesn’t require much dynamic data resolved the KeyError issue for me.

I hope this helps others who may be encountering the same problem and saves time for the Sentry team!
Cheers

okay I'm investigating this now, sorry for the delay.
I agree with @lbillon that this doesn't seem to be Sentry's problem. In the examples @NicoEdge5 provided, the key request is missing in the context inside django-cms here while rendering the django error template.
@lbillon are you also using django-cms?
And can either or both of you provide your error templates so I can reproduce the problem?

@sl0thentr0py thanks for the support I did not manage yet to check but I will as soon as I manage to find some time. What you are saying totally make sense.
At this point I think it makes sense to close this post :)


fix: allow product_attributes_extraction.ipynb to run on Vertex colab enterprise

Vertex AI colab enterprise does not allow fetching of external URI in Part.from_uri(), only gcs path (gs://...) is allowed. Therefore adding a function to load external image from URL and create the prompt part using Part.from_data().
Description
Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[X] Follow the CONTRIBUTING Guide.
[X] You are listed as the author in your notebook or README file.

[X] Your account is listed in CODEOWNERS for the file(s).

[X] Make your Pull Request title in the https://www.conventionalcommits.org/ specification.
[X] Ensure the tests and linter pass (Run nox -s format from the repository root to format).
[ ] Appropriate docs were updated (if necessary)

Can you also resolve the new notebook linter errors?


Update run state enum

Description

Updated run state enum to replace SUCCESS state with GENERATED and DELIVERED states.
In report history response, snapshots will have isDownloadAvailable = true if snapshot if notification method is DOWNLOAD and report exists in blob store.
Updated report history pruning to match GENERATED and DELIVERED states' new enum numbers.

Checklist

[ ] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

If any of these don't apply, please comment below.
Testing Performed
Manual testing
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

/retest

Report history can only be obtained for one specific report configuration. Therefore, all snapshots prepared for the API response belong to one configuration. The blobname pattern is configID/reportID, therefore, fetching full blob metadata objects to decide if a blob for a specific configuration and report ID exists seems overkill.
Separately, the GENERATED state should be sufficient to determine whether the download is available. Otherwise, the state management becomes moot if we need to check other data points for making some decisions.

Report history can only be obtained for one specific report configuration. Therefore, all snapshots prepared for the API response belong to one configuration. The blobname pattern is configID/reportID, therefore, fetching full blob metadata objects to decide if a blob for a specific configuration and report ID exists seems overkill.

Yeah I agree, fetching entire blob objects is an overkill. I think just fetching the IDs using Search on blob datastore should suffice for that.

Separately, the GENERATED state should be sufficient to determine whether the download is available. Otherwise, the state management becomes moot if we need to check other data points for making some decisions.

We allow pruning blobs before it has been downloaded, because otherwise the non-downloaded ones can take up storage. So I think checking whether a blob exists or not would be important to determine if download is available or not.

We allow pruning blobs before it has been downloaded, because otherwise the non-downloaded ones can take up storage. So I think checking whether a blob exists or not would be important to determine if download is available or not.

Not for GA: We should look at the possibility of adding another state. With status = GENERATED/SUCCESS and isDownloadAvailable = false, the question the consumer will have is why is the download file not available if the status indicates success.


feat: upgrade to zfs 2.2+

This changes the ZFS version to 2.2, which as of today is 2.2.2. The 2.2.2 release fixed the file corruption issues which had been present in 2.2.0. see: https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2
Note that ucore will remain on ZFS 2.2.x until this version field is updated again after ZFS 2.3 hs proven somewhat stable.
Fixes: https://github.com/ublue-os/ucore/issues/88

Not actually working... see: https://github.com/ublue-os/ucore/issues/88#issuecomment-1857339600

After further testing, found that this build is in fact good, it was a depmod issue during install which was the problem.
See: https://github.com/ublue-os/ucore/pull/105


How to show HDR images on the HDR monitor

Hi,
Thank you so much for your impressive work!
Here I have a question about how to show the HDR image on the HDR monitor. We can use the VCL player to show HDR video on the monitor, but not sure which software can show the proper HDR images? Could you give me some ideas about the settings in your user study? Thanks a lot!
Best regards,
YLiu

I'm not sure what software was used for the HDR study in the paper. This was performed by our collaborators in Cambridge. For the preparation of the images for HDR, as described in the paper we fixed the luminance of the 90th percentile pixel value to 180 cd/m2. This can be achieved by performing a linear scaling of the reconstructed HDR images, since this are supposed to be in the linear domain.

I see. Thanks a lot for your reply!

发件人: Gabriel Eilertsen<EMAIL_ADDRESS>发送时间: 2021年3月5日 16:24
收件人: gabrieleilertsen/hdrcnn<EMAIL_ADDRESS>抄送: LIU Yue<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>主题: Re: [gabrieleilertsen/hdrcnn] How to show HDR images on the HDR monitor (#46)
I'm not sure what software was used for the HDR study in the paper. This was performed by our collaborators in Cambridge. For the preparation of the images for HDR, as described in the paper we fixed the luminance of the 90th percentile pixel value to 180 cd/m2. This can be achieved by performing a linear scaling of the reconstructed HDR images, since this are supposed to be in the linear domain.
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/gabrieleilertsen/hdrcnn/issues/46#issuecomment-791250801, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOKIDSWRJP2QYPHGCPAYGQ3TCCIMRANCNFSM4YIBXGGA.


feat: fully typed typescript version

:tada: This PR is included in version 1.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


partialLoop notice #7450

Here is a test and a fix that will show the notice in the nested partialloop #7450

This looks good to me, with just one question:  The current behaviour is a notice is emitted and objectKey is set to null.  In your code the existing value of objectKey will remain unchanged.  I'm not too familiar with partialLoop so I'm unsure of whether or not this presents an issue.  If objectKey is always NULL preceding this point in it's execution then it does not, but if objectKey is reused through the nested stack it could be an issue.

Nether am I :) But the existing objectKey is set to null just before checking if the key exist on this line, so it shouldn't be a problem.


Are the preload nodes connected to the gateway nodes?

I added a file to js-ipfs and it was preloaded at:
https://node0.preload.ipfs.io/ipfs/QmQeEyDPA47GqnduyVVWNdnj6UBPXYPVWogAQoqmAcLx6y
However, the same hash does not seem to be available on the gateway:
https://ipfs.io/ipfs/QmQeEyDPA47GqnduyVVWNdnj6UBPXYPVWogAQoqmAcLx6y

node0 gives me a 400, but ipfs.io works.

Closing in favor of https://github.com/ipfs/infra/issues/463 - if that isn't sufficient to satisfy this request, please reopen this issue.