Change request: Remove interpolated terms from iter recipe

The current specification of recipes with iteration counts intermixed with applied terms is very confusing when you start iterating multiple times - it looks like a loaded term can be solved further because transferring amplitude and bandpasses from a primary and solving for phases resulted in the flux scales being changed - the ball shifts amplitude!
input_ms.path=s0_offsets.flagged.avg.uncorrected.ms \
input_ms.data_column=DATA \
input_ms.time_chunk=100000000s \
input_ms.select_fields="[0]" \
input_ms.group_by="[FIELD_ID,DATA_DESC_ID]" \
input_model.recipe=MODEL_DATA \
solver.terms="['Ga','B','Gp2']" \
solver.iter_recipe="[0,0,20,20]" \
output.products="[corrected_data]" \
output.columns="['CORRECTED_DATA']" \
output.overwrite=False \
output.gain_directory=gains.qc.secphase \
Ga.type=amplitude \
Ga.time_interval=64s \
Ga.freq_interval=0 \
Ga.load_from=gains.qc/Ga \
B.type=diag_complex \
B.time_interval=1000000000s \
B.freq_interval=1 \
B.load_from=gains.qc/B \
Gp2.type=phase \
Gp2.time_interval=64s \
Gp2.freq_interval=0

I really think the recipe should consists of terms being arranged to apply and terms arranged to be solved. Ie similar to the CASA interface where caltable is specified and the gaintable list sets the terms in the chain fixed and loaded from file.

I also think gain types in the apply setting should be inferrable from the table data - similar to CASA - you should only need to give a list of caltable files.

Unfortunately, this is just user error. All terms in the chain are treated equally, regardless of whether they are loaded or computed. The reason why I am unwilling to change this (at present) as it forces you into a regime whether a term is either loaded or solved. QC has the flexibility to do additional refinements to already solved terms and I intend to retain that functionality. In the above example, solver.iter_recipe="[0,0,20,20]" would have resulted in 0 iterations on Ga, 0 iterations on B, 20 iterations on Gp2 and 20 iterations on Ga. If one of those changed unexpectedly, it must have had a non-zero iteration count associated with it. Note that if you load a term with a solution interval which is different that the one you solved with, QC will interpolate it to the required resolution.
As to your second point, yes, it is possible to get the type from the loaded term. I am working on this at present along with a number of other improvements to the interpolation code. It is a very fiddly problem though so it is taking me some time to come up with a neat/robust approach.

Hmm. It is unclear to me what happens with a loaded K term where 0 and lag
initialize is set to true for instance - the behaviour for loaded and solve
is identical in that meaning.
I think there should be an additional flag per gain term called 'fixed'
that stops further adjustment of loaded terms.
On Thu, 04 May 2023, 09:12 JSKenyon, @.***> wrote:

Unfortunately, this is just user error. All terms in the chain are treated
equally, regardless of whether they are loaded or computed. The reason why
I am unwilling to change this (at present) as it forces you into a regime
whether a term is either loaded or solved. QC has the flexibility to do
additional refinements to already solved terms and I intend to retain that
functionality. In the above example, solver.iter_recipe="[0,0,20,20]"
would have resulted in 0 iterations on Ga, 0 iterations on B, 20
iterations on Gp2 and 20 iterations on Ga. If one of those changed
unexpectedly, it must have had a non-zero iteration count associated with
it. Note that if you load a term with a solution interval which is
different that the one you solved with, QC will interpolate it to the
required resolution.
As to your second point, yes, it is possible to get the type from the
loaded term. I am working on this at present along with a number of other
improvements to the interpolation code. It is a very fiddly problem though
so it is taking me some time to come up with a neat/robust approach.
—
Reply to this email directly, view it on GitHub
https://github.com/ratt-ru/QuartiCal/issues/250#issuecomment-1534200814,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB4RE6U6T2G2GY56X2O4Q6TXENJGLANCNFSM6AAAAAAXU5DZQQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I am also going to flip the default for the things like the delay init, for similar reasons. But yeah, maybe there is room for an explicit option that stops adjustments.

Note that initial estimates are never computed on a loaded/interpolated term, so that shouldn't trip anyone up.

Going to close this one - it may be nice to have an applycal step to wrap quartical for the apply only case, but I leave this for a later exercise.


[Help] how make new star

