Allow providing sample requests and responses

Sometime it is handy to have sample request or response example. Working with integration of larger project SUPERHUB, we go from API design over samples, validating them and finally implementing. Samples are key component in communication about API.
Option "tree": agreed tree structure with basePathExamples parameter
API declaration would get new attribute "basePathExamples".
Default value for basePathExamples could be <basePath>/_examples
Real examples would be available at url build from <basePathExamples>/<resourcePath>/<operationNickname>/request/<requestExampleName> and similarly <basePathExamples>/<resourcePath>/<operationNickname>/response/<responseExampleName>
Option "index": Index of sample files within agreed tree structure
Option "tree" has a disadvantage, that collecting all sample file names/urls might not be always easy or even possible. To resolve that, we would put into path <basePathExamples>/<resourcePath>/<operationNickname> a file called index.json. This would be an object with two properties requests and responses, each holding list of path names for sample request/responses. The path shall be relative to given directory with index.json file as it is easier to fill it in (e.g. using find) and also easy to check by using an editor (use gf in vim, standing for "go file" - you either succeed and see the sample file, or hit a problem, if the path is invalid). We could also completely relax from requirement to use names request or response for directories and leave it up to the developer.
Option "links": Explicit links from operation items to examples
We could reuse the concept of basePathExamples above plus allowing two new attributes within operation objects.
exampleRequests would be a list of urls, pointing to request examples.
exampleResponses would be a list of urls, pointing to response examples.
However, as such an option seems too intrusive to me, I will not detail on it.
How to start
Starting with agreed tree structure shall be rather easy, as in the simplest situation (using agreed default value for basePathExamples), there is no need to modify any of existing structures.
Allowing non-default values for basePathExamples sounds practical to me and relatively easy.
If we feel a need to extend it, I would prefer the "index" solution as it is much less intrusive comparing "links" option.
How to follow up
(this is out of scope of this ticket)
Swagger UI showing sample files
Swagger UI shall be able to show sample requests and responses.
Test suite for evaluating sample files
Having all the information proposed at hand, we shall be able writing a test suite, which would detect following problems:

operation without sample request (if relevant) and sample response

sample requests and responses being invalid with respect to data structures defined in API Declaration.

I don't understand how to use this... I don't see any reference in the specification

@vad  - for responses, check out https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#responseExamples. For requests, watch out for a more elaborate explanation in the upcoming weeks.

@webron @vlcinsky  - Any update for request example thing?
another question - is basePathExamples not going to be used now ? as i saw for response, example can be published in 'elements' filed of Response Object.

@fehguy is there any news regarding this issue it's seems to be closed but the functionality isn't available

@webron @fehguy Any updates on request example documentation?

@foragerr it's not supported explicitly at the current version but is under discussion for the next version. We introduced a vendor extension in swagger-ui to support it, but it's not an official part of the spec.

Thanks @webron ! Is that how you do this?
What is the vendor-extension called?

No, that's just derived from the 'example' in model definitions that exists today. For body parameters it is called x-examples, for others x-example.

Just to get this right, describing request examples is not part of the 2.0 spec?

@marians You can put an example on a schema that is used by a body parameter.  So it is possible, but parameter objects do not support example objects directly in 2.0.


fix IndexOutOfBoundsException thrown when synchronizing divide plugin data by zookeeper.  issue #1033

// Describe your PR here; eg. Fixes #issueNo
fix issue #1033

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #1036 (5a41157) into master (a5a6831) will decrease coverage by 0.80%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1036      +/-   ##
============================================
- Coverage     74.21%   73.40%   -0.81%
+ Complexity     2021     2011      -10
============================================
  Files           351      351
  Lines          7781     7781
  Branches        852      852
============================================
- Hits           5775     5712      -63
- Misses         1570     1640      +70
+ Partials        436      429       -7

Impacted Files
Coverage Δ
Complexity Δ

...stener/zookeeper/ZookeeperDataChangedListener.java
94.36% <0.00%> (-2.82%)
24.00 <8.00> (ø)

...soul/client/sofa/SofaServiceBeanPostProcessor.java
20.96% <0.00%> (-41.94%)
5.00% <0.00%> (-2.00%)

...soul/client/tars/TarsServiceBeanPostProcessor.java
19.17% <0.00%> (-27.40%)
5.00% <0.00%> (-5.00%)

...omara/soul/sync/data/http/HttpSyncDataService.java
63.72% <0.00%> (-11.77%)
12.00% <0.00%> (ø%)

.../metrics/facade/handler/MetricsTrackerHandler.java
91.07% <0.00%> (-3.58%)
23.00% <0.00%> (-1.00%)

.../soul/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
10.00% <0.00%> (ø%)

...elimiter/handler/RateLimiterPluginDataHandler.java
74.13% <0.00%> (ø)
12.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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

Codecov Report

Merging #1036 (5a41157) into master (a5a6831) will decrease coverage by 0.80%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #1036      +/-   ##
============================================
- Coverage     74.21%   73.40%   -0.81%
+ Complexity     2021     2011      -10
============================================
  Files           351      351
  Lines          7781     7781
  Branches        852      852
============================================
- Hits           5775     5712      -63
- Misses         1570     1640      +70
+ Partials        436      429       -7

Impacted Files
Coverage Δ
Complexity Δ

...stener/zookeeper/ZookeeperDataChangedListener.java
94.36% <0.00%> (-2.82%)
24.00 <8.00> (ø)

...soul/client/sofa/SofaServiceBeanPostProcessor.java
20.96% <0.00%> (-41.94%)
5.00% <0.00%> (-2.00%)

...soul/client/tars/TarsServiceBeanPostProcessor.java
19.17% <0.00%> (-27.40%)
5.00% <0.00%> (-5.00%)

...omara/soul/sync/data/http/HttpSyncDataService.java
63.72% <0.00%> (-11.77%)
12.00% <0.00%> (ø%)

.../metrics/facade/handler/MetricsTrackerHandler.java
91.07% <0.00%> (-3.58%)
23.00% <0.00%> (-1.00%)

.../soul/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
10.00% <0.00%> (ø%)

...elimiter/handler/RateLimiterPluginDataHandler.java
74.13% <0.00%> (ø)
12.00% <0.00%> (ø%)

Continue to review full report at Codecov.

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


segmentation fault in dgemm_otcopy

I've been using Openblas on my ubuntu 16.04 LTS systems for a few years with no issues.  However, the last month for one of my problems I am getting a segmentation fault from dgemm_otcopy.  The analysis runs every week and the matrix I am factoring gets a little bigger every week.  However, the fault only occurs occasionally (twice in the last 5 weeks) and only on some of my computers (2 out of 4 of them virtually identically configured). When it does fail on a system, it is easily reproducible.  The matrix being factored (using cholmod) is very large but very sparse. This week it is 12544654 by 12544654 with 71272674 nnz.  The really strange thing is, it only segmentation faults when the executable is called from a shell script (bash).  I can even make it fail with a 1 line script.  But it doesn't ever fault when I run the executable from the command line, and the answer is sensible.
The fault occurs regardless of which version of Openblass I use (currently 0.2.20).  At first, I suspected it overran stack so I ulimit -s unlimited and it actually changed the location where it faulted from a free memory call (classic stack overrun) to the dgemm_otcopy.
Here's the backtrace,

(gdb) bt
#0  0x00007fc0cd6cdf3c in dgemm_otcopy_HASWELL () from /usr/local/lib/libopenblas.so.0
#1  0x00007fc0cc1e6488 in ?? () from /usr/local/lib/libopenblas.so.0
#2  0x00007fc0cc302349 in exec_blas () from /usr/local/lib/libopenblas.so.0
#3  0x00007fc0cc1e6cd0 in dsyrk_thread_LN () from /usr/local/lib/libopenblas.so.0
#4  0x00007fc0cc31a354 in dpotrf_L_parallel () from /usr/local/lib/libopenblas.so.0
#5  0x00007fc0d339b4f2 in dpotrf_ () from /usr/lib/liblapack.so.3
#6  0x0000000000406d40 in r_cholmod_super_numeric.isra ()
#7  0x0000000000432d13 in cholmod_l_super_numeric ()
#8  0x0000000000418647 in cholmod_l_factorize_p ()
#9  0x00000000004188b7 in cholmod_l_factorize ()
#10 0x000000000040a12b in main ()

Any thoughts, suggestions, etc where to look next?  I have seen a few older reports of a similar failure with no resolutions.
Kind regards,
B
Edit: Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz - 6 cores plus hyper-threading
I'll try both 0.3.1 and current development branch and get back....

#1137 could be related (misaligned input) - in that case changing the two instances of movaps in kernel/x86_64/copy_sse2.S to movups should make the problem go away. (This fix was never implemented due to my possibly unfounded concerns over performance impact on older/AMD systems and complete lack of feedback from others.)
Does the segfault still occur with 0.3.1 or current develop branch ? Perhaps running your code from valgrind would provide additional information (if your computer is fast enough and has enough memory to do this with the given matrix size)

HASWELL was added to openblas with 0.2.15 only
Ubuntu 16 ships 0.2.18
https://packages.ubuntu.com/source/xenial/openblas
You should really use this method:
https://github.com/xianyi/OpenBLAS/wiki/faq#debianlts
What backtrace says that liblapack.so.3 is redirection to apt-provided openblas (0.2.18),which calls internal function from your provided openblas build (lines 4 and 5 in your backtrace)
Can you provide result from consistent build e.g. adapting instruction to your build of known version of OpenBLAS, or reverting to complete apt package?
In principle using netlib lapack with openblas BLAS shoud also work via update-alternatives *that will not call openblas internals , which are not stable API.

Fairly certain that 0.2.20 was meant here, as that was the last update that was linked on the openblas.net webpage before xianyi became mostly unavailable.

It is a mix of versions problem.
At present you cannot deviate too far from 0.2.18 unless your read the FAQ

Any success stories?

