Steering odometry library

We have noticed that the current implementations of steering mobile robot controllers (tricycle and ackermann) share much of the functionality but implement it differently. This PR proposes using a base SteeringController class/file and an implementation class/file for each mobile robot configuration. The SteeringOdometry is used for calculating open and closed loop odometry, as well as commands that need to be sent to the hardware. The new odometry fully supports different velocities of traction wheels.
This PR does not encapsulate some features that probably should be implemented in the future, for example:

support ackermann_msg reference messages

I have made some updates to the features, the most important being:

Parameters are now spread across multiple files. The steering_controllers.yaml has parameters that are shared between implementations and each implementation uses its own specific parameters. This means that different wheel radii and axle lengths (wheel tracks) are now fully supported.
Rear steering is now enabled, as well as an arbitrary number of wheels in front and in back
Forward kinematics for each "canonical" implementation has been implemented with a straightforward way to implement custom inverse and forward kinematics in the steering_odometry.cpp.

This PR so far adds a ton of code. Could you also show what it removes? Aka the usage of these classes

Codecov Report

Merging #484 (be9c0e1) into master (e7f9962) will decrease coverage by 3.30%.
The diff coverage is 26.60%.

@@            Coverage Diff             @@
##           master     #484      +/-   ##
==========================================
- Coverage   35.78%   32.48%   -3.31%
==========================================
  Files         189        7     -182
  Lines       17570      665   -16905
  Branches    11592      357   -11235
==========================================
- Hits         6287      216    -6071
+ Misses        994      157     -837
+ Partials    10289      292    -9997

Flag
Coverage Δ

unittests
32.48% <26.60%> (-3.31%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ontroller/test/test_load_diff_drive_controller.cpp
12.50% <0.00%> (ø)

diff_drive_controller/src/odometry.cpp
42.16% <11.11%> (ø)

diff_drive_controller/src/speed_limiter.cpp
46.55% <11.11%> (ø)

...ive_controller/test/test_diff_drive_controller.cpp
17.62% <12.08%> (ø)

...troller/include/diff_drive_controller/odometry.hpp
20.00% <20.00%> (ø)

...iff_drive_controller/src/diff_drive_controller.cpp
39.22% <35.50%> (ø)

...de/diff_drive_controller/diff_drive_controller.hpp
100.00% <100.00%> (ø)

...s/test/test_load_joint_group_effort_controller.cpp

..._controllers/src/joint_group_effort_controller.cpp

...ler/test/test_load_joint_trajectory_controller.cpp

... and 191 more

Food for thought:
This conundrum has been around starting from shortly after the first diff_drive_controller implementation. Yes indeed there's the intuitive solution of not duplicating code and "bringing all X controllers under one umbrella" but controllers do not need to have multiple layers of complexity in them, the interface designs are straightforward to allow people to implement things mostly in-place. With ROS1 ros_control we learned the hard lesson of allowing multiple layers of inheritance into the code and how that affects maintainability and extendability. ANother point to mention is the lack of separation of dependencies for the not-so-different-but-still-different controllers for which you've already brought an example: ackermann_steering_msgs. Also here is a discourse discussion about unifying mobile base controller input messages by not unifying them at all ( :D ).
You'll have to work harder than dumping 2k lines of code here to convince me that this is a good way forward ;)

This conundrum has been around starting from shortly after the first diff_drive_controller implementation. Yes indeed there's the intuitive solution of not duplicating code and "bringing all X controllers under one umbrella" but controllers do not need to have multiple layers of complexity in them, the interface designs are straightforward to allow people to implement things mostly in-place.

Not really. There is one method different in all controllers and they are actually the same. I will add some more explanations.
ANother point to mention is the lack of separation of dependencies for the not-so-different-but-still-different controllers for which you've already brought an example: ackermann_steering_msgs.
Don't understand the problem here? All controller should/can have dependency to Ackermann msgs because they are exactly that. TBH how "Ackermann" is used is really bad. During research for this I actually understood that Ackerman is commonly misused in robotics.
Long story short, all this steering controllers are what people usually call "Ackermann". We differentiate here more strictly between different number of joints those controller command and listen to. This ended up being very important in simulation.
P.S. "Ackermann" controller from ros_control should not have this nice because it is **actually bicycle controller.
After merging this we will remove tricycle controller.

You'll have to work harder than dumping 2k lines of code here to convince me that this is a good way forward ;)

This needs a bit more work, still it will cover 6 different kinematics possible with two axes.

I would like to start testing the ackermann controller (for personal and community gains hopefully) to expedite the process of getting these changes pushed to the repo.
I'm looking at f1tenth car with the urdf provided here.
The model looks like this:

So I'm wondering

firstly if the apache 2.0 is a good license for proceeding with getting this possibly integrated into the ros2_control demos as well and if not what other available models should I go ahead with,
and secondly I tried to build the odometry library branch of ros2_controllers from stogl-robotics-forks with ros2_control main branch and it was failing. What configuration should I use to have it build properly or are there any dockers that help me with the build?

In the process of preparing a docker image for the ackermann controller test I'm installing humble from source and I had a build error of
steering_odometry.hpp:28:10: fatal error: rcpputils/rolling_mean_accumulator.hpp: No such file or directory.
Might rcpputils be a dependency for the package or am I running into this simply because I'm building from source?

firstly if the apache 2.0 is a good license for proceeding with getting this possibly integrated into the ros2_control demos as well and if not what other available models should I go ahead with,

Apache 2.0 is the same license as others in ros-controls, I think you can use this one.

and secondly I tried to build the odometry library branch of ros2_controllers from stogl-robotics-forks with ros2_control main branch and it was failing. What configuration should I use to have it build properly or are there any dockers that help me with the build?

The problem is that the joint_trajectory_controller does not build since we updated the controller_state message without deprecation period in the rolling branch. Try to merge the main into this branch and it should run, unless @petkovich pushes it to the PR.

I built the docker image with the steering controllers and made a bare bone ros2 package for the f1tenth urdf. I'm thinking my next step would be to port the urdf to gazebo and configure the Ackermann controller then get it to work with gazebo.
Any possible suggestions how I should alter this course of action? Should I use something besides gazebo classic? I've never used gazebo nor have I set up ros2 control before.

Then I'd suggest that first you should get familiar with the demos from ros2_control_demos. Have a look on example_2, which uses a simple simulation of the DiffBot within the hardware component. You could adapt this component to test the library of this PR.
Because this is rather off topic to this PR, please open a new issue or post it on answers.ros.org

@mergifyio backport humble


update ci version

Ⅰ. Describe what this PR does
Ⅱ. Does this pull request fix one issue?

fixes #2652
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm
/approve

@fengshunli  thanks very much for your contributions!

/ok-to-test

/test fluid-e2e


Make compilation free of warnings

Nice! I saw you left the Werror flag commented in the makefile
# CFLAGS+=-Werror
Can't we just uncomment that so we don't have to modify every yml file?

Nice! I saw you left the Werror flag commented in the makefile
# CFLAGS+=-Werror
Can't we just uncomment that so we don't have to modify every yml file?

We could, but it think its annoying if you just want to change stuff quick.
The CI should do it, but depending on what you are doing it may get into your way,
then you disable it, it shows as modified, you have to remind yourself before each commit and so on.
just a hassle in my opinion.

We could, but it think its annoying if you just want to change stuff quickly.
The CI should do it, but depending on what you are doing it may get into your way,
then you disable it, it shows as modified, you have to remind yourself before each commit and so on.
just a hassle in my opinion.

I expected it to be an always on flag, but if it might be modified, then you are right.

We could, but it think its annoying if you just want to change stuff quickly.
The CI should do it, but depending on what you are doing it may get into your way,
then you disable it, it shows as modified, you have to remind yourself before each commit and so on.
just a hassle in my opinion.

I expected it to be an always on flag, but if it might be modified, then you are right.

And since you are still getting the warnings, we're not hiding stuff.
We may add multiple compile stages in the future and then -Werror gets annoying since subcomponents won't compile, because previous ones errored


Remove AKS AutoUpgrade Preview instructions

This PR will remove the AKS AutoUpgrade feature registration instructions. Based on docs.microsoft.com is AutoUpgrade not in preview anymore and it seems to not be required anymore to register this feature upfront. Testing it in e2e.
az feature unregister --namespace Microsoft.ContainerService -n AutoUpgradePreview
Once the feature 'AutoUpgradePreview' is unregistered, invoking 'az provider register -n Microsoft.ContainerService' is required to get the change propagated

{
  "id": "/subscriptions/cb8d2bb0-ed2c-44e5-a01b-cde33c0320a4/providers/Microsoft.Features/providers/Microsoft.ContainerService/features/AutoUpgradePreview",
  "name": "Microsoft.ContainerService/AutoUpgradePreview",
  "properties": {
    "state": "Unregistering"
  },
  "type": "Microsoft.Features/providers/features"
}

{
  "id": "/subscriptions/cb8d2bb0-ed2c-44e5-a01b-cde33c0320a4/providers/Microsoft.Features/providers/Microsoft.ContainerService/features/AutoUpgradePreview",
  "name": "Microsoft.ContainerService/AutoUpgradePreview",
  "properties": {
    "state": "Unregistered"
  },
  "type": "Microsoft.Features/providers/features"
}

Validating it here: https://dev.azure.com/alwayson/Foundational-Online/_build/results?buildId=299&view=results

@sebader works - successfully tested in e2e. This needs to go into connected as well, right?
https://github.com/Azure/AlwaysOn-Foundational-Connected/pull/28

Yes please!

Can we remove this also in the connected repo?


Upgrade docker images to Ubuntu 20.04

Feature Description
Upgrade docker images to Ubuntu 20.04 and make use of newer environment and libraries
Motivation
Initial test had shown that FastSurfer will run significantly faster on a newer version of Ubuntu (maybe partially caused also by newer NVIDIA driver and libraries ? ) both for CPU and GPU processing.

Merged into dev via #131
Note, that docker images get really huge (not sure why exactly) and that these updates require python 3.8 and updated dependencies.

#145 , #148 and #149 address docker image footprint (we switched to a two-stage build). Also we only keep a portion of what is needed from FreeSurfer ( #141 ). This will go into our next release V1.1.


Feather 32u4 RFM support

Based off of #224. It should work with the RFM69 and RFM9x variants. I successfully got blinky to run on my RFM69 variant. I can't figure out how to get serial logging to work so someone else might want to give that a shot. Next I want to add ravedude support but since that requires serial logging support I might just work on adding more examples first.

Now that I think about it maybe "lora" is a better identifier than "rfm". I only chose "rfm" because that's whats in the product name


Laravel 9.x

Bumps dependencies for Laravel 9 and adds Laravel 9 tests to GitHub actions.
PHP CS Fixer had to be bumped to version 3 for Symfony 6. Moved configuration file accordingly and removed the cache file which had been previously committed.

Thank you!


fix namespaced mapping name

This PR is related to #480

@paulosoares86 - the build is failing with NameError: uninitialized constant ScopedUser ... could you please take a look?

@booleanbetrayal - Forgot to add some files, but it is ok now.

Thanks @paulosoares86 !


/user/profile/{username} get error if username start with v1

endpoint: /user/profile/{username}
If username == v11 or v12 or v111 etc
Response:
error:"version_error"
error_description:"Api Version {username} not supported"
status:"error"

Thanks for the report, should be fixed now!


[Coverity CID :195900]Security best practices violations in /drivers/entropy/fake_entropy_native_posix.c

Static code scan issues seen in File: /drivers/entropy/fake_entropy_native_posix.c
Category: Security best practices violations
Function: entropy_native_posix_get_entropy
Component: Drivers
CID: 195900
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Just a complain because of calling the insecure host random.
But that is intended: the aim is to get a fully reproducible set of random numbers for test purposes)
Awaiting permission in Coverity to mark it as so.


