Fix plots in PDF report

Working on issue #53, improving the plots in the PDF report.

I confirmed that the masked arrays get plotted correctly, although I noticed that I needed to use circle markers to make sure every non-masked data point actually shows up in the plots.
The two figures currently look like this (this is W17 data):

Some questions for @hrwakeford:

[ ] Do we want the masked data points to appear too, but e.g. in a different color or with a different marker (or both)?
[ ] Could you check all the labels and units and let me know if there is something we need to change?

Yes it would be good to plot the missing points in grey with an alpha of 0.7 (or similar).
The labels on the Marginalization plot look good. The labels of the light curve plot need to be more specific. The top: "Raw lightcurve".
Middle: "best-fit model" and "Corrected lightcurve"
Both top and middle are Y-axis = normalised flux.
Bottom: "standard deviation bound" the points do not need to be labeled as the Y-axis will tell them what it is the Y-axis = Residuals (ppm)

The first caption should be:
Top: Evidence-based weight associated with each systematic model when fit with the data. Middle: Standard deviation of the residuals after correcting for each systematic model. Bottom: Radius ratio measured from the transit depth when the light curve has been corrected using each systematic model.
The second caption:
Top: Input lightcurve with no systematic model correction applied. Middle: Lightcurve corrected by highest weight systematic model plotted with the smooth planetary transit model centred on the mid-transit time. Bottom: Residuals and uncertainties associated with the middle panel lightcurve. The upper and lower standard deviation bounds are shown in dotted lines relative to zero.

Captions and labels adjusted, see below.
I also added plot points for he masked values and sent separately to @hrwakeford for review.


Failed to init autograder server

According to the docs, I download the binary file from the release page, and then run:
./autograder-server --init --email<EMAIL_ADDRESS>panic: Config File "config" Not Found in "[/etc/autograder-server /mnt/sda/user/.autograder-server /mnt/user/autograder]"

goroutine 1 [running]:
main.serverReadConfig()
        /home/runner/work/autograder-server/autograder-server/cmd/autograder_server.go:171 +0x393
main.main()
        /home/runner/work/autograder-server/autograder-server/cmd/autograder_server.go:268 +0xbc

If I try to generate the config first ./autograder-server --config, there is still same errors above.
IIUC, it seems that the serverReadConfig() function is called before processCommandLineOptions()?
https://github.com/howardlau1999/autograder-server/blob/b1057e8e906585f2735efc4b895347c0c089d278/cmd/autograder_server.go#L277-L286

fixed

fixed

It seems that the problems still occur when I use the latest release version.
Could you help me to check whether the binary works well? Thanks.


[requires.io] dependency update on master branch

Codecov Report

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

@@          Coverage Diff           @@
##           master     #11   +/-   ##
======================================
  Coverage    89.8%   89.8%
======================================
  Files           8       8
  Lines         471     471
======================================
  Hits          423     423
  Misses         48      48

Continue to review full report at Codecov.

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


linguist-type flag

It would be nice if linguist-type could be set on in the .gitattributes file in the same way linguist-language may be.
Specifically as a way to override things like SQL files being marked as data files, rather than programming.

👍


Sidebar Dev.

Sidebar development for Litmus Portal UI screens.

close by this PR- https://github.com/litmuschaos/litmus/pull/1595


Passcode realted changes:

[x]  No passcode required to enter the app if it's running in the background ,only after it was completely closed.
[x] App backup doesn't require to enter passcode to open like the wallet seed words in wallet settings.
[x] Send doesn't require entering passcode/biometric(so basically if the phone is open and the app is in the background it's possible to send any amount without passing identification,which is a security concern).

https://github.com/bithyve/bitcoin-keeper/assets/61345820/26f36971-53a3-4c82-8631-efe3d6ab325c
https://github.com/bithyve/bitcoin-keeper/assets/61345820/e5b741be-75f9-4385-a635-6442bc72737a

https://github.com/bithyve/bitcoin-keeper/assets/61345820/de4e831a-9ae1-4e23-9c47-4e0b32cee209

Verified this issue on keeper app v 1.1.7(259)

Verified this issue on keeper app v 1.1.7(262)


HDDS-8622. Intermittent failure in TestSecureOzoneCluster#testDelegationTokenRenewCrossCertificateRenew

What changes were proposed in this pull request?
The renewKey() isn't atmoic. If the assertion ran before CertificateNotification, it fails. To fix it, make sure the whole renewKey() function finished.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8622
How was this patch tested?
Before Fix: Test fails Intermittently in latest master for TestSecureOzoneCluster#testDelegationTokenRenewCrossCertificateRenew.
https://github.com/chungen0126/ozone/actions/runs/6217620462
After Fix: Succeeded in all 10 * 10 run for TestSecureOzoneCluster#testDelegationTokenRenewCrossCertificateRenew.
https://github.com/chungen0126/ozone/actions/runs/6223604476

Thanks @chungen0126 for the fix, @jojochuang for the review.


Erase the previous processed WindowPartition in RowStreamingWindowBuild

Erase the previous processed WindowPartition in RowStreamingWindowBuild.

In Velox we track the memory by plan node memory pool or global spill memory pool. In gluten the memory pool for plan node is counted into offheap size, the global spill memory pool is counted into overhead. But there are much memory allocation in Velox which isn't tracked. The common issue is to allocate a potential per row std::vector which can be very large. Because each partition can have like 1G row, then even a std::vector<rowVector*> can take 8G memory.
The solution is 1) try best to avoid the per row std::vector 2) if we have to use the per row std::vector, define it as std::vector<X, memory::StlAllocator<char*>>.
To this issue, it's common case that each partition has one row, so eventually it's a per row std::vector.

In Velox we track the memory by plan node memory pool or global spill memory pool. In gluten the memory pool for plan node is counted into offheap size, the global spill memory pool is counted into overhead. But there are much memory allocation in Velox which isn't tracked. The common issue is to allocate a potential per row std::vector which can be very large. Because each partition can have like 1G row, then even a std::vector<rowVector*> can take 8G memory.
The solution is 1) try best to avoid the per row std::vector 2) if we have to use the per row std::vector, define it as std::vector<X, memory::StlAllocator<char*>>.
To this issue, it's common case that each partition has one row, so eventually it's a per row std::vector.

Thanks @FelixYBW. So you are saying the memory consumption comes from https://github.com/facebookincubator/velox/blob/main/velox/exec/WindowPartition.h#L239.
The fix is fine imo.
But maybe we should also define rows_ with StlAllocator.

In Velox we track the memory by plan node memory pool or global spill memory pool. In gluten the memory pool for plan node is counted into offheap size, the global spill memory pool is counted into overhead. But there are much memory allocation in Velox which isn't tracked. The common issue is to allocate a potential per row std::vector which can be very large. Because each partition can have like 1G row, then even a std::vector<rowVector*> can take 8G memory.
The solution is 1) try best to avoid the per row std::vector 2) if we have to use the per row std::vector, define it as std::vector<X, memory::StlAllocator<char*>>.
To this issue, it's common case that each partition has one row, so eventually it's a per row std::vector.

Thanks @FelixYBW. So you are saying the memory consumption comes from https://github.com/facebookincubator/velox/blob/main/velox/exec/WindowPartition.h#L239.
The fix is fine imo.
But maybe we should also define rows_ with StlAllocator.

@aditi-pandit I will file another pr to add the StlAllocator after this pr merged. Thanks.

@xiaoxmeng Can you help to merge this PR? Thanks.

@xiaoxmeng Can you help to merge this PR? Thanks.

Hold on please. I haven't verified.

@aditi-pandit can you take a look again? It's an important fix for common OOM issue from customer side.

@JkSelf : Can we have a test for this code specifically ? Would be great if you can add something.

@JkSelf : Can we have a test for this code specifically ? Would be great if you can add something.

@aditi-pandit The existing unit tests here can verify this changes.

@JkSelf : Can we have a test for this code specifically ? Would be great if you can add something.

@aditi-pandit The existing unit tests here can verify this changes.

@JkSelf : Agree. But I would've expected this error to be caught by a test like https://github.com/facebookincubator/velox/blob/main/velox/exec/tests/WindowTest.cpp#L154
It would be great to write a test with the previously failing input data so that we are assured that this code is working.

@aditi-pandit @FelixYBW Resolved all your comments. Can you help to review again? Thanks. I updated the pool capacity from 8MB to 4MB here and the oom will occur without this PR.

@aditi-pandit @FelixYBW Resolved all your comments. Can you help to review again? Thanks. I updated the pool capacity from 8MB to 4MB here and the oom will occur without this PR.

Thank you! Ke. Did you also add test to have a large window partition? It's used to test that input and output partition are the same one.

@aditi-pandit @FelixYBW Resolved all your comments. Can you help to review again? Thanks. I updated the pool capacity from 8MB to 4MB here and the oom will occur without this PR.

Thank you! Ke. Did you also add test to have a large window partition? It's used to test that input and output partition are the same one.

@FelixYBW  I added the test in https://github.com/facebookincubator/velox/pull/11077/files#diff-9f41a5e1a8da742fc53f54ba85588678cdb81ffb05b38eefebe21ad5138def8eR221 to evaluate huge window partitions. Based on previous experience https://github.com/facebookincubator/velox/pull/10883, this test may cause issues with the meta CI when dealing with large window partitions.
My suggestion is to use the existing rowBasedStreamingWindowOOM test and reduce the memory capacity from 8MB to 4MB.