Version of Advanced Rocketry
[1.12.2-1.7.0-221-universal]
Have you verified this is an issue in the latest unstable build
N/A
Version of LibVulpes
[1.12.2-0.4.2-75-universal]
Version of Minecraft
[1.12.2]
Crash report or log (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read
https://pastebin.com/UUEDQxZf
Description of the problem
i finished the solar system (yay me) now i want to do the Kepler-22 system from extra planets. but i have no idea how do add another star.
how to reproduce:
step 1: copy text from pastbin.
step 2: paste it in a valid PlanetDefs XML file.
step 3: click the PlanetDefs XML without opening it
step 4: feel angry
edit: here's what XML validator said "The markup in the document following the root element must be well-formed." i have no idea what that means

Can you link the planetDefs.xml you are having issues with either to gist.github.com or pastebin.com and link it here?
Sent from my iPhone

On Jun 25, 2020, at 10:52 PM, PercyJames<EMAIL_ADDRESS>wrote:

Version of Advanced Rocketry
[1.12.2-1.7.0-221-universal]
Have you verified this is an issue in the latest unstable build
N/A
Version of LibVulpes
[1.12.2-0.4.2-75-universal]
Version of Minecraft
[1.12.2]
Crash report or log (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read
https://pastebin.com/UUEDQxZf
Description of the problem
i finished the solar system (yay me) now i want to do the Kepler-22 system from extra planets. but i have no idea how do add another star.
how to reproduce:
step 1: copy text from pastbin.
step 2: paste it in a valid PlanetDefs XML file.
step 3: click the PlanetDefs XML without opening it
step 4: feel angry
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Actually he did.
On Fri, Jun 26, 2020, 2:16 AM Dmodoom Sirius<EMAIL_ADDRESS>wrote:

Can you link the planetDefs.xml you are having issues with either to
gist.github.com or pastebin.com and link it here?
Sent from my iPhone

On Jun 25, 2020, at 10:52 PM, PercyJames<EMAIL_ADDRESS>wrote:

Version of Advanced Rocketry
[1.12.2-1.7.0-221-universal]
Have you verified this is an issue in the latest unstable build
N/A
Version of LibVulpes
[1.12.2-0.4.2-75-universal]
Version of Minecraft
[1.12.2]
Crash report or log (if applicable)
http://pastebin.com is a good place to put them
crash reports that are put in the issue itself are
hard to read
https://pastebin.com/UUEDQxZf
Description of the problem
i finished the solar system (yay me) now i want to do the Kepler-22
system from extra planets. but i have no idea how do add another star.
how to reproduce:
step 1: copy text from pastbin.
step 2: paste it in a valid PlanetDefs XML file.
step 3: click the PlanetDefs XML without opening it
step 4: feel angry
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zmaster587/AdvancedRocketry/issues/1863#issuecomment-650019585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGVDBJC6Z5DDFJK72E6JEHLRYRDLBANCNFSM4OI5WVNA
.

so, any ideas on what i can do?

i fixed it


fix: exiting earlier to avoid exceptions from gRPC calls

Description
As the title.
Issue linked
Close #3462
Checklist

[x] I have visited and read Develop PyMAPDL.
[x] I have tested my changes locally
[x] I have added necessary documentation or updated existing documentation.
[x] I have followed the PyMAPDL coding style guidelines.
[x] I have added appropriate unit tests that also ensure the minimal coverage criteria.
[x] I have reviewed my changes before submitting this pull request.
[x] I have linked the issue or issues that are solved to the PR if any.
[x] I have assigned this PR to myself.
[x] I have marked this PR as draft if it is not ready to be reviewed yet.
[x] I have made sure that the title of my PR follows Commit naming conventions (e.g. feat: adding new MAPDL command)

@pyansys-ci-bot LGTM.


Automatically patch broken saved views and runs

Runs the patch utils introduced in https://github.com/voxel51/fiftyone/pull/2970 if necessary whenever saved views or runs are accessed.

It fixes the issue. It brings the dataset doc back into sync with the corresponding documents in the views/runs collections. If there are no docs there, then the view/run is gone forever.

I really don't think we should be deleting these automatically. It hides the issue and will make it even harder to debug

It fixes the issue, not hides. These utils bring the dataset doc back into sync with the corresponding documents in the views/runs collections. If there are no docs in the external collections, there's no point in having an orphan ObjectId in the dataset doc.


Working Ubuntu Server with Peatio configured (Demo)

Hello,
Does an disk image exist with a working configured Peatio exchange? Would anyone be willing to share there hard work and provide an image file (iso.) of a working system? I am willing to write some documentation on using Peatio and contribute but configuration is setting me back. If this is an obscene request forgive me as I am new to git-hub. Thank you for your time.
Regards,
Jacob

you can use my github http://github.com/scatterp/peatio you can:
use a 16.04 standard iso
adduser deploy
usermod -a -G deploy
log out completely and back in
wget install.sh
source install.sh
and your done ..

I will give this a try. I successfully installed Peatio before but there were many obstacles with outdated repositories. I have since repurposed the server I installed it on. Hence why I thought it would be easier to find an image of a working configuration. Thanks for the prompt response.
-Jacob

Worked flawlessly. Now I am trying to get the front-end looking a bit more like an exchange with charts and the like. I will review the documentation before I post an issue. Thanks again!
-Jacob


[Improvement-14083][Resource Center] Handle deleteSource in OSS / S3 / GCS

Purpose of the pull request

close: #14083

Brief change log
Handle deleteSource in OSS / S3 / GCS

Verify this pull request
UT

restart the failed ci

Hi, @rickchengx , delete resource after download it seems weird, can we remove parameter deleteSource in download method, WDYT?

Hi, @rickchengx , delete resource after download it seems weird, can we remove parameter deleteSource in download method, WDYT?

I have no preference for this, currently all deleteSource is false in download() and I am not sure the original intention of this parameter.
cc @zhongjiajie

Hi, @rickchengx , delete resource after download it seems weird, can we remove parameter deleteSource in download method, WDYT?

good catch, download should be remove, and please add some desc in https://github.com/apache/dolphinscheduler/blob/d46e4659d917e1994bc9045c57fe3b865a308352/docs/docs/en/guide/upgrade/incompatible.md.
But the copy method should be keep IMO

Hi, @rickchengx , delete resource after download it seems weird, can we remove parameter deleteSource in download method, WDYT?

good catch, download should be remove, and please add some desc in https://github.com/apache/dolphinscheduler/blob/d46e4659d917e1994bc9045c57fe3b865a308352/docs/docs/en/guide/upgrade/incompatible.md due to we make an incompatible change
But the copy method should be keep IMO

Agree, I'll add this.

Codecov Report

Merging #14084 (7050479) into dev (f0881b6) will decrease coverage by 0.06%.
The diff coverage is 15.78%.

:exclamation: Current head 7050479 differs from pull request most recent head 0fc3618. Consider uploading reports for the commit 0fc3618 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14084      +/-   ##
============================================
- Coverage     38.39%   38.33%   -0.06%
+ Complexity     4460     4441      -19
============================================
  Files          1223     1223
  Lines         42543    42507      -36
  Branches       4713     4687      -26
============================================
- Hits          16336    16297      -39
- Misses        24408    24410       +2
- Partials       1799     1800       +1

Impacted Files
Coverage Δ

...heduler/plugin/storage/gcs/GcsStorageOperator.java
34.91% <0.00%> (-1.06%)
:arrow_down:

...duler/plugin/storage/hdfs/HdfsStorageOperator.java
19.86% <0.00%> (ø)

...heduler/plugin/storage/oss/OssStorageOperator.java
35.17% <0.00%> (-0.83%)
:arrow_down:

...scheduler/plugin/storage/s3/S3StorageOperator.java
33.71% <0.00%> (-0.78%)
:arrow_down:

...server/worker/utils/TaskExecutionCheckerUtils.java
7.69% <ø> (ø)

...heduler/api/service/impl/ResourcesServiceImpl.java
43.75% <100.00%> (+0.05%)
:arrow_up:

...che/dolphinscheduler/dao/utils/TaskCacheUtils.java
86.76% <100.00%> (ø)

...er/server/worker/utils/TaskFilesTransferUtils.java
78.89% <100.00%> (ø)

... and 37 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bug in gossip.pb.go

Hello!
I try to update go-micro library to latest version, I use go modules. In updating process I have next error message:

$ go get github.com/micro/go-micro
....
github.com/micro/go-micro/registry/gossip/proto
...github.com/micro/go-micro@v0.15.0/registry/gossip/proto/gossip.pb.go:21:11: undefined: proto.ProtoPackageIsVersion3

Previous version v0.14.1 load and work is OK.
My go version (go version):

go version go1.11.2 windows/amd64

Information about my system (go env):

set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\dmitr\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\dmitr\Documents\Projects\Go
set GOPROXY=direct
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\dmitr\Documents\Projects\Docker\www\GO\payone-project-notifier\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\dmitr\AppData\Local\Temp\go-build391083514=/tmp/go-build -gno-record-gcc-switches

This is not a bug. It's related to golang/protobuf which needs to be updated.

Omg, I very inattentive :) Thanks

For anyone using dep who is encountering the same issue the solution (until golang/protobuf release a new version higher than 1.2.0) is to an override to your Gopkg.toml:
[[override]]
  name = "github.com/golang/protobuf"
  branch = "master"


[Feat] Embed styles in components

Bug, feature request, or proposal:
Feature request
What is the expected behavior?
Be able to npm install from github, and use the components directly.
What is the current behavior?
In my case webpack complains for each component of material 2 where it requests for css files when they haven't been compiled from scss.
What are the steps to reproduce?
Install from github and just import any material 2 module in the app module (in my case the dialog module):
npm i -S git+https://github.com/angular/material2.git

What is the use-case or motivation for changing an existing behavior?
Testing the most recent version is impossible due to the need of the library to be compiled before being used, using directly from source should be possible without having to compile the scss files through a sass compiler, in my case i have the webpack's sass-loader taking care of those extensions.
Which versions of Angular, Material, OS, browsers are affected?
Most likely all when installed directly from github.
Is there anything else we should know?
I think either you tell the component to use the scss files and when built embed the compiled css into the component itself, or you keep the css compiled version committed to github to be able to use the source directly.
I'm using webpack with awesome-typescript-loader, angular2-template-loader, sass-loader to embed the css in the angular component, that's why i think it's better to embed the css instead of making those components trigger a stylesheet download, as my styles are embedded i don't have any css files in my production build.

give "angular/material2-builds" a try.

Ok where to go then? is that an npm package?

GitHub repo for material builds synced with master

Btw i have noticed some weird thing, with npm show @angular/material i can se the version 2.0.0-alpha.11-3 but the one in both material 2 and material2-builds reference the 2.0.0-alpha.11-2 version, what's going on here?

The css has been inlined into the components for quite a long time now. Looking at the latest package (beta.1), everything still seems to be correctly inlined.

@jelbourn Have you tried installing from github directly? i can't test right now so i'll like to know if it worked for you when trying directly from github repo.

The inlining is a build step that's only run when performing a release (gulp build:release).


[BUG]: input submit on delete

Description 📝
Input component has bug where deleting old badges will perform an onSubmit action.
Link 🔗
https://syntaxui.com/docs/components/input
Steps to Reproduce 🔄

Go to https://syntaxui.com/docs/components/input
Type something into the input
Press on an x on a badge to remove it

Screenshots 📸
https://github.com/Ansub/SyntaxUI/assets/16091805/06001824-7870-4be7-822d-896d7489de0a
Expected Behavior 🤔
Removing an old badge will not submit the new one
Actual Behavior 😱
Removing an old badge will submit the new one
Environment 🌍
n/a
Additional Information ℹ
No response

I think this behavior is intentional because of onBlur handler.  if input has value and it loses focus the onBlur handler will add the value in keywords state.
if you think this is an actual bug I would like to contribute @Ansub :)

yeah you are right @adii1203 but i think it will be a better UX if we do it like @epoll31 is saying
if you want to contribute to this, it's all yours. lmk so that i can assign this issue to you :)

I have created the PR, let me know what you think about my solution.
@Ansub
@epoll31

s


AwsIamAuthentication doesn't implement AuthenticationStepsFactory

Spring Version: 2.0.6
Spring Cloud: Finchley.SR2
I am getting the following exception when the spring.cloud.vault.authentication property is set to aws_iam
Factory method 'reactiveVaultSessionManager' threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'vaultTokenSupplier' defined in
org.springframework.cloud.vault.config.VaultReactiveBootstrapConfiguration: Bean instantiation via
factory method failed; nested exception is org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.springframework.vault.authentication.VaultTokenSupplier]: Factory method
'vaultTokenSupplier' threw exception; nested exception is java.lang.IllegalStateException: Cannot
construct VaultTokenSupplier from
org.springframework.vault.authentication.AwsIamAuthentication@2f40a43. ClientAuthentication
must implement AuthenticationStepsFactory or be TokenAuthentication

The AwsIamAuthentication doesn't extends  AuthenticationStepsFactory like the others authentication classes do.
For now, the only fix is to disable reactive vault

Disabling Reactive Vault support in Spring Cloud Vault is the way to go if you don't require reactive Vault interaction.
AwsIamAuthentication bears the risk of blocking I/O via AWSCredentialsProvider. File or environmental credential-providers aren't the risky bit but providers that fetch credentials from remote services (e.g. ContainerCredentialsProvider, InstanceProfileCredentialsProvider).
We could move credential fetching into the bootstrap phase.
Out of curiosity: Which AWSCredentialsProvider are you using?

We are using the AwsCreadentialsProviderChain which I think uses the InstanceProfileCredentialsProvider to get the aws role.


Python: Unify API between RPCState and ServicerContext(s)

@donnadionne
Overview
New Relic is looking to provide instrumentation to customers on the Python async implementation of gRPC. The information required to report properly attributed telemetry to customers is not completely available, the following changes are designed to fix that.

Information available on SyncServicerContext differs from ServicerContext making available information different between sync and async handlers.

Fixed by supplying missing attributes on the SyncServicerContext

RPCState contains the host but is irretrievable from Python level, only available in binary extension.

Add method to allow extraction of host that matches the extraction for method, as well as providing this API on the ServicerContext and SyncServicerContext to make available from Python.

Target attribute is not available on channel objects from the Python level which differs from sync gRPC's implementation.

Add method to extract it.

I acknowledge the tiny change to channels is sort of tacked onto this PR, but seeing as the whole thing is quite small I felt 2 separate PRs would be more work for the maintainers. Let me know if you want that split out for any reason.

@TimPansino Thanks for the PR. To make this change complete, we will need to:

Update the "interface" which also generates our document, for example https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/aio/_base_call.py;
Add unit tests similar to https://github.com/grpc/grpc/blob/master/src/python/grpcio_tests/tests_aio/unit/context_peer_test.py.

I've added sync and async testing to check these attributes exist on the context within a handler. Let me know if you'd like any other changes made.


RSpec::Core::Formatters::ConsoleCodes (NameError) when using "after :all"

I've hit a strange error with rspec-core-3.5.4. In a spec I have the following clean up code
    after :all do
        if (File.exist?(@repo)) then
            FileUtils.rm_rf(@repo)
        end
    end