early testing dynamic assertion messges (WIP)

Please read contributing guidelines and remove this line.

Benchmark results
Metrics with a significant change:

note_history_trial_decrypting_time_in_ms (5): 89.9 (+78%)
note_history_trial_decrypting_time_in_ms (10): 156 (+103%)
note_successful_decrypting_time_in_ms (8): 129 (-30%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
64 txs

l1_rollup_calldata_size_in_bytes
772
772
772

l1_rollup_calldata_gas
6,832
6,844
6,832

l1_rollup_execution_gas
587,313
587,325
587,313

l2_block_processing_time_in_ms
1,486 (+2%)
5,382
10,610 (+3%)

note_successful_decrypting_time_in_ms
:warning: 129 (-30%)
398 (-4%)
718 (+4%)

note_trial_decrypting_time_in_ms
87.2 (+23%)
101 (-6%)
26.1 (-74%)

l2_block_building_time_in_ms
19,812 (+6%)
76,658 (+5%)
153,372 (+6%)

l2_block_rollup_simulation_time_in_ms
19,588 (+6%)
75,889 (+5%)
151,859 (+6%)

l2_block_public_tx_process_time_in_ms
9,032 (+7%)
34,865 (+6%)
70,213 (+6%)

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
16,285
29,131 (-5%)

note_history_successful_decrypting_time_in_ms
875 (-6%)
1,701 (-3%)

note_history_trial_decrypting_time_in_ms
:warning: 89.9 (+78%)
:warning: 156 (+103%)

node_database_size_in_bytes
19,144,784
35,868,752

pxe_database_size_in_bytes
29,859
59,414

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
162 (+5%)
47,763
31,978

private-kernel-inner
188 (+6%)
80,794
31,978

private-kernel-ordering
175 (+28%)
57,732
50,043

base-parity
70.3 (-8%)
128
265

root-parity
122 (-2%)
1,244
265

base-rollup
12,620 (+5%)
110,926
957

root-rollup
51.3 (+3%)
4,551
821

public-kernel-app-logic
1,780 (+8%)
62,017
52,067

public-kernel-tail
4,508 (+7%)
168,566
7,491

merge-rollup
3,175 (+1%)
2,760
957

public-kernel-teardown
126 (+5%)
62,017
52,067

public-kernel-setup
125 (+7%)
62,017
52,067

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
4096 leaves
32 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.1 (+1%)
17.8 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.6
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.644 (+1%)
0.549 (+1%)
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
51.4
80.9
262 (+2%)
505
984 (+1%)
1,944
N/A

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
96.0
159
543
1,055
2,079
4,127
N/A

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.526 (-1%)
0.498
0.477 (+2%)
0.471
0.467 (+1%)
0.465
N/A

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
60.5
120 (+2%)
380 (+2%)
741 (-1%)
1,475 (+1%)
2,930 (+1%)
N/A

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
105
207
691
1,363
2,707
5,395
N/A

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.534
0.537
0.515 (+1%)
0.510 (-1%)
0.511 (+1%)
0.510
N/A

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
67.7

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
109

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
0.589

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
51,411
543,524

Transaction size based on fee payment method

Metric
native fee payment method
fpc_public fee payment method
fpc_private fee payment method

tx_with_fee_size_in_bytes
897
1,145
1,345

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes
2 new note hashes

tx_pxe_processing_time_ms
1,311 (-1%)
932 (+8%)
3,543 (+2%)

Metric
1 public data writes
2 public data writes
3 public data writes
4 public data writes
5 public data writes
8 public data writes

tx_sequencer_processing_time_ms
880 (+6%)
779 (+3%)
1,389 (+3%)
922 (+3%)
2,133 (+3%)
1,110 (+2%)

Pushed addressing the PR comments until now!


redis_proxy: add support for formatting redis key

Commit Message: This PR provides the ability to format a redis key in redis_proxy filter. The key_formatter is configured on a per route basis and supports %KEY% as the formatter command for substituting the redis key as part of the substitution formatter expression.
Additional Description: Implements https://github.com/envoyproxy/envoy/issues/23558
Risk Level: low
Testing:
Docs Changes: Yes
Release Notes: Yes
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue] https://github.com/envoyproxy/envoy/issues/23558
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@markdroth - could you PTAL when you have a moment. Appreciate your time!

Wei can you do a pass and I'll do a maintainer pass after you approve.

Yes, will take a look!

@weisisea - I would like to move the PR back to draft mode, I'm trying to see instead of prefix if we can support formatting the key.

/retest

@weisisea - when you have a moment, could you please take a look at the PR ? Appreciate your time!

@mattklein123 - it seems waiting:any label got removed after I pushed a commit to merge conflict against changelogs/current.yaml

/retest

/retest

@weisisea @jmarantz @mattklein123 - gentle reminder, when you have a moment could you please review this PR ? Appreciate your time! 🙏

@weisisea PTAL when you have time, thank you.
/wait

Sorry for the delay, will look asap

/retest

/retest

@weisisea - when you have a moment, could you please take a look at the updated PR ? Regarding this one -> https://github.com/envoyproxy/envoy/pull/26560#discussion_r1169354870, please let me know your thoughts ?

/retest

/retest

/retest

@mattklein123 Hi Matt, I have approved the changes. Do you want to take a pass?

@weisisea @mattklein123 - i've addressed remaining comments. PTAL - appreciate your time. Thanks!


Documentation for docker image run

System information (version)

Operating System / Platform => ❔Ubuntu 22.04
OpenCV => n/a
Ceres => n/a
Boost => n/a
C++ => n/a
Compiler => n/a

Vision system
Intend to run some of your real or synthetic sequences
Describe the issue / bug
I would like to run MC-Calib from your provided docker image and am able to pull it from the docker hub. The following is in the README --
'''bash
docker run
-ti --rm
--volume="${PWD}:/home/MC-Calib"
--volume="PATH_TO_DATA:/home/MC-Calib/data"
bailool/mc-calib-prod
'''
What do the two bindmounts refer to? I could find something related to '--volume="PATH_TO_DATA:/home/MC-Calib/data"' in the documentation for running 'calibrate', but could not find what '--volume="${PWD}:/home/MC-Calib" ' needs to contain or this directory's function. Thank you.

Hi @amy-tabb. Thank you for your interest in the MC-Calib.
I have improved the documentation in this change https://github.com/rameau-fr/MC-Calib/pull/76
docker run \
            -ti --rm \
            --volume="$PATH_TO_REPO_ROOT:/home/MC-Calib" \
            --volume="$PATH_TO_DATA:/home/MC-Calib/data" \
            bailool/mc-calib-prod

Let me know if this works for you.

Awesome, yes that answers my question, thank you @BAILOOL !


Fails to perform docker pull via ansible

HOST

Ubuntu 19.10
Ansible 2.9.9 (latest)
Mitogen 0.2.9 (latest)
Python 3.7.5
ansible-config dump --only-changed yields an empty file
Nothing custom

TARGET

Ubuntu 18.04
Python ? There are multiple versions on the target machine, so I ran ansible -m setup machinename and it showed me "ansible_python_version": "2.7.17". I hope that's right?

PROBLEM
In a playbook:
- name: pull image
  docker_image:
    name: imagename:v1.2.3
    source: pull

Error:

"msg": "Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on remote's Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter, for example via pip install docker or pip install docker-py (Python 2.6). The error was: u'requests' is present in the Mitogen importer blacklist, therefore this context will not attempt to request it from the master, as the request will always be refused."

This is part of a very large playbook which seems to work, only this task fails. And without mitogen this task works.
I have no idea what the problem could be?

Can you try with latest Mitogen from master? It includes ansible python interpreter discovery and some other things

@s1113950 That worked... thanks!! 😄

It was muuuuuuuuuch slower during initial connection/setup/whatever - is that normal? Is that because of the "python interpreter autodiscovery"?

Can I use it in production? If not, when do you think it'll get released?

I unzipped the master zip from github, and used it as is. But I'm not a python dev... Do I need to compile/build/whatever to make it go faster?