@aditi-pandit Any more comments?

The current PR can't fix the window OOM issue any more. Let me check.


Alter BlobClientBase.openSeekableByteChannelRead() to return the BlobProperties fetched when making the channel

Change signature. API is unreleased so the change does not break.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-storage-blob


Collaboration with oshi

I'm the lead maintainer for OSHI, a project that looks to have similar goals to yours in providing Java access to operating system/hardware information.   The main difference appears to be that OSHI depends on JNA and native code, while you're primarily focused on command-line scripting.  Additionally OSHI works on OS X.
A brief review of your code shows some bits I'd like to use as inspiration for features in OSHI.  Similarly I'd be interested in helping contribute a mac OS X port to your code.   Let me know how best we can coordinate our efforts.
I'll be adding a link to your project from my README.

Hi,
I did not now OSHI project before. If I did maybe I would never start mine :-)
The first version of jHarware used JNI in order to scrap data from system, but I realized that at the end I could get Linux information using commands and Windows information using WMI queries, so I rewrite all in pure Java.
Of course, you can take everything you want from jHardware and I will add a link to OSHI in my README. I will take a closer look to that project when I find time...
Nice to meet you and thank you for your help

Happy to help!  You have some cool information (network, bios) that I have not yet implemented and it appears you have some sudo capability as well, which is nice.   I think our projects can be very complimentary to each other.


Trying to run the first app with flutter

Launching lib\main.dart on sdk gphone x86 arm in debug mode...
Running Gradle task 'assembleDebug'...

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
Exception: Gradle task assembleDebug failed with exit code 1