where @repo is the path to a local Git repository that my tests were working with. With this code in the spec I get the error fully_formatted': uninitialized constant RSpec::Core::Formatters::ConsoleCodes (NameError), and if I remove it the error goes away. Any idea what's causing this? I'm scratching my head to see how this simple directory clean-up is causing this error.
Full stacktrace is below:
/home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/formatters/exception_presenter.rb:75:in `fully_formatted': uninitialized constant RSpec::Core::Formatters::ConsoleCodes (NameError)
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:163:in `notify_non_example_exception'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:368:in `rescue in run'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:366:in `run'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:507:in `block in run_owned_hooks_for'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:506:in `each'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:506:in `run_owned_hooks_for'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:459:in `run'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:574:in `block in run_after_context_hooks'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:573:in `run_after_context_hooks'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:600:in `run'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (3 levels) in run_specs'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `map'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block (2 levels) in run_specs'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in `block in run_specs'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in `report'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in `run_specs'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in `run'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'
	from /home/jenkins/.gem/gems/rspec-core-3.5.4/exe/rspec:4:in `<top (required)>'
	from /home/jenkins/.gem/bin/rspec:23:in `load'
	from /home/jenkins/.gem/bin/rspec:23:in `<main>'
	from /home/jenkins/.gem/bin/ruby_executable_hooks:15:in `eval'
	from /home/jenkins/.gem/bin/ruby_executable_hooks:15:in `<main>'

Congratulations! You found a bug! Conveniently if you upgrade to the latest version you'll see this has already been fixed :)


add helmetjs

#119
removed app.disable('x-powered-by') because it's already included in helmet

@ZeroCho Thanks a lot! Merging!


ovs-offline: ovs-offline start check for ovs/ovn data

ovs-offline start will now error correctly if ovs-offline
collect-... has not been run prior to ovs-offline start.
fixes #71
Signed-off-by: Salvatore Daniele<EMAIL_ADDRESS>

LGTM. Please fix merge conflict

Conflicts fixed


EVSE add get set clear targets support

This PR is to add:

[ ] Support for Clear Targets
[ ] Support for Set Targets
[ ] Support for Get Targets
[ ] Persisting the targets
[ ] Added TC_EEVSE_2_3.py (test case for EVSE Preferences)

https://github.com/project-chip/connectedhomeip/issues/31358

@jamesharrow linter says src/app/clusters/energy-evse-server/energy-evse-server.h:31: #include <vector> is not allowed. We generally do not use STL items that use heap in embedded parts.

@jamesharrow linter says src/app/clusters/energy-evse-server/energy-evse-server.h:31: #include <vector> is not allowed. We generally do not use STL items that use heap in embedded parts.

Understood that - which is why I didn't just turn off the linter. I have based this implementation heavily on the DefaultICDClientStorage.cpp which uses vectors to allow the implementation to save the targets from RAM to Flash, and then dynamically allocate some memory for a short while to allow the GetTargetsResponse to be sent.
Others I have spoken to have said don't use static memory (arrays) - so would welcome some advice how to get this resolved?
Is there another good approach to follow?


OpacityMask is broken, results in NullReferenceException

Describe the bug
I tried to use an opacity mask, everything worked fine in the Preview as expected (Rider). But running the application, causes a null reference exception. I can reproduce this behaviour under Mac OS and Linux:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Avalonia.Rendering.DeferredRenderer.Avalonia.Rendering.IVisualBrushRenderer.GetRenderTargetSize(IVisualBrush brush) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 263
   at Avalonia.Skia.DrawingContextImpl.ConfigureVisualBrush(PaintWrapper& paintWrapper, IVisualBrush visualBrush, IVisualBrushRenderer visualBrushRenderer, IDrawableBitmapImpl& tileBrushImage) in /_/src/Skia/Avalonia.Skia/DrawingContextImpl.cs:line 763
   at Avalonia.Skia.DrawingContextImpl.CreatePaint(SKPaint paint, IBrush brush, Size targetSize, Boolean disposePaint) in /_/src/Skia/Avalonia.Skia/DrawingContextImpl.cs:line 899
   at Avalonia.Skia.DrawingContextImpl.PushOpacityMask(IBrush mask, Rect bounds) in /_/src/Skia/Avalonia.Skia/DrawingContextImpl.cs:line 536
   at Avalonia.Rendering.SceneGraph.VisualNode.BeginRender(IDrawingContextImpl context, Boolean skipOpacity) in /_/src/Avalonia.Visuals/Rendering/SceneGraph/VisualNode.cs:line 328
   at Avalonia.Rendering.DeferredRenderer.Render(IDrawingContextImpl context, VisualNode node, IVisual layer, Rect clipBounds) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 410
   at Avalonia.Rendering.DeferredRenderer.Render(IDrawingContextImpl context, VisualNode node, IVisual layer, Rect clipBounds) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 427
   at Avalonia.Rendering.DeferredRenderer.Render(IDrawingContextImpl context, VisualNode node, IVisual layer, Rect clipBounds) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 427
   at Avalonia.Rendering.DeferredRenderer.Render(IDrawingContextImpl context, VisualNode node, IVisual layer, Rect clipBounds) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 427
   at Avalonia.Rendering.DeferredRenderer.Render(IDrawingContextImpl context, VisualNode node, IVisual layer, Rect clipBounds) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 427
   at Avalonia.Rendering.DeferredRenderer.RenderToLayers(Scene scene) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 455
   at Avalonia.Rendering.DeferredRenderer.UpdateRenderLayersAndConsumeSceneIfNeeded(IDrawingContextImpl& context, Boolean recursiveCall) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 359
   at Avalonia.Rendering.DeferredRenderer.Render(Boolean forceComposite) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 304
   at Avalonia.Rendering.DeferredRenderer.Paint(Rect rect) in /_/src/Avalonia.Visuals/Rendering/DeferredRenderer.cs:line 224
   at Avalonia.Controls.TopLevel.HandlePaint(Rect rect) in /_/src/Avalonia.Controls/TopLevel.cs:line 333
   at Avalonia.Native.WindowBaseImpl.WindowBaseEvents.Avalonia.Native.Interop.IAvnWindowBaseEvents.Paint() in /_/src/Avalonia.Native/WindowImplBase.cs:line 172
   at Avalonia.Native.Interop.Impl.__MicroComIAvnWindowBaseEventsVTable.Paint(IntPtr this) in /_/src/Avalonia.Native/Interop.Generated.cs:line 3055
--- End of stack trace from previous location ---
   at Avalonia.Native.PlatformThreadingInterface.RunLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Native/PlatformThreadingInterface.cs:line 59
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 116
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 148
   at Opacity.Program.Main(String[] args) in ...

To Reproduce
Place this snippet in a fresh application, to crash it. Preview in Rider will display it just fine (a pixelated red dot, depending on you preview / window size).
    <Rectangle Fill="red">
        <Rectangle.OpacityMask>
            <VisualBrush>
                <VisualBrush.Visual>
                    <Ellipse Width="30" Height="30" Fill="black"></Ellipse>
                </VisualBrush.Visual>
            </VisualBrush>
        </Rectangle.OpacityMask>
    </Rectangle>

Expected behavior
The ellipse should work as an opacity mask and render the red fill of the rectangle visible.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Mac OS / Linux
Version 10.15 / Ubuntu 20.04

Seems like, this is a duplicate off #2889


Data with noise: which is the difference between summing or multiplying the noise?

Hi everyone.
I have a data set (x,y), the y values have associated noise e1.
I read that to include the noise you should use the .White and .Bias kernels.
So I have:
k = GPy.kern.RBF(input_dim=1,lengthscale=ls)
noise=GPy.kern.White(1,GPy.util.linalg.tdot(e1))+GPy.kern.Bias(1,GPy.util.linalg.tdot(e1))
kernel=k*noise

I also tried:
kernel=k+noise
The results seem to be "better" when I do the multiplication between the kernel and the noise than when I do the sum. But I don't understand the difference between these two ways of considering the noise.
Besides, when I consider the noise, sometimes I get Gaussian_noise.variance << 1e-100, what does that mean?

The Gaussian_noise is equivalent to adding a White kernel (in simple GP regression!). That means depending on starting conditions and optimization you can get either of the two switched off. The multiplication is hard to explain. It means the variance of your RBF kernel gets modelled by the White variance and all entries of the RBF kernels are multiplied by a constant from your Bias. It is not clear what it actually means to multiply kernels in an intuitive manner, but you could think of creating dependencies between the noise and the RBF (although these dependencies are not in the probabilistic model, but in the way latent functions f behave..).

Thank you very much!
On Tue, Jul 11, 2017 at 8:09 AM, Max Zwiessele<EMAIL_ADDRESS>wrote:

The Gaussian_noise is equivalent to adding a White kernel (in simple GP
regression!). That means depending on starting conditions and optimization
you can get either of the two switched off. The multiplication is hard to
explain. It means the variance of your RBF kernel gets modelled by the
White variance and all entries of the RBF kernels are multiplied by a
constant from your Bias. It is not clear what it actually means to multiply
kernels in an intuitive manner, but you could think of creating
dependencies between the noise and the RBF (although these dependencies are
not in the probabilistic model, but in the way latent functions f behave..).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPy/issues/519#issuecomment-314411185,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWPhnufAgVOxe3w0lnR9fxoCWxYs30M9ks5sM1fPgaJpZM4OMaTI
.


Enhancement: Show both url and keywords of the paper

[ ] a naive version: directly print the url and keywords
[ ] a table


Enhance constexpr with the ability to propagate up why something isn't a constexpr

Right now this is mostly a plumbing change, but this also adds the ability to detect
overly-large constant exprs, with an arbitrary limit to the number of executed
instructions.
This also cleans up the ConstExpr.h interface a bit.

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

@swift-ci please test tensorflow

Thanks for the feedback!

@swift-ci please test tensorflow and merge

@swift-ci please test tensorflow

@swift-ci please test tensorflow


Fix for cooldown time in health checker plugin

Use InactiveExitTimestamp instead of ActiveEnterTimestamp for cooldown period in health check monitor.
With ActiveEnterTimestamp we encountered a race condition:
The docker service was configured with RestartSec=10 which coincides with invocation interval of health checker in NPD. The systemd restart of the service and the health check got in sync and the service was killed every 10 sec. The cooldown period did not work since the service never attained Active state even though the systemd start was attempted.
Using InactiveExitTimestamp will help identifying the restart attempt from systemd even before the service attains Active state.

/lgtm
/approve

/ok-to-test


widgets: Rename confusing variable name in tabbed_instructions.ts.

The tabbed_instructions widget used for both language toggles in our API documentation and app toggles in our Help Center documentation misleadingly calls the identifier for the tab language in local variables and its interface.

Renames local variable language -> tab_key.
Renames HTML data attributes data-language -> data-tab-key.
Updates variable names in tabbed_sections.py.

Fixes #24669.
Replaces #25007.
Remarks
I split the work into two commits to make the PR a bit easier to review, but maybe it would be better to put all the changes in a single commit?

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] End-to-end functionality of buttons, interactions and flows.

@timabbott This PR is ready for review.

Also, in a follow-up PR, we should probably rename instances of "code section" in tabbed-instructions.ts, help.js, and tabbed_sections.py, i.e. registerCodeSection, render_code_sections, codeSection, code-section, and CODE_SECTION_TEMPLATE to something like "tabbed section" for consistency.

Merged, thanks @drrosa! Those follow-ups sound good, but maybe it's worth a discussion in #documentation about the precise names.


Allow configurable client side validation error messages for each individual field (Number, Date, CVC)

Is your feature request related to a problem? Please describe.
This feature request relates to UX/UI behaviour. Currently you can use "error.va.gen.01": "Incomplete field", to update the form validation error messages when using the https://docs.adyen.com/online-payments/web-drop-in/customization web drop in form. This will allow you to update the validation errors across card number, expiry and CVC field. If you wanted to customise the message per field this is not allowed given that the error message configuration is a generic string for all three fields. i.e. one change will update across all three fields at once
Describe the solution you'd like
To provide three different string values for each field separately - account number, expiry date and CVC field.
E.g.
Expiry Date validation error = 'Enter a date'
CVC field validation error = 'Must be 3 digits'
Account number validation error = 'Enter a 16 digit card number'
Currently, the native behaviour for the web drop in doesn't allow for the above three combinations.
Describe alternatives you've considered
Client side validation to override but this may break future upgrades and any modifications to the codebase will be avoided.
Additional context
N/A - Have had a quick chat to Jason and have been advised to raise here to see if this is a feature request which can be considered. Wasn't able to search for any open issues relating to this particular request. Please reach out if you need any more information but we are currently using this in a large payment application.
Thanks!
Tony :)

Hi @mrfoofu - we are actively looking into adding this functionality to a forthcoming release.
Version number & release date TBA


CI: JUnit upload failure in kind workflow: artifact with this name already exists on the workflow run

Error: Failed to CreateArtifact: Received non-retryable error: Failed request: (409) Conflict: an artifact with this name already exists on the workflow run

Seen on https://github.com/cilium/cilium-cli/actions/runs/7469244368/job/20326056243?pr=2221

Another occurence on #2224: https://github.com/cilium/cilium-cli/actions/runs/7473789182/job/20338628475?pr=2224


Fix single groups

This approach is much cleaner because it honors the binding power of expressions--note that it is no longer necessary to special-case "fat arrow" bodies--that falls out naturally.
@rwaldron In a separate commit, I enabled the option in some of our integration tests. In the case of Backbone.js, I had to white-list three instances where I believe the grouping operator is unnecessary. Can you confirm that? (I didn't enable this option for jQuery, Lodash, or Prototype because those libraries use grouping operators quite liberally, so we'd have to maintain giant white lists of expected errors for each.)
Resolves gh-2064

That last commit is meant to be a fixup!. Please let me know when this is good to land, and I'll squash accordingly.

Coverage remained the same when pulling 62cdf5bcdedd4efc1d67dfb3bffaae54c4bebcdd on jugglinmike:fix-single-groups into 825ce01f622e266c8465a267e9c711f8a781a313 on jshint:master.

Please update the commit message to follow https://github.com/jshint/jshint/blob/master/CONTRIBUTING.md#commit-message-guidelines Thanks!!

@rwaldron Squashed and re-worded. Again, "[[DOCS]]" doesn't seem quite right for that commit, and I'm happy to change it to "[[TESTS]]" if you agree.

Coverage remained the same when pulling 1beeeee223f8532092f0af684ccea5bc64b62e01 on jugglinmike:fix-single-groups into f46fe408d4e0084cd7704a9cc7ba5d28407f7ef4 on jshint:master.

Coverage remained the same when pulling 1beeeee223f8532092f0af684ccea5bc64b62e01 on jugglinmike:fix-single-groups into f46fe408d4e0084cd7704a9cc7ba5d28407f7ef4 on jshint:master.

+1 for [[TEST]]

@jugglinmike go ahead and update to [[TEST]] (or [[TESTS]]?)

Done!

Coverage remained the same when pulling 0ab5d03aed5229ea5feffdc06b626ea7dd890c59 on jugglinmike:fix-single-groups into 08c70e632f889feb8481acdc41e541ca49edfad4 on jshint:master.

Coverage remained the same when pulling ca4ebeee546010db8d09c874baf23101464e16fe on jugglinmike:fix-single-groups into f7494c84554241d068cbe899730a119272f2329b on jshint:master.

Hold off on this. The following form still incorrectly triggers warnings:
if (a + (b + c)) {}

I'm on it, though...

Superseded by gh-2109


[BUG] swanky contract test not working

Description
Hi, so I've upgraded my local swanky to new 2.0 version and it seems like contract tests are not working.
Additionally messages about conflicting packages started to popping up: #46
Steps to Reproduce
init new project with flipper ink example
build contract and then test it with command
swanky contract test flipper
Environment
@astar-network/swanky-cli/2.0.0 darwin-x64 node-v18.2.0
Logs, Errors or Screenshots
kziemianek@Kaspers-MBP foobar % swanky contract test flipper
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 11.0.1	node_modules/@polkadot/util/cjs
	cjs 11.0.1	node_modules/@polkadot/util/cjs
@polkadot/api-contract has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/api-contract/cjs
	cjs 10.0.1	node_modules/@polkadot/api-contract/cjs
@polkadot/types has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/types/cjs
	cjs 10.0.1	node_modules/@polkadot/types/cjs
@polkadot/types-create has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/types-create/cjs
	cjs 10.0.1	node_modules/@polkadot/types-create/cjs
@polkadot/types-codec has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/types-codec/cjs
	cjs 10.0.1	node_modules/@polkadot/types-codec/cjs
@polkadot/util-crypto has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 11.0.1	node_modules/@polkadot/util-crypto/cjs
	cjs 11.0.1	node_modules/@polkadot/util-crypto/cjs
@polkadot/wasm-crypto has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 7.0.2	node_modules/@polkadot/wasm-crypto/cjs
	cjs 7.0.2	node_modules/@polkadot/wasm-crypto/cjs
@polkadot/wasm-bridge has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 7.0.2	node_modules/@polkadot/wasm-bridge/cjs
	cjs 7.0.2	node_modules/@polkadot/wasm-bridge/cjs
@polkadot/wasm-crypto-wasm has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 7.0.2	node_modules/@polkadot/wasm-crypto-wasm/cjs
	cjs 7.0.2	node_modules/@polkadot/wasm-crypto-wasm/cjs
@polkadot/wasm-util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 7.0.2	node_modules/@polkadot/wasm-util/cjs
	cjs 7.0.2	node_modules/@polkadot/wasm-util/cjs
@polkadot/api has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/api/cjs
	cjs 10.0.1	node_modules/@polkadot/api/cjs
@polkadot/rpc-augment has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/rpc-augment/cjs
	cjs 10.0.1	node_modules/@polkadot/rpc-augment/cjs
@polkadot/keyring has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 11.0.1	node_modules/@polkadot/keyring/cjs
	cjs 11.0.1	node_modules/@polkadot/keyring/cjs
@polkadot/rpc-provider has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/rpc-provider/cjs
	cjs 10.0.1	node_modules/@polkadot/rpc-provider/cjs
@polkadot/api-derive has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/api-derive/cjs
	cjs 10.0.1	node_modules/@polkadot/api-derive/cjs
@polkadot/rpc-core has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/rpc-core/cjs
	cjs 10.0.1	node_modules/@polkadot/rpc-core/cjs
@polkadot/types-known has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
	cjs 10.0.1	node_modules/@polkadot/types-known/cjs
	cjs 10.0.1	node_modules/@polkadot/types-known/cjs

2023-03-09 13:07:59          API-WS: disconnected from ws://<IP_ADDRESS>:9944: 1006:: Abnormal Closure
  flipper test
2023-03-09 13:08:01          API-WS: disconnected from ws://<IP_ADDRESS>:9944: 1006:: Abnormal Closure
....
    1) "before all" hook: setup for "Sets the initial state"
    2) "after all" hook: tearDown for "Can flip the state"

  0 passing (3m)
  2 failing

  1) flipper test
       "before all" hook: setup for "Sets the initial state":
     Error: Timeout of 200000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/kziemianek/projects/priv/astar/foobar/test/flipper/flipper.test.ts)
      at listOnTimeout (node:internal/timers:564:17)
      at processTimers (node:internal/timers:507:7)

  2) flipper test
       "after all" hook: tearDown for "Can flip the state":
     TypeError: Cannot read properties of undefined (reading 'disconnect')
      at Context.tearDown (test/flipper/flipper.test.ts:37:15)
      at processImmediate (node:internal/timers:471:21)

2023-03-09 13:14:50          API-WS: disconnected from ws://<IP_ADDRESS>:9944: 1006:: Abnormal Closure
...

Thanks for reporting!
Looking at this line:
API-WS: disconnected from ws://<IP_ADDRESS>:9944: 1006:: Abnormal Closure

it seems your node either didn't start or crashed. (swanky will not run it for you, you need to start it yourself with swanky node start
Can you verify that the node is running?
The warning are actually correct in this case because the test file includes the utils, but so does the swanky-cli itself. We haven't observed any negative effects of those apart from it being annoying :) and I haven't managed to find a way to suppress them.
I'm considering making @polkadot/utils a peer dependency, so that the host project is responsible for adding it, but I have to look closer at the possible implications of that.

Totally forgot to run node 😫 .
Thanks for clarification.


Error installing protoc-gen-openapi

Env
windows
Expected:
protoc-gen-openapi.exe must be available to protoc.exe
Actual :
'protoc-gen-openapi' is not recognized as an internal or external command
Steps / Error
go get github.com/googleapis/gnostic/...
go install github.com/googleapis/gnostic/apps/protoc-gen-openapi
C:\data\proj-mkm\mkm-app-rest\schema>go install github.com/googleapis/gnostic/apps/protoc-gen-openapi
can't load package: package github.com/googleapis/gnostic/apps/protoc-gen-openapi: cannot find package "github.com/googleapis/gnostic/apps/protoc-gen-openapi" in any of:
        C:\apps\Go\src\github.com\googleapis\gnostic\apps\protoc-gen-openapi (from $GOROOT)
        C:\data\projects_go\src\github.com\googleapis\gnostic\apps\protoc-gen-openapi (from $GOPATH)

C:\data\proj-mkm\mkm-app-rest\schema>C:\apps\google\protoc-3.13.0\bin\protoc.exe  -IC:\apps\google\protoc-3.13.0\include\ -IC:\data\projects_go\src\github.com\grpc-ecosystem\grpc-gateway\third_party\googleapis --openapi_out=C:\data\
proj-mkm\mkm-app-rest\src\zgen\proto\openapi --proto_path=C:\data\proj-mkm\mkm-app-rest\schema\proto muni-model.proto muni-service.proto
muni-model.proto:3:1: warning: Import google/protobuf/field_mask.proto is unused.

'protoc-gen-openapi' is not recognized as an internal or external command,
operable program or batch file.
--openapi_out: protoc-gen-openapi: Plugin failed with status code 1.
Workaround needed :
I'm trying to make use of the below, however it says v2, I thought openapi was v3,
https://github.com/grpc-ecosystem/grpc-gateway/releases/download/v2.0.0-beta.5/protoc-gen-openapiv2-v2.0.0-beta.5-windows-x86_64.exe

Hi, the only protoc-gen-openapi in this project is a stub of a tool in an unmerged branch. Maybe you found it in a search (I see it was recently mentioned on Stack Overflow). Unfortunately we haven't put time into completing it.

@anborg I needed this myself, so I took a pass at this and made some progress generating operations and schemas. Current progress is in the protoc-gen-openapi branch. I'll update this thread when I think it's worth trying.

@anborg See #221 - it's looking pretty good on a couple of test cases. If you try it and have problems, I'd be happy to look into those. Hopefully we'll get this merged sometime next week.

#221 is merged


Unclear props/attributes documentation

The documentation shows which props that can be set on the grid and the grid items, but it does not
describe the actual HTML attributes that the library attaches to the grid item's DOM elements. For instance, the grid items will get onMouseDown and onMouseUp attached (not described as props in the docs). If the grid item is a react component we would like to know which attributes (events) that needs to be forwarded to the underlying DOM element instead of blindly passing all props along.
I noticed that the issue 299 discussed the problems but I want to clarify that this is a request to simply have the docs updated.

preventing stale


Any plans to upgrade to Angular 2 (or 4)

Any plans to upgrade to Angular 2 (or 4)

An Angular2+ version would be really great. Tried to use hello.js but it does not work for across all browsers...

Thanks for bringing this up.
Short answer: Yes.
I already thought about porting this to Angular 2+, but didn't had the necessary time to start, at least, a draft version.
I'll try to include this in my next couple of weekends and update the status here.

Anything new about migration to angular 2?
Any recommendation for another lib that can be used for now?

Any progress on this? 😕

Any updates?


vite fails when cjs module requires a module with "#" in its path

Describe the bug
I have a dependency on pagedjs which depends on d which depends on es5-ext/string/#/contains. inside d module there is actually a require call that I thinks it fails inside vite contains = require("es5-ext/string/#/contains"); (!!!NOTICE # SIGN INSIDE REQUIRE!!!)
Reproduction

add "pagedjs" version "0.1.43" to a vite project
import some deps from pagedjs and use itimport { Previewer } from 'pagedjs'

// ...

const pagedjsPreviewer = new Previewer()
pagedjsPreviewer.preview()

// ...

run npm run dev

System Info

vite version: 2.0.5
Operating System: Mac OS
Node version: v12.21.0
Package manager (npm/yarn/pnpm) and version<EMAIL_ADDRESS>
Logs (Optional if provided reproduction)
Pre-bundling dependencies:
pagedjs
date-fns
highcharts
chunk
object-treeify
(this will be run only when your dependencies or config have changed)

node_modules/d/index.js:7:30: error: Could not read from file: /Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/es5-ext/string/index.js#/contains
7 │   , contains        = require("es5-ext/string/#/contains");
╵                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/event-emitter/pipe.js:4:29: error: Could not read from file: /Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/es5-ext/array/index.js#/remove
4 │   , remove         = require('es5-ext/array/#/remove')
╵                              ~~~~~~~~~~~~~~~~~~~~~~~~

error when starting dev server:
Error: Build failed with 2 errors:
node_modules/d/index.js:7:30: error: Could not read from file: /Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/es5-ext/string/index.js#/contains
node_modules/event-emitter/pipe.js:4:29: error: Could not read from file: /Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/es5-ext/array/index.js#/remove
at failureErrorWithLog (/Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/esbuild/lib/main.js:1177:15)
at buildResponseToResult (/Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/esbuild/lib/main.js:913:32)
at /Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/esbuild/lib/main.js:1008:20
at /Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/esbuild/lib/main.js:559:9
at handleIncomingPacket (/Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/esbuild/lib/main.js:648:9)
at Socket.readFromStdout (/Users/florinonciu/development/experiments/noc-reporting-tool-vite/node_modules/esbuild/lib/main.js:526:7)
at Socket.emit (events.js:314:20)
at addChunk (_stream_readable.js:297:12)
at readableAddChunk (_stream_readable.js:272:9)
at Socket.Readable.push (_stream_readable.js:213:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>dev: vite --debug serve src/frontend/monthly-report
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/florinonciu/.npm/_logs/2021-03-02T23_13_45_296Z-debug.log

+1

i have find the problem，add a condition about '#' ,in file:  src/node/plugins/resolve.ts
  /**
   * check filepath with ‘#’ isDirectory
   */
if (postfixIndex > 0 && !fs.statSync(fsPath.slice(0, postfixIndex+1)).isDirectory()) {
    file = fsPath.slice(0, postfixIndex)
    postfix = fsPath.slice(postfixIndex)
  }

check filePath has '?' or '#' isDirection：
  if (postfixIndex > 0 && !fs.existsSync(fsPath.slice(0, postfixIndex+1))) {
    file = fsPath.slice(0, postfixIndex)
    postfix = fsPath.slice(postfixIndex)
  }

check filePath has '?' or '#' does exists：
  if (postfixIndex > 0 && !fs.existsSync(fsPath.slice(0, postfixIndex+1))) {
    file = fsPath.slice(0, postfixIndex)
    postfix = fsPath.slice(postfixIndex)
  }

thanks. will try it!

This issue is impossible to search for because you can't search #, so I'm leaving a comment here to make it easier to find. pound sign / number sign :smile:

This same issue was encountered in the rollup community

https://github.com/rollup/plugins/issues/528
https://github.com/rollup/plugins/pull/588

They fixed it by simply not worrying about a hash in the path whatsoever.

I'm running into this issue as well. Is there a temporary workaround while we wait for the fix to get merged?

This feature was introduced in Vite 2.0.0 https://github.com/vitejs/vite/commit/34064c8
It's not clear why this was added. Is there any documentation for what vite does with the hash postfix?

TIL: Node supports subpath imports and requires that they start with a "#".

Entries in the imports field must always start with # to ensure they are disambiguated from package specifiers.

This leads to code like this (from the node manual):
import '#dep'

https://github.com/vitejs/vite/pull/2432

I had the same problem and just wanted to share my workaround. In my vite.config,ts I just added an alias to the esm dist version of pagedjs, which includes all the shims and thus doesn't run into the #-trap.
export default defineConfig({
  plugins: [/* ... */],
  resolve: {
      alias: {
        pagedjs: 'pagedjs/dist/paged.esm.js',
      },
    }
})

@alex3683 seems like a simple solution. will try it. thanks a lot!

@alex3683 seems like a simple solution. will try it. thanks a lot!

Please report back if it works for you. If so, we can label this issue with has workaround

Yes, it does work. Thank you @alex3683

@alex3683 seems like a simple solution. will try it. thanks a lot!

Please report back if it works for you. If so, we can label this issue with has workaround

this doesn't work for me with redoc


Clean up filtering, source analysis in Lua scripts

Need a cleaner way to filter general lists of sources in custom node handlers and syntax nodes; see osx-bundle for example. The Resources list handling in there is awkward when there are source generators (functions) in the list.
Some better structured helper functions in nodegen.lua could help with this.

The new nodegen layer takes care of this.


RangeError: Index out of range

Trying to generate my entities I get the follow error:
RangeError: Index out of range     at checkOffset (buffer.js:977:11)     at Buffer.readUInt8 (buffer.js:1015:5)     at Packet.isLast (/usr/local/share/.config/yarn/global/node_modules/tedious/lib/packet.js:116:29)     at ReadablePacketStream.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/tedious/lib/message-io.js:101:18)     at emitOne (events.js:116:13)     at ReadablePacketStream.emit (events.js:211:7)     at addChunk (/usr/local/share/.config/yarn/global/node_modules/readable-stream/lib/_stream_readable.js:291:12)     at readableAddChunk (/usr/local/share/.config/yarn/global/node_modules/readable-stream/lib/_stream_readable.js:278:11)     at ReadablePacketStream.Readable.push (/usr/local/share/.config/yarn/global/node_modules/readable-stream/lib/_stream_readable.js:245:10)     at ReadablePacketStream.Transform.push (/usr/local/share/.config/yarn/global/node_modules/readable-stream/lib/_stream_transform.js:148:32)
Im using mysql 8

My bad, I was using mssql option in a mysql server


[IMPROVEMENT] Concurrent BackingImage creation limit Per Node

Is your improvement request related to a feature? Please describe (👍 if you like this request)
To limit the BackingImage creation computing usage
We should limit the concurrent BackingImage creation number per node.
Describe the solution you'd like
Add a global setting for limiting the concurrent BackingImage creation number.
Describe alternatives you've considered
.
Additional context
.
cc @innobead @shuo-wu

Already implemented in https://github.com/longhorn/longhorn-manager/pull/2742
concurrent-backing-image-replenish-per-node-limit


keybase update doesn't work in Windows and upd.exe hangs

Keybase GUI Version: 1.0.16-20160713110836+a1c00b3
I run "upd check" and it seems to run okay, but running upd.exe tells me it finds keybase.exe okay, then an INFO line that says "updater 0.2.5" and a Debug line "Starting (ticker 1h0m0s)" and just hangs there.  I can't find any docs on how this command should be run.

It's waiting an hour before performing its next check.
upd.exe should be running in the background already. You shouldn't have to launch it.

Ahhhh...good to know, thank you.  I just checked task manager and indeed, upd.exe is already running.


Update build tools to match .NET 6 Preview 3 SDK.

Reworked the packages.config with details on how it can be updated.

FYI @nohwnd

@david-driscoll Getting failures in the LSP tests about being unable to load Newtonsoft.Json 11.0. Not sure if there is a good place to put a binding redirect or if we need to update the language server protocol libraries.


Example notebook

Summary
This is a practical Google Colab notebook walking the user through some examples on coordinate-based meta-regression (written at the OHBM Brainhack).
https://colab.research.google.com/drive/1EVngYoYlryl-YcjmIEOjm0VBBplc-Qyw?usp=sharing
Additional details
Benefit: more examples for meta-regression and how it compares to the meta-analyses provided on neurosynth.
Data used: Neurosynth (free Google Collab RAM is too limited to load NeuroQuery)
Next steps
Assess to which extend Google Collab is an appropriate choice (long computation time).
Compare results: meta-regression vs neurosynth meta analysis

Thank you for working on this @MaxKorbmacher!


Change "name" to "username" and let user know the rules.

A few people are testing and were confused. We ask for "name" and they put in their entire name.
We should say "Enter your username (no spaces, or *%#$@)" Or whatever the rules are.
The name of the field should also be "username" in the form.
Instead of error message "name is invalid" - put "your username contains invalid characters"

@mreider @falconandy I changed the error text on the client. The "name is invalid" comes from the server.


better consumer threading and bug fixes

fix auto_commit_interval
use jruby-kafka 2.2.2

fix #74, fix #75, fix #40, fix #83

thanks @joekiller, taking a look at this! I like what I see, I just have one concern around the code here: https://github.com/logstash-plugins/logstash-input-kafka/pull/79/files#diff-f991873fca4b096b3ff166fd7027a915R149. I think it is important to provide tests for this, I can help out with this. what are your thoughts?

In the ruby consumer upon a shutdown, the internal (scala) consumer object
is set to null after telling the threads the finish up. Once the threads
join, the loop is retired and the message_streams creates a new consumer
under the seams.
The restart on error part basically catches any exceptions from the
consumer and let's it retry. It causes any error from Kafka to not crash
out Logstash. I made it this way because sometimes zk would stop responding
or a rebalance would fail several times raising Kafka exceptions that were
within the realm of recoverable. I erred on a broad catch versus the known
exceptions because I would catch a unicorn exception in prod and wanted it
to keep going because Kafka always recovered.
If the config is messed up it does result in Kafka "not working" as it
would just keep retrying a bad config but generally those bugs are found
when the config is tweaked and logging is more verbose.
What scenarios would you like to test?
One optimization that just occurred to me is  in the else try to do a
shutdown and join as well prior to raising the exception.
On Mar 25, 2016 5:44 PM, "Tal Levy"<EMAIL_ADDRESS>wrote:

thanks @joekiller https://github.com/joekiller, taking a look at this!
I like what I see, I just have one concern around the code here:
https://github.com/logstash-plugins/logstash-input-kafka/pull/79/files#diff-f991873fca4b096b3ff166fd7027a915R149.
I think it is important to provide tests for this, I can help out with
this. what are your thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/logstash-plugins/logstash-input-kafka/pull/79#issuecomment-201527289

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then  say 'jenkins, test it'.

@talevy can I get some suggestions for handling https://github.com/logstash-plugins/logstash-input-kafka/blob/e646d1a87a3dd416c00b64c95cba91720fe1136b/spec/inputs/kafka_spec.rb#L196-L196
I always end up with the following due to Thread.abort_on_exception = true in logstash/runner.rb
I can't seem to trap the error if I throw it from my thread.
RuntimeError: Exception from TestExceptionStreamIterator
./spec/inputs/kafka_spec.rb:61:in `hasNext'
./lib/logstash/inputs/kafka.rb:173:in `consume_stream'
./lib/logstash/inputs/kafka.rb:141:in `run'