Woo!!
The interpreter discovery does add a tiny bit of overhead, but I haven't noticed drastic slowness on my end 🤔 definitely something I'll look into. Do you have a playbook I can use to repro?
You can use it in production, or wait for a new release(s) which will happen around the time Ansible 2.10 comes out. No PR lands currently in master without passing tests, so it should be stable enough for production, but I can't guarantee there won't be a regression missed (like a slower startup time that wasn't noticed before).
To install, you can do something like this into your venv: pip install git+https://github.com/dw/mitogen

@s1113950 I don't have something easy to repro sorry, but I can live with the delay... it takes time to get started, but after that it zips through my playbook like a bullet train! 😃
I asked about the build step, because in the latest official release I have a mitogen.egg-info directory, whereas when I cloned the master branch I don't have that. It seems to work though as is.
Thanks again!

Perf on Python3 is not yet as good as Python2, but eventually the plan is to fix that up 👍

I still have this problem. Any plan when will the new release be available??

A new release is planned for after Ansible 2.10 is released. There might be two, 1 (backwards-incompatible) with collections support and 1 without, depending on how big of a change collections support will be. See this thread if curious: #715

There's a new rc now for Ansible 2.10+: https://github.com/dw/mitogen/releases/tag/v0.3.0-rc.0

I am still having this issue with mitogen 0.3.2. Any idea ?


[rv_plic] Verification sign-off for M2.5

Description
This tracks open verification tasks for M2.5.
See effort estimation docs for details.
CC @msfschaffner @cindychip

[ ] #18388 V2.5 TODOs

Addressed by @cindychip


npm error code ENOENT npm error syscall lstat npm error path C:\Users\ADMIN\AppData\Roaming\npm npm error errno -4058 npm error enoent ENOENT: no such file or directory, lstat 'C:\Users\ADMIN\AppData\Roaming\npm' npm error enoent This is related to npm not being able to find a file.    npm error enoent npm error A complete log of this run can be found in: C:\Users\ADMIN\AppData\Local\npm-cache_logs\2024-08-29T14_54_53_598Z-debug-0.log

Are you getting this error while trying to create React app ?

Maybe this can help: https://stackoverflow.com/questions/70476013/enoent-errors-when-installing-npm-modules


⚖ Register your-moniker Validator

Register new validator gentx on the drunemeton-1 network.

Perfect! Closing this one as it was a test 😉


gauge thermometer PR fixes

Description

https://github.com/user-attachments/assets/a4c3ac5d-be5b-40d3-938a-b2c8e5f7e48b
Related Issue(s)
#1203
Checklist

[x] I have read the contribution guidelines
[x] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

[ ] Upgrade instructions
[ ] Configuration details
[ ] Concepts

[ ] Changes flowforge.yml?

[ ] Issue/PR raised on FlowFuse/helm to update ConfigMap Template
[ ] Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

[ ] Includes a DB migration? -> add the area:migration label

https://github.com/FlowFuse/node-red-dashboard/pull/1410#issuecomment-2426151621

It looks a little too cartoon-like at the moment. To be consistent with the other widget-types, we should not have a gradient in the fill, the border should be the same color as the fill, and there should be a gap between the border and fill. I would also like to see the remova of the border radius at the top of the fill so it reads as a gauge easier.

@joepavitt this PR contains the required fixes. Unfortunately this doesn't allow me to add anyone as reviewers at the moment.

Thanks @gayanSandamal


Adds design template

This PR adds a design template as discussed earlier in dev meetings.
This template could be used by folks who want to contribute a more complex feature/enhancement to cert-manager and need to submit a design beforehand. The general approach of requiring a design should help us improve the review process and make it easier for maintainers and users to understand and evaluate new features.
The template partially adapted from https://github.com/kubernetes/enhancements/blob/a86942e8ba802d0035ec7d4a9c992f03bca7dce9/keps/NNNN-kep-template/README.md - I have tried to remove the more strict or unusual for us requirements as generally I would like to not introduce new 'policies' in this PR- they can always be added later separately as need arises.
If this gets merged, I will update our contributing doc to point to this https://cert-manager.io/docs/contributing/policy/#design-documents
Happy to remove more sections from the template if folks think it's too complicated.
Generally found it very useful to read through the upstream template- there are a lot of questions that relate to actual risks when adding new features to cert-manager (i.e increase in memory usage, extra API calls) so I think having this will be very useful for reviewers.
Signed-off-by: irbekrm<EMAIL_ADDRESS>

/kind cleanup

/test pull-cert-manager-make-test

/test pull-cert-manager-e2e-v1-23

/test pull-cert-manager-e2e-v1-23
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-e2e-v1-23
/test pull-cert-manager-make-e2e-v1-23

/test pull-cert-manager-make-e2e-v1-23

Thanks a lot for taking a look @SgtCoDFish !
I think I have addressed all the comments.
About whether it's heavyweight, it doesn't seem like that to me, but I happy to have a discussion and a vote on this if you prefer?
Perhaps we could also try to get some feedback from first users who attempt to use the template.
Some thoughts-
I am keen on the template as there have been a couple cases where users have described an issue and their preferred solution  via the currently existing channels- creating GH issues and mentioning it on Slack, but gotten no response- perhaps due to our low bandwidth and the fact that the solution that may seem obvious to them is full of unknowns for us (I talked to one such potential contributor at our booth in Kubecon)- by giving them a format how to answer all our possible concerns we can partially fix the current state where the amount of initial investigation and later consideration of all possible edge cases is so much work for maintainers that feature suggestions are not considered and/or PRs don't get reviewed unless the contributor does some social engineering to get it noticed :)

Could there maybe be a small subset of these questions which people answer first, and then if we're concerned we ask them to answer all of the questions just to be sure?

Maybe, but by putting them in one place means that we ourselves will also not forget to consider these aspects- I certainly could easily forget to think about what could be the potential resource increase or impact from extra API calls- so from that perspective feels good if it's there. Again happy to have a vote on this if you think it's needed!
I don't know if people would actually be deterred from adding a feature if they need to fill in design beforehand- I do see that a lot of folks that create issues on Github and remove all the bits of template even the bits that would have actually been useful- however not sure if that's just a small minority

/test pull-cert-manager-e2e-v1-23


build has errors

Following instructions, I cloned this repo and ran ./build.  Here's the output:
gzoller@devel0:~/flannel$ ./build
Building flanneld...
# github.com/coreos/flannel/Godeps/_workspace/src/github.com/vishvananda/netlink/nl
gopath/src/github.com/coreos/flannel/Godeps/_workspace/src/github.com/vishvananda/netlink/nl/xfrm_linux.go:103: function ends without a return statement
# github.com/coreos/flannel/Godeps/_workspace/src/github.com/coreos/go-etcd/etcd
gopath/src/github.com/coreos/flannel/Godeps/_workspace/src/github.com/coreos/go-etcd/etcd/client.go:174: method c.dial is not an expression, must be called
gopath/src/github.com/coreos/flannel/Godeps/_workspace/src/github.com/coreos/go-etcd/etcd/client.go:200: method c.dial is not an expression, must be called
gopath/src/github.com/coreos/flannel/Godeps/_workspace/src/github.com/coreos/go-etcd/etcd/client.go:357: tcpConn.SetKeepAlivePeriod undefined (type *net.TCPConn has no field or method SetKeepAlivePeriod)
gopath/src/github.com/coreos/flannel/Godeps/_workspace/src/github.com/coreos/go-etcd/etcd/requests.go:167: c.httpClient.Transport.(*http.Transport).CancelRequest undefined (type *http.Transport has no field or method CancelRequest)

@gzoller It sounds like you have an older version of Go. Can you check and report via go version. We're using Go 1.3 (I'm on 1.3.3).

Indeed!  Upgraded to go 1.4 and it built fine.  Thanks!
On Fri, Jan 9, 2015 at 2:54 PM, Eugene Yakubovich<EMAIL_ADDRESS>wrote:

@gzoller https://github.com/gzoller It sounds like you have an older
version of Go. Can you check and report via go version. We're using Go
1.3 (I'm on 1.3.3).
—
Reply to this email directly or view it on GitHub
https://github.com/coreos/flannel/issues/109#issuecomment-69397309.


Update README.md

removed LICENSE badge
please see this https://github.com/src-d/enry/pull/176#issuecomment-434157019

That's a different project and thus may have different README. We do have badges in this one.


CONFIGURATION_DOES_NOT_EXIST error

Hi, I'm getting the following error with the endpoint given on the hpp guide page, all others are the same as the hpp guide page.
https://apis.sandbox.globalpay.com/ucp/hpp/transactions         : not working
https://pay.sandbox.realexpayments.com/pay                             : working
{
"error_code": "CONFIGURATION_DOES_NOT_EXIST",
"detailed_error_code": "40041",
"detailed_error_description": "Merchant configuration does not exist for the following combination: internet,dev584231242285950808,EUR."
}
Please let me know what should I change.

NM, I'm able to use https://pay.realexpayments.com/pay


[SPARK-31820][SQL][TESTS] Fix flaky JavaBeanDeserializationSuite

What changes were proposed in this pull request?
Modified formatting of expected timestamp strings in the test JavaBeanDeserializationSuite.testSpark22000 to correctly format timestamps with zero seconds fraction. Current implementation outputs .0 but must be empty string. From SPARK-31820 failure:

should be 2020-05-25 12:39:17
but incorrect expected string is 2020-05-25 12:39:17.0

Why are the changes needed?
To make JavaBeanDeserializationSuite stable, and avoid test failures like https://github.com/apache/spark/pull/28630#issuecomment-633695723
Does this PR introduce any user-facing change?
No
How was this patch tested?
I changed https://github.com/apache/spark/blob/7dff3b125de23a4d6ce834217ee08973b259414c/sql/core/src/test/java/test/org/apache/spark/sql/JavaBeanDeserializationSuite.java#L207 to
new java.sql.Timestamp((System.currentTimeMillis() / 1000) * 1000),

to force zero seconds fraction.

Test build #123109 has started for PR 28639 at commit 3c191a9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27743/
Test PASSed.

Test build #123109 has finished for PR 28639 at commit 3c191a9.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123109/
Test FAILed.

jenkins, retest this, please

@HeartSaVioR @srowen @maropu @cloud-fan @HyukjinKwon Please, review this fix. I think it is related to https://github.com/apache/spark/pull/23854 and https://github.com/apache/spark/pull/24112

Test build #123112 has started for PR 28639 at commit 3c191a9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27746/
Test PASSed.

retest this please

Test build #123114 has started for PR 28639 at commit 3c191a9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27748/
Test PASSed.

Test build #123112 has finished for PR 28639 at commit 3c191a9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123112/
Test PASSed.

thanks, merging to master/3.0!

Test build #123114 has finished for PR 28639 at commit 3c191a9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123114/
Test PASSed.


Is it possible to run carla in parallel

Hi，
I want to run the A3C algorithm. Can I directly set the number workers>0? Do I need a vectorized environment?

I have the same question. Have you found a solution? I look forward to your answer.

Hello,
I have tried solving it but not found the solution. Another method I tried
was making mulitple docker containers of carla and connecting them to a
script for running environment in parallel. I cannot make sure that this
works.
All the best,
Polawar
On Sat, 16 Dec 2023, 13:11 chenfei8888, @.***> wrote:

I have the same question. Have you found a solution? I look forward to
your answer.
—
Reply to this email directly, view it on GitHub
https://github.com/carla-simulator/rllib-integration/issues/22#issuecomment-1858751641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZE334PTUZPJQHDS3JIMBBDYJVGCHAVCNFSM46LDZLJKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBVHA3TKMJWGQYQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you for your reply. I also adopt the same method as you.


Create an auto-setup script for new VPN servers with Ansible

Idea: setup our DEV server as Ansible Host
ToDo: Follow a setup process like the following guide.
Will test this in the next couple of days

The more conceptional article

Completed


Remove "get_unverified_block_squeaks" method from database class

Not used anymore.

https://github.com/yzernik/squeaknode/pull/830


Ffmpeg is already on latest.

apt-get install ffmpeg installs version 4.1.6 which is the latest stable
And the requirement for spotdl is 4.2+ which is unstable or testing.
Check here
https://telegra.ph/file/06dcd1086a455a8f73e05.jpg

https://github.com/spotDL/spotify-downloader#to-ignore-your-ffmpeg-version-run
It may not work tho, you can download static binary and then use https://github.com/spotDL/spotify-downloader#to-use-ffmpeg-binary-that-is-not-on-path-run


Clarify Git LFS installation and verification steps

Why:
Closes: #34292
What's being changed (if available, include any code snippets, screenshots, or gifs):

Clarified instructions: Updated the documentation to clearly separate the steps for updating the global Git configuration and verifying the installation.
Improved verification: Added precise instructions for checking the Git LFS version with git lfs version.
Enhanced clarity: Ensured that the necessary steps for proper Git LFS setup are easily understood.

Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).
[x] For content changes, I have completed the self-review checklist.