Nothing yet.  I've gone to the repo version of both openblas and
suitesparse for ubuntu 16.04 and 18,04 with the same seg fault.  With
valgrind it ran out of memory on a 256G machine.  I'm now looking at
martin-frbg
s idea.  I'll let you know.  Thanks for the suggestions!
On Wed, Jul 25, 2018 at 1:04 AM Andrew<EMAIL_ADDRESS>wrote:

Any success stories?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/1694#issuecomment-407669871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGAYfUPuy4B9eGVO9wVRZwyQRkriUE85ks5uKCaZgaJpZM4VZsTw
.

Can you show update-alternatives --list to assure consistent blas and lapack are used?
debug package apt install libopenblas0-dbg would help to decode code line numbers and function parameters.

I'll install the dbg versio.  See below.  Thanks again!
$ update-alternatives --list libblas.so
/usr/lib/libblas/libblas.so
/usr/lib/libopenblasp-r0.2.18.so
/usr/lib/openblas-base/libblas.so
$ update-alternatives --list liblapack.so
/usr/lib/lapack/liblapack.so
/usr/lib/openblas-base/liblapack.so
Also,
$ update-alternatives --display libblas.so
libblas.so - auto mode
link best version is /usr/lib/libopenblasp-r0.2.18.so
link currently points to /usr/lib/libopenblasp-r0.2.18.so
link libblas.so is /usr/lib/libblas.so
slave blas.pc is /usr/lib/pkgconfig/blas.pc
slave libblas.a is /usr/lib/libblas.a
/usr/lib/libblas/libblas.so - priority 10
slave blas.pc: /usr/lib/pkgconfig/blas-netlib.pc
slave libblas.a: /usr/lib/libblas/libblas.a
/usr/lib/libopenblasp-r0.2.18.so - priority 40
slave libblas.a: /usr/lib/libopenblasp-r0.2.18.a
/usr/lib/openblas-base/libblas.so - priority 40
slave blas.pc: /usr/lib/pkgconfig/blas-openblas.pc
slave libblas.a: /usr/lib/openblas-base/libblas.a
$ update-alternatives --display liblapack.so
liblapack.so - auto mode
link best version is /usr/lib/openblas-base/liblapack.so
link currently points to /usr/lib/openblas-base/liblapack.so
link liblapack.so is /usr/lib/liblapack.so
slave lapack.pc is /usr/lib/pkgconfig/lapack.pc
slave liblapack.a is /usr/lib/liblapack.a
/usr/lib/lapack/liblapack.so - priority 20
slave lapack.pc: /usr/lib/pkgconfig/lapack-netlib.pc
slave liblapack.a: /usr/lib/lapack/liblapack.a
/usr/lib/openblas-base/liblapack.so - priority 40
slave lapack.pc: /usr/lib/pkgconfig/lapack-openblas.pc
slave liblapack.a: /usr/lib/openblas-base/liblapack.a
On Wed, Jul 25, 2018 at 7:23 AM Andrew<EMAIL_ADDRESS>wrote:

Can you show update-alternatives --list to assure consistent blas and
lapack are used?
debug package apt install libopenblas0-dbg would help to decode code line
numbers and function parameters.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/1694#issuecomment-407772238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGAYfaOC6N9v7emCoHySOw_rJaXelZv8ks5uKH9QgaJpZM4VZsTw
.

libopenblas-dbg has been removed from 16.04
On Wed, Jul 25, 2018 at 7:23 AM Andrew<EMAIL_ADDRESS>wrote:

Can you show update-alternatives --list to assure consistent blas and
lapack are used?
debug package apt install libopenblas0-dbg would help to decode code line
numbers and function parameters.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/1694#issuecomment-407772238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGAYfaOC6N9v7emCoHySOw_rJaXelZv8ks5uKH9QgaJpZM4VZsTw
.