@joekiller I will try to run it on my side and get back to you!

@talevy the second issue seem to be related to https://github.com/elastic/logstash/issues/4127

@joekiller - This discussion might help with rescuing from another thread - https://github.com/elastic/logstash/issues/4064 and maybe the follow on discussion too.

Thanks @guyboertje. Seems like if I wrap the exception in the child thread as something in java.lang.Error it should work.

@joekiller changes look good. I am rebuilding the travis test to see why it was failing on travis... and works for me locally

@joekiller.
Is this related? https://github.com/joekiller/logstash-kafka/issues/44

@joekiller
what are your thoughts on adding embedded kafka integration tests?
here is a starting example (forked off this PR)
https://github.com/talevy/logstash-input-kafka/commit/5102480fde7688a4b22e93fc6724cfd7f31fcdfe

@joekiller Also needs a rebase since I merged #78

K. I'll try to make some time this week to clean up the threading stuff.
On Apr 19, 2016 6:45 PM, "Suyog Rao"<EMAIL_ADDRESS>wrote:

@joekiller https://github.com/joekiller Also needs a rebase since I
merged #78
https://github.com/logstash-plugins/logstash-input-kafka/pull/78
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/logstash-plugins/logstash-input-kafka/pull/79#issuecomment-212158155

Is this PR still something being worked on? Or is it no longer needed? No pressure, just curious.