@kdotmanoj Thank you for opening a PR ✨
@aledefault Given our conversation in the linked issue, we wanted to give you chance to review this PR 💛 please feel free to ping here once you are finished reviewing!
CC @subatoi

@kdotmanoj Thank you for opening a PR ✨
@aledefault Given our conversation in the linked issue, we wanted to give you chance to review this PR 💛 please feel free to ping here once you are finished reviewing!
CC @subatoi

In my opinion, I'll keep it as close, if not literal to this @subatoi comment.
In addition to that, not only the Linux version should be updated, also Mac (there are more than one installation method) and Windows (if needed) as well.
By the way, there is already a .md talking about "lfs installation verification". It could be interesting to keep the verification quite similar to that.
Sorry I can't be more helpful. I'm on my smartphone with no access to a laptop.

I agree with @aledefault — I misspoke slightly when I singled out line 116. Whilst line 116 does need to change, we also need to change line 48 for macOS.
In both these cases I'd keep it to the one-line change:

Next, make required changes to your global Git config:

In the case of Windows, I think we should leave it as it is, as it's technically correct and it's the path of least resistance—but I'm very open to discussing that.
We could certainly add a reference to the reusable @aledefault mentioned after this new change, so that could go in this PR or a separate one.

Thanks @aledefault & @subatoi for your input!
I'll make single line changes on both lines 48 and 116 and raise PR for now.

@kdotmanoj Thank you for making that update to your PR! ✨ I'll update the branch and get this merged once tests are passing 🍏


Have statistics for labels (pfctl -sl)

Hello,
Would be nice if we could have statistics for labels rules :
-s labels       Show per-rule statistics (label, evaluations,                              packets total, bytes total, packets in, bytes in,                              packets out, bytes out, state creations) of                              filter rules with labels, useful for accounting.                              If -R id is specified as well, only the

Hi,
Here's a sample script that does exactly what pfctl -sl does:
#!/usr/bin/env python

import pf

filter = pf.PacketFilter()
ruleset = filter.get_ruleset()
for rule in ruleset.rules:
    if rule.label:
        stats = (rule.evaluations,
                 rule.packets[0] + rule.packets[1],
                 rule.bytes[0] + rule.bytes[1],
                 rule.packets[0],
                 rule.bytes[0],
                 rule.packets[1],
                 rule.bytes[1],
                 rule.states_tot)
        print "{} {} {} {} {} {} {} {} {}".format(rule.label, *stats)

Best regards,
Daniele

Hello Daniele,
Thanks for you quick feelback.
Best regards.


More robust section landing pages

User story

As a new(ish) user of the Design System, I want an overview of each section that helps me understand what each section covers so that I know where to look for different types of standards.

Pages this applies to

Foundation
Components
Patterns
Pages
Development
Guidelines

Background

Currently each of these landing pages uses the standard template and has a short introductory description of the types of content a user can expect in each section.
It would be nice to consider growing these pages to provide more robust overview of the different components

We've thought about the potential for these pages to have sort of "visual" browse-able view of all the components in each section

Work likely involved

Design discovery around what needs these pages could address and how to best approach those
Content development
Design iteration
Possibly some development work, if the designs require more than what's available in the current template.

This issue was created when we migrated the Design Manual to our current Design System site. During that time, we reviewed all pages to identify potential improvements. As a result, we identified many nice ideas, but the ideas have not been reported by our team's designers or developers as being critical to implement. Because of this, we've decided to close this issue and others in favor of prioritizing issues that have been reported by our designers and developers as being blockers to their work. Thanks!


docs: add lang code to README.md reference urls

PR summary
This PR changes the Reference urls in the README file and as a result when the user clicks on it they will be taken away to IBM's Reference site where the examples will be displayed on the right language, in this case node.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Mean, Median, and Mode Algo added

I just added a algo of Mean, Median, and Mode with code as instructed in readme file

I just added a algo of Mean, Median, and Mode with code as instructed in readme file

Adding a function to calculate MMM is desired
Update the problem number from 6 to 7 because another PR was pushed earlier.
Enclosed the code in README file like:

 {your code goes here}

Format the code


Cant exlude whatsapp audios??

This was actually requested before in #37. In Jockey 2.0, you should be able to hide Whatsapp recordings from your library by using included and excluded folders in the settings page.


Example App: Initial value of slider not matching code snippet

Upon initial launch of the Example App, the code snippet shows a interObjectDelay of (0.025) or 25% of .1s.  However, the actual value of the slider is 30%.  Once an adjustment is made on the slider, the value and code snippet are in sync - it is just on the initial launch of the app.

@wt-johncuthbert have a fix as soon as I can push it.

Verified the initial value is now 25% and matches the code snippet.  Also verified changing slider, value and code snippet still match.


Preload or singleload fonts

Hello,
I am currently working on a project where many pieces of text can use different fonts thus instances of the Font picker can be constructed a lot time within my UI, requesting google fonts any time it happens.
Is there a way to request google fonts only once for any number of picker ?
Thanks.

That shouldn't be happening. I'll look into it.


subset_selectors: fallback policy support healthy threshold

Title: subset_selectors: fallback policy support healthy threshold
Description:
When using the subset fallback capability, is it possible to add an option fallback_healthy_threshold, if the number of healthy nodes in the current subset is lower than the threshold, the fallback will be forced, for example
lb_subset_config:
  fallback_policy: NO_FALLBACK
  subset_selectors:
  - keys:
    - site
    - area
    fallback_policy: KEYS_SUBSET
    fallback_healthy_threshold: 20%
    fallback_keys_subset:
      - zone

Subset uses the site and area to filter the upstream nodes. When the current number of healthy nodes in the site is less than 20%, force fallback logic to increase the overall success rate.

cc. @snowp

This wouldn't be that hard to get working in some fashion, but the presence of multiple priorities etc., make it trickier to come up with a great solution that doesn't have odd edge cases. For example, if the primary subset has two priorities, and all the unhealthy hosts are in the second priority that would normally get 0 traffic, do you still want to fail over?
It kinda seems like we'd want this to work more closely to how priorities work for general load balancing, where you might want to define multiple levels of subsets and have traffic spill over between the desired subsets as the preferred ones go unhealthy. This would be more work but seems to have nicer properties around graceful failover.
@zuercher might have thoughts as well here.

I'm describing the usage scenarios, such as using the subset label to distinguish between us-east and us-west machines. In normal scenarios, the envoy of us-east forwards to the us-east machine of the service, and the minimum delay can be obtained. When the service us-east machine is abnormal, in order to ensure availability, the service can sacrifice time delay and go to the fallback logic without distinguishing between regions.
However, sometimes the exception does not cause all machines to be completely down, but intermittent service interruption. Since not all machines interrupt service at the same time, it is impossible to reach the fallback logic of subset.


Is it possible to provide a custom theme to ReactSyntaxHighlighter

Hi all 👋
Currently using react-syntax-highlighter and I would like to personalize one of the themes.
So I thought I could get, for example, the code from one-dark, paste it in a new file (theme.js) and then import it to use it as the value for style or even customStyle, like this 👇
import theme from './theme'

const CodeBlock = () => {
  return (
     <SyntaxHighlighter
      language={language}
      customStyle={theme}
      showLineNumbers={true}
    >
      {code}
    </SyntaxHighlighter>
  )
}

However (and I'm not sure if this related more with TypeScript), passing theme to customStyle or style gets me
Type '{ 'code[class*="language-"]': { background: string; color: string; textShadow: string; fontFamily: string; direction: string; textAlign: string; whiteSpace: string; wordSpacing: string; wordBreak: string; ... 7 more ...; hyphens: string; }; ... 136 more ...; '.prism-previewer-easing.prism-previewer-easing line': { ....' has no properties in common with type 'Properties<string | number, string & {}>'.
I came across this issue and thought that I was able to pass an entire custom style with classes into customStyle but maybe I was wrong...
Could someone clarify this for me?

@ItzaMi Your theme file should have a type like below:
type style = { [key: string]: React.CSSProperties };
export default {
    "hljs-comment": {
        "color": "#d4d0ab"
    },
    "hljs-quote": {
        "color": "#d4d0ab"
    },
    "hljs-variable": {
        "color": "#ffa07a"
    },
    ...
} as style;

Hi, could you please clarify what exactly you mean @redraskal ?
If I copy your code code into myTheme.ts:
type style = { [key: string]: React.CSSProperties };
export default {
    "hljs-comment": {
        "color": "#d4d0ab"
    },
    "hljs-quote": {
        "color": "#d4d0ab"
    },
    "hljs-variable": {
        "color": "#ffa07a"
    },
    ...
} as style;

and then import it as import theme from './myTheme.ts', it does not apply the style in my case. Is it a problem that this is the only TypeScript file in my project? Everything else is JS in my case?

Hi, could you please clarify what exactly you mean @redraskal ?
If I copy your code code into myTheme.ts:

type style = { [key: string]: React.CSSProperties };

export default {

    "hljs-comment": {

        "color": "#d4d0ab"

    },

    "hljs-quote": {

        "color": "#d4d0ab"

    },

    "hljs-variable": {

        "color": "#ffa07a"

    },

    ...

} as style;

and then import it as import theme from './myTheme.ts', it does not apply the style in my case. Is it a problem that this is the only TypeScript file in my project? Everything else is JS in my case?

Hey, I remember creating a file like this and then using the import with the customStyle prop like in the initial post.
I ended up going with prism and manually set the style with a css file.

Thanks for your super fast reply :)
I have not thought about doing it that way... do you happen to remember how you styled the different code components? Because when I look at them in the HTML source code from my website react-syntax-highlighter does not apply classnames to variable names, strings, etc.