libblas.so and liblapack.so point to files in /usr/lib/lapack (those are used by gcc), they should never ever be openblas (or atlas or MKL or whatever)
*.3 point to /usr/lib/openblas/ counterparts (those are for ld.so at runtime, this is the place for accelerated BLAS)
There is no /usr/lib/libopenblasp-r0.2.18.so in my ubuntu 16.04 (xenial)
Since it was used by GCC compiling all your module, you will probably need to re-compile it (maybe even both - cholmod and executable)
Could you, please, uninstall all openblas apt packages, and remove spurious file(s) until alternatives point to /usr/lib/lapack/*
"Probably it takes too long to run tests here"
Then install Ubuntu openblas package (libopenblas-dev)
"now test again"
Now install 0.3.1 or development version in accordance to FAQ
"now test for real"

Any progress ?

I started with a clean install of Ubuntu 16.04.  I pulled the repo versions
of libopenblas-dev and the report version of the suitesparse package. Same
seg fault problem.  So I started fresh (clean install of ubuntu 16.04) I
cloned the latest openblas and built the latest suitesparse (5.3.0).  I
static linked to the libs and so far everything is working fine.
Thanks for your help!
On Thu, Aug 16, 2018 at 4:51 AM Martin Kroeker<EMAIL_ADDRESS>wrote:

Any progress ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xianyi/OpenBLAS/issues/1694#issuecomment-413519401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGAYfWTRujwe_T0hUdXGRbmjnAupJWwHks5uRVzSgaJpZM4VZsTw
.

Ubuntu suitesparse should link to supplanted blas without problem, if old version is acceptable.


[todoist] fix focused task when not listed in menubar

Description

I've added a small code to check if the task still exists to know if we should display it in the menubar or not (like if it was completed or not) but it seems that this code is buggy. So I've removed it.
If we want to do that, we need to fetch first all the tasks the user got and compare each of them to see if the task still exists or not.
It'll be in another PR one day but let's fix it for right now.
If the user completes the task from Raycast, it'll remove it in the menubar if it's a focused one. However, if the user focuses on a task they complete on the official app, we'll still have the focused task in the menubar. Not so important for the moment. Let's see that another day.
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @kud
Could you add a changelog entry too? 😊

I'll do it the next time yeah @pernielsentikaer 😌


[Nuvid] Fix extractor (closes #15355)

mp4 link is not found in html anymore, but must be fetched using hash-generated values upon page request to a json api.
Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Bug fix
[ ] Improvement
[ ] New extractor
[ ] New feature

Description of your pull request and other information
Explanation of your pull request in arbitrary form goes here. Please make sure the description explains the purpose and effect of your pull request and is worded well enough to be understood. Provide as much context and examples as possible.

Have you even tried to run this code?

Copy-paste error caused a wrong indenation. Should be ok now.
Output from test:
python test/test_download.py TestDownload.test_Nuvid
[Nuvid] 1310741: Downloading video page
[Nuvid] 1310741: Downloading JSON metadata
[info] Writing video description metadata as JSON to: test_Nuvid_1310741.info.json
[debug] Invoking downloader on u'https://wcdn.nuvid.com/mp4/1310741.mp4?cdn_hash=1b3ea66b4065eb7e6c9c594d761c8282&cdn_creation_time=1527793328&cdn_ttl=3600&cdn_net=<IP_ADDRESS>.16&cdn_bw=41850&cdn_bw_fs=264352'
[download] Destination: test_Nuvid_1310741.mp4
[download] 100% of 10.00KiB in 00:00
.
----------------------------------------------------------------------
Ran 1 test in 1.155s

OK


Skip the config.yml file on init()

replaces #1866
Summary
Checks the pre-loaded config for load_config_file: false
Test plan
Tested against multiple configurations with and without the config.yml existing and using a full config with init().
A picture of a cute animal (not mandatory but encouraged)
🕊

Just tweaked the docs for brevity, looks good to me 👍

I should have thought to do that. 😳


os/exec: cmd.Wait does not return after process termination when stdin is attached

The following code terminates with a deadlock error when run in isolation. If we replace the usage of io.Pipe with cmd.StdinPipe(), the program terminates normally with the expected error from cmd.Wait().
This is on Darwin 14.1.0 with go 1.4.2.
package main

import (
	"fmt"
	"io"
	"syscall"
)

import "os/exec"

func main() {
	pr, pw := io.Pipe()

	cmd := exec.Command("/bin/bash", "-c", "cat")
	cmd.Stdin = pr

	started := make(chan error)
	done := make(chan error)
	go func() {
		started <- cmd.Start()
		done <- cmd.Wait()
	}()

	<-started
	println("Started")
	pw.Write([]byte("hello"))

	cmd.Process.Signal(syscall.SIGTERM)

	err := <-done
	println("Done")
	if err != nil {
		fmt.Printf("wait err: %s\n", err.Error())
	}
}

The root cause is that Wait blocks for all io.Copy operations to complete.  This is correct, but in the test case here, the deadlock is on io.pipe.rwait.  Adding a pw.Close after pw.Write will remove the deadlock.  stdout/stderr won't have this problem since they will receive the broken pipe error.
Fixing this isn't straightforward.  Ideally, there would be a way to interrupt the read call in stdin()'s copy goroutine.  It could be emulated with a select and an interrupt channel, but then that can leak a copy goroutine.  I'm unsure of a clean way of fixing this.

Will document. Note that if you use os.Pipe this does not happen.


Issue What people faces

Describe the bug
Lavalink Not Working Properly.
Music stop after 30-40 seconds.
Slash comand like help wehn we use it its shows interection failed.
Automod command need to improve.
Dashboard need to improve lile its ui

No Update.Not Up to mark service


why3: 1.0.0 -> 1.1.0

Motivation for this change
Release announcement.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-darwin (full log)
Attempted: why3
Partial log (click to expand)
        lib/why3/META /nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0/lib/ocaml/4.06.1/site-lib//why3
/nix/store/9qpi27nfcv411fs5nhvzhpz5irpx3j5b-coreutils-8.30/bin/mkdir -p /nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0/lib/ocaml/4.06.1/site-lib//why3
/nix/store/9qpi27nfcv411fs5nhvzhpz5irpx3j5b-coreutils-8.30/bin/install -c -m 644 lib/why3/why3extract.a lib/why3/why3extract.cmx lib/why3/why3extract.cmi lib/why3/why3extract.cmxa lib/why3/why3extract.cmxs \
  /nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0/lib/ocaml/4.06.1/site-lib//why3
post-installation fixup
strip is /nix/store/53nysl8bqwxihwzs1pgwka20nf8mbvlp-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0/lib  /nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0/bin
patching script interpreter paths in /nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0
/nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0/lib/why3/why3-call-pvs: interpreter directive changed from "/bin/sh" to "/nix/store/frkmk9zf3vdkdbh05hlhln8j17srj8fx-bash-4.4-p23/bin/sh"
/nix/store/nhghgn0dzjc9lpkczdl6vmb8yf64bwgi-why3-1.1.0

Success on aarch64-linux (full log)
Attempted: why3
Partial log (click to expand)
shrinking /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/lib/why3/plugins/python.cmxs
shrinking /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/lib/why3/plugins/tptp.cmxs
shrinking /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/lib/why3/plugins/dimacs.cmxs
shrinking /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/lib/why3/plugins/genequlin.cmxs
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/lib  /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/bin
patching script interpreter paths in /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0
/nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0/lib/why3/why3-call-pvs: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0...
/nix/store/7qcxfs8sxr8751yshdc0gyc8vnqb4c98-why3-1.1.0

Success on x86_64-linux (full log)
Attempted: why3
Partial log (click to expand)
shrinking /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/lib/why3/why3server
shrinking /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/lib/ocaml/4.06.1/site-lib/why3/why3extract.cmxs
shrinking /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/lib/ocaml/4.06.1/site-lib/why3/why3.cmxs
shrinking /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/bin/why3
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/lib  /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/bin
patching script interpreter paths in /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0
/nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0/lib/why3/why3-call-pvs: interpreter directive changed from "/bin/sh" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0...
/nix/store/93v22i008n0mp65ixxjhx8p75gmwvvvd-why3-1.1.0

@GrahamcOfBorg build framac

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: framac
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: framac
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: framac
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


Demo added

Demo code added.
Dockerfile modified to reduce image size by almost 400MB.

I had missed tracking that.


Update the Keplr docs

Keplr docs on https://www.zetachain.com/docs/users/
Keplr now natively supports ZetaChain, which brings additional features that we can cover in the docs.

To add ZetaChain Mainnet Beta, go to menu in the extension and "Manage Chain Visibility"
To add ZetaChain Testnet, go to https://chains.keplr.app/ and add the chain
Update the Transfer Tokens with screenshots with mainnet
Add a doc on staking with screenshots
Add a doc on voting on governance proposals

ZetaChain testnet is also available on https://testnet.keplr.app/chains/zetachain-athens-3-testnet

How do I transfer native ZETA assets to zetaxxx address in Keplr?

@lukema95 zeta*** and 0x*** derived from the same public key represent the same account, so you don't need to transfer, the same balance should show up on both.
https://www.zetachain.com/docs/developers/evm/addresses/

@lukema95 zeta*** and 0x*** derived from the same public key represent the same account, so you don't need to transfer, the same balance should show up on both.
https://www.zetachain.com/docs/developers/evm/addresses/

Got it. I could complete this issue.


Consider adding MessageConverter for application/cbor in RSocket module

@dsyer was working on some demo and RSocket request from his style of client ended up with content-type application/cbor, so we need to consider adding out-of-the-box support for it.

Actually we don't seem to need it after recent fixes and can rely on the provided encoder/decoder


ChatGPT API error: SyntaxError: Unexpected non-whitespace character after JSON at position 4

I am getting this error while asking to write any code

@VolanDeVovan @RainEggplant  We need to update the chatgpt package to 3.3.12
This will solve the issue

Thank you for pointing this out. I will update it right now.


Missing normalize.css

wp-content/themes/wp-rest-theme-master/node_modules/normalize.css/normalize.css?ver=3.0.3 404 (Not Found)

Fixed in https://github.com/gilbitron/wp-rest-theme/commit/337745639d9c800ecaefb825a2936d493010c8d9


{TestSDK} Delete local context file when local context scenario test is finished

Description
Previous PR only turn off local context, not delete the persisted file. Add this.
Testing Guide
Run test and there is no local context file left.
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

local context

/azp run


high_pass vs low_pass

it's not clear how to deal with high_pass vs low_pass. At the moment we are only working from an example with high_pass regressors, but those should be controlled separately.

so it does not look like fmriprep is generating a low pass discrete cosine basis. This type of steps needs to be implemented with nilearn. This needs to be properly documented, but it's not a missing feature. Closing.


Bigtable init action fails with cluster version <=1.1

Error log:

install_shc
wget -q http://repo.hortonworks.com/content/groups/public/com/hortonworks/shc-core/1.1.1-2.1-s_2.11/shc-core-1.1.1-2.1-s_2.11.jar -O /usr/lib/spark/external/shc-core-1.1.1-2.1-s_2.11.jar
/usr/lib/spark/external/shc-core-1.1.1-2.1-s_2.11.jar: No such file or directory
err 'Unable to install shc.'

Seems /usr/lib/spark/external doesn't exist in <=1.1.

@functicons I've opened the PR for this.
We are explicitly extending SPARK_DIST_CLASSPATH by /usr/lib/spark/external/shc-core.jar which is a symlink to donwloaded connector jar, so creating those missing directories on dataproc 1.1 and 1.0 should be fine.

@functicons BTW if you plan to run spark jobs on older clusters most probably we should install proper connectors versions on different dataproc images. Dataproc 1.0, for example, we are running Spark 1.6.2 and 2.10.5 and there is shc-core-1.1.1-1.6-s_2.10.jar, but this probably deserves separate issue. WDYT?


Failed to build tinyscaler

I'm trying to install tinyscaler through pip install tinyscaler and it keeps failing to build wheel
I already got Visual C++ 14.0 and upgraded pip
Collecting tinyscaler
  Using cached tinyscaler-1.2.4.tar.gz (124 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in e:\miniconda3\lib\site-packages (from tinyscaler) (1.23.0)
Building wheels for collected packages: tinyscaler
  Building wheel for tinyscaler (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for tinyscaler (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'tinyscaler' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tinyscaler
Failed to build tinyscaler
ERROR: Could not build wheels for tinyscaler, which is required to install pyproject.toml-based projects

I have the same issue

Hi, I only now see this for some reason. It built on Windows for me, but let me see if I can reproduce this. Windows is often a bit tricky.

Unfortunately I cannot reproduce this on my Windows 10 partition. It installs fine for me, using both python 3.10 and the python from miniconda. I am guessing something is wrong with your Visual C++ 14.0 installation. Can you try installing the build tools even if you already have Visual C++? Perhaps some components are missing.

installing Microsoft C++ Build Tools worked for me from - https://visualstudio.microsoft.com/visual-cpp-build-tools/
The solution was described here - https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst
the second solution with 94 votes

Building manually from source worked for me. Installing C++ Build Tools did not fix my issue.

There are now pre-built wheels for Windows, see #22


Add tests that verify presence of tabIndex prop for navigation buttons

This PR adds tests that verify the presence of the tabIndex prop for the navigation buttons.
Reviewers: @ljharb

Coverage remained the same at 84.496% when pulling 0c938046fb763f794bed38afffc6b5e67abad1a6 on nkinser:nk--add-tests-for-custom-navigation-tabindex into 74a3790bb0d9ee47c2197d42fcbd982e36246058 on airbnb:master.


Data queue bug fix

If input sequence length was less than the nanotensor seq-len then the entire read was put into the queue but since the read is shorter than the required input length tensorflow throws an error because of differing tensor shape.

Codecov Report

Merging #31 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #31      +/-   ##
=========================================
+ Coverage    5.51%   5.52%   +0.01%
=========================================
  Files          10      10
  Lines        1070    1067       -3
=========================================
  Hits           59      59
+ Misses       1011    1008       -3

Impacted Files
Coverage Δ

nanotensor/data.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


jsk_3rdparty: 2.1.22-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository jsk_3rdparty to 2.1.22-1:

upstream repository: https://github.com/jsk-ros-pkg/jsk_3rdparty.git
release repository: https://github.com/tork-a/jsk_3rdparty-release.git
distro file: melodic/distribution.yaml
bloom version: 0.10.7
previous version for package: 2.1.21-3

aques_talk
* Ignore charactors which AquesTalk2 cannot recognize (#257 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/257>)

    * Update README on limitation
    * Delete certain characters when they come at the beginning of a sentence
    * fixed character replacement
    * Update README
    * Support Katakana
    * All charactors except [^a-zA-Z0-9ぁ-んー、。?？] are removed
    * Ignore charactors which AquesTalk2 cannot recognize
    * Add documentation path to README

* add sound_play_topic  and sound_play_node_name argument (#227 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/227>)
* Add build procedure for aques_talk (#236 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/236>)
* Replace numbers in text file for aques_talk to speak numbers (#229 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/229>)

    * Update README about input limitation
    * Replace alphabet for aques_talk
    * Use regular expression [0-9]+ instead of [0-9][0-9]*

* [aques_talk] catkinie aques_talk package (#224 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/224>)
* Contributors: Kei Okada, Naoya Yamaguchi, Ayaka Fujii, Koki Amabe

assimp_devel

No changes

bayesian_belief_networks

No changes

chaplus_ros
* add chat agent interface for ros (#252 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/252>)

    * add A3RT chat engine
    * add chaplus ros interface see README.md for more information

* Contributors: Ayaka Fujii

collada_urdf_jsk_patch

No changes

dialogflow_task_executive
* [dialogflow_task_executive] Change mux namespace for speech_to_textf( #221 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/221>)
* Contributors: Naoya Yamaguchi

downward

No changes

ff

No changes

ffha

No changes

gdrive_ros
* set max authentication trial times as infinite (#249 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/249>)
* catch ServerNotFoundError in gdrive_server_node.py ((#240 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/240>)
* update doc links in gdrive_ros (#233 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/233>)
* [gdrive_ros] add node_name arg in gdrive_server.launch (#234 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/234>)
* add roslaunch test (#232 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/232>)
* [gdrive_ros] add argument respawn (#230 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/230>)
* Contributors: Shingo Kitagawa

google_cloud_texttospeech
* add google_cloud_texttospeech packagef( #218 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/218>)
* Contributors: Shingo Kitagawa, Shun Hasegawa

jsk_3rdparty
* [jsk_3rdparty] fix typo of dirname (#238 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/238>)
* Contributors: Koki Shinjo

julius

No changes

julius_ros

No changes

laser_filters_jsk_patch

No changes

libcmt

No changes

libsiftfast

No changes

lpg_planner

No changes

mini_maxwell

No changes

nlopt

No changes

opt_camera

No changes

pgm_learner

No changes

respeaker_ros
* [respeaker_ros] Specify correct Python version in package.xml (#247 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/247>)

    * Fixes typo introduced in https://github.com/jsk-ros-pkg/jsk_3rdparty/commit/39be21894a38112a1633cf8385caf079c35536ff

* Add respawn_delay to respeaker_node.py to reduce CPU load (#241 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/241>)Kill respeaker_node.py when USBError occur to reduce CPU load
* [respeaker_ros] fix default sound_play action name of speech_to_text.py (#239 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/239>)
* Mistakes I found when I tried to use respeaker_ros on hirovision (#217 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/217>)

    * add speech_recognition_msgs
    * change the name from respeaker.launch to sample_respeaker.launch

* Contributors: Koki Shinjo, Miyabi Tanemoto, Naoya Yamaguchi, Shun Hasegawa

ros_speech_recognition
* enable to change topic name from speech_recognition.launch (#254 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/254>)
* support SpeakerDiarization, see https://cloud.google.com/speech-to-text/docs/reference/rest/v1/speech/recognize#SpeechRecognitionAlternative (#244 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/244>)

    * [ros_speech_recognition] Add doc to speech_recognition.launch
      add doc to args, and we need to use rosparm for device, not param. because 'device: ' causes
      load_parameters: unable to set parameters (last param was [/speech_recognition/depth=16]): cannot marshal None unless allow_none is enabled  error
    * more exception message for self.recognize

* Use PYTHON_INTERPRETER python3 in ros_speech_recognition (#225 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/225>)
* Contributors: Kei Okada, Naoya Yamaguchi, Shingo Kitagawa

rospatlite

No changes

rosping
* relax rosping test for GAf( #245 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/245>)
* Contributors: Kei Okada

rostwitter
* Refactor rostwitter (#235 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/235>)

    * fix desired_encoding=bgr8
    * use action
    * speak warning
    * remove only if exists
    * add utf-8 encoding
    * add tweet_image_server
    * do not raise error
    * add util.py
    * add Tweet srv
    * add twitter.py for reuse

* Contributors: Shingo Kitagawa

sesame_ros

No changes

slic

No changes

voice_text
* [voice_text] Fix README to follow supporting other speakers than SAYAKA (#220 <https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/220>)
* Contributors: Shun Hasegawa

Hiya, our current review guidelines require a LICENSE file that clearly states your package license. This should match your package.xml license tags (this appears to be Apache 2.0)! If you could add one in to your development branch so we know it will be part of a future release, we can merge this release as-is.
I also noticed that some packages are licensed with BSD which means you may need a file per package.

Hiya, our current review guidelines require a LICENSE file that clearly states your package license. This should match your package.xml license tags (this appears to be Apache 2.0)! If you could add one in to your development branch so we know it will be part of a future release, we can merge this release as-is.
I also noticed that some packages are licensed with BSD which means you may need a file per package.

@gbalke thanks for notification, we'll add LICENSE in next release.


Refactor tendermint directory to project root

Problem: The BigchainDB class should be defined in project root, not in the /tendermint directory.
Solution
Moved the BigchainDB class to lib.py in project root, as well as the rest of the contents from the /tendermint directory, and removed /tendermint.

Codecov Report

Merging #2401 into master will decrease coverage by <.01%.
The diff coverage is 92.78%.

@@            Coverage Diff            @@
##           master   #2401      +/-   ##
=========================================
- Coverage    86.9%   86.9%   -0.01%
=========================================
  Files          38      38
  Lines        2169    2168       -1
=========================================
- Hits         1885    1884       -1
  Misses        284     284

You fixed the problem with index.rst, but now there is some other problem with building the docs:
Warning, treated as error:
autodoc: failed to import class 'BigchainDB' from module 'bigchaindb.tendermint'; the following exception was raised:
No module named 'bigchaindb.tendermint'

The bigchaindb.tendermint module is referenced in the file docs/server/source/appendices/the-bigchaindb-class.rst.
Also there are some docstrings which still refer to the bigchaindb.tendermint module, and that might cause problems with documentation generation based on those docstrings.


Goto definition for LSP - Steps

Gauge LSP server should support goto definition for step.
When a LSP client asks gauge for definition of a step, gauge should give the correct filename where the step has been defined, and line number of the step implementation.
Gauge should ask the language runners for the definition of steps and then send its response back to the LSP client.
This story is part of LSP support for gauge.
Acceptance criteria

[ ] The location of the step implementation should be given
[ ] provide a peek of the implementation of a gauge step selected.
[ ] Should not do anything if symbols other than step and concepts are selected

Test cases

[ ] For a step with implementation, it should give the implementation file and line details
[ ] For a refactored step, the old step text should say No step implementation found

Test case

[ ] The location of the step implementation should be given
[ ] The location of the concept definition should be given
[ ] The exact location of a concept inside a file with multiple concepts defined should be given
[ ] provide a peek of the implementation of a gauge step selected.
[ ] provide a peek of the concept of the selected concept.
[ ] Should not do anything if symbols other than step and concepts are selected.

What should be the behavior.
A step implemented in a different module.
Can this be used in spec of a different module?
How should the goto definition feature work?

This feature is currently implemented with gauge-js language runner. Gauge-js does not support importing steps from a different module as of yet.


Errors from wrapped commands should be surfaced more clearly

If any of the docker/docker-compose commands wrapped by ff exit with an error (non-zero) status, this should be treated as an error and surfaced by the CLI. Currently it checks for errors at the Go level but does not check exit codes.

This has been resolved in https://github.com/hyperledger-labs/firefly-cli/pull/28


Modifications to get rid of device index arrays

Description of changes
Addresses issue #174 (which in turn refers to discussion #154).
The "index" arrays for each device type are suppressed, and devices are allocated completely in the already existing object  buffer; this way, there is no longer a limit to the number of devices of a given type that can be allocated (e.g.: one can allocate exclusively shift registers, as many as the avaliable space allows). The max amounts need no longer to be defined.
Notes

Modifications are broad (also because they involve all devices), but mostly fairly repetitive.
Also, the refactoring contributes IMHO to a certain "modularization" of the structure of device-related code.
The current allocateMem class is replaced by a slightly more complex stowManager, which has the same basic purpose but with more extended functions.
There is a (slight) gain in RAM, although this is not the actual goal.

NOTE: This is a draft PR; the code, albeit complete, still requires testing and cleanup (and obviously also review).
If interested, please don't forget to have a look at the comments  in the IODevice class, which is pivotal.
I will greatly appreciate any checking effort and suggestions.

Additional to my comment above, changes in config.cpp are required. Can't do it in the code, as this file is not changed within this Pull Request. Revert Back from pullrequest #173 is not merged here:
bool readRecordTailFromEEPROM(char **dest = NULL, char *cap = (char *)0xFFFF)
{
    char temp = 0;
    do {
        temp = MFeeprom.read_char(); // read the first character
        if (dest) {
            *((*dest)++) = temp;
            // TODO: this function should be buffer-agnostic -
            //  the specific constant for buffer size should not be hardcoded!
            if (*dest >= cap) break; // nameBuffer full: stop copying
        }
    } while (temp != ':'); // reads until limiter ':' and locates the next free buffer position
    if (dest) {
-------------------------------
//        *((*dest)--) = 0x00; // replace ':' by NULL, terminates the string
        *((*dest)-1) = 0x00; // replace ':' by NULL, terminates the string
    }
//    return (*dest >= cap);
    return (*dest <= cap);
------------------------------
}

I am not completly sure about *((*dest)-1) = 0x00; // replace ':' by NULL, terminates the string
Nevertheless my mega2560 crashes even with this changes. W/o them the config gets not loaded and the mega2560 doesn't crash.

Hmhm, tested it again. Now the mega does not crash!?! Please don't ask me what I did wrong before. Sorry.
But it seems that the config get's still not loaded. No input and output device is working...

Hmhm, tested it again. Now the mega does not crash!?! Please don't ask me what I did wrong before. Sorry. But it seems that the config get's still not loaded. No input and output device is working...

Ok, I think I'll have to take a step back and review it again myself first. I have been trying to follow late changes (basically PRs from #171 on) and it's getting a little confusing; I'd like to have a look to last-minute changes because there's definitely something that doesn't add up. Thanks for your effort so far, I will get back to you all once I figure out where it's at.

What I found so far, Button::Add(params[0], nameBufPtr); leads to a crash.
With the above mentioned changes the readConfig() will be finished (w/o button configured), but then it seems to crash.


PHP 5.5 works, but is really slow

Describe the bug
PHP 5.5 installation is extremly slow (3 times slower than 5.4), see:
https://github.com/simialbi/yii2/runs/452929598?check_suite_focus=true
To Reproduce
https://github.com/simialbi/yii2/blob/update-github-action/.github/workflows/tests.yml
Expected behavior
Nerby same speed as other versions
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
(none)

@simialbi Fixed in #184 and shivammathur/php5-ubuntu@028ec7f.
Also please replace sqlite with sqlite3 in your workflow.

@simialbi Both 5.4 and 5.5 builds should be under a minute now.
Here is a test workflow - https://github.com/shivammathur/test-setup-php/actions/runs/41566981


prf: Use X25519() instead of ScalarMult

In a recent update to x/crypto ScalarMult() has been deprecated in favour
of X25519(). Because of this staticcheck will start failing on prf.go.
This updates our x/crypto dependency as well as changing the necessary
code to use X25519() instead. It also happens to simplify the code a
bit, which is a nice benefit.
Closes #155

Related:

https://github.com/golang/go/issues/32670
https://github.com/golang/crypto/commit/f4817d981bb690635456c5c1c6aa0585e5d45891

Codecov Report

Merging #157 into master will decrease coverage by 0.09%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #157     +/-   ##
=========================================
- Coverage   73.37%   73.28%   -0.1%
=========================================
  Files          54       54
  Lines        3294     3290      -4
=========================================
- Hits         2417     2411      -6
- Misses        608      609      +1
- Partials      269      270      +1

Impacted Files
Coverage Δ

prf.go
60.86% <100%> (-1.32%)
:arrow_down:

conn.go
79.57% <0%> (-0.48%)
:arrow_down:

Continue to review full report at Codecov.

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

That is awesome! Nice work @daenney
When I saw renovate failing I was really worried it was going to be a big thing :/


Add the RPM validation specifically for performance analyzer plugin

Signed-off-by: Zelin Hao<EMAIL_ADDRESS>Description
Add an additional rpm validation for performance analyzer plugin.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2050 (e12d4f3) into main (dcfc3f0) will increase coverage by 0.27%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #2050      +/-   ##
============================================
+ Coverage     94.23%   94.50%   +0.27%
============================================
  Files           198      152      -46
  Lines          3902     3732     -170
  Branches         29       19      -10
============================================
- Hits           3677     3527     -150
+ Misses          219      205      -14
+ Partials          6        0       -6

Impacted Files
Coverage Δ

src/system/temporary_directory.py
83.87% <0.00%> (-12.91%)
:arrow_down:

src/system/os.py
93.75% <0.00%> (-6.25%)
:arrow_down:

tests/jenkins/jobs/PublishNotification_Jenkinsfile

...sts/jenkins/jobs/ArchiveAssembleUpload_Jenkinsfile

...nIntegTestScript_OpenSearch_Dashboards_Jenkinsfile

tests/jenkins/jobs/DetectDockerImage_Jenkinsfile

...rtifacts_actions_OpenSearch_Dashboards_Jenkinsfile

tests/jenkins/jobs/BuildDockerImage_Jenkinsfile

tests/jenkins/jobs/RunIntegTestScript_Jenkinsfile

tests/jenkins/jobs/BuildYumRepo_Jenkinsfile

... and 38 more

Continue to review full report at Codecov.

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

Are these tests really rpm-specific? I would think that we want to run the same tests for RPM as for docker, just change how the application is deployed? I believe that's https://github.com/opensearch-project/opensearch-build/issues/1951.

It is RPM specific as we are using systemctl.


Bumps Alpine base image to 3.14.3

Use latest Alpine version that includes fixes for several CVEs

+1
On Fri, Nov 19, 2021, 20:04 Lance Linder @.***> wrote:

Use latest Alpine version that includes fixes for several CVEs
You can view, comment on, or merge this pull request online at:
https://github.com/openzipkin/docker-java/pull/67
Commit Summary

1f7ebfa
https://github.com/openzipkin/docker-java/pull/67/commits/1f7ebfa92f272847a56d95421616377b6ea4c874
Bumps Alpine base image to 3.14.3

File Changes
(2 files https://github.com/openzipkin/docker-java/pull/67/files)

M Dockerfile
https://github.com/openzipkin/docker-java/pull/67/files#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557
(13)
M README.md
https://github.com/openzipkin/docker-java/pull/67/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(14)

Patch Links:

https://github.com/openzipkin/docker-java/pull/67.patch
https://github.com/openzipkin/docker-java/pull/67.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/docker-java/pull/67, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOYATLH3AR6F3ZXXTGHQ3UM2NTBANCNFSM5IMZ7DTQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


PDF doc builds fail on travis

The build has been disabled until a fix is found. The issue does not stem from a recent kivy commit, so it's likely a change in one of the dependencies needed for the build.
https://github.com/kivy/kivy/pull/4337
https://travis-ci.org/kivy/kivy/jobs/133713221

If you have some list of packages in a file, I may try to look for what has been updated in 28th - 29th May, because that's where it crashed and if I find it, a simple ==<version could fix the pdf. Depends on how long it'll take to port the docs to RTD i.e. if it makes sense to even try to fix it, or just let it go, hehe.

Kivy does compile on their backend now and the docs are generated, but for some reason the api reference is left out both from the html and pdf version, html styling worked for the first builds, but now that is also broken.
https://kivy.readthedocs.io/en/latest/

Fixed in https://github.com/kivy/kivy/pull/4566, pdf builds are now managed by RTD.


Nuke 11.3v5, Cryptomatte finds material but expression remains empty

Hi,
I've an issue with an EXR sequence rendered out of Houdini with Arnold.
When I bring it into Nuke and plug in a Cryptomatte it first behaves as expected, finding that it is material based and the pass looks fine.
But when I use the picker and select a color, nothing happens next - it simply doesn't register the selection even though everything else seems correct, it even finds the name and path of the material as you can see.
Any thoughts on what could be the issue? Time is a factor here so any and all swift help would be really appreciated!
And thanks for creating the tool to start with, I've used it at work with great pleasure!
Cheers,
Jack

Hi Jack, You seem to have a different mmh3 module installed somewhere. To confirm run the following in script editor:
import mmh3
print mmh3.__file__

This should print the filepath of the conflicting mmh3 module. If you're able to remove/ rename this module, cryptomatte should be able to fall back to it's own pymmh3 module and work again.
Mitja

Hi @mazevfx  - any update on this? @filmkorn is on the money about where to look first here.

According to this the issue appears solved: https://community.foundry.com/discuss/topic/149424/cryptomatte-issue-urgent
I was not able to get mmh3 working on my end in Nuke, I believe the issue was mismatching MSVC versions. Given that this seems to be solved I'm going to close this now, but feel free to reopen if it isn't.
@mazevfx  - if you would like to run the tests yourself with your mmh3 installed, please use the following in your Nuke script editor. If there are any issues (and you're on the newest version), please feel free to reopen this to report them.
import cryptomatte_utilities as cu
cu.tests.run_nuke_tests()

Hi Jonah and Mitja,
Sorry for not replying here, it slipped my mind after I got help on the Foundry forum but it has been solved! Thank you for the help!


[BUG]: In the inference stage i got the problem

🐛 Describe the bug
Through training to get a ckpt file In the inference stage i got the problem

Can you help me look at it?
or Give a tutorial on inference？
i want through hugging face way to load model  but have failed how can i
thank you
Environment
the Environment the same provided
I can train  but inference failed

I modified the load_model_from_config function in 'txt2img.py':

and solve the problem, you can try it.

I modified the load_model_from_config function in 'txt2img.py':  and solve the problem, you can try it.

Thank you very much for your reply，I'll try it now

in the ldm/models/diffusion/ddpm.py line 538 & 539， it comments the first stage and con stage init method, so we need to load it manually .

Thank you


This is another test

Everythign is on fire please send halp

Wuaw...

ok....  coding start today....     不开心

Found halp: http://psych.ucsf.edu/hyperactivity-attention-and-learning-problems-clinic

不开心


it seems that library has add final to R.java

it seems that library has add "final" to "R.java"。But why also can't I use it like "@BindView(R.id.iv_loading)"?

Final IDs for libraries only exist in the app module, not in the library module itself where the code with @BindView is being compiled. And the app module will soon use non-final IDs as well.


Remove redundant public modifier reported by checkstyle

Didn't open an issue in Jira for it.
Related Issue- https://github.com/checkstyle/checkstyle/issues/11268
Related PR- https://github.com/checkstyle/checkstyle/pull/11270
Every member class or interface declaration in the body of an interface declaration is implicitly public and static. See JLS for more info.

@yrodiere, can you help us with this PR ?
Do we need issue for such cleanup ? May be there is already ongoing issue

Thanks!
I created HSEARCH-4479 to track this and added the ticket key to the commit message.
I'll merge as soon as CI passes.

On second thought, given the nature of the change, I'll merge it right now :) Thanks again


new_gadget: chaos_packet_drop : Gadget to randomly drop TCP/UDP packets

Adding a new gadget to simulate TCP/UDP packet drops in the network

This gadgets input parameters filter_ip is based on #3575

This gadget is used to simulate the random packet drops in the network based on independent (Bernoulli) probability model. The program runs at the tc hook point and can be configured to run at ingress/egress and for TCP/UDP packets and the drop probability percentage can also be configured. We can also drop packets of a specific IP/port number.

Features

Works at both ingress and egress based on the input parameters
Works for both TCP/UDP packets based on the input parameters
Randomly drops packets in the network based on independent (Bernoulli) probability model which can be configured using the loss_percentage parameter
Can filter the packet drops per specific IP and port number

Issues faced currently.
There is one main issues:

drop_cnt

drop_cnt
The drop count value that is being displayed in the map seems to be a little inaccurate.
The main issue being, the drop_cnt value for a particular IP address,port pair that is stored a key in the table should always be incremented by 1. Due to the map is being cleared from time to time, we see a a lot of repeating constant 1 values.
Eg:
test-pkt-drop                <IP_ADDRESS>:50318                   <IP_ADDRESS>:50318                      <IP_ADDRESS>:0                            1          false true  wget              2653142
test-pkt-drop                <IP_ADDRESS>:50318                   <IP_ADDRESS>:50318                      <IP_ADDRESS>:0                            2          false true<PHONE_NUMBER>
test-pkt-drop                <IP_ADDRESS>:50318                   <IP_ADDRESS>:50318                      <IP_ADDRESS>:0                            75         false true  wget              2653142
test-pkt-drop                <IP_ADDRESS>:50318                   <IP_ADDRESS>:50318                      <IP_ADDRESS>:0                            1          false true  wget              2653142

TODO :

Testing

How to use
Described in the Readme.mdx file
Testing done
Basic unit test case has been written.

Hey, yes, will resolve the pointers soon


Isn't C++20's view_interface in namespace std::ranges?

Currently view_interface.hpp says this:
https://github.com/tzlaine/stl_interfaces/blob/c47f91507e75574278e0167accdcb28a0d1bf136/include/boost/stl_interfaces/view_interface.hpp#L212
...but my reading of the current C++20 draft N4842 shows it to be in std::ranges, not std.
Of course I could easily be wrong, and if so then my apologies.

No, you're absolutely right!  I just never had the chance to actually use this code, since I don't have access to a std::ranges implementation of view_interface yet.  Thanks for pointing this out.


Could you add BitYep exchange?

Thank you~
https://bityep.com/api/1/ticker

See comment: https://github.com/sebaslogen/bitcoin-price-ticker/issues/22#issuecomment-323825755
Also feel free to contribute PR with change.


Player State Has Stopped Working

Dear LeftSpace89,
After the update 0.15.0 the player state has stopped working
Before that it use to show Player State Running,Stand,Crouh,Snake,Throwing Bomb)
All these states have stopped working
Can you please look into this
Thanks
Regards,
Hammad

Its fixed now thanks for the update


samples: Add example snippet for snapshot reads

Add a snippet that shows how to set a readTime in entity retrievals.
Fixes #808 ☕
If you write sample code, please follow the samples format.

@yixiaoshen , please review, too.


Add Demos to Views

We should use intro.js to create an introduction to each view, so if the user launches a view they don't understand, they can go through a short tutorial to learn how to use it.

In migration to angular with, will revisit.


add support other regions of custom vision service

please add support for other regions of custom vision service apart from south central us,
currently it's hard-coded and it's not that informative...
I've discovered that only by enabling developer mode.

Yes, you are correct.  We will extend the custom vision export provider template to include a region dropdown for the newly added regions.

Hi @guybartal - This change has been added and will be included in the next release.  Feel free to try it out in the develop branch.


Fix bug about PR #950, Related issues: #946.

Problem: engine can't get env EUREKA_PREFER_IP.
Fix: add EUREKA_PREFER_IP into ecm engine Environment.
What is the purpose of the change
Related issues: #590.
Brief change log

Define EUREKA_PREFER_IP in Environment.scala
set EUREKA_PREFER_IP value in ProcessEngineConnLaunch.scala

Verifying this change
This change added tests and can be verified as follows:
set EUREKA_PREFER_IP =true, then start all service.
through scripts or resful interface to call job excute. if the job success finish,it will be ok.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency):   no)
Anything that affects deployment: (  no  )
The MGS(Microservice Governance Services), i.e., Spring Cloud Gateway, OpenFeign, Eureka.: ( no)

Documentation

Does this pull request introduce a new feature?   no)
If yes, how is the feature documented? (not applicable  )

but Linkis-1.0.3 is not syn 1.0.2 now


java.lang.IllegalAccessError: org/dimdev/vanillafix/mixins/MixinUtil$1

Hey, I get this crash when I tried to get into my world.
The crash message said the possible mod that caused the crash was unknown.
Juding by the crash report, it seems like it's VanillaFix itself? Though I don't know for sure.
Crash report:
https://pastebin.com/JTALgGHP

I have a similar issue located on ArtixAllMighty's Github page with Vanilla Fix Issue 34

Does it also happen without Telepads installed?

also happened to me:
https://paste.dimdev.org/dosugokomo.txt

It does not happen unless that mod is installed.

Fixed in the latest dev build.

Note: This seems to be a bug with Mixin, similar to https://github.com/SpongePowered/Mixin/issues/31.


feat: emit metrics on email schedule

As a way for us to gain more visibility into which email templates are being sent and when, add a metrics emitter at the last place we know about the template name.

approved, knowing it will pass ci/coverage, but do we want at least one test?

I couldn't find a decorator-specific test, but I'll add an assertion or two to confirm the metrics behavior.

@ewdurbin see test assertions added in a879eff


The property 'Count' cannot be found on this object. Verify that the property exists.

I get this error when it tries to process Service Principles.  I am running it on Windows 11.
PS C:\Users\jserban\OneDrive - Microsoft\Documents\GitHub\AzureADAssessment> Invoke-AADAssessmentDataCollection
Exporting applications: Completed 2 in 00:00:00
Exporting appRoleAssignments: Completed 32 in 00:00:00
Exporting oauth2PermissionGrants: Completed 12 in 00:00:00
Exporting servicePrincipals (JSON): Completed 15 in 00:00:00
Exporting servicePrincipals (CSV): Completed 15 in 00:00:00
Exporting groups: Completed 7 in 00:00:00
Loading users in lookup cache
Loading users registration details in lookup cache
Exporting UserReport: Completed 11 in 00:00:00
Loading groups in lookup cache
Exporting NotificationsEmailsReport: Completed 9 in 00:00:00
Loading administrative units in lookup cache
Loading applications in lookup cache
Loading service principals in lookup cache
WARNING: The export package has not been generated
WARNING: If you are working with microsoft or a provider on the assessment please warn them
WARNING: Please check GitHub issues and fill a new one or reply on existing ones mentionning the errors seen
WARNING: https://github.com/AzureAD/AzureADAssessment/issues
Format-Csv: C:\Program Files\WindowsPowerShell\Modules\AzureADAssessment\2.2.64\Export-AADAssessmentReportData.ps1:226:11
Line |
226 |          | Format-Csv `
|            ~~~~~~~~~~
| The property 'Count' cannot be found on this object. Verify that the property exists.

same problem here

Removing the line 251 makes the trick :)

@albandrod removing line 251 does fix the error in PowerShell but unfortunately causes issues for the PowerBI template when PowerShell Core is used.
@jserban @albandrod I believe this bug is fixed now in the Format-Csv function and I pushed a preview release (2.3.1-preview) to PowerShell Gallery. Could both of you validate the new preview works?
Update-Module AzureADAssessment -AllowPrerelease

I have the same problem and allowprerelease does not work for me :(
Update-Module : A parameter cannot be found that matches parameter name 'AllowPrerelease'.
At line:1 char:33

Update-Module AzureADAssessment -AllowPrerelease

                            ~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidArgument: (:) [Update-Module], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Update-Module

Hi @patrykszu,
Can you try with PowerShell 7.2 ?
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?WT.mc_id=THOMASMAURER-blog-thmaure&view=powershell-7
Otherwise try to update PowerShellGet
https://learn.microsoft.com/en-us/powershell/scripting/gallery/installing-psget?view=powershell-7.2

@jserban, @albandrod, @patrykszu, since the module was updated since, this issue should be closed.
The update module issue should be related to PowerShell installation to make update-module work correctly.
I will close this issue now. Don't hesitate to reply to reopen.


Add a Gitter chat badge to README.md

IronLang/iron now has a Chat Room on Gitter
@sejr has just created a chat room. You can visit it here: https://gitter.im/IronLang/iron.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Added manually because Travis CI is being a monster.


TypeError: Cannot read property 'get' of undefined

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: git-gateway
Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36

CMS configuration
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
backend:
  name: git-gateway
  branch: master
  commit_messages:
    create: Create {{collection}} “{{slug}}”
    update: Update {{collection}} “{{slug}}”
    delete: Delete {{collection}} “{{slug}}”
    uploadMedia: "[skip ci] Upload “{{path}}”"
    deleteMedia: "[skip ci] Delete “{{path}}”"
media_folder: static/img
public_folder: /img
collections:
  - name: pages
    label: Pages
    files:
      - file: src/pages/index.md
        label: Landing Page
        name: index
        fields:
          - label: Template Key
            name: templateKey
            widget: hidden
            default: index-page
          - label: SEO & Meta
            name: seo
            widget: object
            fields:
              - label: Browser Tab Title
                name: browserTitle
                widget: string
              - label: Title
                name: title
                widget: string
              - label: Description
                name: description
                widget: string
          - label: Title
            name: title
            widget: string
          - label: Image
            name: image
            widget: image
          - label: Heading
            name: heading
            widget: string
          - label: Subheading
            name: subheading
            widget: string
          - label: Main
            name: main
            widget: object
            fields:
              - label: Body
                name: body
                widget: markdown
    publish: true
    sortableFields:
      - commit_date
      - commit_author

Additional context

Hi @shloksomani, can you share more information on the issue you're having? Specifically can you share a reproduction scenario?

Closing, please comment if issue persists


build: add doc target

This patch adds a doc target generating Doxygen documentation; please see the individual commits for details :)

Thanks a lot for the PR!
We see one minor problem regarding consistency (CMake generated vs. workflow generated will e.g. use different Doxygen styles and index pages), but unifying it will probably a lot of work as we have to adjust our custom tooling that is used in the pipelines.
I let @athre0z decide if we should merge it now or if we want to improve it first. I'm personally fine with either way.
Involving CMake in the documentation generation is a nice improvement anyways 🙂

Using CMake has a few advantages, as I described in https://github.com/mozilla/cubeb/pull/726. It also makes things easier for me, as I'd like to ship Doxygen-generated documentation on the Zycore and Zydis Debian packages; in fact, I'm preparing a similar patch for Zydis as well.
I would've updated the pipeline too, but I couldn't find it in the repo :/

Thanks!


Cancel Payment Intent Endpoint

Motivation and context
Adds an enpoint for cancelling Payment Requests. Needed to do cleanup on cancelled donations in the new donation flow.
New endpoints
@Post('payment-intent/:id/cancel') -
Body:
cancellation_reason: Stripe.PaymentIntentCancelParams.CancellationReason

@dimitur2204 I see that the new endpoint is open to the public, so I wonder if we should allow canceling a payment intent of another person?

This way if you are not logged in and you decide to cancel the payment you will not be able to.
Generally speaking this cancellation is not required since Stripe just keeps them as Incomplete and probably gets rid of them after some time. And also we might not be able to reliably call it on the frontend because of the many ways a person can navigate away from the form


Real Money damage boost

I added the real money damage boost to the calcs, as a way for people to judge if it's worth it for them.

Alright, it's been pushed.


sync.Cond: Why does copyChecker check condition twice?

Why is the uintptr(*c) != uintptr(unsafe.Pointer(c) condition checked a second time after
the atomic operation?
In case this line can be removed I'm happy to make a PR removing the second condition.
// copyChecker holds back pointer to itself to detect object copying.
type copyChecker uintptr

func (c *copyChecker) check() {
	if uintptr(*c) != uintptr(unsafe.Pointer(c)) && // <---- First
		!atomic.CompareAndSwapUintptr((*uintptr)(c), 0, uintptr(unsafe.Pointer(c))) &&
	        uintptr(*c) != uintptr(unsafe.Pointer(c)) {  // <---- Second
		panic("sync.Cond is copied")
	}
}

https://github.com/golang/go/blob/46ca7b5ee2a8582736f1ddac27d8660e1104c345/src/sync/cond.go#L84
Pinging @dvyukov since he wrote this code 7 years ago.

Why is the uintptr(*c) != uintptr(unsafe.Pointer(c) condition checked a second time after the atomic operation?

Because it can change after the atomic operation.

Previously discussed at #34516.

@robinbraemer if you want to send a PR, a PR that added an explanation comment would be useful it seems :)

I will make an explaining comment. Should I also add this and #34516 issue # in the comment?


DateTime values are printed with a potentially incorrect timezone indicator

When printing a DateTime value into a TOML file, TOML.jl appends a "Z" to the end of the DateTime. The "Z" indicates that the timestamp is in the zero offset zone for UTC. Since DateTime does not carry timezone information this Z can be erroneous. The TOML spec indicates that the bare timestamp with no timezone information is spec compliant. Given the lack of timezone information this is a better default for TOML.jl.
In my particular instance I was writing output that was in ESD (UTC -4). While the offset wasn't particularly important in my case, the Z caused confusion when a colleague saw it. I can of course manually adjust my timestamp to UTC zero before exporting but TOML.jl should not make this assumption.
Here is an example where the Z is appended without any knowledge about the timezone.
julia> TOML.print(Dict("Date" => DateTime(2024,10,22,12)))
Date = 2024-10-22T12:00:00.000Z

I believe instead the above should generate the output Date = 2024-10-22T12:00:00.000 which meets the TOML spec and does not make unfounded timezone assumptions.

The offending bit of code is the 'Z' at the end of this line. The fix is very easy but I am not sure if there are other implications of such a change.
https://github.com/JuliaLang/TOML.jl/blob/44aab3c023323587680ab8d8c7ef478bf78c4c0c/src/print.jl#L91

I think the Z comes all the way from https://github.com/JuliaLang/TOML.jl/commit/02cf9e85f39a36045532271071fd88e0be2171c5#diff-daf635fc60966c7826dcb301089f0408e7834d17ce0ec46018ff674814ba6186R36.


Stubbing out object for file-based threat intelligence

What is this?
A collection of objects to better house threat intelligence related to files, IPs, domains, and URLs.

The comments about assuming things are defined in dictionary.json makes me wonder what happens if someone removes a dictionary.json entry and an attribute in an object or event relied on it. Maybe you already thought of it, but one validation step ought to be ensuring every attribute has a type (and name?) which could catch this issue.

There's talk about wanting to look for breaking changes to producers and consumers in a PR, like flipping attributes from required to optional. That means validations that compare two copies of the schema. If I implement that or talk someone else into implementing it, this would be a good check to add to the validator. But even without the validator is checking that required fields are present after merging from dictionary.json, and it's aware of the OcsfAttribute type. I'll write a test for that case just to be sure :D
I already have checks to warn if dictionary.json has unused attributes or if there are attributes in records that aren't defined in dictionary.json (at Paul A's request).

You can factor the common stuff into another object if you like. Make sure the name begins with _ so it won't be counted as an object by itself (see the skip_abstract_objects parameter for Schema.object_names)

Thanks for the tip! I'll remember that in the future but probably won't apply it in this round to get the schema changes built.


STORM-1155: Supervisor recurring health checks

https://issues.apache.org/jira/browse/STORM-1155

+1 looks good.  It might be nice to mention in the documentation that if you are running the supervisor under supervision that calling storm health-check will let you know if you should run the supervisor or not.

+1

Added note about being under supervision.

+1

the code is fine to me, but this is the first step to do health check:
(1) where put the script, we had better put the script under $STORM_HOME/healthcheck, because when install storm, the script will be also installed in every node.
(2) the script depends on OS, in Windows, they should be xxx, in Linux, they should be XXX;
maybe we need some OS detect action to judge what kind of OS is running. so in the "STORM_HEALTH_CHECK_DIR" dir, there are several directory,  windows/linux/mac, different OS use different dir.
(3) could you please help to implement healthcheck.clj with java. in a short while, the storm will contain two core, one is clojure, the other is java. so could you please help to implement healthcheck.clj.

I'd way we can convert this to java later when we do the merge.

the directory is already configurable I don't follow what you are asking
I don't have windows box on here to test but since its all configuration and user writes the scripts I think it will work on windows already. If not perhaps we can file follow on for folks who have access to test windows to fix.

@longdafeng it might be nice in the future to have some "standard" health check scripts come with storm, but honestly even with just Linux, it is difficult to come up with something that will work on all Linux distros, or even on all boxes with the same distro.
The things I see as potential issues would be the network card fell back to 100Mbit.  But that does not work if you are running on old 100Mbit hardware, or what if for some reason you are using infiniband, with a 100Mbit control path.  Or if you are using bonded NICs?  There are too many variables in my opinion to really make a lot of these generic.
The default directory is $STORM_HOME/healthcheck already.  Directories are usually relative to $STORM_HOME, but there have been a few cases where we needed to make it explicit.  @zhuoliu you did a lot of work around resolving relative paths in configs.  could you take a look at this and see if we need to change anything to make this work so it is always relative to $STORM_HOME/?

Hi @revans2 and @tgravescs ,
For checking all cases of relative/absolute directory for healthcheck, I would suggest to add the following function in config.clj, then healthcheck.clj can all this function to get the directory.
(defn absolute-healthcheck-dir [conf]
(let [storm-home (System/getProperty "storm.home")
path (conf STORM-HEALTH-CHECK-DIR)]
(if path
(if (is-absolute-path? path) path (str storm-home file-path-separator path))
(str storm-home file-path-separator “healthcheck”))))

added the absolute path check and upmerged

+1

+1

travis failed with disrupterQueueTest failures which is unrelated.

@longdafeng do you have any more comments on this pull request?  I would like to merge this in soon if you are OK with it.

+1
sorry for late response


[BUG] BackLink error when keep_nulls is set to False

Describe the bug
BackLinks results in a value error when keep_nulls is set to False. Specifically fails at this line of code: return {key: self.encode(value) for key, value in obj.items()}.
To Reproduce
  class House(Document, extra="allow"):
      name: str
      door: Link["Door"]
      class Settings:
          name = "house"
          keep_nulls = False
  class Door(Document, extra="allow"):
      height: int = 2
      width: Optional[int] = None
      house: BackLink[House] = Field(original_field="door")
      class Settings:
          name = "Door"
          keep_nulls=False

  async def init():
      client = get_beanie_client()
      await init_beanie(database=client.test_beanie, document_models=[House,Door])
      house = House(name = "NEW NAME1", door = Door())
      await house.insert(link_rule=WriteRules.WRITE)

Expected behavior
No error thrown.
Additional context
Setting keep_nulls to True does not result in an error.

I am facing the same issue. Any reason why this is happening.


What is the rc_Conv1D block about?

Hi,
Thank you for sharing your awesome work.
I have difficulty to understand the intuition of the use of rc_Conv1D block in the attention-based model, since it is new for me. If I understand correctly, you're trying to mimic the DNA structure with forward and reverse stand, right? I have tried with a dataset of protein sequence (just modify the function to generate onehot vector) to function, and the architecture works also very well (figure: validative set of the training).

So my question is, what exactly this rc_Conv1D block does in other case rather than DNA sequence?
Thank you.
Ai

Hi Ai
The idea of that function is to incorporate the reverse complement DNA strand since the strand is arbitrary and transcription factors bind in either orientation. It is more efficient for a variety of reasons to reverse complement the convolutional filters rather than the input DNA sequences. So that layer uses reverse complemented filters to do a 1D convolution. The reverse complement actually works by flipping the filters along the length and base axes (and the bases have to be in a specific order so that the flip actually represents complementation; so ACGT works since TGCA is its complement, but ATGC does not since CGTA is not the complement of ATGC).
Are your protein sequences a one hot encoding of amino acids? e.g. 20xL (L=length; 20 - one per amino acid)
If so, I cannot explain why the rc_Conv1D would help as it really doesn't make sense for that application. There is no logical meaning to a reverse complement of a protein sequence. Have you tried the same model, but without the rc_Conv1d? If not, perhaps it is the rest of the model that is helping.

Thank you for your considerate response.
And yes you're right, if I replace with normal Conv1D, it works as well. Anyway, thank you for sharing the architecture, it learns very robustly.
Ai

Thanks so much for your question @vuhongai ! I am just adding a couple points to @Carldeboer's excellent answer:

For the regulatory sequence->function model in the paper, the rc_Conv1d block was originally introduced because it was often present in prior work on related problems.  'Towards a Better Understanding of Reverse-Complement Equivariance for Deep Learning Models in Regulatory Genomics' does a great job of conveying the intuition behind why one may want to employ such reverse-complement aware models and thoroughly benchmarking various existing strategies (This twitter thread summarizes )

It is great to hear that the model architecture learns protein sequence->function robustly! I agree with @Carldeboer's suggestion that it is likely the rest of the model that is helping. (If there are more details available for the protein->sequence function task, like the function label (eg: GFP expression) and length of input protein sequence (eg: ~238 AAs), we can try to think more deeply about why the architecture is able to learn robustly for your specific application.
'Learning protein fitness models from evolutionary and assay-labeled data'  wonderfully demonstrates how simple linear regression models on site-specific amino acid features often perform quite well at protein sequence->function task. Quoting a paragraph I liked from their discussion:

One may initially be puzzled as to how linear models with only site-specific features can generalize at all to mutations not seen at train time, let alone surpass nonlinear models in this task. However, as detailed in the Methods, such generalization can emerge from a particular form of l2-regularized linear regression with one-hot encoded features. In effect, through the regularization, the model learns about the importance of each position, even though each amino acid at each position has its own parameter. Thus, if the effects of different mutations at the same position are in the same direction, the regularized linear models can do a reasonable job of generalizing in such a manner.
I found this paper as a great starting point for building intuition on the protein sequence->function task.

Best,
Eeshit

Thank you for your clarification and the suggestions. I will look into it.
Bests,
Ai


Database has an unsupported version (23) and cannot be upgraded Exception backtrace:

How frequently does the bug occur?
Always
Description
RealmSwift ~>10
Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=6 "Opening Realm files of format version 23 is not supported by this version of Realm" UserInfo={Error Code=6
Stacktrace & log output
No response
Can you reproduce the bug?
No
Reproduction Steps
No response
Version
~>10
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
16.1
Build environment
Xcode version: ...
Dependency manager and version: ...

You need to update to the latest version of Realm.

@leemaguire I found out that realm browser is generating v23 whenever i am opening it when my xcode project is only ready v22.

hello! how did you solve this problem? Cause i have the same problem, please help

@NickKhachtryan you have to check app realm folder if the version of default.realm is being changed when you are opening it in realm browser

i just solved it by deleting my default.realm file


Dalli returning true:TrueClass on memcached node reboot

Seems related to #146, but we appear to see a similar problem with the latest dalli when a memcached node is rebooted.
When we reboot a node in our Elasticache, memcached 1.4.5, cluster under load we see numerous failures from get returning true:TrueClass instead of the cached object (or simply nil).
memcached 1.4.5
dalli 2.6.4
ruby 1.9.3-p429
Using the connection settings:
    CLIENT_SETTINGS = {
      # Default TTL
      :expires_in => 3600,
      # Don't move keys to failed hosts
      :failover => false,
      :down_retry_delay => 30
    }

Unfortunately I haven't been able to come up with a case that reproduces this. Anything to check to help debug this?

This issue never got much follow up, and there have been no other similar reports.  As the issue hasn't been commented on in over 2 years, I'm going to close.
@mheffner Please reopen if this is still an issue.  Thanks!

We can confirm we were afflicted with this.  There appears to be a state on AWS Elasticache that is 1/2 baked, where the server accepts connections, yet has no data initialized and then simply returns status === 0 with no data 🥰
It's still an issue and my partner @snbloch and I tried very naively to fix it but we blew all the tests up lol.
Honestly we feel it's a problem with memcached implementors.  Why accept connections and afford ANY response when you (sorry for the anthropomorphism) haven't loaded all your data yet, and truly aren't ready?!
I'm still wondering if there is some path that can detect this state in Dalli, and afford an error state to clients.
Our use case happens to be very fortunate in that we can detect this state higher up as a client of this library, and can rule out the silly True Object from being returned, but that's no way to live really either :)
Thank you for your continued support on Dalli.


Server is not listening

While connect the phone it display as Server is not listening. I am using kitkat 4.4.2

Please post desktop console errors/exceptions.

I have updated Android as well as Desktop app. Please download latest code and check once again


Up Issue Reporter limit to 7500

GitHub has let us know that we could up our limit here to 8k... or maybe just under 8k (7500) to play it safe:
https://github.com/microsoft/vscode/blob/main/src/vs/code/electron-sandbox/issue/issueReporterMain.ts#L30
Let's do this so we don't lose issues to people not pasting.

Verification: sign out of GitHub if you're signed in. Then open an issue with a solid amount of text, and ensure you don't get the "you need to paste" message.


Reduce size of npm module - use an .npmignore to remove unnecessary files

GitHub repo should contain most things, including source code, tests, and examples. The npm module should contain only the minimal code required to make the module work, to reduce total size and increase load speed.

I suggest adding an .npmignore file to remove all unnecessary files from the module.
Might also want to add a .gitignore, e.g. for node_modules?
In package.json, change the 'main' to the minified version
Add to the .npmignore every file which is not involved in production code.
In particular the examples and tests, those should not be in npm module.

Please add me as a collaborator on GitHub and npm if you want me to implement this on a feature branch and do pull request, it will reduce the size of my own bundle?
Thanks!

Thanks for the suggestion.

.npmignore was added
.gitignore was added
I'm not sure if linking to min version only breaks bundlers which try to minify the code again

You're welcome :)
I've read through the top30 used npm packages and none of them used a minified "main" entry. Bundlers typically take this file and compress it according to the local config. So I don't get why you require such an aggressive module minimization for fraction.js. You can either use the min file or compress the file for production in your own build chain. I'm also after optimizing for code size, but of the code itself and don't get where the module size really matter for a small module like this one.

OK no problem, lets leave the minification then! Thanks for adding .gitignore and .npmignore.
Any chance of an npm patch to publish this change?

Done :)


feat: Collector Metric Exporter for the Web

Summary
This PR addresses Issue #1109.
Currently, the Collector Exporter only sends traces to the collector. In Python, Java, and Go, for example, metric exporting already exists for the collector. This PR adds that feature. I created two versions, one for Node and the other for browser. The node version uses gRPC, and the browser uses Beacon or XHR. It's up to date with all previous collector exporter commits.
What this PR does
This is the 6th part of this long PR.
Note: Please review this PR first
I previously did some refactoring, which, when merged, would greatly simplify this PR.
This PR creates a CollectorMetricExporter.ts file that is almost identical to the CollectorTraceExporter.ts.
Testing
I created unit tests and I E2E tested exporting metrics with a sample application connected to Google Cloud Monitoring.
Next Steps
I will be pushing a PR to create the Node version of this exporter in parallel. Once both are merged, I will submit an example project.

Please review the Node PR first, as this one depends on the other one.

@open-telemetry/javascript-approvers ^^

Added to the Readme. In the meantime, I've been trying to set up Prometheus in the Docker so the example can work with exporting metrics.

All of the metrics examples use prometheus, so that should get you started.

Added example and verified it works on my computer

@open-telemetry/javascript-approvers Please take a look as this PR has been open for quite a while.
In particular I would like @obecny's approval on this as you have been active on David's other PRs and you wrote the original OTLP exporter.


Create guidelines for optimizing Javascript on V8

https://github.com/bucharest-gold/perf-quest

Resources / blogs / Videos / etc - To check and write test cases on perf-quest.

http://debuggable.com/posts/understanding-hidden-classes-in-v8:4c7e81e4-1330-4398-8bd2-761bcbdd56cb
https://www.smashingmagazine.com/2012/11/writing-fast-memory-efficient-javascript/
https://gist.github.com/twokul/9501770

I think this talk can be useful:
Javascript V8 vs C++ Fibunacci

@cesarvr thanks for the video link.

no problema 👍

So, according item 2. (first comment on this issue ^)
The video starts at 10:30
10:30 - 15:30 about hidden classes  [ we already have a test case for this ]
Then the video shows some 'don'ts':

Don't pre-allocate large Arrays (e.g > 64k elements) to their maximum size, instead grow as you go.
Don't delete elements in arrays, specially numeric arrays.
Don't load uninitialized or deleted elements.
Don't store non-numeric values (objects) in numeric arrays.

Then from 26:30 to the end, are more related to compiler optimization, deoptimization and prof.
So I think the 'don'ts' can be added to code_recomendations in a future.

This blog post is basically the summary of this ^ video :
https://www.html5rocks.com/en/tutorials/speed/v8/
Also, to be clear, the video is not about performance JS vs C++ Fibonacci.

According @lance
The idea is to have a file on entente root, called CODE_RECOMENDATIONS.md
This file will link with all test cases from https://github.com/bucharest-gold/perf-quest
@lholmquist and @lance will help on this document.
With more attention for the cases where we have 'BASICALLY THE SAME' performance.
Writing why use X instead Y since performance are the same.

https://github.com/bucharest-gold/entente/blob/master/CODE_RECOMMENDATIONS.md

hi folks, the concept of this issue is done.
Just to remember that this is a endless issue.


Data processing

Is there any way to update an orca table, not just a column?
Some critical steps in model making process such as data preprocessing, data transformation and feature engineering would be hard (inefficient) if the only way to update an orca table is by updating a single column.

Yes! I think the way I've seen this done is to re-register the dataframe with Orca, which replaces whatever was previously registered under that name. Something like this:
df = orca.get_table('street_trees').to_frame()
# make changes to the dataframe
orca.add_table('street_trees', df)

Here's the full Orca API reference: http://udst.github.io/orca/core.html#api

Thank you!


Update stable version in repo from 1.0.27 to 1.0.29

Think about update stable version to 1.0.29
Version: stable=1.0.27 (233 days old) => latest=1.0.29 (15 days old)
Installs: stable=1435 (75.33%), latest=143 (7.51%), total=1905
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 1.0.29 but the current stable version is already 1.0.29.
So this issue should be closed.


fix: remove un-used import

:tada: This PR is included in version 2.7.0-alpha.2 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Keep microtask.js out of documentation-generation path

@JanMiksovsky
I think only mixin source files with jsdoc tags should go in the basic-component-mixins/src folder, in part so that we don't have to write exemptions in the "grunt docs" task. I've created a basic-component-mixins/src/lib folder and moved the microtask.js helper code there.
If you agree with this, can you make sure IE 11 tests are still working as you expect?

Per conversation with Jan, we'll set documentation properly for microtask.js and other helper code within the main src directory. Close out this PR.


Curl: add a thread for http downloads

The thread uses pooling to keep CPU usage low. I've seen 2MB download speed over my 4G connection.

I'm not sure why, but this can bork the loading screen progress bar.

There's really no need to use a thread. I found a perfect place to call CL_WWWDownload - in Com_Frame, if you set a really low framerate then the main thread wakes up every 50 ms and pumps the event loop (here). So by invoking the download loop there we could avoid any problems caused by setting a low framerate when minimized.

To get rid of the thread-safety problem this version has, I can make DL_DownloadStatus return the progress (return a struct that contains {status, count, max}) and get rid of the cvars. I think it's a bit better to have this in a thread and to get rid of the cvars.