I am not currently working on it.
-Joe
Sent via mobile.
On Dec 13, 2016 3:48 PM, "Jordan Sissel"<EMAIL_ADDRESS>wrote:

Is this PR still something being worked on? Or is it no longer needed? No
pressure, just curious.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/logstash-plugins/logstash-input-kafka/pull/79#issuecomment-266857425,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-bxxOFWwhvEaV3uyvXfe9XugyJWDBRks5rHwSmgaJpZM4H3YMX
.

No longer needed with the new consumer implementation.


nwc callback url and url budget params

given a url like this:
http://app.mutinywallet.com/settings/connections?return_to=RETURN_URL&name=CONNECTION_NAME&budget_renewal=INTERVAL&max_amount=BUDGET_AMOUNT
after adding the budget item it will go to the RETURN_URL. also if the user picks auto-approve it will have the budget and interval pre-filled
params are intentionally similar to https://github.com/getAlby/nostr-wallet-connect#client-created-secret

okay this logic shit is in a better state now


feat: Added queue_arn_static and dead_letter_queue_arn_static outputs

These static outputs are required to be able to run terraform when connected resources are not created yet.
See this issue for more info - https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/issues/277

This PR is included in version 4.2.0 :tada:


Publish an event from DrmEngine if the CDM accepts the license.