Thanks for your super fast reply :)
I have not thought about doing it that way... do you happen to remember how you styled the different code components? Because when I look at them in the HTML source code from my website react-syntax-highlighter does not apply different classes to variable names, strings, etc (they are all class="token").

No, sorry :( I remember running into performance/styling issues and ended up swapping this with another solution.
Although, this sounds like the highlighter does not recognize the language in your code samples. Maybe you still need to import & reference hljs or prism like in the README https://github.com/react-syntax-highlighter/react-syntax-highlighter#use for the style prop?
"token" is the base class for syntax highlighting. each of these elements should have an additional class to denote the type (see https://gist.github.com/redraskal/2374ad67fb808298d139476c185f0029 for examples of prism styles). The styles for this project are likely similar.
If you used the "light" version of the syntax highlighter, you would also need to call the registerLanguage function.


Unable to run docker image

Hey,
I'm trying to build a keycloak theme using keycloakify and host it on a server.I tried build it from windows using wsl making sure all this was in check from this issue: https://github.com/keycloakify/keycloakify/issues/54
It didn't work. Well i pushed the code to a ubuntu server and tried to build the app there using yarn build-keycloakify-theme but while that worked, when i try to run the docker image built from there, i get this error

Here are my docker file contents:
FROM node:18 as keycloakify_jar_builder

# Install OpenJDK 13
RUN apt-get update && \
    apt-get install -y wget && \
    wget https://download.java.net/java/GA/jdk13.0.1/cec27d702aa74d5a8630c65ae61e4305/9/GPL/openjdk-13.0.1_linux-x64_bin.tar.gz && \
    tar -xvf openjdk-13.0.1_linux-x64_bin.tar.gz && \
    mv jdk-13.0.1 /opt/ && \
    rm openjdk-13.0.1_linux-x64_bin.tar.gz

# Set environment variables for Java
ENV JAVA_HOME=/opt/jdk-13.0.1
ENV PATH=$JAVA_HOME/bin:$PATH

# Install Apache Maven
RUN wget https://mirrors.estointernet.in/apache/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz && \
    tar -xvf apache-maven-3.6.3-bin.tar.gz && \
    mv apache-maven-3.6.3 /opt/ && \
    rm apache-maven-3.6.3-bin.tar.gz

# Set environment variables for Maven
ENV M2_HOME=/opt/apache-maven-3.6.3
ENV PATH=$M2_HOME/bin:$PATH
COPY ./keycloakify-starter/package.json ./keycloakify-starter/yarn.lock /opt/app/

WORKDIR /opt/app

RUN yarn install --frozen-lockfile

COPY ./keycloakify-starter/ /opt/app/

RUN yarn build-keycloak-theme

FROM quay.io/keycloak/keycloak:latest as builder

WORKDIR /opt/keycloak

COPY --from=keycloakify_jar_builder /opt/app/build_keycloak/target/keycloakify-starter-keycloak-theme-4.4.4.jar /opt/keycloak/providers/
RUN /opt/keycloak/bin/kc.sh build

FROM quay.io/keycloak/keycloak:latest
COPY --from=builder /opt/keycloak/ /opt/keycloak/
ENV KC_HOSTNAME=localhost
ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start-dev"]

Your help is greatly appreciated.
Thank you
Prajwal

Sorry this slipped through.
The instructions have been updated.  https://docs.keycloakify.dev/importing-your-theme-in-keycloak


publication date format (date or char) different across searches

pubmed, scopus, springer have pub date as char
ebsco has pub date as date
=> harmonize

Ebsco -> to char

lowercase dates are being annoying

Can deal with these if we care enough! May98

Moved to its own issue (this one was related to data type char date).


How to update?

How do I know when a new version, that is not blacklisted, is available?
Or does this script automatically check for updates?

Because this script installs the NVIDIA Driver Manager, it'll actually prompt you when a new driver is available.
Then simply run this script again. It'll either download the latest version, or inform you you're already on the latest version (which will happen if the newer version has been blacklisted).


fix: weight tooltip issue

SUMMARY

Screen grid visualization shows Weight undefined
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE:

AFTER:

TESTING INSTRUCTIONS

Go to chart list
Select send grid chart.
See if weight is undefined or not in tooltip.

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[x] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

🏷 preset:2022.13


cloudbreak openstack SSL error , after put .crt file in certs/trusted

Dear team
I am trying to use cloudbreak to create Hadoop cluster with our Openstack environment.
but got some errors when create credentials.
Enviroment:

Openstack version:  Juno
CentOS Linux release 7.2

I found the same problem in #948 , and tried the same approach,

copy .crt file into docker
use "keytool -import" to import it into /etc/ssl/certs/java/cacerts
restart container cbreak_cloudbreak_1
run "credential create" and got failed.

CLI:
credential create --OPENSTACK --name ynwm --description "keystone.(masked)" --userName sso --password (masked) --tenantName query-engine-test --endPoint https://keystone.(masked):5000/v2.0/ --sshKeyString "ssh-rsa AAA.....(masked)..5Q== sso_created" --publicInAccount true

error:
Command failed java.lang.RuntimeException: Failed to verify the credential: Could not verify credential [credential: 'ynwm'], detailed message: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I found another document
https://github.com/sequenceiq/cloudbreak-docs/blob/master/docs/openstack/deployer.md
In which it says,

If your OpenStack is secured with a self-signed certificate, you need to import that certificate into Cloudbreak, or else Cloudbreak won't be able to communicate with your OpenStack. To import the certificate, place the certificate file in the generated certs directory /certs/trusted/. The trusted directory does not exist by default, so you need to create it. Cloudbreak will automatically pick up these certificates and import them into its truststore upon start..
so I copied my .crt file into certs/trusted,
and restarted cbd,

[sso@cloudbreak02 ~/tools/cloudbreak-deployment]$ sudo docker exec -it cbreak_cloudbreak_1 bash
root@dd24262dd30c:/# ls -al /certs/trusted/
total 16
drwxr-xr-x 2 root root 4096 Jul 29 01:41 .
drwxr-xr-x 3 root root 4096 Jul 29 01:39 ..
-rw-r--r-- 1 root root 4753 Jul 27 08:17 sso.crt
root@dd24262dd30c:/#

sudo cbd start
sudo cbd util cloudbreak-shell
credential create --OPENSTACK ....(the same with the command above)

however still got the SSL error:
/cbreak_cloudbreak_1 | Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
/cbreak_cloudbreak_1 |  at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
/cbreak_cloudbreak_1 |  at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
/cbreak_cloudbreak_1 |  at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
/cbreak_cloudbreak_1 |  at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
/cbreak_cloudbreak_1 |  ... 82 common frames omitted

Thanks for any possible help

Self response:
This problem is resolved.
Because I imported a wrong .crt file, which is not for our HTTPS server, the "credential create" command failed.
After putting the correct .crt file under "certs/trusted", I created a new
credential successfully.


Add AtomMappingError

Fixes #419. This error should be raised by the derived atom mappers when there is an issue generating mappings.

Tips

Comment "pre-commit.ci autofix" to have pre-commit.ci atomically format your PR.
Since this will create a commit, it is best to make this comment when you are finished with your work.

Checklist

[ ] Added a news entry

Developers certificate of origin

[x] I certify that this contribution is covered by the MIT License here and the Developer Certificate of Origin at https://developercertificate.org/.

pre-commit.ci autofix


Update to Kafka 3.2.3

KAFKA-13587 renames ALTER_ISR to ALTER_PARTITION

Looks good to me.    As kafka client is a provided dependency, there is no issue in the plugin compiling against 3.2.3 while the broker currently uses 3.2.1.

[INFO] Checking direct dependencies for 'test' scope, reporting only conflicts
Error:  org.slf4j:slf4j-api: 1.7.30 (direct) - scope: provided - strategy: default
1.7.25 expected by com.github.charithe:kafka-junit, org.apache.curator:curator-test, org.apache.zookeeper:zookeeper
1.7.30 expected by io.bf2.kas:kas-broker-plugins, org.slf4j:slf4j-log4j12
1.7.36 expected by org.apache.kafka:kafka-clients, org.apache.kafka:kafka_2.13

lgtm, thanks @SamBarker


UI- RKE Templates: Create cluster using an RKE Template for Latest v1.16 fails with API validation error

What kind of request is this (question/bug/enhancement/feature request):
Bug reported by a user
Steps to reproduce (least amount of steps as possible):

Create a new RKE Template  and choose the KubernetesVersion: "Latest v1.16 (allows patch version upgrades)(experimental)" - NO override.
Go to Add Cluster, set all node-template, clustername and other required paremeters and choose this template from the dropdown to create the cluster
Click "Create"
Create fails and you get API validation error. Error message as shown in the screenshot
This usecase also reproduces for an RKE Template for Latest v1.15.x Kubernetes Version.

Result:

Cluster cannot be created

Other details that may be helpful:

This usecase fails intermittently - some timing issue involved - create a cluster immediatey after adding the new template

HTTP traffic captured shows that the "answers" sent by UI contain the "rancherkubernetesconfig.kubernetesVersion" as incorrect value due to which API validation fails.

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.3.0
Installation option (single install/HA): single fresh install

Tested with rancher v2.3.1-rc2.
Create a new RKE Template and revision R1 and choose the KubernetesVersion: "Latest v1.16 (allows patch version upgrades)(experimental)" - NO override.
Create cluster with revision R1
Cluster creation was successful with no errors.
This use case was tested with K8s version with Latest v1.15, Latest  v1.14 . No errors were observed . K8s version was correctly sent through the UI.


Add include file

Hello,
I have a cpp file with many #include <tlist.hpp>
When I try to compile with a setup file, the builder can't find the file.
I try to modify the configuration include_dirs=['pybind11/include','C:\Users\ME\FILES'],  but it doesn't work.
Do you have an idee ?
Thanks.
Documentation : https://docs.python.org/3/distutils/setupscript.html
System : Windows 10
IDE : Visual Studio 2019

@piedacoulisse -- thank you for your question. It looks like you're having an issue with the product itself, rather than an issue with the documentation. Here are a few options where you might consider asking your question:

https://social.msdn.microsoft.com/Forums/vstudio
https://www.stackoverflow.com
https://www.reddit.com/r/VisualStudio/

As well, you might also consider using the Report a Problem tool to report the issue.
I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


Add ability to reset local store on code incompatibility changes

Add ability to reset local store on code incompatibility changes
Fixes #36

Codecov Report

Merging #45 (f297929) into main (8d9c79e) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
+ Coverage   96.29%   96.37%   +0.08%
==========================================
  Files           7        7
  Lines         351      359       +8
==========================================
+ Hits          338      346       +8
  Misses         13       13

Impacted Files
Coverage Δ

gcal_sync/const.py
100.00% <100.00%> (ø)

gcal_sync/event_sync.py
96.22% <100.00%> (+0.57%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


make error in Raspberry pi 3 when I install opencv

Please state the information for your system
Raspberry Pi 3
In which part of the OpenCV library you got the issue?
When I install opencv for Raspnerry Pi 3
unzip opencv-2.4.9.zip
cd ~/opencv/opencv-2.4.9
mkdir release
cd release
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
then make
Expected behaviour
Actual behaviour
I got below error: what can I do?
[ 16%] Built target opencv_imgproc
[ 16%] Generating opencv_features2d_pch_dephelp.cxx
Scanning dependencies of target opencv_features2d_pch_dephelp
[ 16%] Building CXX object modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o
Linking CXX static library ../../lib/libopencv_features2d_pch_dephelp.a
[ 16%] Built target opencv_features2d_pch_dephelp
Scanning dependencies of target pch_Generate_opencv_features2d
[ 16%] Generating precomp.hpp
[ 16%] Generating precomp.hpp.gch/opencv_features2d_RELEASE.gch
[ 16%] Built target pch_Generate_opencv_features2d
[ 16%] Built target opencv_highgui_pch_dephelp
[ 16%] Built target pch_Generate_opencv_highgui
[ 16%] Building CXX object modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o
In file included from /home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:60:0,
                 from /home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg.cpp:45:
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/ffmpeg_codecs.hpp:104:7: error: ‘CODEC_ID_H264’ was not declared in this scope
     { CODEC_ID_H264, MKTAG('H', '2', '6', '4') },
       ^
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/ffmpeg_codecs.hpp:105:7: error: ‘CODEC_ID_H264’ was not declared in this scope
     { CODEC_ID_H264, MKTAG('h', '2', '6', '4') },
       ^
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/ffmpeg_codecs.hpp:106:7: error: ‘CODEC_ID_H264’ was not declared in this scope
     { CODEC_ID_H264, MKTAG('X', '2', '6', '4') },
       ^
...
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/ffmpeg_codecs.hpp:258:7: error: ‘CODEC_ID_NONE’ was not declared in this scope
     { CODEC_ID_NONE, 0 },
       ^
In file included from /home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘double CvCapture_FFMPEG::getProperty(int)’:
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:773:33: error: ‘AVStream’ has no member named ‘r_frame_rate’
         return av_q2d(video_st->r_frame_rate);
                                 ^
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function ‘double CvCapture_FFMPEG::get_fps()’:
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:820:49: error: ‘AVStream’ has no member named ‘r_frame_rate’
     double fps = r2d(ic->streams[video_stream]->r_frame_rate);
                                                 ^
In file included from /home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg.cpp:45:0:
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp: In function ‘int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)’:
/home/pi/opencv/opencv-2.4.9/modules/highgui/src/cap_ffmpeg_impl.hpp:1236:72: error: ‘avcodec_encode_video’ was not declared in this scope
         out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
                                                                        ^
modules/highgui/CMakeFiles/opencv_highgui.dir/build.make:100: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o' failed
make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
CMakeFiles/Makefile2:1767: recipe for target 'modules/highgui/CMakeFiles/opencv_highgui.dir/all' failed
make[1]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Additional description
Code example to reproduce the issue / Steps to reproduce the issue
Please try to give a full example which will compile as is.
#include "opencv2/core.hpp"
#include <iostream>
using namespace std;
using namespace cv;

int main()
{
    double d[] = { 546,2435,7,4534,23423,3 };
    cout << "d = 0x" << reinterpret_cast<void*>(d) << endl;

    return 0;
}

You should try to use newer OpenCV 2.4.x versions (include 2.4 branch directly).


[EditorPlugin] Mouse Click Input doesn't work in a SubViewport when running it in the Editor.

Godot version
4.2.dev5
System information
Godot v4.2.dev5 - Windows 10.0.22621 - Vulkan (Forward+) - dedicated AMD Radeon(TM) RX 6500 XT () - Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz (12 Threads)
Issue description
Mouse Click Input doesn't work in a SubViewport when running it in the Editor.
https://github.com/godotengine/godot/assets/57235054/33ee09fc-9747-45fd-b585-2d7c36c05e31
Steps to reproduce

Create Project
Add Plugin with Control that contains SubViewport
Attach to dock or main

Minimal reproduction project
EditorCameraTest.zip

Hey, I tried testing this using the Minimal reproduction project by making the buttons listen to the 'pressed' event and adding some 'print' statements in those signal handlers. I do see some print output on my end which makes it seem like the click is going through. I'm on 4.2.dev, pulled master this morning. I could be missing something though. Hopefully others can chime in here.

I'm having this same issue in a plugin I am working on
I am running Godot_v4.2.1-stable_linux.x86_64
@adeneve I also tested the Minimal reproduction project and could not get it to work in the editor when adding some prints to a pressed event

Ok, thanks for the update @adamb53. I will try checking again when i get the time and report back with more details (if it's not resolved by then). I might be missing a step.

Thanks for confirming @adeneve !


cups 2.4.8 on Fedora: printer's Job list renders "Not Found" webpage!?!

Version: cups 2.4.8
OS: Fedora 40
I use cups in the browser as "http://localhost:631/" :
The local web page
http://localhost:631/printers/HP_Color_LaserJet_MFP_M578
works fine, but
http://localhost:631/printers/HP_Color_LaserJet_MFP_M578?which_jobs=completed
and
http://localhost:631/printers/HP_Color_LaserJet_MFP_M578?which_jobs=all
result in a blank/white web page with only the text "Not Found".
HOWEVER, the local web pages
http://localhost:631/jobs?which_jobs=completed
and
http://localhost:631/jobs?which_jobs=all
work fine.
Any idea why I get the "Not Found" website?
Is it a bug of cups 2.4.8, or something got corrupted in the cups configuration?
Thank you!
-S.R.

For the current version of CUPS that is used on other operating systems, see https://openprinting.github.io/cups for details.


Is there a suggested method for dealing with browsers disallowing third party cookies without disabling cookies altogether?

We have an angular application using Application Insights that we're displaying on another site via an iframe and both Chrome and Firefox are warning that in future versions they will be dropping support for third party cookies and blocking the ai_user and ai_session cookies entirely.
Screenshot from firefox:

Chrome:

We have this same issue with our identity related cookies on this embedded site, but we could fix that by adding the Partitioned attributes to our cookies (google docs, mozilla docs) when they're initially written, but it doesn't seem like Application Insights has hooks for that currently
Is there any guidance on how we can handle this now or any features in the pipeline that would allow us to handle this situation without disabling the user tracking cookies entirely?
Steps to Reproduce

Host two sites with different domains (A, B)
Set up application insights on site B
Display site B within site A via an iframe
See warnings in latest versions of Firefox and Chrome with default security settings

Interesting use-case, the key portion is point 1 host two sites with different domains.
I've tagged as an enhancement as this could be added as an optional configuration that could be used by the CookieMgr code.
Are the 2 domains related? ie. is there a common base domain?
If there is you can use the cookieDomain (or cookieCfg.domain) configuration to tell the SDK to use that as the domain when setting / creating cookies, rather than defaulting to the hosting page domain.
The existing cookie configuration options are here with the typedoc here

We have 25 .NET web apps that each run inside IFrames in the same way. (on a separate domain from the top page frame) We're in the middle of remediating them all with other cookies in use (i.e., adding partition keys), but could not find a way for the App Insights cookies to be similarly partitioned using its SDK. It doesn't appear to currently support it, and without it, our use of of the SDK is going to break when Chrome & Edge are updated in August. We really need to be able to adopt an updated SDK and test long before then.

One thing you can do in the meantime is to provide your own setcookie implementation. The default version (when you don't provide one is here, so the "value" is the content of the cookie so you (should) be able to just append the Partitioned value to the string, you can even target it based on the specific cookie name if needed.


Error with factories.structs[:relation] after upgrade to 0.7.0

In-memory struct creation that worked under 0.6.0 no longer works with 0.7.0
Factories defined as:
factories.define(:account) do |f|
  f.email { fake(:internet, :email) }
  # ...
end

factories.define(:member) do |f|
  f.association(:account)
  f.name { fake(:name) }
  # ...
end

When I call factories.structs[:member], I get the following error:
[ROM::Struct::Member.new] :account is missing in Hash input (Dry::Struct::Error)

I believe the problem is related to this line:
https://github.com/rom-rb/rom-factory/blob/94d29ea71292c6cff75177a5f990f3e7c37450ae/lib/rom/factory/tuple_evaluator.rb#L50
Before that method call, attributes does contain a value for the :account key, afterwards it does not.

Hi @jswanner! Thank you for issue. We definitely should fix it in the next releases.
As a workaround you can move association(:account) to a trait.

An example with pg_range attribute.
Factory.define(:announcement) do |f|
  f.when { Date.tomorrow.to_time.change(hour: 10)..Date.tomorrow.to_time.change(hour: 12) }
end

Factory[:announcement] # works
Factory.structs[:announcement] # doesn't work in 0.7.0

# Sequel::InvalidValue:
#       invalid or unhandled range format: "2018-12-06 10:00:00 +0300..2018-12-06 12:00:00 +0300"

@cutalion It's a separate issue.

Can somebody provide a reproduction script? I didn't manage to reproduce this


fix: minor adjustment for some solutions

Signed-off-by: Frost Ming<EMAIL_ADDRESS>

Thanks, merged!


Gateway not getting listed (istio classic)

Bug Description
Hello,
I followed the Create a gateway (bookinfo istio-classic)
It got installed under default NS.
When I try to list the Gateway it is not found.?  I do not understand why the Gateway is not getting listed.
kubectl get gateway  shows nothing
On the other hand the Gatway API variant, shows that the Gateway is present.
Version
➜  ~ istioctl version
client version: 1.17.1
control plane version: 1.17.1
data plane version: 1.17.1 (10 proxies)

➜  ~ kubectl version --short
Client Version: v1.26.0
Kustomize Version: v4.5.7
Server Version: v1.26.3

Additional Information
No response
Affected product area

[ ] Ambient
[ ] Docs
[X] Installation
[X] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

I think this is really a k8s issue that Istio happens to be impacted by. Basically there are two "gateway" defined by 2 CRDs. kubectl has some logic to pick which one. I don't know the logic but it seems to prefer the Gateway API one.
To work around this you can use the short name (which happens to not conflict with the other one) kubectl get gw or the fully qualified name: kubectl get gateways.networking.istio.io

I think this is really a k8s issue that Istio happens to be impacted by. Basically there are two "gateway" defined by 2 CRDs. kubectl has some logic to pick which one. I don't know the logic but it seems to prefer the Gateway API one.
To work around this you can use the short name (which happens to not conflict with the other one) kubectl get gw or the fully qualified name: kubectl get gateways.networking.istio.io

Yep it works!!
@howardjohn Thank you for the information. It is good to know that there are work around.


add svg logo and replace png version

Ever since I got a 4k screen, this has been bothering me. I found a full svg version of the RabbitMQ logo inside of one of the images on http://www.rabbitmq.com/blog/2010/10/19/exchange-to-exchange-bindings/#more-40, extracted it with inkscape, and optimized it with svgo. Also, now it lines up with the margin of the page, which is nice.
Before:

After:

Oh, and the logo looks a bit wider because the png version on the website header right now is resized from 277px wide to 253px. I removed the width attribute, so now it matches the copy on http://rabbitmq.com/trademark-guidelines.html

Thank you very much for you time! Unfortunately we cannot merge it as it loses the trademark bit (and yes, it is important to Pivotal's legal team).
The site is undergoing a redesign so we will see if an SVG version of the current logo makes sense after that's done.

It's weird that your legal team would ask for that, given that almost no other companies put a TM icon in their logo, but I don't care enough to research it further.
If you reopen the PR I can add the TM bit... Pushing to a closed PR breaks stuff: https://github.com/isaacs/github/issues/361

All uses of the RabbitMQ design should be with the ® symbol. Thanks Sean.

@slang800 sorry but @dcarwin-pivotal suggests it should be the ® symbol, not ™.

A copyright symbol would be an odd change, since your trademark-guideline page says the logo is a trademark. Are you sure @dcarwin-pivotal's message wasn't just mistyped?
With the new commit it looks like this:

If you want it changed I'll do that tomorrow.

Thank you. Our design has changed with #352. Please rebase and re-submit if you think this is still relevant.

no need - the new site uses an SVG logo


Wrong links in docs for mwc branch

When I click on one of the links for a component in the Components table on this page https://github.com/material-components/material-web/tree/mwc it still links to the master branch, resulting in a 404.
For example, clicking on <mwc-button> links to https://github.com/material-components/material-web/tree/master/packages/button while this should be https://github.com/material-components/material-web/tree/mwc/packages/button.

@EstebanG23 Might want to close this one as well

This is fixed looks like.


Problem when installing

pi@raspberrypi:~/MagicMirror/modules/internet-monitor $ npm install
npm WARN<EMAIL_ADDRESS>No repository field.
audited 18 packages in 3.812s
found 0 vulnerabilities

Same issue any idea how to resolve?

It's just a check as of NPM; they report this as a warning.
It means that the repository field in package.json is blank, but not mandatory anyway.


Read.me is lacking information

The read.me file is too brief.  It needs an improved description.

Please feel free to add more to it, and open a pull request with the changes.


Association named 'product_category' was not found on Shoppe::Product

Followed the instructions from here (http://tryshoppe.com/docs/tutorials/products) twice (second time copying and pasting to eliminate errors) but I get this message. I've restarted the server twice but I can't see what I've done wrong.

The first time I also put Shoppe into demo mode but could never disable it again as you couldn't change settings once in demo mode.
Really like what your doing though. I think my Mum might actually be able to manage the back end.

Ah this may be due to the change with product categories. I'll see if I can update the tutorial over the weekend

That would be fantastic. Thanks very much. Once you've done that I'll keep going and holler if I find any more bugs. :+1:

got same problem, edit line#4 in products_controller.rb to be
    @products = Shoppe::Product.root.ordered.includes(:product_categories, :variants)

is works for me

@paplm Thank's I'll try this.

Yep this works! :+1:


Better random number generator for UUID v4

When openssl isn't available, mt_rand doesn't provide enought entropy, i.e. it is not a not cryptographically strong random number generator (as stated here http://php.net/manual/en/function.mt-rand.php).
The @ircmaxell random number generator (https://github.com/ircmaxell/RandomLib) always tend to provide better entropy by using multiple random sources, using it decreases drastically the risk of collision when we want to generate a large amount of random UUID.

Thank you for your interest in this library and your time in putting together this contribution!
Please take a look at version 3.0.0-alpha3. The 3.0 series provides this ability. You may use it like this:
$uuidFactory = new \Ramsey\Uuid\UuidFactory();
$uuidFactory->setRandomGenerator(new \Ramsey\Uuid\Generator\RandomLibAdapter());
\Ramsey\Uuid\Uuid::setFactory($uuidFactory);

$uuid = \Ramsey\Uuid\Uuid::uuid4();

I appreciate your time and effort, but I won't be able to accept this PR, since the functionality already exists in the next version.

Understandable :+1:


Podcast filename not escaped properly

Newsboat version (copy from newsboat -v):
newsboat r2.12-133-g1ad8c - https://newsboat.org/
Copyright (C) 2006-2015 Andreas Krennmair
Copyright (C) 2015-2018 Alexander Batischev
Copyright (C) 2006-2017 Newsbeuter contributors
Copyright (C) 2017-2018 Newsboat contributors
Newsboat is free software licensed under the MIT License. (Type `/home/jagan/p/newsboat/newsboat -vv' to see the full text.)
It bundles JSON for Modern C++ library, licensed under the MIT License: https://github.com/nlohmann/json
newsboat r2.12-133-g1ad8c
System: Linux 4.18.0-pf6 (x86_64)
Compiler: g++ 4.2.1 Compatible Clang 6.0.1 (tags/RELEASE_601/final)
ncurses: ncurses 6.1.20180127 (compiled with 6.1)
libcurl: libcurl/7.61.1 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.33.0 (compiled with 7.61.1)
SQLite: 3.25.2 (compiled with 3.25.2)
libxml2: compiled with 2.9.8
Steps to reproduce the issue:

Add https://rss.art19.com/merriam-websters-word-of-the-day to urls file.
Use download-path   ~/Podcasts/%n, %n is the important part.
When you try to play the episode from podboat, I get

[file] Cannot open file '/home/jagan/Podcasts/Merriam-Webster%27s Word of the Day/2017-12-23-flamboyant.mp3': No such file or directory
Failed to open /home/jagan/Podcasts/Merriam-Webster%27s Word of the Day/2017-12-23-flamboyant.mp3.

since the actual file is "/home/jagan/Podcasts/Merriam-Webster's Word of the Day/2017-12-23-flamboyant.mp3".

Currently hitting the issue more often after the change to using podcast episode title in the filename. Just a heads up since we might see this more often if people use titles in the filename.

So we need to call utils::unescape_url somewhere; the only question is, where exactly?
I guess Podboat has to do that after reading the "queue" file, in src/queueloader.cpp:117. Not ready to reproduce this and dig deeper right now.

I am thinking it could be https://github.com/newsboat/newsboat/blob/master/src/pb_controller.cpp#L448. I don't understand why ' should be replaced with %27 for a file that is on disk.

Perhaps it was an easy way out of string-escaping mess: if ' is turned into %27, the whole string can be wrapped in single quotes and passed to shell.

What if we use ’ instead? I recently ran into an episode which used the proper quotes.

it's still a hack no matter what symbol we use ;) To move this issue forward, I think the following should be done:

find out what function is allergic to that single quote, why do we have to turn it into something else;
change the function we found so it escapes its arguments itself, so we don't have to do it on the caller's side.

Attention should be paid to backwards compatibility. Since I don't yet have all the pieces to the problem, I can't say if this matters here or not, but remember that newer Newsboats should be able to work with queue files that were created by older Newsboats.

Hard for me to advise if I don't know what the edge cases are there, and how exactly you fixed this. Can you submit your changes as a pull request so I can take a look, please?

Sure

@zaowen did you manage to submit that PR?

@j605 no, my idea wasn't working and i got busy with school.


Nix flake references missing tag

Got this error trying to build the Nix flake of xc:
error: builder for '/nix/store/74v5qw81fb0i086dpdika0l7x64bzskb-source.drv' failed with exit code 1;
       last 8 log lines:
       >
       > trying https://github.com/joerdav/xc/archive/v1.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       >   0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (56) The requested URL returned error: 404
       > error: cannot download source from any mirror
       For full logs, run 'nix log /nix/store/74v5qw81fb0i086dpdika0l7x64bzskb-source.drv'.
error: 1 dependencies of derivation '/nix/store/n1qg37v3vyy9jkfsi2s911q3sl35v42s-xc-v1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/s3c2r2zkj5ply2zfrlffbvab0rk7riwa-nix-shell-env.drv' failed to build

See https://github.com/a-h/templ/actions/runs/10522354139/job/29154820457
Note the URL https://github.com/joerdav/xc/archive/v1.tar.gz - it refers to a tag / release that doesn't exist.
Probably because this workflow failed: https://github.com/joerdav/xc/actions/runs/10456243715/job/28953104043

Yes, that was a fat-finger on my part, I meant to push this tag to the github actions repo.

I've fixed the flake, did that work?


Do you need some help to sort/close the issues ?

I saw a lot of noise in the issues about people that just don't read errors messages. Do you need a hand to clear this ?
You can add me as a collaborator if you need a hand. I will always make a PR for changes/fixes.

Thanks for adding me, I will try to help sometimes :)


Umple reference comment is not working correctly

When we define a method inside a Umple file, in the generated code we have a reference to Umple file. Looks like, someone has broken it.
Check out the following example
//file: test.ump
use test1.ump;
class A{
	void test(){
		//test
	}
}

//file: test1.ump
use test2.ump;
class A{
	void test1(){
		//test1
	}
}

//file: test2.ump
class A{
	void test2(){
		//test 2
	}
}

Generated code:
  // line 4 "test2.ump"
  public void test2(){
    //test 2
  }

  // line 4 "test2.ump"
  public void test1(){
    //test1
  }

  // line 49 "test2.ump"
  public void test(){
    //test
  }

@bitwizeshift This may be related to your refactoring

Hmm, I'll look into this when I get the chance.
I think this may be related to the getRelativePath method.

I just went back to a commit made prior to the pull-request regarding the getRelativePath method, and it does appear that this is to blame for the issue. I'm surprised there aren't any tests that would have caught this problem initially.
I'll have to look into this further.

@bitwizeshift  Thanks.

I've found the problem; looks like I forgot to set the source filename in a couple locations in the jet files when I was refactoring the getRelativePath.
I'll make the changes and have a PR in a few hours.


show-stopper bug:  dragging for no reason

Dragging starts for no reason.  I don't notice until the mouse is another place in the file.  I am having trouble getting a repeatable sequence, even though it happens often.
The package is pretty much useless until this is fixed.  I need help figuring out how to repeat this.

fixed in 0.2.2


Fix composer autoloading

Fix for #240 and #238

Thank you for the pull request @Petah!
In order to merge, we need a signed CLA: https://github.com/sendgrid/sendgrid-php/blob/v3beta/CONTRIBUTING.md#clas-and-cclas and passing tests. I can work with you on the tests, but first we need that CLA signed. Thanks!
With Best Regards,
Elmer


Node box is missing packages

The Nodebox needs to be fixed and more tuned towards having packages that our campers would typically need for doing the back-end projects and API projects.
The workshopper modules can be removed. We can also look at the existing repository under fcc-org and keep core-packages.

which packages should we target @alayek ?

@koustuvsinha :point_up: June 1, 2016 2:11 PM


HTML-Proofer found 1 failure! -> Error: Process completed with exit code 1.

Checklist

[x] I have read the newlest tutorials and know the correct effect of the functional design.
[x] There is no similar question on existing issues (including closed ones).
[x] I have tried to find the answer on Jekyll Forum and StackOverflow.
[x] My question is based on the latest code of the master branch.

Description

Hello, while installing the Chirpy theme and updating the post, Deployment Failed appears and asks you questions.
There is a place where the formula was written using latex in the midreport of the posts folder, but I'm asking you because I don't know if it's causing a problem. The error code appears as follows.

Can you tell me how to solve it?

You can disable the proofing by editing tools/deploy.sh. Comment out the
test

line in function main.
Mostly likely this works but I'm not really sure how useful this check is. Sort of use at your own risk /laugh


Truncate or prevent overly-long sender addresses, for SES compatibility.

Amazon SES has an (undocumented) limit on the size of address fields, and reject email with too-long From addresses, as follows:
Transaction failed: Address length is more than 320 bytes long: '=?utf-8?b?Zcy3zYLMvc2SzIrNjM2SzL3Ni8yIzYbNi82CzZ3Nhc2NzKfNmcygzLnMoMyuzK0=?= =?utf-8?b?zZPMocyizYfNiM2czKHMncykzJ94zLjMiMyFzJrNjM2dzL7Nis2SzILNis2gzYE=?= =?utf-8?b?zIfNhM2RzZjNksyBzZvNhsyPzIvMu8yezKjMp8yqzJ7Muc2czLNhzLfNisyIzL0=?= =?utf-8?b?zJXNoMyMzJrNkc2EzZ3Mi8yNzYDMjMy9zL7Mi82KzYrMh82DzZ3MjMyNzJLMn8yg?= =?utf-8?b?zLnMqsyjbcy0zZ3NisyUzJXMkMyZzLDMmcyizYXMusyizKDMrcyozY7Mrs2TzYc=?= =?utf-8?b?zK/MosyXzLvNhcyucMy3zIXMk82KzJrNg82YzJvNkcyIzZjNjM2MzL7Mvs2IzZk=?= =?utf-8?b?zKvMq8yezKTNnMyozYnMrcyvzKLMr8yWzJ3MucydzJ3MscyvzJbMoMy5zZRszLg=?= =?utf-8?b?zILMgcyPzIvMjM2AzIbMkMyCzYHMkMyEzI/Nks2YzZDMiMyIzIjMucywzKbMqs2V?= =?utf-8?b?zJ/MssyizLDNnMymzKvMs82UzK/Mu2XMuMyDzZDNhs2DzJvNm8yDzInMiM2bzJM=?= =?utf-8?b?zJXMv8yFzIXMkcyczJw=?=<EMAIL_ADDRESS>
This example header is the result of "zalgo" text, and, when formatted, looks like:
From: ȩ̷̡̢̡͍͙̠̹̠̮̭͓͇͈̝̤̟͂̽͒̊͌͒̽͋̈͆͋͂͜͝ͅẍ̸̨̧̻̞̪̞̹̳̅͌̾͊͒̂͊́̇̈́͑͒́͛͆̏̋̚͘͜͝͠a̷̟̠̹̪̣͊̈̽̌͑̈́̋̍̀̌̽̾̋͊͊̇̓̌̍̒̕̚͠͝͝m̴̢̢̨̢̙̰̙̺̠̭͎̮͓͇̯̗̻̮͊̔̐̕͝ͅͅp̷̨̢̛͈͙̫̫̞̤͉̭̯̯̖̝̹̝̝̱̯̖̠̹͔̅̓͊̓͑̈͌͌̾̾̚͘͘͜l̸̢̹̰̦̪͕̟̲̰̦̫̳͔̯̻̂́̏̋̌̀̆̐̂́̐̄̏͒͐̈̈̈͘͜ẽ̸̛̜̜͐͆̓͛̃̉̈͛̓̿̅̅̑̕<EMAIL_ADDRESS>
This is bad because it results in dropped email notifications, and the users have no feedback as to why they are no longer receiving email from Zulip.
We have a couple options:

Attempt to truncate the name before sending, such that the RFC 2047-encoded address is under 320 bytes.  This is potentially complicated, as we need to worry about not splitting multibyte characters mid-character, as well as dealing with combining characters; this might be a possible starting point.
Prevent such long names to begin with, at the UI level.  This may be a confusing requirement to explain to the user, since the "length" limit is in the encoded form, which is non-trivial to understand for non-technical audiences.  It also would not address names that come in via e.g. LDAP import.

None of this would address with folks whose email address is A<EMAIL_ADDRESS>however, since there's no way to truncate that.

I think regardless of whether we try to prevent these long names in the UI, we'll want to truncate them when necessary at send time -- there will be names that bypass the UI via LDAP, or Slack import, or predating that change (or else we have to have a migration to truncate them), etc.
Once we're truncating, it's inevitably going to be a bit crude, and I think anything that causes the mail to go through is still an improvement. (In the extreme case: dropping the name entirely and just keeping the address itself would be a major improvement over not sending the mail.) Truncating it at a codepoint boundary is probably good enough not to be worth trying to do anything fancier.
(In fact, in that example, it probably actually comes out best if we don't try to treat "base character plus all its combining characters" as a unit! Better to have the last letter missing some of its diacritics than to have the letter itself missing.)

It might actually generally be the case that for this corner case, it'd be better to just drop the name entirely; I don't think it's likely to be common for names to be too long, and it's not important to have the name in the To lines -- so we're more likely to upset someone by truncating their name badly than by just not including it.
@mateuszmandera @hackerkid FYI.

I think that's a good solution -- nobody's going to notice if we're sending to<EMAIL_ADDRESS> Also very much easier to implement and be confident of. :)

So the idea would be to re-send the email with the name dropped, if the first sending attempt gets rejected like above?

I was envisioning that when constructing the email, we would switch to email-only if the full name was longer than 320 characters.  But we could also try sending both ways -- I think the difficulty is that there are a large number of reasons that the SMTP send could fail, and no consistency to error codes, and hardcoding an SES error message to check against seems fraught.
Oh, and apparently 320 bytes is the max length allowed per RFC.  So making sure we stay within that seems reasonable. :)

Somewhat relatedly, these sorts of failures show up as mail.send() raising SMTPDataError; we should ideally catch that and re-raise it as EmailNotDeliveredException, instead of propagating up the SMTPDataError.

@zulipbot claim


Bumping aioasuswrt

Description:
This should fix #18281 but would need more testing from someone having the problem.
Related issue (if applicable): fixes #18281
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If the code communicates with devices, web services, or third-party tools:

[x] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.

This cannot be added to the milestone because the asuswrt component was reworked since the release, having the dependency in a different place. I'll manually fix it.

https://github.com/home-assistant/home-assistant/pull/18481/commits/43271ca0f7ff5d9ceaf337a9a7cb344c4f14ac4e

Thanx @balloob

Updated to 0.82.1 and still with problems, this error from LOG:
"Updating device list from asuswrt took longer than the scheduled scan interval 0:00:12"
Already tried to delete known_devices.yaml, I receive an error that the file does not exist, it's not created a new one.

Still broken in 0.82.1.

Please open an issue if you suspect a bug. If you need help please use our help channels:
https://home-assistant.io/help/#communication-channels
Merged PRs should not be used for support or bug reports. Thanks!


zsh: command not found: compdef

Is anyone testing under zsh? I get the below (though I may just not understand something; I'm not a regular zsh user):
[ddrucker@ic-linux7]~% zsh --version
zsh 5.0.2 (x86_64-redhat-linux-gnu)
[ddrucker@ic-linux7]~% . ./goto.sh
./goto.sh:446: command not found: compdef

Can you please append this to your .zshrc file:
autoload bashcompinit
bashcompinit

and try again?

No change.

That's strange :thinking: I can't reproduce it.

This thread might help you.

Ok, it looks like this is an issue with Red Hat's packaging of zsh.  I'll close and anyone who encounters this can refer to that thread.


Feature: Enable Javascript minify

Hi,
Intrigued by wanting to minimize the code generated by Packup, I initially thought of using "Terser" (https://terser.org), after running Packup, to reduce the size of the generated JS file...
Then searching in ESBuild documentations I came across the "minify: true" directive of the "build()" function.
So I added that directive to packup and tried to run the build command and indeed it works!
Now, I don't know if you haven't added it for some reason, but in case I send this pull request to add the functionality.

@giuseppe998e Thank you for looking into this!

Now, I don't know if you haven't added it for some reason, but in case I send this pull request to add the functionality.

I wanted to optimize for build time for packup serve command. So I avoided to enable this by default. But I think this makes sense for static build. So I'd suggest we should enable minify only for packup build command.

Ah Yes! You're totally right.
I will resubmit the PR if I can correct this.