C:\Users\Philip\AndroidStudioProjects\flutter_app1234>flutter doctor -v
[√] Flutter (Channel stable, 1.22.6, on Microsoft Windows [Version 10.0.19042.804], locale en-ZA)
• Flutter version 1.22.6 at C:\src\flutter\flutter
• Framework revision 9b2d32b605 (5 weeks ago), 2021-01-22 14:36:39 -0800
• Engine revision 2f0af37152
• Dart version 2.10.5
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\Philip\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
X No Java Development Kit (JDK) found; You must have the environment variable JAVA_HOME set and the java binary in your PATH. You can download the JDK from
https://www.oracle.com/technetwork/java/javase/downloads/.
[!] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[!] Android Studio
• Android Studio at C:\Program
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
X android-studio-dir = C:\Program
X Android Studio not found at C:\Program
• Try updating or re-installing Android Studio.
• Consider removing your android-studio-dir setting by running:
flutter config --android-studio-dir=
[√] Connected device (1 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
! Doctor found issues in 3 categories.
C:\Users\Philip\AndroidStudioProjects\flutter_app1234>flutter config --android-studio-dir='C:\Program Files\Android\Android Studio'
Setting "android-studio-dir" value to "'C:\Program".
You may need to restart any open editors for them to read new settings.

Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.

What went wrong:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 7s

You can close this ticket...


bump Dart SDK to >=3.5.0

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.82%. Comparing base (0f3d674) to head (89c1c36).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   85.82%   85.82%
=======================================
  Files          16       16
  Lines         381      381
=======================================
  Hits          327      327
  Misses         54       54

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can't generate graph image with docker image.

Graphviz may not be installed:
Traceback (most recent call last):
File "/usr/local/miniconda2/envs/crnenv/bin/fmriprep", line 9, in
load_entry_point('fmriprep', 'console_scripts', 'fmriprep')()
File "/root/src/preprocessing-workflow/fmriprep/run_workflow.py", line 162, in main
workflow.write_graph()
File "/usr/local/miniconda2/envs/crnenv/lib/python2.7/site-packages/nipype/pipeline/engine/workflows.py", line 444, in write_graph
format_dot(dotfilename, format=format)
File "/usr/local/miniconda2/envs/crnenv/lib/python2.7/site-packages/nipype/pipeline/engine/utils.py", line 1044, in format_dot
raise IOError("Cannot draw directed graph; executable 'dot' is unavailable")
IOError: Cannot draw directed graph; executable 'dot' is unavailable

Latest image of oesteban/crn_nipype has graphviz. Should work if you re-build your docker image.


puppet-rsyslog won't install on Puppet Open Source 6

Affected Puppet, Ruby, OS and module versions/distributions

Puppet:
puppet6-release-6.0.0-5.el7.noarch
puppetserver-6.5.0-1.el7.noarch
puppet-agent-6.8.1-1.el7.x86_64

Ruby:
default included in Puppet 6

Distribution:
CentOS Linux release 7.6.1810 (Core)

Module version:
3.3.0

How to reproduce (e.g Puppet code you use)
puppet module install puppet-rsyslog --version 3.3.0
What are you seeing
module fails to install due to dependency problem
What behaviour did you expect instead
successful installation
Output log
[root@host ~]# puppet module install puppet-rsyslog --version 3.3.0
Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
Notice: Downloading from https://forgeapi.puppet.com ...
Error: Could not install module 'puppet-rsyslog' (???)
No version of 'puppet-rsyslog' can satisfy all dependencies
Use puppet module install --ignore-dependencies to install only this module
[root@host ~]#
Any additional information you'd like to impart
We have a clean Puppet 6 installation (no upgrades from earlier installs)
Here is the dependency list:
puppetlabs-stdlib (>= 1.0.0 < 6.0.0)
puppetlabs-concat (>= 2.0.0 < 6.0.0)
puppetlabs-apt (>= 5.0.0 < 7.0.0)
stdlib must be less than 6.0.0 for this module to install.  This will break on clean installations of Puppet 6.  Don't know about the other dependencies....

This issue is fixed in puppet-rsyslog >= 4.0.0
Unfortunately, we generally don't backport fixes into old versions


Conversion function from bosdyn_api_msgs package not working as intended

When trying to call the conversion function:
bosdyn_api_msgs.conversions.convert_bosdyn_api_list_available_models_response_proto_to_bosdyn_api_msgs_list_available_models_response_message

defined as:
def convert_bosdyn_api_list_available_models_response_proto_to_bosdyn_api_msgs_list_available_models_response_message(
    proto_msg: bosdyn.api.network_compute_bridge_pb2.ListAvailableModelsResponse, ros_msg: bosdyn_api_msgs.msg.ListAvailableModelsResponse
) -> None:
    """Convert from bosdyn.api.ListAvailableModelsResponse Protobuf messages to bosdyn_api_msgs/ListAvailableModelsResponse ROS messages."""

on a ListAvailableModelsResponse proto fetched from Spot, I encounter the following exception:

Exception has occurred: AttributeError       (note: full exception trace is shown but execution is paused at: _run_module_as_main)
'CustomParamSpec' object has no attribute 'value'
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6234, in convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message
ros_msg.spec.value = rclpy.serialization.serialize_message(typed_spec_message)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6300, in convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message
convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message(proto_msg.value, ros_msg.value)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6271, in convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message
convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message(input_specs_item, output_specs_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6391, in convert_bosdyn_api_one_of_param_child_spec_proto_to_bosdyn_api_msgs_one_of_param_child_spec_message
convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message(proto_msg.spec, ros_msg.spec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6456, in convert_bosdyn_api_one_of_param_spec_specs_entry_proto_to_bosdyn_api_msgs_one_of_param_spec_specs_entry_message
convert_bosdyn_api_one_of_param_child_spec_proto_to_bosdyn_api_msgs_one_of_param_child_spec_message(proto_msg.value, ros_msg.value)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6427, in convert_bosdyn_api_one_of_param_spec_proto_to_bosdyn_api_msgs_one_of_param_spec_message
convert_bosdyn_api_one_of_param_spec_specs_entry_proto_to_bosdyn_api_msgs_one_of_param_spec_specs_entry_message(input_specs_item, output_specs_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6099, in convert_bosdyn_api_custom_param_spec_proto_to_bosdyn_api_msgs_custom_param_spec_message
convert_bosdyn_api_one_of_param_spec_proto_to_bosdyn_api_msgs_one_of_param_spec_message(proto_msg.one_of_spec, ros_msg.spec.one_of_spec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6233, in convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message
convert_bosdyn_api_custom_param_spec_proto_to_bosdyn_api_msgs_custom_param_spec_message(proto_msg.spec, typed_spec_message)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6300, in convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message
convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message(proto_msg.value, ros_msg.value)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6271, in convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message
convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message(input_specs_item, output_specs_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 9855, in convert_bosdyn_api_model_data_proto_to_bosdyn_api_msgs_model_data_message
convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message(proto_msg.custom_params, ros_msg.custom_params)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 9813, in convert_bosdyn_api_available_models_proto_to_bosdyn_api_msgs_available_models_message
convert_bosdyn_api_model_data_proto_to_bosdyn_api_msgs_model_data_message(input_data_item, output_data_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 9780, in convert_bosdyn_api_list_available_models_response_proto_to_bosdyn_api_msgs_list_available_models_response_message
convert_bosdyn_api_available_models_proto_to_bosdyn_api_msgs_available_models_message(proto_msg.models, ros_msg.models)
File "/home/ros2_ws/build/spot_ncb_rms_actions/spot_ncb_rms_actions/list_actions.py", line 135, in timer_callback
raise(e)
File "/home/ros2_ws/build/spot_ncb_rms_actions/spot_ncb_rms_actions/list_actions.py", line 135, in timer_callback
raise(e)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 107, in await_or_execute
return callback(*args)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 351, in _execute_timer
await await_or_execute(tmr.callback)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 437, in handler
await call_coroutine(entity, arg)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/task.py", line 239, in call
self._handler.send(None)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 736, in _spin_once_impl
raise handler.exception()
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/executors.py", line 739, in spin_once
self._spin_once_impl(timeout_sec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/rclpy/init.py", line 222, in spin
executor.spin_once()
File "/home/ros2_ws/build/spot_ncb_rms_actions/spot_ncb_rms_actions/list_actions.py", line 239, in main
rclpy.spin(list_actions_node)
File "/home/ros2_ws/install/spot_ncb_rms_actions/lib/spot_ncb_rms_actions/list_actions_node", line 33, in
sys.exit(load_entry_point('spot-ncb-rms-actions', 'console_scripts', 'list_actions_node')())
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main (Current frame)
return _run_code(code, main_globals, None,
AttributeError: 'CustomParamSpec' object has no attribute 'value'

The exception doesn't occur for every ListAvailableModelsResponse proto, but for most of them it does. It looks like the function is not handling the proto fields properly.
I tried to dig into it a little bit, but I was not able to identify the exact cause of the issue as the call stack and the proto themselves are quite convoluted and not really straightforward to debug. Being autogenerated functions, I guess the root cause probably lies in conversions.py.jinja.
If it helps to investigate the problem, I provide attached two pickled ListAvailableModelsResponse protos, one that fails and one that succeeds. You can do a simple unpickle and provide them directly as input to the function to reproduce the bug on your side:

ListAvailableModelsResponseThatSucceeds.zip
ListAvailableModelsResponseThatFails.zip

Both the provided ListAvailableModelsResponse protos are associated with two native Boston Dynamics models returned by Spot (they are not custom-developed models).

Thanks for the report @bobcorn! We'll look into it.

I took a look. There seems to be an issue in how dependency cycles in message definitions are broken up. Conversion and message definition do not seem to agree on which edge of the dependency graph should be type erased.

@bobcorn I'm unable to reproduce. Could it be that you are populating our ROS message equivalent inappropriately? The console output you shared suggests that message field that should have been type erased wasn't.

@mhidalgo-bdai thank you for taking the time to investigate.
Actually, I do not populate the ROS message equivalent, but create an empty instance of it which I then pass as input to the conversion function. For example:
import pickle

from bosdyn.api.network_compute_bridge_pb2 import ListAvailableModelsResponse
from bosdyn_api_msgs import conversions as bosdyn_api_conv
from bosdyn_api_msgs.msg import ListAvailableModelsResponse as ListAvailableModelsResponseMsg

# Create an empty instance of the ROS message equivalent.
ncb_response_msg: ListAvailableModelsResponseMsg = ListAvailableModelsResponseMsg()

# Load the ListAvailableModelsResponse proto.
with open('ListAvailableModelsResponseThatFails.pkl', 'rb') as file:
    ncb_response: ListAvailableModelsResponse = pickle.load(file)

# Try to populate the ROS message equivalent with the proto information.
bosdyn_api_conv.convert_bosdyn_api_list_available_models_response_proto_to_bosdyn_api_msgs_list_available_models_response_message(ncb_response, ncb_response_msg)

This should reproduce the error on your side, raising the following traceback:

Traceback (most recent call last):
File "/home/ros2_ws/src/spot_ncb_rms_actions/spot_ncb_rms_actions/list_actions.py", line 12, in
bosdyn_api_conv.convert_bosdyn_api_list_available_models_response_proto_to_bosdyn_api_msgs_list_available_models_response_message(ncb_response, ncb_response_msg)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 9780, in convert_bosdyn_api_list_available_models_response_proto_to_bosdyn_api_msgs_list_available_models_response_message
convert_bosdyn_api_available_models_proto_to_bosdyn_api_msgs_available_models_message(proto_msg.models, ros_msg.models)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 9813, in convert_bosdyn_api_available_models_proto_to_bosdyn_api_msgs_available_models_message
convert_bosdyn_api_model_data_proto_to_bosdyn_api_msgs_model_data_message(input_data_item, output_data_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 9855, in convert_bosdyn_api_model_data_proto_to_bosdyn_api_msgs_model_data_message
convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message(proto_msg.custom_params, ros_msg.custom_params)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6271, in convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message
convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message(input_specs_item, output_specs_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6300, in convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message
convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message(proto_msg.value, ros_msg.value)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6233, in convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message
convert_bosdyn_api_custom_param_spec_proto_to_bosdyn_api_msgs_custom_param_spec_message(proto_msg.spec, typed_spec_message)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6099, in convert_bosdyn_api_custom_param_spec_proto_to_bosdyn_api_msgs_custom_param_spec_message
convert_bosdyn_api_one_of_param_spec_proto_to_bosdyn_api_msgs_one_of_param_spec_message(proto_msg.one_of_spec, ros_msg.spec.one_of_spec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6427, in convert_bosdyn_api_one_of_param_spec_proto_to_bosdyn_api_msgs_one_of_param_spec_message
convert_bosdyn_api_one_of_param_spec_specs_entry_proto_to_bosdyn_api_msgs_one_of_param_spec_specs_entry_message(input_specs_item, output_specs_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6456, in convert_bosdyn_api_one_of_param_spec_specs_entry_proto_to_bosdyn_api_msgs_one_of_param_spec_specs_entry_message
convert_bosdyn_api_one_of_param_child_spec_proto_to_bosdyn_api_msgs_one_of_param_child_spec_message(proto_msg.value, ros_msg.value)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6391, in convert_bosdyn_api_one_of_param_child_spec_proto_to_bosdyn_api_msgs_one_of_param_child_spec_message
convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message(proto_msg.spec, ros_msg.spec)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6271, in convert_bosdyn_api_dict_param_spec_proto_to_bosdyn_api_msgs_dict_param_spec_message
convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message(input_specs_item, output_specs_item)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6300, in convert_bosdyn_api_dict_param_spec_specs_entry_proto_to_bosdyn_api_msgs_dict_param_spec_specs_entry_message
convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message(proto_msg.value, ros_msg.value)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/bosdyn_api_msgs/conversions.py", line 6234, in convert_bosdyn_api_dict_param_child_spec_proto_to_bosdyn_api_msgs_dict_param_child_spec_message
ros_msg.spec.value = rclpy.serialization.serialize_message(typed_spec_message)
AttributeError: 'CustomParamSpec' object has no attribute 'value'

Regarding this question:

Could it be that you are populating your ROS message equivalent inappropriately?

Since a DictParam.Spec can contain an arbitrary number of nested dictionaries (ideally, infinite), I'm not sure how I could populate the message differently in an agnostic way with respect to the content of the dictionaries themselves. I thought the conversion function was supposed to take care of that. Am I missing something maybe?
Thank you again for your time.

Hmm, this runs deep. I was able to reproduce using released binaries. I couldn't yesterday on built from source binaries, now I can but the failure mode is different. It looks like the algorithm that breaks dependency cycles via type erasure is not stable, which results in different builds of the same sources yield different message definitions :scream:
FYI @amessing-bdai @tcappellari-bdai

@mhidalgo-bdai thank you so much for your effort on this.
I pulled the new release 41b3177b73ef9a5ecff2bd932085ac25a7841b22, but unfortunately I still encounter the exact same error by running the provided sample script. I have re-checked several times that I have built the right code, and I can confirm that I am using the latest version.
Does the new release fix the error on the provided protobuf on your side? Just to understand if the issue is persisting only on my side for some reason.

@bobcorn the binary release came out an hour ago over at https://github.com/bdaiinstitute/bosdyn_msgs/releases/tag/4.0.2-1. I can no longer reproduce any failures with the MRE you shared above.


[Wildcard Variables] IntelliJ support

This issue tracks the wildcard variables work needed for IntelliJ.
If no work needs to be done, feel free to close it.
cc @jwren

https://youtrack.jetbrains.com/issue/IDEA-355469/New-Dart-language-feature-Wildcard-Variables

I believe that this is a no-op.  YouTrack issue created for Alex to validate this as well.

Alex also validated that there's no work needed.
Closing this issue now.
Thanks @jwren!


cannot upload app to Teams admin

Mgmt.AppCatalog.LOBApp.Upload.BadRequest.Error
I have tried this in demo environment and my own environment but still get this error.  I have uploaded apps in the past with no problem.  Some blogs suggest something wrong in the manifest file but I think that was an old issue.  Seems to be a problem. If it cannot be fixed we cannot test it and therefore it will not be any use for an organisation.

Please respond to the above query

Unable to upload the manifest folder to this location. Please assist .  Thank you


Update new expression2 file comment

Makes it a little more modern.
Can be used to tell players that don't sit on Discord/don't follow GitHub updates what's new.
Informs regulars players about events/lambdas.

I feel like updates shouldn't be in there as it'll likely rarely be updated.

If so, it can be renamed to latest features, to inform about latest big stuff

My point still stands then, a string in a file somewhere isn't a good way to display new features and will simply age poorly.

My point still stands then, a string in a file somewhere isn't a good way to display new features and will simply age poorly.

I don't think a lot of people will remember to include their changes in there.
If there was a way to automate it, that would be great.

Thanks @Periapsises, I commited them

I think the changelog is going to be more trouble than it's worth. I'd like an in-editor changelog feature as well but I haven't thought on how to best approach such a thing.
The phrase "and their benefits" seems a little tacky in my opinion. :P

Changelog - well tbh no idea, you lads can keep it or remove it, I don't really mind.
But "And their benefits" is for those that doesn't want to learn new things, and switch to better ways of doing things.

Regarding news, I think separate file with new and old news can easily be added, which later on could be used to show news, with an inbox icon (similar to credits icon) with a read/not read support. Code wise it would just be a panel with static text from the said file

Well, it can be done like that. To be honest I don't particulary care about the description format as much, as about it being informative about concepts that aren't easily discoverable by E2Helper (lambdas, events, and why @strict) mainly


Support more Git hooks

I am running Gittyup v1.1.2 on Ubuntu 20.04 via flatpak.
Expected behaviour:
In a Git repo with executable files at .git/hooks/pre-commit and .git/hooks/post-commit, committing some changes should run those two scripts immediately before and after the commit, respectively.
Actual behaviour:
The commit succeeds but the two files do not execute.
I'm afraid I don't know enough about these things to know if

this is a security limitation of flatpaks and can only be solved by installing some other way;
this can be solved by editing the app permissions;
this is a bug in the code;
this would be an enhancement.

I have not tested whether the other Git hooks are triggered (by push, receive, etc.).

Currently, only the pre-push hook is supported, although I'm not sure if this works with flatpak.
@Murmele do you know if flatpak needs additional permissions to execute programs outside its sandbox even if they're within opened directories?

Also, the pre-push requires bash for some reason? I think this restriction should be lifted

currently for the merge commands we are leaving the flatpak sandbox.
there we are using flatpak-spawn --host sh -c "<command>" to execute a command on the host system. It works withouth any additional permissions

It depends on what is written in the script. If some host commands are used then it will not work. If just common commands are used I have to check

@exactly-one-kas how it behaves without sandbox? Do I have to do chmod +x first on those files, or is git able to execute them without?

Git calls them as executables and requires the executable bit to be set, so I'd say we should use flatpack-spawn --host "<path to hook>"

Git calls them as executables and requires the executable bit to be set, so I'd say we should use flatpack-spawn --host "<path to hook>"

yes I think that makes it easier. The question is are we then going around some sandboxing features?

Since we're running arbitrary scripts on the host, I'd say yes. Can we run them inside the sandbox or is that prevented?

I think that should be also possible.

I just implemented a prepare-commit-hook and learned gittyup does not execute it. I see this functionality as very important, as the hooks are one of the few ways to mitigate some of the worst design fails of git...
So from me: please, hooks are important, please implement

Hi, so if i understand well, git hooks are not supported yet only in the flatpak version ? If i compile it from source i will not be sandboxed and the pre-commit hook will be executed ?

No, currently we do not support hooks. The problem is that libgit2 does not
support this. In this case we have to execute them manually and this is not
yet implemented
Anselme FRANÇOIS @.***> schrieb am Mo., 4. Nov. 2024,
13:35:

Hi, so if i understand well, git hooks are not supported yet only in the
flatpak version ? If i compile it from source i will not be sandboxed and
the pre-commit hook will be executed ?
—
Reply to this email directly, view it on GitHub
https://github.com/Murmele/Gittyup/issues/261#issuecomment-2454602466,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACNBWTP7Q7L6POMODCYIY5DZ65SXRAVCNFSM6AAAAABJSDQ5QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGYYDENBWGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks.
By the way for context i found the related libgit2 issue where they discuss on hook support : libgit2/libgit2#964
They will indeed never support hooks because they don't want to be responsible for calling external processes, so they assume every app using libgit2 will have to reimplement their own hooks.

Yes exactly

We have already a few external calls, for example for the merge tool / diff tool, so this code could be checked out for implementation details
https://github.com/Murmele/Gittyup/blob/80231ac219d45edc579dd4d65dc255861ec585ff/src/tools/EditTool.cpp#L75-L91

Of course its unsafe - but it is git which introduced the hooks, so a lib which mimics git command.... anyway, one could improve security if the app at first start scans the hooks and stores checksums for all hook files. Then, if there is a new or changed file, request the users consent...
Thats not really safe, also but if one would be able to commit the file containing the checksums, chances are good an altered file would be detected.
Or what about use a VCS for the hook files? :-)

We could have already that problem with the merge tools. Just fake for example kdiff3 by adding a script called the name of the mergetool somewhere and if the path is before the correct binary, we execute that script instead of the real merge tool :)
In this case we could bundle all merge tools within the package, but it is a lot more effort

any updates on this?
pre-commit is used reqularly in my projects
and my CI breaks if the hooks don't run :)


fix: on name validation, issue #1390

Solved issue on newLogin.html #1390

Title : Solved issue on newLogin.html, where numbers were sent to database in name field.
Issue No. : #1390
Code Stack : Javascript
Close #1390

Description
In the registration page, number can be inputted into the db. So I used JavaScript validation to solve the issue.
Now only letters can pass through.
Video/Screenshots (mandatory)

Type of PR

[X] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have performed a self-review of my code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[X] I have gone through the  contributing.md file before contributing
[X] I have Starred the Repository.

Additional context:

##Are you contributing under any Open-source programme?

GSSOC 2024 Extended and Hacktoberfest 2024

[X] I am contributing under GSSOC'24 Extended
[X] I am contributing under Hacktoberfest'24

Please don't forget to add postman tag before merging :)


Improve imagemin perfomance

Image minifier plugin is having a poor performance. Try to improve compression rate replacing the compressor plugin. Replace to use imagemin instead of imagemin-newer maybe? (more configurable)

@AsLogd could you take a look at this?

I just tried to compress the background using imagemin with a couple of its plugins for png and had no luck (no apparent gain with respect to imagemin).


Potential bug about dual_value by pywraplp

Hi, I was using "pywraplp" to solve a LP and wanted to get the dual value corresponding to some of the constraints. Below is the problem setup:
from ortools.linear_solver import pywraplp

cost = [[100, 120], [150, 140]]
# Instantiate a Glop solver.
solver = pywraplp.Solver('SolveLP', pywraplp.Solver.GLOP_LINEAR_PROGRAMMING)

num_workers = len(cost)
num_tasks = len(cost[1])
x = {}

# Objective: minimize the total cost.
objective = solver.Objective()
for i in range(num_workers):
    for j in range(num_tasks):
        x[i, j] = solver.NumVar(0.0, 1.0, 'x[%i,%i]' % (i, j))
        objective.SetCoefficient(x[i, j], cost[i][j])

objective.SetMinimization()

worker_constraints = {}
# Each worker is assigned to at most 1 task.
for i in range(num_workers):
    worker_constraints[i] = solver.Constraint(0.0, 1.0, 'c[%i]' % i)
    for j in range(num_tasks):
        worker_constraints[i].SetCoefficient(x[i, j], 1)

# Each task is assigned to exactly one worker.
for j in range(num_tasks):
    solver.Add(solver.Sum([x[i, j] for i in range(num_workers)]) == 1)

status = solver.Solve()

if status == solver.OPTIMAL:
    for i in worker_constraints:
        print `worker_constraints[i].dual_value()

The resulting dual values for the two worker_constraints are -50 and 0, respectively. However, I think by definition, the dual value for the first work_constraint (corresponding to worker 0) should be -20 since adding an additional worker 0 will reduce the objective function by 20. Specifically, the primal optimal solution is worker 0 -> task 0 and worker 1 -> task 1, which has cost 240. Adding one more worker 0, the optimal solution becomes worker 0 -> task 0 and worker 0 -> task 1, which has cost 220.

@lperron just wanted to bump this up and get your feedback on this. Thanks!

Thanks, we will have a look.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2017-06-20 0:24 GMT+02:00 jianzhe-luo<EMAIL_ADDRESS>
@lperron https://github.com/lperron just wanted to bump this up and get
your feedback on this. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/419#issuecomment-309590532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17RwBEhy_qveaUEKvCZooBcYXbPQkks5sFvUGgaJpZM4N6g1h
.

Really appreciate that!

Have you tried with another solver (CLP_LINEAR_PROGRAMMING)?
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
2017-06-20 0:24 GMT+02:00 jianzhe-luo<EMAIL_ADDRESS>
@lperron https://github.com/lperron just wanted to bump this up and get
your feedback on this. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/419#issuecomment-309590532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17RwBEhy_qveaUEKvCZooBcYXbPQkks5sFvUGgaJpZM4N6g1h
.

Thanks for the recommendation! CLP_LINEAR_PROGRAMMING produced the correct dual value -20, so we can use it as a workaround for our application for now. However, I am still interested in GLOP_LINEAR_PROGRAMMING as if I understand it correctly GLOP is the in-house LP solver, which means its performance is supposed to be better than CLP.

Has any progress been made on this potential bug ?  I've built a pretty large optimisation model (20K variables, 10K constraints) where a range of capacity constraints is the blocking factor for higher performance.  Nevertheless, the dual values for all of these constraints appear to be 0, which does not really make sense.  So I was wondering whether there is truely a bug in these dual value calculation.

I'm also curious to know whether or not this has been addressed.  I'm currently using GUROBI_LINEAR_PROGRAMMING, and I'm seeing some results calculated using the dual values that looks suspicious.  There may be other explanations for the suspicious results (e.g., a bug in my code), but if the dual values are wrong, as the above thread suggests they might be, that would explain the suspicious results I'm seeing.

Notably, if I switch from using GUROBI_LINEAR_PROGRAMMING to using CLP_LINEAR_PROGRAMMING, as @lperron suggested above, the results of my calculation involving the dual values make a lot more sense.  This suggests that the dual values returned when using GUROBI_LINEAR_PROGRAMMING are incorrect.

I am not the expert here but:

I do not believe there is only one canonical dual value formula for a given problem
I trust Gurobi
this thread does not suggest there is a bug with gurobi

reviving a thread that is 5 years old is a bad habit :-( Most likeky everything is out of context, comparing codes that are vastly different...


Typo: Add missing {{ }}

Nginx ingress does not seems to be working because of this ;)
reference: https://github.com/kubernetes/ingress/commit/8fc6101d3ba11a1117d211bdac6104dab7af8eeb

This change is

/lgtm

@killfill Thanks!

Coverage decreased (-0.02%) to 43.542% when pulling 1aec6665388b0a575a3a31c85bbdb38bb43afa4e on killfill:fix-nginx-ingress-typo-401 into 180d0dfca2ff30fd09088876b63b5b75d6504601 on kubernetes:master.


Error Handling no network connection

Mind if I take a look at this?

sure @connorkendrick

Would you mind if I cleaned up the line spacing and Pydoc function comments while I'm at it? I can leave it alone or do it in another PR if you want.

Never mind, I'll leave that to another PR.


downgrade 'previously indexed' cert warning to debug

This fixes #3498

I'm slightly torn on this. There could be useful sometimes to know that you have overlapping SNIs on two (or more) certificates. Maybe I did that intentionally, or  maybe I've screwed things up? Although, as long as some SNI matches, I guess things are good? @shinrich Thoughts?

[approve ci clang-format]


Code changes, restructuring and more.

Core Directory

The directory Core houses some features that are useful, such as functions, Plugins and more. It is nicer to put your functions into there to minimse your cog's size.

Plugins.py

I have made a new class called Plugin (core/Plugins.py) which is what you would subclass when creating a cog, all you would then need to do is pass bot=bot to the super, this is a good feature as it allows you to add variables that are accessable from all cogs. Instead of having to go into every single cog and add it there. I have made sure that all cogs support this new Feature, you can take a look and see what I mean.

Main.py

I have completely rewrote your main.py, supporting hot reload and making it generally cleaner.

Events.py

I have migrated all of the events from the old main.py to here.

Awesome rewrite! 💯
Even though you skipped the refactoring part, having plugins and helpers was a great idea.
Thanks alot for your contribution! 😄


Provide configuration options

E.g. User may want to create request specs vs controller specs.

Other possible settings:

configure text used for generated spec descriptions
configure level of let(:object) { ... } that is generated

the templates can be edited. that could need a fork, but they are distinct from the code

Need to be able to configure which modules are avoided during spec creation.


/bin/sh: 1: npm: not found

Got following error during docker-compose build
Step 12/17 : RUN cd nextepc/webui && npm install && npm run build
 ---> Running in 157685b8f612
/bin/sh: 1: npm: not found
ERROR: Service 'webui' failed to build: The command '/bin/sh -c cd nextepc/webui && npm install && npm run build' returned a non-zero code: 127

Hi, try refreshing your build cache using docker-compose build --no-cache.

Just tested on a clean machine, working, so closing for now.


fix: Add missing 'passkey' enum to identity credentials

This PR addresses a missing enum in the kratos-client Java library. Previously, the library did not support the mapping of the passkey credential in Identity objects. This could lead to issues when trying to handle passkey credentials in identities.
Changes:

Added the missing enum type to support passkey credential mapping in Identity objects.

Checklist

[x] I have read the contributing guidelines and signed the CLA.
[ ] I have referenced an issue containing the design document if my change introduces a new feature.
[ ] I have read the security policy.
[ ] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact<EMAIL_ADDRESS>from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added the necessary documentation within the code base (if appropriate).

Further comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@waigel This repo is autogenerated from https://github.com/ory/sdk (as mentioned in the README), so changes won't be merged here.


Reroute for graph node editors connections.

Very useful feature for graph node based tools:

if anyone wants to work on this, feel free :D
On Tue, Sep 5, 2017 at 1:05 PM, n-pigeon<EMAIL_ADDRESS>wrote:

Very useful feature for graph node based tools:
[image: 2017-09-05 17_55_41-2dsidescrollercharacter_]
https://user-images.githubusercontent.com/6152134/30070662-78a6d6de-9264-11e7-8ada-43dc6a499cb0.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/11001, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z24y9a-c-dtpC8HCnZRAE-Pv4kAfxks5sfXEsgaJpZM4PNLJK
.

Concept I made:

Implemented in the VisualScript custom node library. It's pretty handy, I use it all the time!

Discussion in https://github.com/godotengine/godot/pull/28443.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


Add support for SublimeLinter 4.3 and higher

Add support for SublimeLinter 4.3 and higher

Yeah!

Released as 1.1.2 https://github.com/SublimeLinter/SublimeLinter-ruby/releases


Adding o16nc interaction channel

o16nc_p.py and o16nc_n.py have been written to model neutral current interactions on O-16 (proton and neutron emission channels).
The cross-section as a function of energy has been fitted from data presented in (https://link.aps.org/doi/10.1103/PhysRevC.98.034613) and the threshold energy estimated from these fits.
The energy spectrum of the outgoing particle is assumed to be uniform as no information could be found for the correct shape of the spectrum. The outgoing energy is therefore generated at random from the available energy range.

Hi @SWakely! We talked about the random.random() call in get_eE(eNu, cosT) at our meeting recently and noticed that the current implementation would be a problem for bounds_eE since a different random value would be used for the lower and upper bound. (To fix that, we can call get_eE just once and then use that single value to calculate the lower and upper bounds.)
I’ve also said I would check if this could lead to problems elsewhere in the code. In the implementation in channel.py, there are a few occasions where get_eE() gets called indirectly; here are my thoughts about those:

In line 40 & line 69, via bounds_eE: This is then used as integration range for dSigma_dE(eNu, eE)—but since that doesn’t depend on eE, having a random value isn’t a problem here as long as the width of the integration range is two epsilon.
In line 71, via generate_event(): This is where the value that ends up in the output file is generated. Here, it’s totally fine to have a random value.

In summary: I think once bounds_eE is fixed, everything else should be alright.

Added a brief section in the documentation; the only thing that’s missing before this PR can be merged are unit tests for both channels. I’ll put that on my todo list for next week.

Added some basic tests for both subchannels, so this is now ready to merge. Once again, @SWakely, thanks for the contributions and congratulations on your first successful PR!


Built-in microphone very quiet on Akemi

Pretty much as the title says: audio recorded from the built-in microphone on a Lenovo IdeaPad Flex 5 is very quiet, but not totally silent. I've turned up all the mixers I can find (including the ones on alsamixer) and tried testing with Audacity direct to ALSA, but with no luck. Running kernel 6.4.7-200.fc38.x86_64 on Fedora 38.
Don't know if it helps, but dmesg has the occasional:
[ 5733.243715] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243723] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: PRE_PMU: DETECT9.0 event failed: -22
[ 5733.243729] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243732] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: POST_PMU: DETECT9.0 event failed: -22
[ 5733.243788] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243790] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: PRE_PMD: DETECT9.0 event failed: -22
[ 5733.243794] sof-audio-pci-intel-cnl 0000:00:1f.3: sof_ipc3_keyword_dapm_event: Cannot find PCM for DETECT9.0
[ 5733.243796] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: POST_PMD: DETECT9.0 event failed: -22
[ 5733.371279] sof-audio-pci-intel-cnl 0000:00:1f.3: ipc tx error for 0x60010000 (msg/reply size: 108/20): -22
[ 5733.371288] sof-audio-pci-intel-cnl 0000:00:1f.3: HW params ipc failed for stream 1
[ 5733.371291] sof-audio-pci-intel-cnl 0000:00:1f.3: ASoC: error at snd_soc_pcm_component_hw_params on 0000:00:1f.3: -22
[ 5733.371307]  DMIC16kHz: ASoC: error at __soc_pcm_hw_params on DMIC16kHz: -22
[ 5733.371317]  DMIC16kHz: ASoC: error at dpcm_fe_dai_hw_params on DMIC16kHz: -22

You will want to use pavucontrol to turn it up over 100%. Around 150%-200% works the best from my testing.

That worked. Thank you!


enhancement use direct_copy_may_cut instead of direct_copy

direct_copy
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Failed to resolve: v1.2.0 and 1.2.0

I have tried importing the new releases (with tag v1.2.0 and 1.2.0) and in both case i got this error from Gradle sync
ERROR: Failed to resolve: com.github.imperiumlabs:GeoFirestore-Android:v1.2.0
Show in Project Structure dialog
Affected Modules: app

I just made a new release with the latest merge. Please try again.

could you explain more ...
Because the use of the Library many problems ..
We want to use it

Close because there is a new stable version (v1.4.0)


Check GPG private key ownership before linking the public key to the profile

Feature Description
Currently, when I push a signed commit and attach the GPG public key to my profile, the commit shows a green lock linking to my user profile.
However, since I'm uploading the GPG public key, there is no guarantee that this GPG key is actually mine (i.e. that I own the corresponding private key).
It would be cool if gitea provided some way to prove that I actually own the private key associated with the public key I uploaded, and showed the difference when displaying a commit.

We only allow unverified keys to verify for an activated email address

Aaah I didn't realize that

If you verify your key

.... and I missed that this is already possible. Awesome!


Mpileup file as output

Is your feature request related to a problem? Please describe
Mpileup files can't be generated nor outputted by the pipeline, not even in the work dir. This could be problematic when debugging potential problems/issues with the results.
Describe the solution you'd like
We'd like a bcftools and samtools mpileup module to be independent from bcftools call and ivar variants modules so the user can choose to save the mpileup as output or not.
We prefer this option as bcftools and ivar could potentially use the same mpileup file so we can save time and resources.
Describe alternatives you've considered
An alternative is not to create a new module, but the existing modules would not to pipe the mpileup file into bcftools call or ivar variants, so use could save the mpileup if desired.
Additional context

Didn't we add a workaround for this :thinking_face: Lemme look
https://github.com/nf-core/viralrecon/blob/2ebae61442598302c64916bd5127cf23c8ab5611/modules/nf-core/modules/ivar/variants/main.nf#L34
Yep. But we should probably remove the params from the module and add it as an explicit input.
I suppose we could add a similar option to bcftools mpileup in a similar way too which would be useful as well:
https://github.com/nf-core/viralrecon/blob/2ebae61442598302c64916bd5127cf23c8ab5611/modules/nf-core/modules/bcftools/mpileup/main.nf#L39

This is already fixed here #256 right?

Yup 🚀


Code does not work(Your a element should be wrapped within your new p element)

Challenge http://www.freecodecamp.com/challenges/waypoint-wrap-an-anchor-element-within-a-paragraph has an issue. Please describe how to reproduce it, and include links to screen shots if possible.
<.p>click here for <.a href="http://catphotoapp.com">cat photos<./a><./p>
(period(.) added just to highlight the code)
'a' element is wrapped within 'p' element still it gives me an error.

I can not reproduce this, but I feel like I've seen others mention the same issue. Is it persistent between refreshes/restarts?

yes it is persistent between refreshes/restarts. It's still note rectified.


Integrated terminal occasionally freezes

VSCode Version: 1.33.1
OS Version: macOS 10.14.4

Sometimes when opening the terminal using workbench.action.terminal.toggleTerminal, splitting the terminal using workbench.action.terminal.split or maximizing the terminal using workbench.action.toggleMaximizedPanel the currently selected terminal will freeze. It will not accept any inputs, and sometimes display no output. Killing the terminal by pressing the trash can button will cause VS Code to hang. The only way I can get it running again is to force quit VS Code.
Here is log output from when it happened recently:
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1408  WARN null
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'copyCellsFrom' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1100)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at e._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3739)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:20:603)
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257 Uncaught TypeError: Cannot read property 'copyCellsFrom' of undefined
    at Buffer._reflowSmaller (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:257)
    at Buffer._reflow (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:177)
    at Buffer.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Buffer.js:152)
    at BufferSet.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/BufferSet.js:78)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:1100)
    at Terminal.resize (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/public/Terminal.js:53)
    at e._resize (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3739)
    at (/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/anonymous function).setTimeout (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:20:603)
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'set' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'set' of undefined
    at InputHandler.print (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:269)
    at EscapeSequenceParser._printHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:84)
    at EscapeSequenceParser.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/EscapeSequenceParser.js:339)
    at InputHandler.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:191)
    at Terminal._innerWrite (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:893)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:873
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:269 Uncaught TypeError: Cannot read property 'set' of undefined
    at InputHandler.print (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:269)
    at EscapeSequenceParser._printHandler (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:84)
    at EscapeSequenceParser.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/EscapeSequenceParser.js:339)
    at InputHandler.parse (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/InputHandler.js:191)
    at Terminal._innerWrite (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:893)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/Terminal.js:873
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 [uncaught exception]: TypeError: Cannot read property 'get' of undefined
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5 TypeError: Cannot read property 'get' of undefined
    at TextRenderLayer._forEachCell (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:51)
    at TextRenderLayer._drawBackground (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:101)
    at TextRenderLayer.onGridChanged (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:164)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/Renderer.js:167
    at Array.forEach (<anonymous>)
    at Renderer._renderRows (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/Renderer.js:167)
    at RenderDebouncer._innerRefresh (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:31)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:26
onUnexpectedError @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-window.js:5
/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:51 Uncaught TypeError: Cannot read property 'get' of undefined
    at TextRenderLayer._forEachCell (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:51)
    at TextRenderLayer._drawBackground (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:101)
    at TextRenderLayer.onGridChanged (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/TextRenderLayer.js:164)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/Renderer.js:167
    at Array.forEach (<anonymous>)
    at Renderer._renderRows (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/renderer/Renderer.js:167)
    at RenderDebouncer._innerRefresh (/Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:31)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar/vscode-xterm/lib/ui/RenderDebouncer.js:26

This happens with "terminal.integrated.rendererType": "dom" and "terminal.integrated.rendererType": "canvas",
Does this issue occur when all extensions are disabled?: Yes

I believe this is already fixed, can you see if you can reproduce in the Insiders build?


feat: field.Hash

For FS commitments it is needed to hash to fr, so I'm moving the hashToFp code from the HashToCurve modules into every Fp package.
One concern is that the hash function uses some ExpandMsgXmd function, elsewhere in the gnark-crypto codebase. So as it stands field packages can no longer by copy-pasted into other projects without importing gnark-crypto.

looks good to me 👍
Small change: package hash_utils should be hashutils (using Google style guide as reference, but I know some linters complain all the same--> https://google.github.io/styleguide/go/decisions#package-names )
We can keep this package in internal/ for now, but in future it may be merged with other common pieces between field element pacakges 👍


Missing Scope

I have troubles to make my IdentityServer setup working.
At the moment according to https://github.com/IdentityServer/IdentityServer4/blob/master/src/Storage/src/Models/ApiResource.cs
I discovered that api scope is not automatically created like stated in the current doc page.
What issue does this PR address?
Doc error

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: GioviQ sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

The resources config has changed for the upcoming v4. We will re-work the docs soon. thanks!


PIXI v4 cacheAsBitmap issue

Not related to https://github.com/pixijs/pixi.js/issues/2831 although I have experienced that as well.
I'll see if I can create a fiddle for this later on today, but what I think it is:
var container1 = new PIXI.Container();

var container2 = new PIXI.Container();
container2.addChild(someSprite1);
container2.addChild(someSprite2);
container2.cacheAsBitmap = true;
container1.addChild(container2);

container1.alpha = 0;

After this container2 doesn't seem to display no matter what the alpha is of container1.

Cheers for this! A fiddle would be ace if you have a moment. 👍

My patch had fix for worldAlpha too, i just forgot to tell you about that. Its really easy to test, I think: before getLocalBounds you have to change parent worldAlpha for one moment, or change parent ot element.

I ran into this as well. Here are some fiddles,
v4:
https://jsfiddle.net/5b7whd4v/1/
v3
https://jsfiddle.net/z0rkhf0s/1/

@paladizm hero! Fiddles make me happy :D

@paladizm Thanks for the fiddles. I never got round to writing them today.

Fixed in dev branch. Thanks all 👍


[Bug Report]memory leaks after this.$confirm been called

Element UI version
2.0.8
OS/Browsers version
all
Vue version
2.5.3
Reproduction Link
https://jsfiddle.net/0qq32dym/1/
Steps to reproduce

open chrome dev-tools, go to memory panel
take a heap snapshot
press foo
press home
press the button to call a confirm dialog
press foo
take a heap snapshot again
compare the two snapshot, there is a memory leak. vueComponents in home can't been destroyed

note:  step 5 is the most important one, if you don't call the dialog, and then continue the following steps, there will be no leaks
What is Expected?
no memory leaks
What is actually happening?

guys, it's a serious bug
do you know how to know whether there is a memory leak?

these variables won't been destroyed if you take step 5


[BUGFIX] rds_instance with VPC db_subnet

Trying to create an rds_instance with the db_subnet parameter failed with:
Error: Could not set 'present' on ensure: unexpected value at params[:subnet_group_name]

The AWS CLI manual for rds create-db-instance specifies the parameter as [--db-subnet-group-name <value>].
Updating the parameter to the correct name fixes the error and results in
correct creation of an RDS instance within the VPC subnet group.

@Remz-Jay thanks for looking at this. I already have a fix up for this in https://github.com/puppetlabs/puppetlabs-aws/pull/201. That PR also contains a few other related fixes and acceptance tests so I'll close this in favour of that one. That should hopefully be merged shortly.


Question about agent on device with sporadic internet access

Hi!
Currently we are facing a problem we need to find a solution for. Please see the attached diagram below.
Note: This is purely theoretical and has not been implemented yet. Currently i am researching for solutions for our target architecture and need some expert input.
What architecture would you suggest i use? Maybe i should use a multicluster environment where every node acts as a own cluster? I am familiar with the project KubeEdge (https://github.com/kubeedge/kubeedge) that tries to make cloud computing for edge devices available acting as a bridge between the device and the kubernetes cluster. I evaluated kubeedge, but it seems far from production readyness.
So this is an approach for a target architecture:

Explanation:
In this scenario there is a k3s master running somewhere in the cloud.  There is a 3rd party communication hub for transport of user specific data. On cloud side there is another pod running, consuming this data from this 3rd party comm. hub.
Problem:
As long as all componentes are connected everything works. The problem is that the edge nodes don't have a stable network connection. The 3rd party comm. hub will buffer all ongoing traffic and redirects them to the cloud part when connection is reastablished. However i guess the management of kubernetes resources won't work.
I can guess some limitations here when connection to master is down:

If a pod gets unhealthy (e.g. containers crashes) it won't be recreated
If the device reboots for some reason the containers/pods won't be created
DNS on same node won't work properly

Are there any more limitations i don't see right now or are false assumptions?
What i already tested is cutting down the node's connection to master. The pods seem to continue working (they all ran on the same node, communication only to each other).
So basically my question is: Is there something on k3s side that acts as a minimalist 'master buffer' between the server and the agent?

The current limitation with resource management in the temporary offline case right now is the only thing that blocks us from pursuing with k3s.

Kubernetes doesn't really have a good pattern for this; the kubelet is assumed to be in constant contact with the apiserver. The model most folks currently use is to put the entire cluster at the edge, and manage all the clusters with a tool like rancher or fleet.


verisons:set to a specific version does not work.

Having a module which inherits from parent the version. A dependency which is set to ${project.version}:
Trying to set a version of a dependency to fixed given version via:
mvn org.codehaus.mojo:versions-maven-plugin:2.4-SNAPSHOT:set -DprocessProject=false -DprocessParent=false -D
processPlugins=false -DartifactId=artifactId -DgroupId=groupId -DnewVersion=1.47.0-20171212.213045-1 -DallowSnapshots=true

Produces the following
[ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.4-SNAPSHOT:set (default-cli) on project xyz.abc Project version is inherited from pa
rent. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

Maybe somekind of --force option to allow such things?

After rethinking this issue it looks my assumption was wrong. If a version is defined by ${project.version} you shouldn't be able to change that via versions-maven-plugin at all. Only manually if you like which means by IDE or editor...


mysql config

Tried different options, but couldn't make it to work:
[mysql]
servers = ["<IP_ADDRESS>"]

Any chance for a better documentation for the configuration of these plugins?

This works for me
servers = ["user:password@tcp(:3306)/"]

That worked for me too. :+1:

This needs to be better documented, thanks for the report

Hi @skynet,
I just took a look at the sample config and actually find some pretty helpful documentation:
# Read metrics from one or many mysql servers
[mysql]

# specify servers via a url matching:
#  [username[:password]@][protocol[(address)]]/[?tls=[true|false|skip-verify]]
#  e.g. root:root@http://<IP_ADDRESS>/?tls=false
#
# If no servers are specified, then localhost is used as the host.
servers = ["localhost"]

Does that cover what you need? This can be viewed by running telegraf -sample-config

yes, it helps

any hint on how do we tag each server? tx

@skynet, that is not supported at the moment, could you open a separate issue for tagging each server with something like a mysql_server= tag?

Yes, thanks!


Unable to expose Linda RPC

When using Linda on windows there is no Lindad file to run the RPC commands on. Similarly running linda-qt -server just opens Linda without starting the server.

The RPC Server is still running in the background.
You can enter its' commands through the help -> debug -> console menu, or use an external programming language to connect to the RPC Server.

The PRC server should be available through the cmd in windows like it is in Linux through Lindad


fix(utils): fix: some options had no effect with webpack5

ISSUES CLOSED: #446
What kind of change does this PR introduce? (bugfix, feature, docs update, improvement)
bugfix
What is the current behavior? (You can also link to an open issue here)
ruleSet.exec({resource: '.svg'}) is used to find svg-sprite-loader options object,
but this approach does not work if we define a rule with something like test: /svg-sprites.*?\.svg/
And sometimes we need different loaders for different svg files, like:

svg-sprite-loader for svg icons
file-loader for single big svg files (images)

What is the new behavior (if this is a feature change)?
Will scan all raw rules one by one until it will find svg-sprite-loader, then it will break out of for-loop and will return option object for that rule.
If there is multiple rules (for some reason) it will return option object for the first one, like in the current solution.
Does this PR introduce a breaking change?
No

Any news on this PR? :)


Specify requirements for test suite and test metadata

This issue is an ACTION of https://github.com/solid/test-suite-panel/blob/main/meetings/2022-05-13.md#proposal-2-specify-requirements-for-test-suite-and-test-metadata due 2022-05-27. To document a mutual understanding (see #considerations) towards the Test Suite Panel Charter proposal.
Related issues:

Specify requirements and criteria for publishing test summaries and reports
Specify criteria for assessing tests and results

Considerations:

What information should be available about the design of the test suite and tests?
How can tests be written and run?
How can the expected behaviour for tests be verified?
How can tests be corrected?
How to find contributors to review tests?
How can implementers be notified about test results?
How to communicate test coverage?
How to attribute test authors and reviewers?
...

Good idea to write this down more precisely!

Status of this comment: Draft

Metadata about the test suites (e.g., license, date, written by, reviewed by), the software (e.g., repository, version, maintainers), setup (e.g., platform, configuration), provenance (e.g., activity, entity, agent), input about environment (e.g., combination of subject and setup). Meet the requirements of reporting (issue 5) and test review checklist (issue 7).
Documentation on:

how to set up a test environment, how to build the test system (if necessary).
how to write tests that are in general, short, self-contained, and maybe provide best practices and guidelines.
how to run tests (provide a set of steps to test and obtain the result). Tests may be run in different ways depending on the specification requirement, e.g., command-line, containers, Web browser.

Do preliminary checks against multiple implementations to catch anomalies or to tease out issues with the tests themselves. Tests authors and specification authors should coordinate regarding the test design.
PR the updated test, mark what it replaces, mark it as to be reviewed, request reviews.
Notify specification authors and editors (and other group of contributors) about new tests and request reviews, e.g., tagging on GitHub.
Tagging the project maintainer (issue 5).
Provide information indicating to what extent the test suite completely or proportionally covers the specification it aims to support (issue 5).
Link to their WebID, if not available, GitHub account.


Add the beginning of a Debug Info guide for SIL pass authors.

This document describes how debug info works at the SIL level and how to correctly update debug info in SIL optimization passes. This document is inspired by its LLVM analog, "How to Update Debug Info: A Guide for LLVM Pass Authors", which can be found at https://llvm.org/docs/HowToUpdateDebugInfo.html

Note that this is just a starting point, the idea is that @Snowy1803 and I will be expanding this over the next couple of weeks.

@swift-ci smoke test


Input boxes are copy-and-pasted, but look different

I want to make two input boxes, one with a placeholder "Username" and one with "Password". I want both boxes to be exact the same, so I just copy and pasted them, and only changed the class. But, they still look different (see screen). What am I doing wrong? Or do I need to add more things in CSS?

In the second input, you set the wrong class. It must be form-control to be rendered correctly.

Ah of course! Thanks!


Upgrade to OpenGHG 0.8

Currently 0.7 is causing the tests to fail (errors in the conftest.py during test set up), so those will need to be fixed.
OpenGHG 0.7 also upgrades from pandas 1.53 to latest version of pandas (2.x), so we need to check if inversions still works with the latest version of pandas.

@brendan-m-murphy Should we update this to Upgrade to v0.8.0 now or do we want that as a separate issue?

Closed by PR #92


Adding top level init for importing all contract objects

Codecov Report
Attention: Patch coverage is 68.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 58.28%. Comparing base (c2c4550) to head (650f08a).

Files with missing lines
Patch %
Lines

pypechain/main.py
28.57%
5 Missing :warning:

pypechain/render/render.py
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
- Coverage   58.86%   58.28%   -0.58%
==========================================
  Files          68       80      +12
  Lines        4602     4814     +212
==========================================
+ Hits         2709     2806      +97
- Misses       1893     2008     +115

Flag
Coverage Δ

unittests
58.28% <68.00%> (-0.58%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Is there a way to delete project with odo?

odo project' has create, but no delete` command. Is that done for purpose?

It is not on purpose. It looks like it was just forgotten :-)

I was thinking it might be done for reason to avoid deleting resources to many resources in one go :)


Update sbt-ci-release to 1.5.3

Updates com.geirsson:sbt-ci-release from 1.5.2 to 1.5.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.geirsson", artifactId = "sbt-ci-release" } ]

labels: sbt-plugin-update, semver-patch

@ChocPanda aren't you a little tired of approving and merging all these PRs?
There's quite a lot of tools enforcing code quality in this repo, and I've felt for a while like it can take more time and effort keeping them satisfied than it's worth in the quality of the result.
A small library like this would be fine without enforcing tyle via scalafmt, scalafix, scalastyle and wartremover :)
Also, PRs from @scala-steward that only bump a patch version could be merged automatically on a green build (which could be mergeable by a maintainer without having to approve it first). I haven't seen that approach result in any issues yet.

It is a little tedious, I of course originally set them up in a very exploratory fashion. I'm not sure I can be bothered to remove them for now though


Enable gosec scanning

Add github action to workflow
Handle findings

/close
Fixed by https://github.com/janus-idp/operator/pull/155


Generated .pyi files include pycache, are not idempotent

I've noticed a few things about generated .pyi files:

__pycache__ gets picked up and imported,
Entries are not sorted (though this isn't really a big deal, it kinda helps with reviewing the diff)
Entries get duplicated if run multiple times/generation is not idempotent

The last one is probably harder to solve since it appears Protoletariat is not assuming it has full control of the pyi (understandable), or else it could overwrite instead of append.

Sweet, thanks for the issue. I think we can probably address all three.
The last one may be a bit tricky as you say.
Maybe inserting a comment at the end like # __protol__: $ORIGINAL_IMPORT to indicate that the line came from protol and then leaving out duplicates during rewriting would work.

Frankly a simple string match is probably enough, if janky

@lidavidm Do you have a concrete example of

__pycache__ gets picked up and imported,

I'm not seeing .pyi files inside of __pycache__ anywhere.

Oh sorry, what I mean is it'll generate things like
from . import __pycache__


add missing vim keybinding for navigation

Greetings!
This implemented feature from this commit, which was originated from this issue, while it added the emacs going up and down and vim going down, it was missing the "k" for going up for vim. So I added this in this pull request.
I also took the liberty to add the old and new emacs and vim keybindings to the help section.
Here is a gif of what i compiled from the code I changed:

Fantastic, thanks for taking the time to provide your test demo @ogabriel !

This change will be built into unstable in this job (assuming successful completion): https://github.com/regolith-linux/voulage/actions/runs/3934598174

This change will be built into unstable in this job (assuming successful completion): https://github.com/regolith-linux/voulage/actions/runs/3934598174

Fantastic, thanks for taking the time to provide your test demo @ogabriel !

Nothing compared on all the work you have done with regolith :+1:

This change will be built into unstable in this job (assuming successful completion): https://github.com/regolith-linux/voulage/actions/runs/3934598174

Strange, here is working fine since yesterday no problem whatsoever


Partial controllers separation

Some code cleaning, preparation for flow runs and events receiving

Landed in https://github.com/b-os-tech/Demo/commit/8a5bf0b4265807b685cb82fd49eab70cbe28a61b


remove as much lodash as possible

Seems like a decent amount of the lodash stuff was just convenience and can be replaced by native functionality.

[ ] cloneDeep
[ ] has
[ ] get
[ ] memoize
[ ] template
[ ] merge
[ ] isEqual
[ ] orderBy
[ ] noop
[ ] sortBy

https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore

yeah, I had looked through that when I wrote up this issue. Most of it seems to be just replace lodash with basically the same code that lodash is doing on the inside so not sure that improves anything.


I have a complaint

I really dislike ggbong's last name, can we change it?

This has been an ongoing issue for a while I believe. Have you tried contacting the devs?

umm sorry no bueno

Yes I have, I AM the dev

have you read the readme yet?

Oh I have not, thank you for your insight

I am back, the readme did not help with my complaint. Escalating the issue

have you tried restarting your computer?

That seems excessive, however I see the practicality of it. I will give this a try

I am back to report that my issue has been solved - restarting my computer broaded my worldview and I am now more trusting of ggbong's last name, although I still harbor some suspicious. Thank you for your help Javan!

This issue seems isolated to certain Windows environments. Can I suggest running it in Linux using WSL?


Deep Rock Galactic support

As of 6 days ago, Deep Rock Galactic supports Nvidia Reflex.
However, I enabled LatencyFlex, and once I click "continue" on the initial loading screen, the game freezes and crashes during the "initializing" splash screen while loading into the spacerig. Disabling Mangohud causes the crash to go away, but Nvidia Reflex is still greyed out in-game, despite having it working with the same launch options and same proton version as Apex, where it is working fine.
The option stayed greyed out no matter if I selected DX11 vs DX12, fullscreen vs borderlerss windows, fps cap enabled vs disabled, etc. V-sync was disabled for all testing.
I know it's not a competitive game, so reflex isn't too necessary, but still neat that another linux game has it.

Please go through the troubleshooting guide and provide a log when reporting any issues.

I was missing the dxvk.conf file, as well as the symbolic links in pfx/drive_c. It works! Still crashes when mangohud is enabled, but works! Thanks!

I've now played 2-3 hours (maybe 5 games) of Deep Rock Galactic with LatencyFlex / Reflex enabled, and despite a few issues, it seems to work very well.
I previously mentioned that the game will crash (and freeze up my entire system for about 20-30 seconds) if Mangohud is enabled. I also experienced the the 20fps issue (#16) one time in my 5 games (right after loading into a mission -- once in 2-3 hours is very manageable though), and the Steam Overlay Shifting issue (#9).
Despite these issues, it seems to work incredibly well. @ishitatsuyuki do you consider this working well enough to put it in the "Tested/Support Games" table in the readme?

Sounds good, make a PR and I will accept it. Otherwise I will add it later when I get back to this.


Signing and verifying using HMAC

Hi from what i understand I need to verify tokens, otherwise people can just sign and mimic the claims and it asks for 3 fields
signingstring
signature
key
Can you please explain the fields only one im sure of is the signature that is the 3rd portion of the token.
Also, you mentioned something about "This allows you to use properties in the Header of the token (such as kid) to identify which key to use"
is the first field signingstring obtained from the signingstring function? You mentioned this is expensive. So if i have to verify tokens each time i have to use this expensive function?
Thanks

Does parse automatically verify so i dont have to use the verify method?

Yes
-dave

On Jun 18, 2016, at 10:42 AM, scorpnode<EMAIL_ADDRESS>wrote:
Does parse automatically verify so i dont have to use the verify method?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Check out https://jwt.io/introduction/ for an overview of how jwt works. Then have a look at the examples linked from the README here
-dave

On Jun 18, 2016, at 10:04 AM, scorpnode<EMAIL_ADDRESS>wrote:
Hi from what i understand I need to verify tokens, otherwise people can just sign and mimic the claims and it asks for 3 fields
signingstring
signature
key
Can you please explain the fields only one im sure of is the signature that is the 3rd portion of the token.
Also, you mentioned something about "This allows you to use properties in the Header of the token (such as kid) to identify which key to use"
is the first field signingstring obtained from the signingstring function? You mentioned this is expensive. So if i have to verify tokens each time i have to use this expensive function?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

thanks


Can't delete tickets from the admin area

sometimes i cant delete tickets -> ERROR "ticket was not found"

Closing for the same reason here:
https://github.com/boxbilling/boxbilling/issues/808


Large size Abacus fails to generate report with mongoclient

Default size Abacus works fine, but when deployed on CF with large the reporting fails with:
2016-02-16T14:13:51.91+0200 [App/5]      OUT >>>>>>>>>>>>>>>>>>>>>>>>>>>> [ { error: 'not_found' }, [length]: 1 ]
2016-02-16T14:13:51.91+0200 [App/5]      OUT 2016-02-16T12:13:51.915Z e-abacus-router 52 Route error - generator error - { message: 'Cannot read property \'_id\' of undefined' } - TypeError: Cannot read property '_id' of undefined
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at /home/vcap/app/lib/index.js:614:35
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at /home/vcap/app/node_modules/underscore/underscore.js:227:11
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at Function._.each._.forEach (/home/vcap/app/node_modules/underscore/underscore.js:153:9)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at _.filter._.select (/home/vcap/app/node_modules/underscore/underscore.js:226:7)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at /home/vcap/app/lib/index.js:613:34
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at _.map._.collect (/home/vcap/app/node_modules/underscore/underscore.js:172:24)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at /home/vcap/app/lib/index.js:612:28
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at _.map._.collect (/home/vcap/app/node_modules/underscore/underscore.js:172:24)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at consumerUsage$ (/home/vcap/app/lib/index.js:610:21)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at tryCatch (/home/vcap/app/node_modules/babel-regenerator-runtime/runtime.js:61:40)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at GeneratorFunctionPrototype.invoke [as _invoke] (/home/vcap/app/node_modules/babel-regenerator-runtime/runtime.js:329:22)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/vcap/app/node_modules/babel-regenerator-runtime/runtime.js:94:21)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at next (/home/vcap/app/node_modules/co/index.js:74:21)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at /home/vcap/app/node_modules/co/index.js:93:18
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at Immediate._onImmediate (/home/vcap/app/node_modules/co/index.js:52:14)
2016-02-16T14:13:51.91+0200 [App/5]      OUT     at processImmediate [as _immediateCallback] (timers.js:383:17)
2016-02-16T14:13:51.92+0200 [RTR/0]      OUT abacus-usage-reporting.cfapps.sap.hana.ondemand.com - [16/02/2016:12:13:51 +0000] "GET /v1/metering/organizations/us-south:a3d7fe4d-3cb1-4cc3-a831-ffe98e20cf27/aggregated/usage HTTP/1.1" 500 0 51 "-" "-" <IP_ADDRESS>:52043 x_forwarded_for:"<IP_ADDRESS>" x_forwarded_proto:"https" vcap_request_id:af034bbd-0191-4c65-6f37-9d95326385b5 response_time:0.366768249 app_id:50f9d178-1fa7-41f8-946d-580d1d0d70ec

We added dumps after https://github.com/cloudfoundry-incubator/cf-abacus/blob/master/lib/aggregation/reporting/src/index.js#L358-L359, to list the consumers which are not_found.
The consumerUsage function has to error handling, so the code tries to get _id from non-existing document, resulting in the error above. The client in turn gets 500 response code.

Seems the problem is cause by wrong partition for the aggregated data. Aggregator tries to access abacus-aggregator-aggregated-usage-5-201602, while the data is in abacus-aggregator-aggregated-usage-4-201602