Make sure that reactors' implementation of Receive() method are non-blocking

Motivated by #2533.
The Reactor interface defines methods that a component must implement in order in order to use the communication services provided by the p2p layer. A core method that a reactor has to be implement is Receive(), invoked by the p2p layer to deliver a message to the reactor. The implementation of this method should be non-blocking (see details here).
If the implementation of Receive() in some reactor blocks when processing a message received from a given peer, the receive routine (recvRoutine()) of the p2p connection with that peer also blocks until the Receive() call returns:
https://github.com/cometbft/cometbft/blob/0147e634d51f5b27c60f914b02dad348e1ad96d9/p2p/conn/connection.go#L654-L655
This scenario has some consequences:

Messages received from the same peer are not handled by the p2p connection. This means that other reactors are affected, since they will not receive new messages until the blocking Receive() call returns;
As described in #2533, ping/pong messages, that play the role of protocol-level keepalive messages, are not handled either. As a result, the p2p connection pong timeout expires, then the connection produces an error and quits, which leads the switch to disconnect from that peer.

Possible solutions
This situation could be avoided if the Receive() call was not executed by the receive routine of the p2p connection. This change, however, is far from trivial, given the design of the p2p multiples connections. Moreover, even if the Receive() call is executed in a different routine, this other routine will eventually block if the Receive() method of a reactor blocks for a long period of time.
The other approach, suggested in this issue, is to review the implementation of each reactor to make sure that the Receive() method is not blocking. This approach is also not trivial, as ultimately the way to prevent this is to buffer received messages that cannot be immediately processed. Since buffers are always finite in size, this would eventually lead to dropping messages.

one simple solution that we played around with was
https://github.com/celestiaorg/celestia-core/blob/146746b114624029432720cfa74e0a4a55a87b9b/p2p/base_reactor.go#L98-L105
the envelop buffers have to be quite large in order not to block for the consensus reactor, at least when blocks are large. As one might expect, most of messages that end up blocking are small messages, not larger messages such as block parts. The most common blocking channels are consensus state and votes, then block parts, at least from some recent experiments.
We're collecting some tcp packet traces soon, but when traced on a local machine we can see that the reason we're not able to utilize all of the bandwidth is simply because we are unable to empty the tcp buffers fast enough. This also explains why other optimizations (like not using a mempool) or changes to prioritization don't make any meaningful change to throughput, at least for large blocks.
One reason, but not the only reason, we block is because all incoming messages from all peers are effectively processed synchronously in the consensus reactor. This also explains the age old issue when connecting more peers reduces throughput. While not frequent, this can result in processing a vote, block part, or state message taking up to 700ms (!). Below is the graph of a particularly egregious example where we see max waits of 2.5seconds. (time taken to process a msg after receiving it in ms on y axis, channel on the x axis, max, average w/ stdev bars, and then the number of msgs for that channel that took over 100ms)

Another is because we are not buffering the tcp connection properly. For example when we increase this constant, we see a meaningful but modest increase in throughput. I'm still working through the like 5 io.Reader/io.Writer buffered and unbuffered wrappers around the tcp connections. There are so many io.Reader/io.Writer wrapper around the tcp connections, its difficult to grok which need buffers and which actually degrade performance when we increase them.

The evidence reactor is particularly impacted by this issue.
Processing an evidence of misbehavior is a very costly procedure, which is mostly implemented by the (blocking) Receive() method. This is probably the main reason for the nightly failures currently observed in the main branch, such as https://github.com/cometbft/cometbft/actions/runs/12522933974/job/35000943900.
For context, from the log produced by this experiment:
$ du -s 6-full.txt 6-evidence.txt 6-no-evidence.txt
5343232	6-full.txt
5290312	6-evidence.txt
53376	6-no-evidence.txt
$ grep 'INF Evidence already pending, ignoring this one' 6-evidence.txt | wc -l
 1075393
$ wc -l 6-evidence.txt
 2166384

Namely, most of the 2.5GB of logs were produced by the evidence module (filter was a grep 'module=evidence'). And about half of the entries are duplicated evidences, so completely useless work.
Previous analysis and the comprehensive work performed in the mempool reactor appear to demonstrate that its Receive() method is not really blocking. There are other problems associated with it, under high load, but not the blocking of this method.
In the case of the evidence reactor the problem appears to be more evident, but unfortunately, contrarily to the mempool reactor, we don't have metrics and detailed information regarding how much time the evidence handling are blocking the p2p channels.


Using horizontal and disableHorizontalListHeightMeasurement together causes unexpected height

Current behavior
Using horizontal and disableHorizontalListHeightMeasurement props causes the flashlist's height to be set incorrectly. It also warns FlashList's rendered size is not usable. Either the height or width is too small (<2px). Please make sure that the parent view of the list has a valid size. FlashList will match the size of the parent.
Its possible to remove disableHorizontalListHeightMeasurement from my flashlist but I also dont want to mount and unmount extra component to set height of flashlist. Its because extra component means unexpected didMount and willUnmount side effects.

Expected behavior
Correct sizing of flatlist.
To Reproduce
https://snack.expo.dev/@kubilaysalih/flashlist-height-problem
Platform:

[x ] iOS
[x ] Android

Environment
RN CLI with @shopify/flash-list 1.3.1
Expo SDK 46 with  @shopify/flash-list 1.1.0

Additionally the flashlist fails to size itself from height/width of a parent view.

This may just be a deficiency in the documentation, and not a bug.
To workaround this issue, set estimatedListSize prop on the flashlist, else Height Measurement will still happen.
horizontal={true}
disableHorizontalListHeightMeasurement={true}
estimatedListSize= { {height: hnumber; width: wnumber} };


”Ciochiuța”, ”Comanda”, ”Hurducești” are listed in the drop-down menu

Description:
When user writes ”Ciochiuța”, ”Comanda”, ”Hurducești” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Ciochiuța"

Expected results
The location appears in the drop-down menu as "Sat Ciochiuța, MEHEDINȚI (STREHAIA)".

Step 3
Write in the search bar "Comanda"

Expected results
The location appears in the drop-down menu as "Sat Comanda, MEHEDINȚI (STREHAIA)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Hurducești"

Expected results
The location appears in the drop-down menu as "Sat Hurducești, MEHEDINȚI (STREHAIA)".


[Script]: Currency Converter GUI

Aim
GUI application that allows you to convert currency amounts between different currencies using real-time exchange rates.
Details
Convert currency amounts based on real-time exchange rates from an API. Displays conversion results in a message box.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

/assign


Include support to Nodejs12.x on CLI build

Describe your idea/feature/enhancement
On 18th November 2019, AWS published they are now supporting Node.js 12.x runtime in AWS Lambda. However, AWS SAM CLI does support this runtime for building purposes.
Tested on AWS SAM CLI version:
⇒  sam --version SAM CLI, version 0.31.1
At this moment, the supported runtimes are:

Python 2.7, 3.6, 3.7 using PIP

Nodejs 10.x, 8.10, 6.10 using NPM

Ruby 2.5 using Bundler

Java 8 using Gradle

Dotnetcore2.0 and 2.1 using Dotnet CLI (without --use-container flag)

Proposal
Include the support to Node.js 12.x on the build command.
Additional Details
Support Node.js 12.x Release Post: https://aws.amazon.com/blogs/compute/node-js-12-x-runtime-now-available-in-aws-lambda/

I ran into similar issues today when attempting to test upgrading functions locally and the start-api and invoke commands fail for similar reasons. Also tested on version 0.31.1. I get the following error message:
ValueError: Unsupported Lambda runtime nodejs12.x

It is in flight. Hang in there guys :) #1549

Hot off the press. v0.32.0 with Nodejs12.x support.
Closing

I am on version 0.38.0 and it does not show support for version 12. Am I looking at the wrong place?

@40x Thanks for bringing this up. Looks like we forgot to update the help text but Node12 is supported and released.


Support env_from option for task

Hi maintainers, thank you for the great library.
I tried some task, but this library can't specify env_from option. So, I added env_from.
Thank you.

 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.

Thank you!


in fullsystem mode, Sv48 not support

Describe the bug

What workload are you running? Baremetal workload, bbl+Linux+application or checkpoints?
What is the expected behavior? What is the actual behavior?
Can this issue be consistently reproduced? If so, what are the steps to reproduce? Can this issue be reproduced in latest xs-dev branch?
Can you upload your image or checkpoint to somewhere to help us to reproduce the issue?

To Reproduce
Steps to reproduce the behavior:

Build command: typically scons build/RISCV/gem5.opt
Running command: typically

mkdir -p util/xs_scripts/test
cd util/xs_scripts/test
bash ../kmh_6wide.sh /path/to/checkpoint

The link to your image or checkpoint

Expected behavior
A clear and concise description of what you expected to happen.
Error log or Screenshots
If applicable, plz provide you error log.
If applicable, add screenshots to help explain your problem.
Necessary information on versions

XS-GEM5 version: [e.g. xs-dev branch or commit: deadbeaf]
NEMU version used as reference design: [e.g. master branch or commid: deadbeaf]
Checkpoint restorer version used: [e.g. main branch of OpenXiangShan/LibCheckpointAlpha, or commit: deadbeaf of xxx]

Additional information
If you generate checkpoints your self, you can optionally provide version information of following components:

riscv-linux
riscv-rootfs

initramfs.txt

riscv-pk or OpenSBI
GCPT restorer (checkpoint restorer), it might be NEMU in older versions or OpenXiangShan/LibCheckpointAlpha or OpenXiangShan/LibCheckpoint in newer versions

Additional context
Add any other context about the problem here.

Yes, there is just no SV48 code in the code base now. Not sure when SV48 will be added.