Resolves #1035

No, I don't think I need to add new integration tests.

Thanks, Chris!

Cherry-picked to v2.2.3.


"To" is required when sending to Undisclosed Recipients

I want to send to only BCC (Undisclosed Recipients) where i dont want to specify a To-address.
.To(" ") Unhandled Exception: System.FormatException: The specified string is not in the form required for an e-mail address. Parameter name: address
.To("") Unhandled Exception: System.ArgumentException: The parameter 'address' cannot be an empty string Parameter name: address
No .To() at all: Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: address
Example:
                var mail = _email.Subject(email.Subject).Body(email.Body);
                if (email.To != null)
                    mail = mail.To(email.To);
                if (email.Cc != null)
                    mail = mail.CC(email.To);
                if (email.Bcc != null)
                    mail = mail.BCC(email.To);
                if (email.Attachment != null)
                    mail = mail.Attach(email.Attachment);

                await mail.SendAsync();```

I think this should be supported too. However, I guess normally if you want your recipients to not know about each other, you could just send them a separate email. It's not too hard since it's automated, while sending only using BCC is more of a human to human thing.

Which sender are you getting this problem with?

@matt-goldman I was using the sendgrid sender


Improve PEP-440 support for versions

This is a broad change aligning poetry.core.semver.version.Version implementation to be closer to PEP-440 that to semver. This adds the foundation for improved dev and local tag support in poetry managed version as well as fix ordering bugs that existed due to the differences between semantic versioning specification and PEP-440.
Further, previously used inline copy of packaging.version.Version implementation has now been removed in favour of
poetry.core.version.pep440.PEP440Version implementation.
Note: This change contains minor breaking changes that will require minimal changes downstream in poetry. (see python-poetry/poetry#3831)
References:

https://www.python.org/dev/peps/pep-0440/#semantic-versioning

Relates-to: python-poetry/poetry#2543
Relates-to: python-poetry/poetry#1151
Relates-to: python-poetry/poetry#892

@abn Is there a way to make poetry version go back to outputing alpha instead of a?
This change broke my release process.

PEP 440 mandates alpha is normalized to a -- this is also not the right venue to discuss it. Please use GitHub Discussions or Discord if you have questions.


fix(deps): Update alpine to 3.14.3 and goland to 1.17.3

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


.NET 6

For future sustainability it would be wise to port this project from .NET Framework to .NET Core / the upcoming .NET 5.
Low priority, probably won't happen before .NET 5 is actually released.

When porting this to core, it would be a good idea to take another stab at using Windows 10's toast notification API. This would drop support for Windows 7 and 8.1, but seeing as Windows 7 is EOL and Windows 8.1 not very popular I find this acceptable.

I will also take a look at writing this Project for UWP use.

I will port this project to .NET Core / 5 as soon as it comes with Windows pre-installed.

Nuget Packages that are made obsolete by a port to .NET Core / 5:

Newtonsoft.Json
Costura
Fody

Since .NET 6 will be the next LTS release, this issue has been renamed.


Windows issue

Hello,
Tried to do your video tutorial on Windows. Installed node.js (npm came out of the box), set 'Path' correctly. Downloaded your code, tried to push it to couch, got this:
D:\Projects\maxogden-recline-fe8df04>node "C:\Program Files (x86)\nodejs\node_mo
dules\couchapp\bin.js" push app.js http://localhost:5984/maxogden
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'app.js'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (C:\Program Files (x86)\nodejs\node_modules\couchapp\b
in.js:78:24)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
Any ideas on what is wrong? I can't understand how come it doesn't find app.js when I run it from the directory it is in.

haven't tested node couchapp on windows yet. maybe try both npm install couchapp and npm install -g couchapp?

Hi, this issue is caused by the abspath function in  bin.js
function abspath (pathname) {
if (pathname[0] === '/') return pathname
return path.join(process.env.PWD, path.normalize(pathname));
}
Windows doesn't support process.env.PWD and the first if is UNIX / LINUX specific.
I fixed it on windows by replacing it with the following:
function abspath (pathname) {
if (pathname[0] === '/' || pathname[1] === ":") return pathname;
return path.join(process.cwd(), path.normalize(pathname));
}
I haven't sent a pull request as my mac has died so I haven't managed to test on a unix machine. process.cwd() is only supported from v0.6.4 of node.
Regards Tom

I did both from the very beginning.

Same issue here - can't get node.couchapp to work on windows, get the same error "Cannot find module 'app.js'".
Couchapp is installed globally and locally. The problem is in bin.js in the abspath method, process.env.PWD is undefined.
I think this should be process.cwd() instead of process.env.PWD. Playing and testing to see if I can fix it.

Looks like this is already being tracked: https://github.com/mikeal/node.couchapp.js/pull/41


Profit doesn't change when changing currency. Wagered amount is completly different

Last issue if thats no issue again. I promise :smile:
Profit doesn't change when u change currency BTC-->LTC
And the wagered amount isnt confirm with the website amount.

On which site is this?
and which profit? the one showing the account stats (in the main form) or the one showing the session stats (the stats window)

999dice.
Main form, stats windows is ok

This should be fixed in the latest version. Can you confirm?

No at the Moment it seems that the profit is fix. and wagered amount is always zero.


EN-3950 Update packages and override package vulnerabilities

NPM audit fix
NPM update
Override packages that can't be updated normally

Could do with setting up a Render service for this so that it can be tested.


[NRCE] problem with eep a5-12-01 (pressac version of eep)

(maybe related to #109) update *** not caused by 109
This device (power clamp from pressac) does not get picked up when manually entering the eep on the input node.
If you do a teach/learn, the device is recognised and works until you do a redeploy.
A couple of sample msg when working:
{"payload":{"LRNB":{"name":"LRN Bit","unit":"","rawValue":1,"value":"1","description":"Data telegram"},"MR":{"name":"Meter reading","rawValue":14,"value":1.4000000000000001,"range":{"min":"0","max":"16777215"},"scale":{"ref":"DIV"},"unit":"W"},"TI":{"name":"Tariff info","rawValue":5,"value":5,"range":{"min":"0","max":"15"},"scale":{"min":"0","max":"15"},"unit":"1"},"DT":{"name":"Data type (unit)","unit":"W","rawValue":1,"value":"1","description":"Current value","scale":"1"},"DIV":{"name":"Divisor (scale)","unit":"","rawValue":1,"value":"1","description":"x/10","scale":{"min":"0","max":"1677721.5"}}},"meta":{"senderId":"01858d92","RORG":165,"eep":"a5-12-01","RSSI":67,"payload":"00000e5d","subTelNum":1,"raw":"55000a0701eba500000e5d01858d920001ffffffff430076","timestamp":1557134126915},"_msgid":"c349863e.36c178"}
{"payload":{"LRNB":{"name":"LRN Bit","unit":"","rawValue":1,"value":"1","description":"Data telegram"},"MR":{"name":"Meter reading","rawValue":19,"value":1.9000000000000001,"range":{"min":"0","max":"16777215"},"scale":{"ref":"DIV"},"unit":"W"},"TI":{"name":"Tariff info","rawValue":5,"value":5,"range":{"min":"0","max":"15"},"scale":{"min":"0","max":"15"},"unit":"1"},"DT":{"name":"Data type (unit)","unit":"W","rawValue":1,"value":"1","description":"Current value","scale":"1"},"DIV":{"name":"Divisor (scale)","unit":"","rawValue":1,"value":"1","description":"x/10","scale":{"min":"0","max":"1677721.5"}}},"meta":{"senderId":"01858d92","RORG":165,"eep":"a5-12-01","RSSI":67,"payload":"0000135d","subTelNum":1,"raw":"55000a0701eba50000135d01858d920001ffffffff430049","timestamp":1557134249297},"_msgid":"f516b65a.348e08"}

what version of node-red-contrib-enocean do you use? there was a problem with entering adresses manually which is fixed with 0.4.12

I'm using 0.4.12 .... the other eeps that I entered manually were ok (even though some said unknown EEP)

ok, I will check...

I deleted all the nodes except a couple to avoid the Listeners problem but this eep still gives the problem. The other gateway that I use notes that this eep is a "Pressac variation of a5-12-01" but I am unsure why in learn mode it works until a redeploy

could you try to remove that particular node, and then have two nodes for the pressac sensor, one where you tech in automatically and the other where you put in that info manually, please?
I just want to make sure that the mixing of both teach in methods does not break things (again) ;-)

I now do some more event listener clean up. with 0.5.0-alpha.1 this should be fixed... or at least it should be easier to debug.

did you test this again with v0.5.0-alpha?

Auto learn in works now - thanks. I cant see a way of doing a manual input though.

manuell teach in works by sending an LRN message with the following content:
{
  "type": "LRN",
  "senderId": "00112233",
  "eep": "a5-02-03"
}


UnicodeDecodeError in wr.athena.read_sql_query()

Describe the bug
This error had not occurred in Linux, it's all ok, works perfectly.
but has occurred when I ran the code on windows (me and other devs in the team), and just give the error when I put the parameter ctas_approach=False, if it is =True, there no error:
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 606: character maps to
Environment
pip freeze
asn1crypto==1.4.0                                                                                awswrangler==2.13.0                                                                                beautifulsoup4==4.10.0                                                                                boto3==1.20.26                                                                                botocore==1.23.26                                                                                certifi==2021.10.8                                                                                charset-normalizer==2.0.9                                                                                cramjam==2.5.0                                                                                decorator==5.1.0                                                                                et-xmlfile==1.1.0                                                                                fastparquet==0.7.1                                                                                fsspec==2021.11.0                                                                                idna==3.3                                                                                jmespath==0.10.0                                                                                jsonpath-ng==1.5.3                                                                                lxml==4.7.1                                                                                numpy==1.21.4                                                                                openpyxl==3.0.9                                                                                opensearch-py==1.0.0                                                                                packaging==21.3                                                                                pandas==1.3.4                                                                                pg8000==1.22.1                                                                                ply==3.11                                                                                progressbar2==3.55.0                                                                                pyarrow==6.0.0                                                                                PyMySQL==1.0.2                                                                                pyodbc==4.0.32                                                                                pyparsing==3.0.6                                                                                python-dateutil==2.8.2                                                                                python-utils==2.6.3                                                                                pytz==2021.3                                                                                redshift-connector==2.0.902                                                                                requests==2.26.0                                                                                requests-aws4auth==1.1.1                                                                                s3fs==0.4.2                                                                                s3transfer==0.5.0                                                                                scramp==1.4.1                                                                                six==1.16.0                                                                                soupsieve==2.3.1                                                                                thrift==0.15.0                                                                                urllib3==1.26.7
To Reproduce Code
import pandas as pd
import awswrangler as wr
df = wr.athena.read_sql_query(
sql="SELECT * FROM benefits WHERE CAST(landing_date as date) = CAST(current_date as date)",
database="bronze",
ctas_approach=False)

Hi @diegopmayer - we don't have access to a Windows machine to replicate this sadly.
To help us narrow down the issue, could you please provide the full error trace so we can at least know at which point it breaks?
Ideally, we would need some sample anonymised data too

Hello @jaidisido, first of all, thanks for your return, and following the code with an error, thanks.

import pandas as pd
import awswrangler as wr
df = wr.athena.read_sql_query(
sql="SELECT * FROM benefits WHERE CAST(landing_date as date) = CAST(current_date as date)",
database="bronze",
ctas_approach=False)

Traceback (most recent call last):
File "", line 1, in
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler_config.py", line 450, in wrapper
return function(**args)
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\athena_read.py", line 863, in read_sql_query
return _resolve_query_without_cache(
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\athena_read.py", line 581, in _resolve_query_without_cache
return _resolve_query_without_cache_regular(
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\athena_read.py", line 512, in _resolve_query_without_cache_regular
return _fetch_csv_result(
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\athena_read.py", line 296, in _fetch_csv_result
ret = s3.read_csv(
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\s3_read_text.py", line 294, in read_csv
return _read_text(
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\s3_read_text.py", line 149, in _read_text
ret = _read_text_file(
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\awswrangler\s3_read_text.py", line 91, in _read_text_file
df: pd.DataFrame = parser_func(f, **pandas_kwargs)                                                                                File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\pandas\util_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\pandas\io\parsers\readers.py", line 586, in read_csv
return _read(filepath_or_buffer, kwds)
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\pandas\io\parsers\readers.py", line 482, in _read
parser = TextFileReader(filepath_or_buffer, **kwds)
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\pandas\io\parsers\readers.py", line 811, in init
self._engine = self._make_engine(self.engine)
File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\pandas\io\parsers\readers.py", line 1040, in _make_engine
return mapping[engine](self.f, **self.options)  # type: ignore[call-arg]                                                                                File "C:\data_lake\elt_vilesoft.venv\Lib\site-packages\pandas\io\parsers\c_parser_wrapper.py", line 69, in init
self._reader = parsers.TextReader(self.handles.handle, **kwds)                                                                                File "pandas_libs\parsers.pyx", line 542, in pandas._libs.parsers.TextReader.cinit
header, table_width, unnamed_cols = self._get_header(prelim_header)                                                                                File "pandas_libs\parsers.pyx", line 642, in pandas._libs.parsers.TextReader._get_header
self._tokenize_rows(hr + 2)
File "pandas_libs\parsers.pyx", line 843, in pandas._libs.parsers.TextReader._tokenize_rows
raise_parser_error('Error tokenizing data', self.parser)
File "pandas_libs\parsers.pyx", line 1917, in pandas._libs.parsers.raise_parser_error
raise old_exc                                                                                UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 606: character maps to

So the error occurs here after the results of the query are saved as a csv file and Wrangler attempts to read it. The default encoding seems to be working fine on Linux but causing issues on Windows.
As you mention ctas_approach=True works because it's reading a parquet file, not csv. In the next version of Wrangler (2.14.0 - soon to be released), the unload_approach will enable reading a file as a parquet file instead of csv with ctas set to False (see unload_approach=True and ctas_approach=False in the latest docs link)

Thanks @jaidisido


[WIP] Add productVersion arg to ADO and GH clients

[ ] Did you write/update appropriate tests
[ ] Release notes updated (if appropriate)
[ ] Appropriate logging output
[ ] Issue linked
[ ] Docs updated (or issue created)

closing this PR in favor of a way easier implementation. PR coming soon.


Memory leak and performance issues with sparkles of Magic Wand

If you enable sparkles of the magic wand (with Ctrl+Alt+Shift+S), and you do it for a long time and release you will see that the memory usage of ZXLive is now a couple MB more. In my experiments when I did this three times in a row, the program would just crash without an exception.
When dragging for a long time, the framerate also goes way down, probably because the sparkle objects are not getting destroyed or cleaned up properly.

What are you using to profile the memory usage? I can see in PyCharm's profiler that the sparkles are taking over the CPU if you hold the mouse button down and keep moving the mouse.
Here's what seems to be happening:

in the mouseMoveEvent of graphview.py, a call is made to _emit_sparkles (if the mode is on)
the function randomises an angle and speed and creates a Sparkle
a Sparkle sets a timer using QTimeLine to gradually fade away after 1 second

There's no limit to how frequently or how many times the mouseMoveEvent is triggered. The default interval on the timer is 40 ms, namely 25 updates a second. This means that if you keep holding down the mouse button and moving the mouse, you're creating possibly thousands of timer steps, each of which does a bit of computation and animation.
There are a couple of options to deal with this:

limit the number of total sparkles by removing existing sparkles when new ones are added
rate-limit sparkle creation (so it doesn't happen on every mouseMoveEvent, but only after 100 ms have passed or something like that, or even have an increasing delay between each additional sparkle so you get a lot at the beginning but "run out" of them if you keep holding the mouse)
hard code the "random" effect with pre-randomised values
change the interval on the fade timer

Each of these solutions changes the way the sparkles look in a different way, so it's really a matter of preference in terms of what kind of effect you're going for.

I would guess limiting the total number of sparkles would be the way to go. It's a silly effect anyway, so it doesn't matter if it is not perfect :)

Hi, @tuomas56,
Would it be okay with you if this issue was assigned to me? I have a fairly good idea of how to fix it.
Thanks.

Hey @dlyongemallo, sure! I had thought the original version of the code handled this issue by calling self.scene().removeItem(self) in the _timer_step method of Sparkle but evidently this is not the case...


Kali Linux not downloading

So I followed the instructions for trying to install Kali Linux and unfortunately I only get this:
Installing kali-amd64 chroot to /usr/local/chroots/kali
Downloading latest debootstrap...
2015-06-15 19:24:29 URL:http://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [61841] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/stable/Release
W: http://http.kali.org/dists/stable/Release was corrupt
E: Failed getting release file http://http.kali.org/dists/stable/Release

I have the same problem bro i thinks it because the download link for kali got changed. If you open http.kali.org/dists/ there is no stable "option" the link in crouton needs to be changed to to http.kali.org/dists/kali i think

Seems like the directory structure of http.kali.org has changed.
I've submitted a pull request to fix this. See #1870

Should be fixed now.

i am having the same issue but it says
Downloading latest crouton installer...
######################################################################## 100.0%
Installing kali-amd64 chroot to /usr/local/chroots/kali
Downloading latest debootstrap...
2015-11-01 17:41:37 URL:https://anonscm.debian.org/gitweb/?p=d-i/debootstrap.git;a=snapshot;h=HEAD;sf=tgz [62231] -> "-" [1]
Patching debootstrap...
Downloading bootstrap files...
W: Cannot check Release signature; keyring file not available /usr/share/keyrings/debian-archive-keyring.gpg
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
I: Retrieving Release
W: Retrying failed download of http://http.kali.org/dists/kali/Release
W: http://http.kali.org/dists/kali/Release was corrupt
E: Failed getting release file http://http.kali.org/dists/kali/Release
and i am a noob so it to be simple

@tonyxue,

Seems like the directory structure of http.kali.org has changed.

It seems to have changed again...  https://github.com/dnschneid/crouton/issues/2220

@DennisLfromGA
Yes it did. I really have no idea why they change that.

kali-current is sana at the moment, it is the current stable release see for more info http://docs.kali.org/general-use/kali-linux-sources-list-repositories It doesn't seem they have old releases in there, but maybe I overlooked something.

@divx118
So in that case we wouldn't need kali & sana anymore. We only need sana now.

I just tried downloading it and I'm getting the same error again.

jus visit here once
for knowing everything abt kali linux
www.junaidmugloo.blogspot.com


gulp tasks fails at scsslint task

After I've updated my gem scss_lint to version 0.39.0 I can't run gulp tasks anymore. The task fails at the scsslint level with the following log:
[17:04:14] Finished 'jslint' after 6.6 s
[17:04:14] Starting 'scsslint'...

stream.js:94
      throw er; // Unhandled stream error in pipe.
            ^
Error: Command line usage error

If I revert scss_lint to version 0.38 everything works fine.

+1

juanfran/gulp-scss-lint#34

This was due to an outdated version of gulp-scss-lint. I've updated the package.json accordingly.


[desktop] Playlist creation - Tracks aren't added/sorted by Track number.

When you add an album, we should make sure tracks end up being displayed by track number.
CC: @alejandroarturom @votaguz
$15 bounty to be paid in Bitcoin to the merged branch for this fix, to whoever is interested.

aebbdbe57c08aa37bf2aaad7a69b5ae2997fc569 fixes this.


Add additional free programming books (HTML, CSS, terminology)

What does this PR do?
Added several of my own titles that are either entirely free or whose source code is freely accessible.
For resources
Description
Added the following titles:

CSS Optimization Basics
Das kleine Buch der HTML-/CSS-Frameworks (German)
Rote Learning HTML & CSS
Upgrade Your HTML
The Web Development Glossary

Why is this valuable (or not)?
This should probably be answered by someone independent, however the titles cover topics relevant to web development practice, have been sold and/or read hundreds to thousands of times, and/or have been reviewed and published by major publishers (e.g., Das kleine Buch der HTML-/CSS-Frameworks is the German version of the respective O’Reilly title).
How do we know it's really free?
That may be best answered by the author, and I have no plans to make the repositories private. There’s a non-zero chance that could happen, but in that case, the titles could be forked if they haven’t been yet.
For book lists, is it a book? For course lists, is it a course? etc.
It’s five books and they should be in the right places. (I hope, so not to update the PR again :)
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!

Thank you, @eshellman!


Make new arguments to simplicial_set_embedding optional for backwards…

… compatibility with 0.3.
With this change a;; scanpy master tests pass with umap 0.4dev. See https://github.com/theislab/scanpy/issues/779

Thanks a lot @tomwhite!


Change some mutable pointers to const pointers in the C header file

Should fix #23

Not sure if there's anything else, but seems fine to me.


Fixed a bug in the 2d camera platformer example

canJump used to alternate between true and false when on the ground.
When using IsKeyPressed instead of IsKeyDown for jumping, the player might not jump due to that behavior. This behavior got fixed by adjusting the condition for checking if an obstacle is being hit. With this change, canJump doesn't alternate between true and false when the player is on the ground and instead stays on true.

@skylar779 Good catch! Thanks for the review!