Separate blacklist only for the mob duplicator

Would close #1183 on Foregoing's part, as Mekanism could register the Robit under the new blacklist tag.

 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.

Wrong button


uninitialized constant VagrantPlugins::AWS::Action::HandleBox

When trying to bring up a box I get the following error.
$ vagrant up master --provider=aws
Bringing machine 'master' up with 'aws' provider...
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An unexpected error ocurred when executing the action on the
'master' machine. Please report this as a bug:
uninitialized constant VagrantPlugins::AWS::Action::HandleBox
/home/matt.olsen/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:144:in block in action_up' /home/matt.olsen/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in tap'
/home/matt.olsen/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in action_up' /home/matt.olsen/.vagrant.d/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/provider.rb:16:in action'
/usr/lib/ruby/vendor_ruby/vagrant/machine.rb:130:in action' /usr/lib/ruby/vendor_ruby/vagrant/batch_action.rb:63:in block (2 levels) in run'
$ vagrant --version
Vagrant 1.4.3

Hi, same here, this is the "debug" output if it helps
Vagrant 1.4.3 on Ubuntu 14.04 LTS
$ vagrant up --provider=aws --debug
INFO global: Vagrant version: 1.4.3
INFO global: Ruby version: 1.9.3
INFO global: RubyGems version: 1.8.23
INFO global: VAGRANT_HOME="/links/virtual_machines"
INFO global: VAGRANT_LOG="debug"
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: RedHat guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/opensuse/plugin.rb
INFO manager: Registered plugin: OpenSUSE host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
INFO vagrant: vagrant invoked: ["up", "--provider=aws", "--debug"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#Vagrant::Environment:0x000000020c9b10)
INFO environment:   - cwd: /mnt/sda7/virtual_machines/salt_test_aws
INFO environment: Home path: /links/virtual_machines
INFO environment: Local data path: /mnt/sda7/virtual_machines/salt_test_aws/.vagrant
DEBUG environment: Creating: /mnt/sda7/virtual_machines/salt_test_aws/.vagrant
DEBUG environment: Loading plugins from: /links/virtual_machines/plugins.json
INFO environment: Loading plugin from JSON: vagrant-aws
INFO manager: Registered plugin: AWS
INFO manager: Registered required plugin: vagrant-aws
INFO root: Loaded plugin vagrant-aws, version 0.6.0
INFO environment: Running hook: environment_plugins_loaded
INFO runner: Running action: #Vagrant::Action::Builder:0x00000002530fc8
INFO environment: Running hook: environment_load
INFO environment: Initializing config...
INFO loader: Set :default = "/usr/share/vagrant/config/default.rb"
DEBUG loader: Populating proc cache for "/usr/share/vagrant/config/default.rb"
DEBUG loader: Load procs for pathname: /usr/share/vagrant/config/default.rb
INFO loader: Set :home = #Pathname:/links/virtual_machines/Vagrantfile
DEBUG loader: Populating proc cache for #Pathname:/links/virtual_machines/Vagrantfile
DEBUG loader: Load procs for pathname: /links/virtual_machines/Vagrantfile
INFO loader: Set :root = #Pathname:/mnt/sda7/virtual_machines/salt_test_aws/Vagrantfile
DEBUG loader: Populating proc cache for #Pathname:/mnt/sda7/virtual_machines/salt_test_aws/Vagrantfile
DEBUG loader: Load procs for pathname: /mnt/sda7/virtual_machines/salt_test_aws/Vagrantfile
INFO loader: Loading configuration in order: [:default, :home, :root]
DEBUG loader: Loading from: default (evaluating)
DEBUG loader: Loading from: home (evaluating)
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG hosts: Host path search classes: [VagrantPlugins::HostFreeBSD::Host, VagrantPlugins::HostGentoo::Host, VagrantPlugins::HostOpenSUSE::Host, VagrantPlugins::HostRedHat::Host, VagrantPlugins::HostSlackware::Host, VagrantPlugins::HostArch::Host, VagrantPlugins::HostWindows::Host, VagrantPlugins::HostLinux::Host, VagrantPlugins::HostBSD::Host]
INFO hosts: Host class: VagrantPlugins::HostLinux::Host
INFO runner: Running action: #Vagrant::Action::Builder:0x0000000214c970
INFO cli: CLI: [] "up" ["--provider=aws", "--"]
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider=aws", "--"]
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: []
DEBUG command:  -- options: {:provider=>"aws"}
DEBUG command: Loading all machines...
INFO environment: Getting machine: default (aws)
INFO environment: Uncached load of machine.
INFO loader: Set :vm_default = []
INFO loader: Loading configuration in order: [:default, :home, :root, :vm_default]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: home (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
INFO box_collection: Searching for box: dummy (aws) in /links/virtual_machines/boxes/dummy/aws/metadata.json
INFO box_collection: Box found: dummy (aws)
INFO environment: Applying 2 provider overrides. Reloading config.
INFO loader: Set :vm_default_dummy_aws = [["2", #Proc:0x000000023658d8], ["2", #Proc:0x000000023696e0]]
DEBUG loader: Populating proc cache for ["2", #Proc:0x000000023658d8]
DEBUG loader: Populating proc cache for ["2", #Proc:0x000000023696e0]
INFO loader: Loading configuration in order: [:default, nil, :home, :root, :vm_default, :vm_default_dummy_aws]
DEBUG loader: Loading from: default (cache)
DEBUG loader: Loading from: home (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: vm_default_dummy_aws (evaluating)
DEBUG loader: Loading from: vm_default_dummy_aws (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
INFO machine: Initializing machine: default
INFO machine:   - Provider: VagrantPlugins::AWS::Provider
INFO machine:   - Box: #Vagrant::Box:0x00000002498bd8
INFO machine:   - Data dir: /mnt/sda7/virtual_machines/salt_test_aws/.vagrant/machines/default/aws
INFO command: With machine: default (AWS (new))
INFO interface: info: Bringing machine 'default' up with 'aws' provider...
Bringing machine 'default' up with 'aws' provider...
INFO batch_action: Enabling parallelization by default.
INFO batch_action: Batch action will parallelize: true
INFO batch_action: Starting action: #Vagrant::Machine:0x000000023cd6e0 up {:destroy_on_error=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil, :provider=>"aws"}
INFO machine: Calling action: up on provider AWS (new)
INFO environment: Running hook: environment_unload
INFO runner: Running action: #Vagrant::Action::Builder:0x0000000251e580
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::BatchMultiError: An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An unexpected error ocurred when executing the action on the
'default' machine. Please report this as a bug:
uninitialized constant VagrantPlugins::AWS::Action::HandleBox
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:144:in block in action_up' /links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in tap'
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in action_up' /mnt/sda7/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/provider.rb:16:in action'
/usr/lib/ruby/vendor_ruby/vagrant/machine.rb:130:in action' /usr/lib/ruby/vendor_ruby/vagrant/batch_action.rb:63:in block (2 levels) in run'>
ERROR vagrant: An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An unexpected error ocurred when executing the action on the
'default' machine. Please report this as a bug:
uninitialized constant VagrantPlugins::AWS::Action::HandleBox
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:144:in block in action_up' /links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in tap'
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in action_up' /mnt/sda7/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/provider.rb:16:in action'
/usr/lib/ruby/vendor_ruby/vagrant/machine.rb:130:in action' /usr/lib/ruby/vendor_ruby/vagrant/batch_action.rb:63:in block (2 levels) in run'
ERROR vagrant: /usr/lib/ruby/vendor_ruby/vagrant/batch_action.rb:109:in run' /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:213:in block (2 levels) in batch'
/usr/lib/ruby/vendor_ruby/vagrant/environment.rb:208:in tap' /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:208:in block in batch'
internal:prelude:10:in synchronize' /usr/lib/ruby/vendor_ruby/vagrant/environment.rb:207:in batch'
/usr/share/vagrant/plugins/commands/up/command.rb:55:in execute' /usr/lib/ruby/vendor_ruby/vagrant/cli.rb:38:in execute'
/usr/lib/ruby/vendor_ruby/vagrant/environment.rb:484:in cli' /usr/bin/vagrant:127:in '
INFO interface: error: An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An unexpected error ocurred when executing the action on the
'default' machine. Please report this as a bug:
uninitialized constant VagrantPlugins::AWS::Action::HandleBox
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:144:in block in action_up' /links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in tap'
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in action_up' /mnt/sda7/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/provider.rb:16:in action'
/usr/lib/ruby/vendor_ruby/vagrant/machine.rb:130:in action' /usr/lib/ruby/vendor_ruby/vagrant/batch_action.rb:63:in block (2 levels) in run'
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An unexpected error ocurred when executing the action on the
'default' machine. Please report this as a bug:
uninitialized constant VagrantPlugins::AWS::Action::HandleBox
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:144:in block in action_up' /links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in tap'
/links/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/action.rb:143:in action_up' /mnt/sda7/virtual_machines/gems/gems/vagrant-aws-0.6.0/lib/vagrant-aws/provider.rb:16:in action'
/usr/lib/ruby/vendor_ruby/vagrant/machine.rb:130:in action' /usr/lib/ruby/vendor_ruby/vagrant/batch_action.rb:63:in block (2 levels) in run'

Downloading and installing the latest version of Vagrant (1.7.2) from vagrantup.com fixed this issue for me. I had installed Vagrant using apt-get on Ubuntu 14.04.

same problem here....with vagrant 1.6.4

For a quick fix (still, oh god why everything stops working :/... please thank you the author):
http://blog.damore.it/2015/01/aws-vagrant-no-host-ip-was-given-to.html


[opentelemetry-operator] Opentelemetry agent network is not well configured when mode is daemonSet

HI
When using Operator and apply a Opentelemetry collector using mode=daemonSet, hostNetwork=true and dnsPolicy is ClusterFirst.
It does not allow correct dns resolution for all service and pod inside the cluster.
For example loki.svc.cluster.local can not be resolved because using this network configuration, it relies on the underlying resolv.conf host and it does not be able to resolve a internal cluster recordset dns.
when using hostNetwork true the dnsPolicy must be ClusterFirstWhenHostNet. Currently it is the operator that control the network configuration and set any pod attributes according to mode property value

yes of course thank you


7/17 TOC hotfix

Docs Build status updates of commit 306072d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-toc/top_level_toc.yml
:white_check_mark:Succeeded

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


Appstudio update hacbs-test-project-oiyl

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-oiyl-on-pull-request-
creating pipelinerun hacbs-test-project-oiyl-on-pull-request- in namespace rhtap-demo-bcee-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request

Pipelines as Code CI has failed.There was an error creating the PipelineRun: hacbs-test-project-oiyl-on-pull-request-
creating pipelinerun hacbs-test-project-oiyl-on-pull-request- in namespace rhtap-demo-fzel-tenant has failed.
Tekton Controller has reported this error: the namespace of the provided object does not match the namespace sent on the request


Sortable List

Description 📜
Display a scrambled list that can be sorted with drag and drop
How to play

drag and drop an item to a different position
check if items are in correct order by clicking check order
Show green for correct order and red for wrong order

Fixes #1218

Type of change 📝
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[] Add a new project
[] Improve the readme of any project

Domain of Contribution 📊
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[] Project using HTML, CSS & JS

Checklist ✅
Please delete options that are not relevant. In order to tick the check box just put x inside them for example [x] like this

[] I have performed a self-review of my own code or work.
[] I have commented on my code, particularly in hard-to-understand areas.
[] My changes generate no new warnings.
[] I'm GSSoC'22 contributor

Screenshots / Gif (Recommended) 📸

Demo:
https://user-images.githubusercontent.com/49890655/167228730-3bf6405c-90bd-4ce4-a12e-3fa288f82597.mp4


Add download count to every package

Description of the new feature / enhancement
Please add a download count and possibly percentage-based statistics (windows version, country or us state, machine downloaded from, manufacturer, cpu vendor, gpu vendor, and architecture) to the winget package manager, that is retrievable when "winget stats (package)" is entered. This will make it easy to see which packages are the most downloaded, and for businesses to see whether if their apps are succeeding.
Proposed technical implementation details
When downloading the installer, send an api request to a microsoft server showing that the app was downloaded along with basic statistics.

There is a --no-api-count or something flag to disable the api request.

Related to

https://github.com/microsoft/winget-pkgs/discussions/39736

Duplicate of #1238

#1238


Remove contradictory suggestions

Can you please elaborate on what is contradictory?

In the examples just above the remove lines, the /PROJECTSLUG-number syntax is discouraged:

Bad, too specific. It's better to use more human-readable
name and put issue reference in the title/description instead.
git checkout -b feature/PROJ-1234

@BarryOgg Cool, this argument is compelling. However, do not simply remove the text. How about adding correct instruction?
"It's better to use more human-readable
name and put issue reference in the title/description instead."


In kibana every auto refresh  network garph is changing its alignment

Hi
I create this chart in kibana its looks good, but when auto-refresh is turned on or by manual refresh network graph node alignment is changed. Is there any way to have fixed alignment

Hi @dlumbrer,
I have the same issue with Kibana 7.3.0. The visualization can be added to the dashboard, but only the nodes are displayed without edges.
Thank you


Gulp-watch shutdown after some error occured in pug

The Error something like this
    1| -
    2| var data = [
  > 3|     ["Content-Type","text/html; charset=UTF-8"],
-----------^
    4|     ["viewport", "width=device-width, initial-scale=1.0, maximum-scale=1.0"],
    5|     ["X-UA-Compatible", "ie=edge, ie=11, ie=10, ie-=9"],
    6|     ["Content-Type", "text/html; charset=UTF-8"],

unexpected text "["Con"
/Applications/dev/project/epochtimes/frontend/projPage/devByjQuery/gulpfile.babel.js:103
        undefined.emit('end');
                 ^

TypeError: Cannot read property 'emit' of undefined

where i use the syntax below
.pipe( pug({ pretty: true }).on('error', notify.onError( (error) => { return `pug went wrong, ${error}`; } )) )

but gulp-watch still dead

I was having the same problem. I followed the instructions in this issue to fix it: https://github.com/pugjs/gulp-pug/issues/133
Install gulp-plumber and pipe it in before pug(..)

This shouldn't be an error any longer in gulp 4


Do not attempt to execute an empty batch

... also fix an issue where aborting the transfer wasn't done correctly: the command was batched and the batch was not executed.
I guess we should get the CMSIS-DAP implementation aligned with arm_debug_interface, there are a few differences in fault/wait handling.

I guess we should get the CMSIS-DAP implementation aligned with arm_debug_interface, there are a few differences in fault/wait handling.

Is it worth creating an 'tracking' issue for this work?


[CSL-1840] Add devnet configuration key

@gromakovsky, it appears that I'm getting an error with commit 701c43e93c6a174bec4eae99ec6c7a0f334de594:
cardano-keygen: ConfigurationParseFailure "/nix/store/prxks0x07l544idv0ah47fagx4m2wr9v-cardano-sl-701c43e/node/configuration.yaml" (AesonException "Error in $.devnet.node: key \"defaultPeers\" not present")

Sorry, my bad, will fix shortly.

@deepfire fixed. It's strange that tests didn't fail.

Maybe it's due to laziness -- the piece of configuration that defines that devnet key never gets forced, because it's not exercised..

@gromakovsky, there's still a problem with OpenSSL:
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
At line:1 char:101
+ ... eb.com/download/Win64OpenSSL-1_0_2L.exe', "$($env:USERPROFILE)\Win64O ...
+                                                  ~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Command executed with exception: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."

@deepfire CI passes now. Can you approve if everything is ok?

@dcoutts, can we merge this?

Thank you, Duncan!


Bluetooth: Clarify bt_conn_create_slave_le documentation

Clarify how the bt_conn_create_slave_le() API can be used to get each
of the two possible advertising packet types.
Fixes #14160
Signed-off-by: Johan Hedberg<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master   #14161   +/-   ##
=======================================
  Coverage   52.68%   52.68%
=======================================
  Files         307      307
  Lines       45473    45473
  Branches    10530    10530
=======================================
  Hits        23956    23956
  Misses      16640    16640
  Partials     4877     4877

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 32caf24...b545150. Read the comment docs.


Update rdoc links

The links to the full documentation pages were broken. I updated them to replace "PoseBiz" with "stretcher" and corrected the SearchResults url.

@switzersc I don't have time to maintain this gem. Any interest in maintaining it yourself?

Yeah for sure @andrewvc . I'm starting to use it pretty extensively on a project, and so far really prefer it to the other options out there. Would be happy to maintain it :)


Dolphin Platform Server Refactoring

Adds MBean support to the Server: All Dolphin sessions and controllers are provided as MBeans
Adds a Dolphin session lifecycle listener (see DolphinListener and DolphinSessionListener)
Clients deregister / destroy all controllers on disconnect (logic moved to server)
In Spring and JavaEE all beans will be removed when a Dolphin Session will be destroyed
All Dolphin Session instances are stored in a HTTP session. By doing so they will automatically be destroyed when a http session invalidated
DolphinPlatformBoostrap is the only class that is defined as a singleton (but I think we can't avoid this)
Added some tests for the server components

This change is

Coverage increased (+4.0%) to 28.146% when pulling dd56b60042481ef2b71724a2a0e253a689ef763b on mbean_and_memory into 87c87e4c0cde75d0631ddabe1cfde5a50c56c261 on master.

Coverage increased (+4.0%) to 28.134% when pulling dd56b60042481ef2b71724a2a0e253a689ef763b on mbean_and_memory into 87c87e4c0cde75d0631ddabe1cfde5a50c56c261 on master.

Coverage increased (+4.1%) to 28.254% when pulling 7c023eb0181bd6655081a505fa29b22ef9c1935d on mbean_and_memory into 87c87e4c0cde75d0631ddabe1cfde5a50c56c261 on master.

Coverage increased (+4.1%) to 28.254% when pulling 7c023eb0181bd6655081a505fa29b22ef9c1935d on mbean_and_memory into 87c87e4c0cde75d0631ddabe1cfde5a50c56c261 on master.

Coverage increased (+4.1%) to 28.254% when pulling 6a33ccfa32a96ee8682166ecc5a1e5d8cd9f6b4c on mbean_and_memory into 87c87e4c0cde75d0631ddabe1cfde5a50c56c261 on master.

storing elements inside the HTTP session forces all of them to implement the java.io.Serializable interface. This means dolphin beans must be made serializable, as well as every other object touched by the ClientContext (and the context itself). Can we enforce this rule without any bad consequences?

Mmh, I think based on the architecture of OD and DP it's very hard since we register listeners in objects that are stored in the session. That's why I think a sticky Session will be ok. Based on this (and a distributed Event Bus) we can Support load balancing based on sticky sessions (each request of a session always ends in the same server instance). Based on this the content of a session must not be serializeable. In addition I don't know if it would be a good idea to share often changed PM between several server instances just to get a failover support.
Von meinem iPhone gesendet

Am 19.03.2016 um 11:01 schrieb Andres Almiray<EMAIL_ADDRESS>storing elements inside the HTTP session forces all of them to implement the java.io.Serializable interface. This means dolphin beans must be made serializable, as well as every other object touched by the ClientContext (and the context itself). Can we enforce this rule without any bad consequences?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Coverage increased (+4.2%) to 28.34% when pulling ce4806f87cea92c17e8e5ffcb188a66fa1fb2a6c on mbean_and_memory into 87c87e4c0cde75d0631ddabe1cfde5a50c56c261 on master.

Tested the branch on JBoss 6.4:

ToDo Sample is running
after client has been closed all managed objects will be removed (checked with heap dump in visualVM)

Reviewed 37 of 56 files at r1, 10 of 14 files at r2, 1 of 1 files at r3, 5 of 5 files at r4, 9 of 9 files at r5.
Review status: all files reviewed at latest revision, 20 unresolved discussions.

java-core/src/main/java/com/canoo/dolphin/util/DolphinRemotingException.java, line 22 [r5] (raw file):
Exceptions are Serializable. Please define a serialVersionUID field

java-core/src/test/java/com/canoo/dolphin/impl/ReflectionHelperTest.java, line 36 [r5] (raw file):
it would be better to parameterize this. Pretty sure TestNG has some support for this feature.

java-server-javaee/src/main/java/com/canoo/dolphin/server/javaee/DolphinPlatformContextualLifecycle.java, line 49 [r5] (raw file):
is this the right check? the message makes me think the check should be modelInjector != null.

java-server-javaee/src/main/java/com/canoo/dolphin/server/javaee/ModelInjectionException.java, line 22 [r5] (raw file):
missing serialVersionUID.

java-server-spring/src/main/java/com/canoo/dolphin/server/spring/SpringBeanFactory.java, line 42 [r5] (raw file):
why are these methods marked as protected.
also, the method name becomes the bean name, it would be better to choose appropriate names such as beanManager instead of createManagerfor example

java-server-spring/src/main/java/com/canoo/dolphin/server/spring/SpringContainerManager.java, line 64 [r5] (raw file):
can't this code be simplified to context.getBean(type)?

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinCommandException.java, line 22 [r5] (raw file):
missing serialVersionUID

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinContextException.java, line 23 [r5] (raw file):
missing serialVersionUID

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinContextHandler.java, line 83 [r5] (raw file):
watch out for ConcurrentModification exception, unless getAllListeners already returns a copy

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinSessionImpl.java, line 36 [r5] (raw file):
could be initialized at the same time as the field is declared

java-server/src/main/java/com/canoo/dolphin/server/controller/ControllerHandler.java, line 98 [r5] (raw file):
is this supposed to be an atomic operation? if so then you need exclusive access to all data structures that are modified in the following block

java-server/src/main/java/com/canoo/dolphin/server/mbean/DolphinContextMBeanRegistry.java, line 49 [r5] (raw file):
usage of magic singletons

java-server/src/main/java/com/canoo/dolphin/server/mbean/MBeanRegistry.java, line 36 [r5] (raw file):
class is designed as a magic singleton

java-server/src/main/java/com/canoo/dolphin/server/mbean/MBeanRegistry.java, line 38 [r5] (raw file):
server instance can't be changed

java-server/src/main/java/com/canoo/dolphin/server/mbean/beans/DolphinControllerInfo.java, line 25 [r5] (raw file):
might need to wrap the class with a WeakReference too otherwise it can't be unloaded in certain environments

java-server/src/main/java/com/canoo/dolphin/server/mbean/beans/ModelJsonSerializer.java, line 28 [r5] (raw file):
typo s/experts/exports/

java-server/src/main/java/com/canoo/dolphin/server/servlet/DolphinPlatformBoostrapException.java, line 22 [r5] (raw file):
missing serialVersionUID

java-server/src/test/java/com/canoo/dolphin/server/context/DefaultOpenDolphinFactoryTest.java, line 42 [r5] (raw file):
use Hamcrest's matchers (size and contains) for example. Look for opportunities to parameterize tests

java-server/src/test/java/com/canoo/dolphin/server/context/DolphinContextTest.java, line 149 [r5] (raw file):
use stubs/mocks instead. Switch to Mockito http://mockito.org/ to make things easier

java-server/src/test/java/com/canoo/dolphin/server/context/DolphinSessionImplTest.java, line 33 [r5] (raw file):
some tests qualify static methods with Assert., others don't. Pick a pattern and be consistent. Also, it would be better to use Hamcrest matchers (assertThat and friends) instead.

Comments from Reviewable

Review status: all files reviewed at latest revision, 20 unresolved discussions, some commit checks failed.

java-server-spring/src/main/java/com/canoo/dolphin/server/spring/SpringBeanFactory.java, line 42 [r5] (raw file):
We can specify the name in the Bean annotation. In this case we can use the current name:
@Bean(name="beanManager")
private BeanManager createManager() ...

java-server/src/test/java/com/canoo/dolphin/server/context/DolphinContextTest.java, line 149 [r5] (raw file):
Currently we have JMockit as dependency. I like Mockito a lot more (since I understand the API) but Michael introduced JMockit. We already discussed this and I now that he had a good reason. Don't now if 2 mock frameworks will create any problems.

Comments from Reviewable

Review status: 51 of 58 files reviewed at latest revision, 20 unresolved discussions, some commit checks failed.

java-core/src/main/java/com/canoo/dolphin/util/DolphinRemotingException.java, line 22 [r5] (raw file):
done

java-core/src/test/java/com/canoo/dolphin/impl/ReflectionHelperTest.java, line 36 [r5] (raw file):
I created an issue: https://github.com/canoo/dolphin-platform/issues/142

java-server-javaee/src/main/java/com/canoo/dolphin/server/javaee/ModelInjectionException.java, line 22 [r5] (raw file):
Done

java-server-spring/src/main/java/com/canoo/dolphin/server/spring/SpringBeanFactory.java, line 42 [r5] (raw file):
done

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinCommandException.java, line 22 [r5] (raw file):
Done

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinContextException.java, line 23 [r5] (raw file):
Done

java-server/src/main/java/com/canoo/dolphin/server/mbean/beans/ModelJsonSerializer.java, line 28 [r5] (raw file):
Done

java-server/src/main/java/com/canoo/dolphin/server/servlet/DolphinPlatformBoostrapException.java, line 22 [r5] (raw file):
Done

java-server/src/test/java/com/canoo/dolphin/server/context/DefaultOpenDolphinFactoryTest.java, line 42 [r5] (raw file):
I created an issue: https://github.com/canoo/dolphin-platform/issues/142

java-server/src/test/java/com/canoo/dolphin/server/context/DolphinContextTest.java, line 149 [r5] (raw file):
I created an issue: https://github.com/canoo/dolphin-platform/issues/142

java-server/src/test/java/com/canoo/dolphin/server/context/DolphinSessionImplTest.java, line 33 [r5] (raw file):
I created an issue: https://github.com/canoo/dolphin-platform/issues/142

Comments from Reviewable

Review status: 51 of 58 files reviewed at latest revision, 20 unresolved discussions, some commit checks failed.

java-server-javaee/src/main/java/com/canoo/dolphin/server/javaee/DolphinPlatformContextualLifecycle.java, line 49 [r5] (raw file):
No it's right: After the model was injected in a controller the modelInjector will be cleared (see the finally). But the message isn't that good. I changed it

java-server-spring/src/main/java/com/canoo/dolphin/server/spring/SpringContainerManager.java, line 64 [r5] (raw file):
Good question. For the controller creation we always need a new instance but I think here we can simply use getBean() since there can be only one lister for each listener class. Changed it.

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinContextHandler.java, line 83 [r5] (raw file):
The listeners are defined by annotation and until now there is no way to remove a listener. I think this is ok for now (Listener concept is currently more in PoC state and should be refactored / improved with a near future version)

java-server/src/main/java/com/canoo/dolphin/server/context/DolphinSessionImpl.java, line 36 [r5] (raw file):
That's the normal way how I do it. Do you see any problems in this style?

java-server/src/main/java/com/canoo/dolphin/server/controller/ControllerHandler.java, line 98 [r5] (raw file):
I think as long as we use servlet / http as the communication protocol this won't be called in parallel.

java-server/src/main/java/com/canoo/dolphin/server/mbean/DolphinContextMBeanRegistry.java, line 49 [r5] (raw file):
created https://github.com/canoo/dolphin-platform/issues/143.

java-server/src/main/java/com/canoo/dolphin/server/mbean/MBeanRegistry.java, line 36 [r5] (raw file):
created https://github.com/canoo/dolphin-platform/issues/143.

java-server/src/main/java/com/canoo/dolphin/server/mbean/MBeanRegistry.java, line 38 [r5] (raw file):
created https://github.com/canoo/dolphin-platform/issues/143.

java-server/src/main/java/com/canoo/dolphin/server/mbean/beans/DolphinControllerInfo.java, line 25 [r5] (raw file):
Changed it to String

Comments from Reviewable

Coverage increased (+4.03%) to 29.016% when pulling d5eab22b923a2db2b2bffa4539625e6d0faa7aa8 on mbean_and_memory into 579a8c32d97833b80223705b5df8d609c038d988 on master.

Coverage increased (+4.03%) to 29.016% when pulling d5eab22b923a2db2b2bffa4539625e6d0faa7aa8 on mbean_and_memory into 579a8c32d97833b80223705b5df8d609c038d988 on master.

Coverage increased (+4.03%) to 29.016% when pulling 2b99c867dca503325aafd2e0c67d7bd3661b16f6 on mbean_and_memory into 579a8c32d97833b80223705b5df8d609c038d988 on master.


[minor] Fix travis build by turning off parallelization.

See https://github.com/aspnet/dnx/issues/3201
:watch: Travis build

Close in favor of https://github.com/aspnet/dnx/pull/3221


(DOCS) Add release notes for 6.11.0

@rbrw could you take a look at the TODO in the new features section on Monday? I'm not sure what if anything we want to mention related to command broadcast.
@clairecadman this should be mostly ready for a second set of eyes when you get the chance.

CLA signed by all contributors.

Thanks @clairecadman! Updated the pr


⚠ Bofrost.de has degraded performance

In c7656a0, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 949 ms

Resolved: Bofrost.de performance has improved in a704183 after 13 minutes.


[Enhancement] Support compact thrift protocol (backport #29888)

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[BE Incremental Coverage Report]
:disappointed: fail : 6 / 13 (46.15%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/service/internal_service.cpp
0
5
00.00%
[220, 241, 298, 313, 319]

:large_blue_circle:
src/util/thrift_util.h
6
8
75.00%
[161, 163]

[BE Incremental Coverage Report]
:disappointed: fail : 6 / 11 (54.55%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/service/internal_service.cpp
0
3
00.00%
[220, 297, 318]

:large_blue_circle:
src/util/thrift_util.h
6
8
75.00%
[161, 163]

[FE Incremental Coverage Report]
:heart_eyes: pass : 19 / 22 (86.36%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/rpc/AttachmentRequest.java
5
8
62.50%
[38, 40, 50]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/rpc/PExecPlanFragmentRequest.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/rpc/PExecBatchPlanFragmentsRequest.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/Coordinator.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/rpc/BackendServiceClient.java
4
4
100.00%
[]

[BE Incremental Coverage Report]
:disappointed: fail : 6 / 11 (54.55%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/service/internal_service.cpp
0
3
00.00%
[220, 297, 318]

:large_blue_circle:
src/util/thrift_util.h
6
8
75.00%
[161, 163]


Fix runner.js

NPM uses flat deps now so the jar does not work. require.resolve finds the path of the JAR_FILE better.

Can you push it to the npm repository please.

Done. v1.1.2 Thanks!


Failed to build chatglm-cpp llama-cpp-python pynini

when i install xinference through command line: pip install "xinference[all]"
the following error happened:
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\DengXiaoTong\AppData\Local\Temp\pip-install-2tveq5wl\pynini_1fcdaa3fe5bb47d093fcbd2da202ed7b\setup.py", line 22, in
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
and then i do it : pip install Cython,and install xinference again.however ,another error occured:
cl: command line error D8021 :Invalid numerical parameter“/Wno-register”
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pynini
Running setup.py clean for pynini
Failed to build chatglm-cpp llama-cpp-python pynini
ERROR: Could not build wheels for chatglm-cpp, llama-cpp-python, pynini, which is required to install pyproject.toml-based projects
so how can i solve this problem?

Duplicated with #1702 .
pynini can be installed via conda.
conda install -c conda-forge pynini=2.1.5

Duplicated with #1702 .
pynini can be installed via conda.
conda install -c conda-forge pynini=2.1.5

thanks! i have solved it

请问你是如何解决的，我尝试用conda install -c conda-forge pynini=2.1.5，但是还是报错：
ProxyError: Conda cannot proceed due to an error in your proxy configuration.
Check for typos and other configuration errors in any '.netrc' file in your home directory,
any environment variables ending in '_PROXY', and any other system-wide proxy
configuration settings.

thanks,i solve this problem in the same way


Verify screen resolution slider isn't bugged

Havok encountered a situation where he couldn't find 1366x768 resolution until he left arrowed past where it should have been and then right arrowed over
https://clips.twitch.tv/EagerGeniusCarrotDoritosChip

Looks like Screen.resolutions is assumed to be sorted properly.  It probably isn't.  Sort it from low width to high width, with a secondary sort from low height to high height.


I was looking for how to set a Tuple, I.E public Tuple<int, int> homeCity; = ?????

This page didn't seem to use tuple syntax, more of Tuple as a concept, so very not useful.

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

ID: 3bf15268-9d34-cf10-97b9-0b94022c3305
Version Independent ID: 17728168-48fa-0f5f-0c19-31ae4ce6fdb9
Content: Tuple types - C# Guide
Content Source: docs/csharp/tuples.md
Product: dotnet-csharp
Technology: csharp-fundamentals
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@Kadjai what kind of an example do you miss? Also, do you mean Tuple type or ValueTuple type? This article is about value tuples.


Grader does not force the restart

It seems it's possible to send actions even in the finished environment if users ignore the done flag
https://github.com/kidzik/osim-rl-grader/blob/master/gym_http_server.py#L150-L167

Apparently you didn't wrote the core logic in a state-machine fashion. A state machine enforces conditions on state transitions, which minimize the chance of bugs like these.

It actually already throws "Trying to step environment which is currently done. While the monitor is active for {}, you cannot step beyond the end of an episode. Call 'env.reset()' to start the next episode.". Closing for now.


Mimic browser user agent

Codecov Report

Merging #2372 into canary will decrease coverage by 0.42%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           canary   #2372      +/-   ##
=========================================
- Coverage   11.33%   10.9%   -0.43%
=========================================
  Files         249     250       +1
  Lines        9063    9031      -32
  Branches      998     990       -8
=========================================
- Hits         1027     985      -42
- Misses       7934    7945      +11
+ Partials      102     101       -1

Impacted Files
Coverage Δ

src/util/metrics.js
0% <ø> (ø)
:arrow_up:

src/util/ua-browser.ts
0% <0%> (ø)

src/commands/dev/lib/builder-cache.ts
67.27% <0%> (-9.05%)
:arrow_down:

Continue to review full report at Codecov.

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


Add signing-key input option

Currently there is no way to set Scala Steward's --git-author-signing-key option. This adds an optional signing-key configuration parameter.

Hi! Thanks, this is an awesome improvement. Only thing missing would be to add the new input to the action.yml file.
This is the reference for GitHub Action's action.yml file.
Also, would you mind adding a line or two about this new input to the GPG section of the README.md? Thanks!

@alejandrohdezma Okay great.
I've added the parameter to action.yml as required.
Also added some usage documentation. Let me know if any changes are needed.

It looks great! Thank you for this :)

@arashi01 This is now on master, could you give it a go using the commit's SHA (a57c95bff174c8b29c2f9227505454025fe63889) as version? If you confirm this works as expected, I will create a new release with the change :)

@alejandrohdezma Okay so it seems to work as expected. Steps taken to test:

Add correct GPG key ID to Scala Steward workflow file to see if it solved issue we were currently experiencing attempting to sign commits.
Observed that previous error when enabling GPG signing is no longer there.
Add incorrect / random text replacing correct key id in Scala Steward workflow file.
Observed that Scala Steward run failure due to GPG signing error.

That's great! Thanks :)
I just created a new release including this change: https://github.com/scala-steward-org/scala-steward-action/releases/tag/v2.15.0
v2 tag should also be updated to the same commit.


attempt to perform arithmetic on field 'module_limit' (a nil value)

Problem Description
Error while running event factoryplanner::on_configuration_changed
factoryplanner/backend/data/ModuleSet.lua:120: attempt to perform arithmetic on field 'module_limit' (a nil value)
stack traceback:
factoryplanner/backend/data/ModuleSet.lua:120: in function 'count_modules'
factoryplanner/backend/data/ModuleSet.lua:47: in function 'insert'
factoryplanner/backend/migrations/migration_1_1_73.lua:107: in function 'convert_floor'
factoryplanner/backend/migrations/migration_1_1_73.lua:133: in function 'migration_function'
factoryplanner/backend/handlers/migrator.lua:57: in function 'apply_migrations'
factoryplanner/backend/handlers/migrator.lua:95: in function 'migrate_player_table'
factoryplanner/backend/init.lua:243: in function <factoryplanner/backend/init.lua:228>
Reproduction
All I need to do is attempt to load my save. Unfortunately I don't know what causes it but I am guessing the error report will make it clear how the value is nil.

Hello, thanks for the report. This is a dupe with #173 actually, so we'll redirect there.


On bosses only uses 1 sword with nothing in the other hand

Also tried setting one default sword, but it didn't help.
Settings:
var elemental_items = [
 ["wand",
    ["fire", "D"],
    ["poison", "D"],
  ],
 ["sword",
    ["aether", "D"],
    ["fire", "D"],
    ["ice", "D"],
    ["poison", "D"],
    ["vigor", "D"],
  ],
 ["shield",
    ["vigor", "ah"],
    ["default", "compound shield"],
  ],
]
var special_items = [
  "dashing", "bardiche", "heavy hammer",
]
var lost_items = [
  "blade", "arm", "mask"
]
var evade_shield = "vigor ah"
var armor_shield = "compound shield"
var melee_aoe_weapon = "bardiche"
var ranged_aoe_weapon = "wands"
var ranged_st_weapon = "wands"
/*********************
**     #Settings    **
*********************/
var ui_show_cd = false
var ui_show_statuses = false
var ui_show_debug = false
var aoe_treshold = 3
var low_hp_threshold = 0.5
var use_shield_on_low_hp = true
var prefer_ranged = false
var max_chill = 6
var bfg_quest = "variety"
var bfg_defeated_foes = [
  "Ant", "Ant Hill", "Big A** Snail", "Big Booo",
  "Bolesh", "Booo", "Cult Guard", "Dominotaur",
  "Perfected", "Bearer of Stones",
  "Elite Ice elemental", "Fire Elemental",
  "Ground Serpent", "Huge Mosquito",
  "Huge Snail", "Ki Gobbler", "Ki Slurper",
  "Knee Chopper", "Mine Walker", "Nail Biter",
  "Neck Warmer", "Not Caviar", "Poison Adept",
  "R.I.P.", "Serpent Handler", "Skeletimmy",
  "Skeletony", "Skin Peeler", "Stone Scarab",
  "Toupée Snatcher", "Whip Controller",
  "Worm Rider", "Wound Licker"
]
var smite_damage = 85
var smite_treshold = 7
var pickpocket_quest = true
var arm_damage = 20
var max_pickpocket = 1
var maintain_pickpocket = false
var mask_quest = false

Thank you for the report! I've just released version 1.3 that has a lot of bugfixes and improvements for weapon switching, please try it out :)
I'll close this issue for the time being, please create a new one if you continue to have issues with it.


Encode Response to UTF-8 before calling json_encode()

I know this "issue" was discussed and closed in #18 , but I would like to reopen it to ask you (🙏) considering again the encoding of the Response to UTF-8 when the encoding is ISO-8859-1.
I have a lot of code migrated from XAJAX where it was not necessary to encode manually this response, and only a few lines extra in getOutput() in Response Class would be very helpful for me.
The behaviour If we forget to encode the Response is annoying because Jaxon request fails silently with no error message, even with debug enabled.
Something like this:
    public function getOutput()
    {
        $response = [
            'jxnobj' => [],
        ];

        if(($this->returnValue))
        {
            $response['jxnrv'] = $this->returnValue;
        }

        foreach($this->aCommands as $xCommand)
        {
            //25/12/2019 --> Encoding ISO-8859-1 to UTF8
            if($this->getOption('core.encoding') == 'ISO-8859-1') {
                $response['jxnobj'][] = $this->utf8_converter($xCommand);
            }
            else $response['jxnobj'][] = $xCommand;
        }

        return json_encode($response);
    }

With some utf converter function like this:
    private function utf8_converter($mArg)
    {
        if(is_array($mArg)) {
            array_walk_recursive($mArg, function(&$item, $key){
                if(!mb_detect_encoding($item, 'utf-8', true)){
                    $item = utf8_encode($item);
                }
            });
        }
        elseif(is_string($mArg))
        {
            $mArg = utf8_encode($mArg);
        }

        return $mArg;
    }

Thank you!

I've made a change to allow you to get the commands in a response. Check the 3.1.8 release.
You can therefore apply any change you need on the command before they are sent back to the browser.
jaxon()->callback()->after(function($target, $bEndRequest) {
    $response = jaxon()->di()->getResponseManager()->getResponse();
    $commands = $response->getCommands();
    // Apply any change you want on the commands
    foreach($commands as $command)
    {
        ....
    }
    // Reset the changed commands in the response
    $response->clearCommands()->appendResponse($commands);
});

I hope this will help in solving your issue.

Thank you!!
But I think you have to change clearCommands() Method
$this->aCommands[] = [];
to
$this->aCommands = [];
Changing this, I solved my issue and all responses are previously converted to UTF-8.
PD: Do you have any link for donations?


problem with a feed

Feed URL
Please specify the feed URL: https://feeds.feedblitz.com/zooborns
Add-on version
Add-on version: 3.8
Describe the bug
Trying to add the feed takes me to a page that says "Failed to fetch feed"
To Reproduce
Steps to reproduce the behavior:

Go to https://feeds.feedblitz.com/zooborns
Click on the subscribe button
See error

Expected behavior
This should add the livemark.

XML Parsing Error: prefix not bound to a namespace
Location: https://feeds.feedblitz.com/zooborns&x=1
Line Number 12, Column 1: 3 zooborns&x=1:12:1


Patch2

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

First of all sorry for that mistakes. I have changed my mistakes.


Please select a license for redistribution.

Hi Dan,
first, thanks for your work. I would like to include your integration in my Home Assistant Gentoo overlay, https://github.com/onkelbeh/HomeAssistantRepository/
But, you have not published a license, not here, and not on pypi, so I am asking for clarification.
According to Gentoo's license guidelines, it is not allowed to redistribute a package without a license (https://devmanual.gentoo.org/general-concepts/licenses/index.html).
Today, I added it with an "all-rights-reserved" tag, this forbids redistribution and usage of gentoo's mirror system.
At the bottom of my README.md you can find some (outdated) license stats, perhaps this helps your decision. Thanks a lot in advance.
\B.

Kind bump @kk7ds

mFi is abandonware from Ubiquiti so I don't think there's any point in keeping this on life support. If this even works anymore, Ubiquiti doesn't support the controller software which is pre-log4j-fix and all manner of other vulnerabilities I'm sure. I'd really prefer to just archive this repo. If someone else wants to pick up the maintenance of it, I'll happily transfer the pypi ownership to them.


Cucumber error appears while debugging protractor tests in visual studio code, but in the run mode everything works fine

Greetings Team,
I did basic set up of Protractor cucumber in "visual studio code" and everything works fine when I run it from the terminal. However when I debug it through visual studio code it gives me version error. I have not installed Cucumber globally. I installed it through npm install in the local directory but still the error message says that I am keeping two different versions. How come it be possible?
This error message should also come in the run mode why is it coming only in the debug mode. Please see below error.
**[18:34:15] I/launcher - Running 1 instances of WebDriver
logger.js:158
[18:34:15] I/local - Starting selenium standalone server...
logger.js:158
[18:34:16] I/local - Selenium standalone server started at http://<IP_ADDRESS>:60837/wd/hub
logger.js:158
Unhandled rejection Error:
debuggability.js:868
You appear to be executing an install of cucumber (most likely a global install)
that is different from your local install (the one required in your support files).
For cucumber to work, you need to execute the same install that is required in your support files.
Please execute the locally installed version to run your tests.
Executed Path: D:\Prog Test\protractor-cucumber-master\node_modules\cucumber\lib\index.js
Local Path:    d:\Prog Test\protractor-cucumber-master\node_modules\cucumber\lib\index.js
at D:\Prog Test\protractor-cucumber-master\node_modules\cucumber\src\cli\install_validator.js:17:11
at Generator.next ()
at Generator.tryCatcher (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\util.js:16:23)
at PromiseSpawn._promiseFulfilled (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\generators.js:97:49)
at Promise._settlePromise (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\promise.js:574:26)
at Promise._settlePromise0 (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\promise.js:693:18)
at Async._drainQueue (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\async.js:133:16)
at Async._drainQueues (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\async.js:143:10)
at Immediate.Async.drainQueues (D:\Prog Test\protractor-cucumber-master\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:794:20)
at tryOnImmediate (timers.js:752:5)
at processImmediate [as _immediateCallback] (timers.js:729:5)
[18:34:25] E/launcher - BUG: launcher exited with 1 tasks remaining
logger.js:158**
Below are the dependencies of package.json which got installed after running "npm install"
`{
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"cucumber": "^3.2.1",
"cucumber-html-report": "^0.6.2",
"cucumber-html-reporter": "^3.0.4",
"cucumberjs-allure-reporter": "^1.0.3",
"mkdirp": "^0.5.1",
"protractor": "^5.2.0",
"protractor-cucumber-framework": "^4.1.1"
},
}
`

You need to specify the cwd in your  .vscode/launch.json as following:
"configurations": [
    {
        "type": "node",
        "request": "launch",
        "name": "Launch Program",
        **"cwd": "${workspaceRoot}",**
        "program": "${workspaceRoot}/node_modules/protractor/bin/protractor",
        "stopOnEntry": false,
        "args": [
            "${workspaceRoot}/config/config.js"
        ],
    }
]

I tried using cucumber directly in the same project, and there it works fine, so this must be related to protractor or protractor-cucumber-framework

Thank you for posting this! I found it over a year later and the 'cwd' fix worked for me.


Building Damage Assessment ckpt download

can you upload Building Damage Assessment ckpt download ,please

Does the holdout data and tier3 data been used?

I noticed that the readme sets the path for the holdout data, but is it used in the code? It seems that the holdout data is not being used.

Hi @kuaiqushangzixiba ,
The holdout set is used. The form of our code is kept uniform across the three tasks. You can easily modify the current code to apply the holdout set.
BTW, we will upload the ckpt of MambaBDA soon.
Best,


Allow parameter override

With this change it is possible to easy manipulate the filter parameters which are sent to the backend. You have to modify them when you want to add your own filter fields.

@shopwareBot

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-8611.
Please use this issue to track the state of your pull request.


Coverting sample-pipeline to cue

Took some time to debug but the issue was that the kaniko task did not have the required IMAGE_DIGEST and IMAGE_URL that allowed it to get signed. The new cue implementation fixes this and works with Kyverno verification. Works with the older current version of chains. I also tested with the newest version to determine the error output as the current version of chains did not throw any errors.....

Maybe we should add example-sample-pipeline to the Makefile.

Maybe we should add example-sample-pipeline to the Makefile.

Updated README and added command to Makefile.


Hard crash when referencing an invalid property name

It seems that changes to coreclr and clr.dll have introduced a new fatal error behavior into PowerShell.  This problem seems to be contained (in my lazy testing) to changes introduced with Windows 10 build number 15063.
Steps to reproduce
#Import a custom type (this one exposes properties of DeviceFriendlyName,Id,LastSeenTime)
Update-TypeData -PrependPath $PSScriptRoot\Types.ps1xml -Verbose

#Add this type to an object
$results  | ForEach {$_.PSobject.TypeNames.Insert(0,'AirWatch.Automation.Object.Device') }

#Try to reference a property which doesn't exist
#  (I'm typoing on DeviceFriendlyName as DeviceFriendlyNam
$results | ForEach {
    #Below command kills PowerShell
    "About to process $($_.DeviceFriendlyNam)"
    Some-Cmdlet
}

Expected behavior
PowerShell SHOULD instead continue and ignore the incorrect property name
 About to process
 #cmdlets continue

Actual behavior
#Long Pause
Process is terminating due to StackOverflowException

PowerShell console crashes, Windows Event log gets created.
TimeCreated  : 5/19/2017 11:20:02 AM
ProviderName : Application Error
Id           : 1000
Message      : Faulting application name: powershell.exe, version: <IP_ADDRESS>6, time stamp: 0x5907ff0b
               Faulting module name: coreclr.dll, version: 4.6.25301.2, time stamp: 0x590795de
               Exception code: 0xc00000fd
               Fault offset: 0x00000000000fdf09
               Faulting process id: 0x56d0
               Faulting application start time: 0x01d2d0b16bb82eba
               Faulting application path: C:\Program Files\PowerShell\6.0.0-beta.1\powershell.exe
               Faulting module path: C:\Program Files\PowerShell\6.0.0-beta.1\coreclr.dll
               Report Id: 015391b8-0bd9-4661-828a-61623b308c3f
               Faulting package full name:
               Faulting package-relative application ID:

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
BuildVersion                   <IP_ADDRESS>
CLRVersion
GitCommitId                    v6.0.0-beta.1
OS                             Microsoft Windows 10.0.15063
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

@1RedOne Can you please also share the types.ps1xml file you were using? That will be very helpful.

Certainly!  Here is the exact file that I'm using.  https://gist.github.com/1RedOne/0d690dbe68ddb4125a5e7bd80cf1a588

@1RedOne Thanks for sharing the type file. The script property defined in the type file is basically recursively calling itself, and hence the stack overflow.
powershell shouldn't crash in this case. Instead, it should throw 'ScriptCallDepthException', just like what it does when recursively calling a function:
function bar { bar }
bar
The script failed due to call depth overflow.
    + CategoryInfo          : InvalidOperation: (0:Int32) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : CallDepthOverflow

Should have known I actually caused the issue!  Would you mind pointing out
which line the issue was in? :)
On May 19, 2017 6:38 PM, "Dongbo Wang"<EMAIL_ADDRESS>wrote:
@1RedOne https://github.com/1redone Thanks for sharing the type file. The
script property defined in the type file is basically recursively calling
itself, and hence the stack overflow.
powershell shouldn't crash in this case. Instead, it should throw
'ScriptCallDepthException', just like what it does when recursively calling
a function:
function bar { bar }
bar
The script failed due to call depth overflow.
+ CategoryInfo          : InvalidOperation: (0:Int32) [],
ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CallDepthOverflow
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/PowerShell/issues/3822#issuecomment-302826680,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABMJir68JyYmxIY3ZrWuljrFbQoHr4Duks5r7hnggaJpZM4NgrbD
.

Every script property defined in the types.ps1xml file is calling the script property itself. For example,
The getter of CompromisedStatus is $this.CompromisedStatus.
   <ScriptProperty>
        <Name>CompromisedStatus</Name>
        <GetScriptBlock>
          $this.CompromisedStatus
        </GetScriptBlock>
    </ScriptProperty>
   <ScriptProperty>
        <Name>DeviceFriendlyNam</Name>
        <GetScriptBlock>
          $this.DeviceFriendlyNam
        </GetScriptBlock>
    </ScriptProperty>

If you want to define a property to shadow a property with the same name of the underlying object, you should use $this.psbase.CompromisedStatus.

Can we close the Issue or we plan a fix?

I think we can close this.

Thanks guys, this was actually my issue all along.


add face to face docs

@aidenkeating can you try this out locally? I think a good test would be to remove any local images and then run the script in the doc, take a list of the images and hashes then run the installer, and provision the main services, there should be no new hashes or images

@aidenkeating let me know when you've finished trying this out, and I'll merge it then - assuming it works as expected.

@philbrookes Had to update feedhenry/fh-sync-server-apb:0.0.6 and create feedhenry/fh-sync-server:0.0.6. They also need to be added to the script. After that it looks to be working.
As discussed, was also seeing an error on installation:
TASK [ansible-service-broker-setup : Copy APB's from feedhenry docker org to feedhenry] ***
fatal: [localhost]: FAILED! => {"failed": true, "msg": "'dict object' has no attribute 'json'"}
	to retry, use: --limit @/Users/aidenkeating/dev/go/src/github.com/feedhenry/mcp-standalone/installer/playbook.retry

PLAY RECAP *********************************************************************
localhost                  : ok=18   changed=1    unreachable=0    failed=1

If we don't need to do this in the f2f, should we add a flag to skip it to the installation command.
Other than that looks good.


cwa files (Axivity) can come with time jumps more than the block length which resample function cannot handle

I am currently fixing this, as it introduces large peaks in the data.

Now fixed in main branch.


Save sc_readyfile existence test result before popd

Resolves https://github.com/travis-ci/travis-ci/issues/7178.

Test https://staging.travis-ci.org/BanzaiMan/travis_staging_test/builds/533441

There was a problem with this PR, and it was corrected in #933.


Mined balance not shown

Balance of addresses with mined block is not correct
http://api.qbit.ninja/balances/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa/summary
shows -> "amount":<PHONE_NUMBER> but final balance is 68.10533767BTC, mined BTC not showing
and
http://api.qbit.ninja/balances/1CK6KHY6MHgYvmRQ4PAafKYDrg1ejbH1cE/summary
return 504 error : Gateway Timeout

shit I may have broken something in my last update...

The balance is correct http://api.qbit.ninja/balances/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa/summary matches with https://blockstream.info/address/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa

Block explorer not reporting the same balance are wrong. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa should only show P2PKH payment, not P2PK.

For the timeout, this is a limitation of qbit ninja, it is difficult for it to calculate the balance summary for really big addresses.


PPO variant -  Add KL loss as regularization

This is inspired by the PPO variant implementation from:
https://github.com/ContextualAI/HALOs/blob/f9f78263cb7aa70809a87f9f74482dfd09f8c60b/trainers.py#L942.
According to the paper, https://arxiv.org/pdf/2309.16240.pdf, the KL loss acts as a regularization term to prevent the policy model to drift too much away from the reference model, and according to the paper, it is relatively stable when applying different divergence functions.

Will attach wandb graph later.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


As an employee, I require a report that lists all cities within a particular country, arranged by population size from largest to smallest. The report should display the top 2 populated cities in the country.

City Report
A city report requires the following columns:
Name.
Country.
District.
Population.


[gemfire] Checkstyle updates for GemFire.

could we do this on top of #388?

@allanbank updated this PR with #648.


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

I'm ready, you'll know me after finish this issue, I'm nervous 😅


[usbdpi] Proper separation of transactions and transfers

Description
Some initial work has been done on the DPI model to sever the fixed timing relationship between bus frames and control transfers performed, but it is still not possible to split control transfers across bus frames, interleave them with other transfers, or have the DPI code be properly responsive to the device responses.
In particular:

eliminate the use of fixed delay intervals before assuming the response to have occurred; instead wait with a timeout or
support retrying where the host must check for the presence of the response
introduce proper delays for the transmission/reception of packets, based upon the number of bytes being transferred and any handover intervals. eg. required for isochronous testing, where no response occurs
implement generic Control Read and Control Write transfers to perform the host behavior, rather than having separate functions for each control transfer that is performed

Later:

extend usbdpi_transfer_t to support multiple transactions and phased transmission/reception? (Dependent upon how much additional testing we want to perform in t-l sim; let's not expend too much effort verifying higher-level USB behavior, since that must be implemented in software with our packet-level usbdev implementation)

estimate 16

The effort remaining here is in the DV / tooling side and so can be considered a V2 effort.

Discussed in triage, not clear that this will improve coverage, so moving to M5 with P3. Please object if you think it should be higher prio


feat: Support version when create / update action

The REST API support version number, when create or update an action. The parameter is optional and if it is empty the system increment the patch version number.
When action invoke the system store the version number in the log. Very useful to know what version of the action have invoked when investigating a bug.

Codecov Report

Merging #65 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #65      +/-   ##
==========================================
+ Coverage   99.37%   99.37%   +<.01%
==========================================
  Files          14       14
  Lines         318      320       +2
==========================================
+ Hits          316      318       +2
  Misses          2        2

Impacted Files
Coverage Δ

lib/actions.js
100% <100%> (ø)
:arrow_up:

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 d4b69d7...e37633f. Read the comment docs.

I didn't know the version could be set, that's interesting @ert78gb.
Thanks for adding tests along with the code. Can you please update the README to document this new parameter?

I added and set the code snippet language for syntax highlight

Thanks, this LGTM.
@csantanapr review & merge? So I can release on NPM.

I resolved the conflict pls merge or close my PR-s.


Digma early access program notification

Notification should be shown for some users instead of the free course promotion (using the same infra)
Please see the IntellIJ story here:
https://app.zenhub.com/workspaces/digma-team-629081e5a37b4b0015ac6813/issues/gh/digma-ai/digma-intellij-plugin/2440
Mockups are here:
https://www.figma.com/design/MxA95ZHK5NqGX4ptFQljRJ/⭐-Design-System-3.0?node-id=12010-189963&t=r6h6QsERpvQo1prZ-11

@doppleware after user register via the 'early access' should we show again the 'free course promotion' ?

Yes

Delay between promotions will be 1d


update public and test server URL's

And do some "Mergin" → "Mergin Maps" replacements.

any idea why tests are failing?

any idea why tests are failing?

Test server is down since yesterday.

@alexbruy test server has been fixed, no?

@varmar05 yes, test server URl was updated.


Hi there! I am selected as GSSOC contributor and your tech stack matches mine so I would like to be a part of this project ⭐

Hi, please tell us about the kind of project you will be adding

Hi, please tell us about the kind of project you will be adding

We can make project where their might we some codes (basic) and you have to sort of set the correct logic so that that code will work and you build a house or something like that.
Apart from this I am ready to work on any idea.

Invalid for the issue. make sure you are adding proper issues or ideas.


Nebulae [Request]

Large clouds of dust & gas
Gas is collectible like on gas giants
Fancy new gasses/dusts, possibly?
Probably in place of stars on the star map, without or with very small rocky, planets

It would be cool if they had a custom render/skybox, where if you went there, it's not like with a planet or black hole where you see it in the distance, but you're actually in the middle of it and it surrounds you. The color of the skybox particles could be configurable. Maybe even some sort of gradient.


package gridExtra required but missing from depends?

I just tried to install the zamfluence package on a fresh R installation:
devtools::install_github("https://github.com/rgiordan/zaminfluence/",
                         ref="master",
                         subdir="zaminfluence",
                         force=TRUE)

and got the error message
* installing *source* package 'zaminfluence' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in library(gridExtra) : there is no package called 'gridExtra'
Error: unable to load R code in package 'zaminfluence'
Execution halted
ERROR: lazy loading failed for package 'zaminfluence'

In the description, you have
https://github.com/rgiordan/zaminfluence/blob/2d29fbbf5f2b69a26ad391ff4e79d117ee152fbd/zaminfluence/DESCRIPTION#L11
and only "suggest" gridExtra -- that appears to not be sufficient here?
https://github.com/rgiordan/zaminfluence/blob/2d29fbbf5f2b69a26ad391ff4e79d117ee152fbd/zaminfluence/DESCRIPTION#L17-L18
Installation was successful for me after I manually installed gridExtra
I've limited experience with making packages, and didn't search the code for how you are using gridExtra.
When I made a package myself, I used "Imports" -- e.g.
https://github.com/michaelpollmann/parTreat/blob/4bad92f8307533b5c56d2e4e25c5a628db83ea66/DESCRIPTION#L15-L17
and then in the code always do e.g. reticulate::<function name>, which avoids adding those packages to the namespace of the user (after library(zamfluence) also all functions from the package listed in depends are available to the user)
When first loading the package, it also had to download something from pytorch.org and googleapis.org -- not sure if one can make that happen during package installation (it may be coming form the torch package)
The actual package works well for me so far -- thanks for sharing the code for your paper!

Wow, I should watch my issues more.  Thanks for catching this and the detailed analysis.  Fixed in https://github.com/rgiordan/zaminfluence/pull/46


Fix account ref-counting in session

closes https://github.com/paritytech/substrate/issues/8536

bot merge


lakeFS Hadoop Filesystem - Hadoop 3 packaging

Added support for Hadoop 2, 3-3.2.1, and 3.2.2+ packaging.
All package options have a common path (src/main/java) from which they package classes, and in addition, a specified location per package is added. For example, the Hadoop 3 profile states that in addition to the common packaged files, all of the files under src/hadoop3/java will be packed as well.
To choose which version to package, all you need to do is to add one of the following profiles to the mvn command:

hadoop2 - packaging with Hadoop 2 dependencies.
hadoop3 - packaging with Hadoop 3 dependencies.
hadoop321 - packaging with Hadoop 3.2.1 dependencies.

Changed the ESTI tests to package Hadoop 2 and use it (as it did so far). Testing other Hadoop versions using ESTI's workflow should be completed on a different PR.

Changed the "Publish Hadoop lakeFS Filesystem" workflow to receive a Hadoop version [2, 3.2.1, 3] and package by it.

How was this tested?
Workflow
Changed the bucket name to a private bucket, and ran it with the three Hadoop versions.
Compatibility
Ran the Sonnets app on Databricks using the three Hadoop versions that were published in the previous step (the Hadoop versions on DB were 2.7.4 and 3.3.1 respectively).

P.S.
The need for differentiation between versions 3.0.0-3.2.1 and 3.2.2+ arises from this JIRA ticket
Closes #3957

Thanks, @johnnyaug!
I agree that currently there are no code differences between Hadoop 2 and Hadoop 3 APIs, but I'm not that certain that there won't be such changes in the foreseeable future.
Adding the LakeFSOutputCommitter or any change in the current metadata client (as happened recently) might introduce a breaking change, resulting in three different Jars.
Personally, I wouldn't want to add a new code and then find out that it doesn't work, diverge from the main task and create the supporting infrastructure around it.
I also think that Spark users should know which Hadoop version they use and select the appropriate one from the list of three.

@Jonathan-Rosenberg, you raise a good point. We need the tests to run on the correct versions of Hadoop dependencies to ensure the code works. However, it doesn't require packaging different Jars at the end.


Question: How to create an edge to itself?

I have a use case where I must have a table with the following structure:
Table "Group"=(Id, name, value, parent)  // the "parent" column references an Id from another row within the same table Group.
hmo@jupiter ruler % go generate ./ent
entc/gen: resolve "Group" relations: edge "groups" is missing for inverse edge: Group.groups

https://entgo.io/docs/schema-edges/#o2o-same-type
https://entgo.io/docs/schema-edges/#o2m-same-type
https://entgo.io/docs/schema-edges/#m2m-same-type
What you want is a same-type relationship. I gather it's probably a o2m relation as a group could be a parent of many groups?
Regardless, You may want something like this.
// Group holds the schema definition for the Group entity.
type Group struct {
	ent.Schema
}

// Fields of the Group.
func (Group) Fields() []ent.Field {
	return []ent.Field{
		field.Int("id"),
		field.String("name"),
		field.String("value"),
		field.Int("parent"),
	}
}

// Edges of the Group.
func (Group) Edges() []ent.Edge {
	return []ent.Edge{
		edge.To("group_children", Group.Type),
		edge.From("group_parent", Group.Type).Ref("group_children").Unique(),
	}
}

Edges must have a from and to even if they are self-referential. Because if you have a group, you would want to know it's children as well as knowing its parent.

Thanks @napei for the support. Maybe one comment here, as mentioned in docs you can define this O2M (same type) relationship as follows:
// Edges of the Node.
func (Group) Edges() []ent.Edge {
    return []ent.Edge{
        edge.To("children", Group.Type).
            From("parent").
            Unique(),
    }
}

@hm0 please let us know if you need further help with this.

Hello,
Thanks a lot @napei  and @a8m . That worked.


Add ApeSwap HEC-BNB and TOR-BUSD vaults

API PR: https://github.com/beefyfinance/beefy-api/pull/899
Moo Ape HEC-WBNB
Vault: 0xf2e24273821835D177eB7A6C222c5AfE5de38e87
Strategy: 0xA3CB3939394c1e6c2C7F3c2FD881c18159dd5a75
Want: 0xC0687a3cF463f3be0B021d6F41551584D124d9C5
PoolId: 209
Moo Ape TOR-BUSD
Vault: 0x75c6DdEb686519Fa323Af9F224465F8635077AB5
Strategy: 0xFbfa12b10626151fB7735aBe4af5277104b480ee
Want: 0x8B343c2Ba35d218111d56799F83EdfC3066faA2C
PoolId: 210

Why did you route BANANA -> USDC. There is no liquidity there. You will have to fix.

@MirthFutures my bad. Deployed new vaults and updated addresses above.


Set up dashboards / Review alerts dashboard

Description
Once we have the agent installed, and have our SLIs defined, we should create some NR dashboards to help us monitor the success of the developer site. We will need one dashboard for troubleshooting (mapped to our alert policies) and another dashboard for the overall success (mapped to our SLIs).
As a reminder, here are the DevEx OKRs that are relevant to the developer site:

20% increase in usage in page views (6,300 page views currently)
>25% bounce rate (57% currently)
Number of CLI downloads hits 200 for the year
2 other NR teams and 5 non-NR individuals contributing

Acceptance Criteria:

Dev Site success dashboard created based on previously defined SLIs
Review trouble shooting dashboard made in previous MMF
Troubleshooting dashboard is linked in runbooks

More comments are here: https://newrelic.atlassian.net/browse/DEVEX-1043


AUROC for Retrieval (i.e. AUROC with indexes support)

🚀 Feature
A RetrievalAUROC metric module for calculating AUROC for individual queries within a multi-query set of predictions.
Motivation
I am training a recommender system and am using metrics like RetrievalPrecision/RetrievalRecall/RetrievalNDCG to get the mean of per-user metrics. I'd also like to do the same for AUROC, but currently AUROC is only implemented as a classification metric, not a retrieval metric, so it doesn't support the indexes argument and I can't calculate it on a per-user basis and aggregate.
Pitch
I think this would be potentially as simple as subclassing RetrievalMetric with _metric passing its arguments to torchmetrics.functional.classification.binary_auroc. It seems to me that RetrievalMetric handles the "per-index" part and aggregates the results.
Alternatives

Simply use BinaryAuroc disaggregated on all my predictions, which is not technically the same metric.
Generate all my predictions, groupby user, then use the torchmetrics auroc or any other auroc implementation on each group.

Additional context
If this feature is desirable to others, I would be happy to take a stab at implementing it.

Thank you!


Add limits to fast-resolv

this has been pulled into dev/hacks-001 with some additional modifications


Adding favicon, meta and titles

Motivation
Display a title, TM logo and metadata for unfurls on twitter and more
Changes

Adds a title to every page
Adds metadata to actually rendered document
Updates favicon to use the TM one, and not the vercel one

Testing Instructions

Would it be easier to wrap the whole app in PageWrapper and get the title from the route?

Would it be easier to wrap the whole app in PageWrapper and get the title from the route?

+1. Is there a way to do this more programmatically with next?

This seems to be Next's recommended way of handling this (per route) when I was reading docs. I couldn't find a more programmatic way to handle things

Yeah I kinda agree, I'll go update the order