Enforce eval shuffle warning only for default samplers

What does this PR do?

Fixes #12648
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

for reviewers: a179fdce4117ad39af5f8cd0edc809c8d39198cc is the only commit that needs review. Rest is just moving tests from test_data_loading to test_data_connector since we have deprecated data_loading. Moved them since it becomes hard to find tests that belong to data_connector.


Show Fingerprint in Verification Dialog

The certificate verification dialog needs to show the cert fingerprint to allow for a proper verification by the user.

Fixed in c9270200299e392ff3dd3eaab56db48a16b9b358

Thank you a lot. As you have seen, I didn't have the time to dig into it in the last weeks :) But in fact it does look like something I could have solved myself ;-)


Long inline code causes it to overflow and render outside of the preview box

Context

Using a 1920x1080 Monitor

Expected Behavior
When I input a long inline code I expect it to fit within the preview container/box.
Current Behavior
When I input a long inline code I currently see it clipping outside the preview container/box.
Screenshots

Steps to reproduce

Go to https://www.codu.co/create

Type in a long inline code, example below:

`sh -c "$(curl -fsSL [https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh](https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh))"`

Click View preview and you will see the inline code overflowing in the preview container/box

Additional info
n/a

Thanks for adding this! ❤  I'll add it to my queue next week if nobody takes it before then.

@NiallJoeMaher I knew what was happening so I went ahead and created a PR for it. :)

Closed with #162, thanks @sleithdylan! ❤


add option to reply with random messages from a channel when mentioned

scrapping this cuz pain, went with other approach instead
https://github.com/Hiviexd/axer-bot/pull/36


Correct behaviour with DateTime objects

I have added some more tests as the code scares me a little.

Fixed in v1.4.0

By the way, I just uploaded v1.6.0 to CPAN. It avoids the expensive binary search when possible, optimizing the common case. It also croaks if the binary search fails rather than returning an incorrect result (although this should never happen).


Add delete country data-set functionality in admin panel

Closed by #238
Please put "closes #236" in PR descriptions so that related issues are automatically closed.


Sub-Meshes are merged into a single node in Godot

Godot version:
v3.1.1, Mono Edition
OS/device including version:
Windows
Issue description:

I have a blender model which contains several independent objects.
After exporting this model to *.obj format and importing it in Godot, Godot will treat the entire *.obj file as one atomic node in the scene hierarchy.

This causes several problems:

It is not possible to manipulate (move, show/hide, scale...) sub-objects independently of each other.
The sub-objects all share the 8 materials which can be attached to the root object, introducing an unnecessary limitation.

What should have happened instead:
Godot should have realized that the *.obj contains several independent objects, and should have created one node in the hierarchy for each of them, under a common root node which represents the file.
This may be a limitation of the *.obj format though: I'm not sure if *.obj files can convey information such as sub-objects.

Does obj actually supports multi-submesh models?

To be honest I don't really care about the *.obj format, it was just the only way to make blender 2.8 and Godot 3.1.1 play nicely together. I wouldn't use it in a real project (Collada and FBX are much better in many aspects).
I just wanted to let the devs know that this is an issue. If things behave differently for other formats, then that's fine. Using Blender 2.8 with Godot 3.1.1. at this point in time turned out to be quite the frustrating experience.

@MartinHaeusler: Can't you use the Blender - Godot exporter plugin?
https://github.com/godotengine/godot-blender-exporter

@Zireael07 unfortunately, no. Neither the "Better collada exporter" plugin nor the Scene Exporter plugin work with Blender 2.8 at the time of writing this comment. Blender 2.8 is techically still in Beta, but the public API has been declared as final already, so this might be a good time to update the exporters...

@Zylann said:
I thought OBJ didn't support multi-objects, but according to this post it looks like it does?

To be more specific, Wavefront OBJ only supports a single basis. How a thirdparty application chooses to import the OBJ groups is up to that application. We could have an option added to import each group in the OBJ file as a separate meshinstance/object, but all their origin points(basis) would be identical.
Basically think in terms of having multiple vertex groups in a blender 3d mesh object separated out into different objects, if that makes sense.

@MartinHaeusler about collada, it seems that the fix for 2.8 was broken recently due to changes on Blender so I do not think it will be upgraded until Blender enters a stable version, you can check try the fix yourself from the PRs
https://github.com/godotengine/collada-exporter/pulls

You need to reimport the obj as a scene, and it will then import as a flat scene hierarchy. By default it will come in merged as one mesh.
Obj format will not retain the individual origins of each object are any hierarchical info, so you will need dae or gltf if you need those.

We could have an option added to import each group in the OBJ file as a separate meshinstance/object, but all their origin points(basis) would be identical.

Actually thinking more about it another way of handling the import I've seen in the past is to calculate each AABB and then use the center of that to define each objects origin.

You need to reimport the obj as a scene, and it will then import as a flat scene hierarchy. By default it will come in merged as one mesh.
Obj format will not retain the individual origins of each object are any hierarchical info, so you will need dae or gltf if you need those.

So... if I used DAE/GLTF files instead, the sub-objects will be preserved? I can't really test that at the moment (GLTF exporter in Blender 2.8 is broken right now, and Better Collada Exporter doesn't like 2.8).
If it is an *obj thing, then this issue is really not all that important - (hopefully) nobody will use *.obj files when the standard formats (dae, fbx) are working on both the blender side and the godot side.

I use obj almost exclusively for static objects as I always find them trouble free and very robust. Unless I need vertex colors or a full hierarchy I would use dae. Gltf is the future, see eventually that would be all that you need.
Currently if you import an obj into Godot it will import as a single mesh by default, so if you had multiple meshes in Blender it will merge them. However if you select the obj in Godot's file browser and then go to the import tab, you can change this to be imported as a scene and then reimport it. Then all separate meshes from Blender will each be a separate node in Godot as a flat hierarchy. Though all pivot points will be at world center.

Since @fracteed gave a workflow. This issue should be solved.
Thanks for contributing.


Can't build J2CL app with JDK 11 toolchain

Describe the bug
I am building my J2CL app within a codebase that must also support Java 11, for the server-side components. However, when I change my Java toolchain to JDK11, J2CL fails to run properly.
To Reproduce

Clone J2CL
Go into the example directory (cd samples/helloworld)
Run echo "2.0.0" > .bazelversion"
Rename WORKSPACE.remote > WORKSPACE and WORKSPACE > WORKSPACE.local
Build with regular flags first, observe that it completes (bazelisk build //...)
Run bazelisk build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11 //...
See error:

➜  helloworld git:(473aa0a2e) ✗ bazelisk build --java_toolchain=@bazel_tools//tools/jdk:toolchain_java11 //...
DEBUG: Rule 'com_google_j2cl' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cae6e4ffee354e9cc0fbb440a1b0898b1ab587a8dfab505782d220aa2e85a3fc"
DEBUG: Call stack for the definition of repository 'com_google_j2cl' which is a http_archive (rule definition at /private/var/tmp/_bazel_sam/f203f916dd852e7c2460b49941242252/external/bazel_tools/tools/build_defs/repo/http.bzl:292:16):
 - /Volumes/PITBULL/Vault/GUST/vendor/bazel/j2cl/samples/helloworld/WORKSPACE:6:1
INFO: Build option --java_toolchain has changed, discarding analysis cache.
INFO: Analyzed 10 targets (0 packages loaded, 2054 targets configured).
INFO: Found 10 targets...
ERROR: /private/var/tmp/_bazel_sam/f203f916dd852e7c2460b49941242252/external/com_google_j2cl/jre/java/BUILD:59:1: Building external/com_google_j2cl/jre/java/libjre_bootclasspath.jar (6 source files) failed (Exit 1)
external/com_google_j2cl/jre/java/javasynth/LambdaMetafactory.java:14: error: package exists in another module: java.base
package java.lang.invoke;
^
external/com_google_j2cl/jre/java/javasynth/MethodHandle.java:14: error: package exists in another module: java.base
package java.lang.invoke;
^
external/com_google_j2cl/jre/java/javasynth/MethodHandles.java:14: error: package exists in another module: java.base
package java.lang.invoke;
^
external/com_google_j2cl/jre/java/javasynth/MethodType.java:14: error: package exists in another module: java.base
package java.lang.invoke;
^
external/com_google_j2cl/jre/java/javasynth/NoSuchFieldError.java:14: error: package exists in another module: java.base
package java.lang;
^
external/com_google_j2cl/jre/java/javasynth/SerializedLambda.java:14: error: package exists in another module: java.base
package java.lang.invoke;
^
INFO: Elapsed time: 2.352s, Critical Path: 1.67s
INFO: 2 processes: 2 local.
FAILED: Build did NOT complete successfully

Bazel version
2.0.0
Expected behavior
I would expect it to at least build, even if it must enforce Java 8 language semantics. Perhaps there would be a way to force a JDK8 toolchain for J2CL targets?

FYI this can be fixed with the following in .bazelrc:
build --javacopt="-source 8 -target 8 -encoding UTF-8"
but obviously that opts out of all JDK11 language features, and targeting, codebase-wide (AFAIK).

Note that this is likely intrinsic to bazel (and how it builds the //jre/java:jre_bootclasspath java_library) and not j2cl, since repackaged j2cl works in maven under java11, 13 once first built with java 8. As a possible workaround, is there a bazel-ism for "build this java_library(...) with java8, no matter what the local toolchain is set to?" Might be analogous to just making the jar, and then referencing it as if it were external?

@niloc132 perhaps J2CL could inject -source 8 -target 8 with java_package_configuration?
If I'm not mistaken, the injection could perhaps occur here, where J2CL defines its default Java toolchain?
i'll give it a try locally and report back

@niloc132 no such luck :( it still fails with the same error, after amending that file as below:
package_group(
    name = "j2cl_java_packages",
    packages = [
        "//jre/...",
        "//tools/...",
    ],
)

java_package_configuration(
    name = "j2cl_java_config",
    packages = [":j2cl_java_packages"],
    javacopts = ["-source 8", "-target 8"],
)

default_java_toolchain(
    name = "j2cl_java_toolchain",
    bootclasspath = ["//jre/java:libjre_bootclasspath.jar"],
    package_configuration = [":j2cl_java_config"],
)

We need to take a look and figure out what to do here.
For now if you need a quick workaround, you can get the jar output for jre_bootclasspath from java 8 build and java_import that file.

For a canned copy, we already publish this as https://repo.vertispan.com/j2cl/com/vertispan/j2cl/javac-bootstrap-classpath/0.6-SNAPSHOT/ (assuming it doesn't change much, and so far it hasn't).

@gkdn / @niloc132 would i use that workaround on my j2cl fork, by changing the bootclasspath of the default_java_toolchain for J2CL (like above), or is there a way to do that without code changes (i.e. via flags or some other mechanism)?

In your fork, you can put the jar file under jre/java/jre_bootclasspath.jar and then replace following line with java_import of the jar file:
https://github.com/google/j2cl/blob/3e0fb7ad9419ae833167cc0f177c494460c7893b/jre/java/BUILD#L59

thank you very much everyone for your help, that got it working! :)

This should be working out of the box so closing the issue.


Build fail with any sanitizer

When building any project which imports nalgebra with nightly and a sanitizer you get a HUGE amount of build errors.
Command I used to build

export RUSTFLAGS=-Zsanitizer=address RUSTDOCFLAGS=-Zsanitizer=address
cargo +nightly build

The same thing happens with Zsanitizer=thread
Toolchain version

rustc 1.66.0-nightly (4a1467723 2022-09-23)

OS/Hardware

Kubuntu 22.04
16 x Intel Core i7-10870 CPU @ 2.20Ghz
32 Gb RAM
Dual GPU Intel UHD Graphics + NVIDIA RTX 3060 Laptop GPU

Log
Due to how large the log is I could not add all of it so I only added the first 168 lines, all other lines are very similar.

Compiling simba v0.7.0
error: /home/yuri/Projects/threaded-bilateral-filter/target/debug/deps/libpaste-4d6a3c29c1b84e5f.so: undefined symbol: __asan_option_detect_stack_use_after_return
  --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:23:9
   |
23 |         paste::item! {
   |         ^^^^^

error: cannot determine resolution for the macro `paste::item`
  --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:23:9
   |
23 |         paste::item! {
   |         ^^^^^^^^^^^
   |
  ::: /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/simd/simd_complex.rs:33:5
   |
33 |     complex_trait_methods!(SimdRealField, simd_);
   |     -------------------------------------------- in this macro invocation
   |
   = note: import resolution is stuck, try simplifying macro imports
   = note: this error originates in the macro `complex_trait_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

error: cannot determine resolution for the macro `paste::item`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:23:9
    |
23  |         paste::item! {
    |         ^^^^^^^^^^^
...
186 |     complex_trait_methods!(RealField);
    |     --------------------------------- in this macro invocation
    |
    = note: import resolution is stuck, try simplifying macro imports
    = note: this error originates in the macro `complex_trait_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `from_real` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:199:13
    |
199 | /             fn from_real(re: Self::RealField) -> Self {
200 | |                 re
201 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `real` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:204:13
    |
204 | /             fn real(self) -> Self::RealField {
205 | |                 self
206 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `imaginary` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:209:13
    |
209 | /             fn imaginary(self) -> Self::RealField {
210 | |                 Self::zero()
211 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `norm1` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:214:13
    |
214 | /             fn norm1(self) -> Self::RealField {
215 | |                 $libm::abs(self)
216 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `modulus` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:219:13
    |
219 | /             fn modulus(self) -> Self::RealField {
220 | |                 $libm::abs(self)
221 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `modulus_squared` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:224:13
    |
224 | /             fn modulus_squared(self) -> Self::RealField {
225 | |                 self * self
226 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `argument` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:229:13
    |
229 | /             fn argument(self) -> Self::RealField {
230 | |                 if self >= Self::zero() {
231 | |                     Self::zero()
232 | |                 } else {
233 | |                     Self::pi()
234 | |                 }
235 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0407]: method `to_exp` is not a member of trait `ComplexField`
   --> /home/yuri/.cargo/registry/src/github.com-1ecc6299db9ec823/simba-0.7.0/src/scalar/complex.rs:238:13
    |
238 | /             fn to_exp(self) -> (Self, Self) {
239 | |                 if self >= Self::zero() {
240 | |                     (self, Self::one())
241 | |                 } else {
242 | |                     (-self, -Self::one())
243 | |                 }
244 | |             }
    | |_____________^ not a member of trait `ComplexField`
...
491 | / impl_complex!(
492 | |     f32,f32,f32;
493 | |     f64,f64,f64
494 | | );
    | |_- in this macro invocation
    |
    = note: this error originates in the macro `impl_complex` (in Nightly builds, run with -Z macro-backtrace for more info)

Hi! If this doesn’t compile with RUSTFLAGS=-Zsanitizer=address RUSTDOCFLAGS=-Zsanitizer=address but compiles fine if you don’t add these sanatizer options, then the problem is probably in the sanitizer implementation than in simba itself.


Fix typo

@kokosxD : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update seasonal adjustment programs and improve examples

Codecov Report

Merging #22 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   31.38%   31.34%   -0.04%
==========================================
  Files           7        7
  Lines        1708     1710       +2
==========================================
  Hits          536      536
- Misses       1172     1174       +2

Impacted Files
Coverage Δ

R/utils.R
1.56% <ø> (ø)
:arrow_up:

R/SA_Programs.R
0% <0%> (ø)
:arrow_up:

src/BDFM.cpp
54.35% <0%> (-0.07%)
: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 a95d0cc...3b62402. Read the comment docs.


Using an external vector in selections was deprecated in tidyselect 1.1.0.

In perform_bootstrap_ts(): tidyr::pivot_wider(names_from = temporal_col_name,
Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
## ℹ Please use `all_of()` or `any_of()` instead.
##   # Was:
##   data %>% select(temporal_col_name)
##
##   # Now:
##   data %>% select(all_of(temporal_col_name))

fixed in #13


ambiguous match errors

I'm troubleshooting some oddball issues where I am appear to have the same config and versions of this lib included in 2 projects but only one works.
Wondering if you'd be open to including a function that gives a better clue to what's happening here.  If so I can fork and make a PR
09:31:53.909 [error] GenServer #PID<0.4762.0> terminating
** (stop) {:EXIT, {{:badmatch, {:error, :badarg}}, [{LoggerLogstashBackend, :log_event, 5, [file: 'lib/logger_logstash_backend.ex', line: 61]}, {LoggerLogstashBackend, :handle_event, 2, [file: 'lib/logger_logstash_backend.ex', line: 36]}, {:gen_event, :server_update, 4, [file: 'gen_event.erl', line: 573]}, {:gen_event, :server_notify, 4, [file: 'gen_event.erl', line: 555]}, {:gen_event, :handle_msg, 6, [file: 'gen_event.erl', line: 296]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 247]}]}}

Running into this issue on certain requests, sort of randomly. Sometimes they work, sometimes they don't.

I'm guessing these errors are due to the event unable to be encoded as JSON.
(The line numbers don't match your example console error. I imagine that's because you are or were using an older version than the latest.)
I'm seeing these errors due to Erlang/OTP crash reports. The current version of this library does try to inspect PIDs in the :fields field but the crash reports seem to contain PIDs 'deeper' than just the top-level.
Here's a merge request in a fork of this repo that seems to (attempt to) address this, or at least the crash reports anyways:

Merge pull request #1 from primait/feature/handle-crash-reports · primait/logger_logstash_backend@b898d3b


Build error (gcc 5.3.0)

buildnativeoperations.sh (no args => cpu)
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h:2337:29: error: ‘isinf’ was not declared in this scope
                 return isinf(d1) ? set : d1;
                             ^
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h:2337:29: note: suggested alternative:
In file included from /usr/include/c++/5.3.0/random:38:0,
                 from /usr/include/c++/5.3.0/bits/stl_algo.h:66,
                 from /usr/include/c++/5.3.0/algorithm:62,
                 from /home/huitseeker/DL4J/libnd4j/include/cnpy/cnpy.h:16,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/../NativeOps.h:29,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/NativeOps.cpp:8:
/usr/include/c++/5.3.0/cmath:621:5: note:   ‘std::isinf’
     isinf(_Tp __x)
     ^
In file included from /home/huitseeker/DL4J/libnd4j/include/loops/broadcasting.h:16:0,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/../NativeOpExcutioner.h:8,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/NativeOps.cpp:9:
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h:2339:29: error: ‘isnan’ was not declared in this scope
                 return isnan(d1) ? set : d1;
                             ^
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h:2339:29: note: suggested alternative:
In file included from /usr/include/c++/5.3.0/random:38:0,
                 from /usr/include/c++/5.3.0/bits/stl_algo.h:66,
                 from /usr/include/c++/5.3.0/algorithm:62,
                 from /home/huitseeker/DL4J/libnd4j/include/cnpy/cnpy.h:16,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/../NativeOps.h:29,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/NativeOps.cpp:8:
/usr/include/c++/5.3.0/cmath:641:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^
In file included from /home/huitseeker/DL4J/libnd4j/include/loops/broadcasting.h:16:0,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/../NativeOpExcutioner.h:8,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/NativeOps.cpp:9:
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h: In instantiation of ‘static T simdOps::ReplaceNans<T>::op(T, T*) [with T = float]’:
/home/huitseeker/DL4J/libnd4j/include/loops/transform.h:400:51:   required from ‘static void functions::transform::Transform<T>::exec(T*, int, T*, int, T*, int) [with OpType = simdOps::ReplaceNans<float>; T = float]’
/home/huitseeker/DL4J/libnd4j/include/loops/transform.h:268:33:   required from ‘static void functions::transform::Transform<T>::exec(int, T*, int, T*, int, T*, int) [with T = float]’
/home/huitseeker/DL4J/libnd4j/blas/cpu/../NativeOpExcutioner.h:571:49:   required from ‘static void NativeOpExcutioner<T>::execTransform(int, T*, int, T*, int, T*, Nd4jIndex) [with T = float; Nd4jIndex = long long int]’
/home/huitseeker/DL4J/libnd4j/blas/cpu/NativeOps.cpp:1344:96:   required from here
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h:2260:16: error: ‘isnan’ was not declared in this scope
    return isnan(d1) ? replacement : d1 ;
                ^
/home/huitseeker/DL4J/libnd4j/include/ops/ops.h:2260:16: note: suggested alternative:
In file included from /usr/include/c++/5.3.0/random:38:0,
                 from /usr/include/c++/5.3.0/bits/stl_algo.h:66,
                 from /usr/include/c++/5.3.0/algorithm:62,
                 from /home/huitseeker/DL4J/libnd4j/include/cnpy/cnpy.h:16,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/../NativeOps.h:29,
                 from /home/huitseeker/DL4J/libnd4j/blas/cpu/NativeOps.cpp:8:
/usr/include/c++/5.3.0/cmath:641:5: note:   ‘std::isnan’
     isnan(_Tp __x)
     ^

Bisection shows 4a5b5a8ac99846281ad996bca9d1f7c63b5440ce is the cause
Full log:
https://gist.github.com/9a3863936d88fbb19ff33ee5385f9a74
/cc @agibsonccc @raver119

O_o

That's very funny, since isnan isn't really a method, it's just #define

Anyway, fix incoming.

I've applied fast fix for this issue, both cpu & cude compile fine for me now. Please pull libnd4j master and confirm.


[stable/concourse] postgres refusing connection from web node

Describe the bug
A clear and concise description of what the bug is.
On a new, local Kubernetes cluster. Running helm install stable/concourse. The web node goes into CrashLoopBackOff status. The Postgres node never leaves "pending" status.
kubectl get pods
NAME                                       READY     STATUS             RESTARTS   AGE
invited-mouse-postgresql-b478fcfdb-8vctk   0/1       Pending            0          12m
invited-mouse-web-698b6c5d8b-x8wnw         0/1       CrashLoopBackOff   7          12m
invited-mouse-worker-0                     0/1       Pending            0          12m
invited-mouse-worker-1                     0/1       Pending            0          12m

looking at the logs
kubectl logs invited-mouse-web-698b6c5d8b-x8wnw
{"timestamp":"2019-06-07T00:16:06.791608566Z","level":"info","source":"atc","message":"atc.cmd.start","data":{"session":"1"}}
{"timestamp":"2019-06-07T00:16:07.809906268Z","level":"error","source":"atc","message":"atc.db.failed-to-open-db-retrying","data":{"error":"dial tcp <IP_ADDRESS>:5432: connect: connection refused","session":"3"}}
      duration:
{"timestamp":"2019-06-07T00:16:13.825870745Z","level":"error","source":"atc","message":"atc.db.failed-to-open-db-retrying","data":{"error":"dial tcp <IP_ADDRESS>:5432: connect: connection refused","session":"3"}}

Version of Helm and Kubernetes:
kubectl version
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.3", GitCommit:"5e53fd6bc17c0dec8434817e69b04a25d8ae0ff0", GitTreeState:"clean", BuildDate:"2019-06-06T01:36:19Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

helm version
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}

Which chart:
stable/concourse
What happened:
The web node crashes and Postgres node never comes up
What you expected to happen:
the web node to start and become ready, along with the rest of the nodes
How to reproduce it (as minimally and precisely as possible):
On a fresh, local k8s cluster (I essentially used this guide: https://vitux.com/install-and-deploy-kubernetes-on-ubuntu/). Use Helm for Mac and init Tiller. then helm install stable/concourse
Anything else we need to know:
Probably. I have not submitted many bug reports so let me know if I can answer additional questions. TIA!

I figured it out. Needs a StorageClass. Feel dumb. Thanks!

@anthonyvetter  I am also encountering the same issue. BTW I am trying to set up using minikube.
How to fix this issue?

For me I was using a bare metal cluster with upstream k8s which doesn’t include a default storage class. I had to add it. I think Minikube includes a PV for local storage but I would start there. If Postgres isn’t starting it’s probably because it doesn’t have access to any PVC. Look into that. Also check out the values.yml and modify to point Postgres in the right direction.

I think it would be nice if the chart README explicitly mentions the need for having a default StorageClass
wdyt @anthonyvetter ?


Make 3dt not run as root

Extracted from #139 to allow committing before everything is done.

Needs #156

Something to consider: we are going to be proxying back to this service on agents and masters via a agent side adminrouter. That will done over a unix socket rather than a traditional TCP socket. That socket will be secured by file perms, and I'm not sure we have resolved what system user that will be yet.


IRC Notifications

Description

Closes #303
Basically just another notification point.
TESTING STAGE

Testing
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read CONTRIBUTING.md
[x] I fully understand Github Flow.
[x] My code adheres to the code style of this project.
[ ] I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.
[x] I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.
[ ] I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.

Need to do docs and stop it importing if you're not using IRC.

OK, this is code complete now.


Keyboard shortcut doesn't work in RMarkdown file

VSCode Version: 1.22.2
VSCode-R Version: 0.5.8
OS Version: macOS 10.13.4

Steps to Reproduce:

Open an RMarkdown file
Try to use keyboard shortcut for commenting out a line.

Expected behavior:
I expect that the keyboard shortcut, command + / on a Mac, should work in an RMarkdown file like it does in an R script.

I am still having this issue. My environments are:

VSCode Version: 1.33.1
VSCode-R Version: 1.0.9
OS Version: macOS 10.11.6

I have found a workaround by modifying the package.Jason file at line 79 to use the same configuration file setting for rd langauge type:
"configuration": "./rd-configuration.json"
After that, restart the VSCode, this seems fix the keyboard shortcut issue


feat: optimize cuda for vapoursynth

https://github.com/TensoRaws/ccrestoration/issues/21
Summary by Sourcery
Optimize the VapourSynth integration by introducing separate inference functions for multi-frame and one-frame output models, and enhance CUDA support with dedicated functions utilizing CUDA streams for improved performance.
New Features:

Introduce separate inference functions for multi-frame and one-frame output models in the VapourSynth integration.

Enhancements:

Optimize CUDA support for VapourSynth by adding dedicated inference functions for CUDA devices, utilizing CUDA streams for efficient processing.

@sourcery-ai review


Update CHANGELOG.md

Changelog has been modified to reflect the changes made in the new release 1.1.5.

when will 1.1.5 be released?


It will be good if this plugin support CORS configuation otherwise its not fully automated deployment

Currently if i deploy the function with mvn azure-functions:deploy it will create 3 default CORS entries but what I want that we can define the CORS entry with this plugn I am not sure it is possible?

@abhinav-jain09 Thanks for your advice, for now the CORS entries was set by function server side and we will investigate this issue in the following sprint, you may config CORS in portal as well.


💔 Generalise set document metadata methods to deal with press summaries

Changes in this PR:

Generalised the set judgment metadata Client methods to set document metadata methods
specifically for name, court and date

Haven't done it for neutral citation as it's a bit more complicated. I think I will leave that for a followup PR.
Have tested manually by copying and pasting into my local marklogic server. Have considered moving these xqy files into our marklogic repo so we can test them there, which I still think is worth doing but we have considered setting up some sort of suite of E2E tests to make sure things are actually working when hooked up together.
💔 Breaking change
The set_judgment_name and set_judgment_court methods have been renamed.
Trello card / Rollbar error (etc)
https://trello.com/c/lppwqc94/1169-api-client-tidy-up-allow-press-summary-metadata-name-court-date-and-related-ncn-to-be-edited

Consider whether leaving a deprecated set_judgment stub is appropriate, to avoid breaking changes that require immediate fixes.


staging and final destination

Can there not be a staging drive to quickly get the plot off of tmp and move it onto a fast storage space and then have a final phase that will move the plot to long term storage while having already started the next plot, if desired?
This is about the only advantage that swar has at the moment. I can set a temporary destination and a final and have it start the new job as soon as it is in its temp destination.

Can there not be a staging drive to quickly get the plot off of tmp and move it onto a fast storage space and then have a final phase that will move the plot to long term storage while having already started the next plot, if desired?
This is about the only advantage that swar has at the moment. I can set a temporary destination and a final and have it start the new job as soon as it is in its temp destination.

I'm not sure why you have opened a pull request for what seems to be a question - did you mean to do that? Anyway, I'll answer the question. The answer is that this functionality already exists: I assume your reasoning for wanting it is so that the plots won't get held up waiting for the previous plot to be copied. Well, fear not: the final destination feature implemented into the plotter runs the copy operations in the background, which means when one plot finishes it will immediately begin a new plot while transferring the old plot in the background so there is no waiting around.

Can there not be a staging drive to quickly get the plot off of tmp and move it onto a fast storage space and then have a final phase that will move the plot to long term storage while having already started the next plot, if desired?
This is about the only advantage that swar has at the moment. I can set a temporary destination and a final and have it start the new job as soon as it is in its temp destination.

I'm not sure why you have opened a pull request for what seems to be a question - did you mean to do that? Anyway, I'll answer the question. The answer is that this functionality already exists: I assume your reasoning for wanting it is so that the plots won't get held up waiting for the previous plot to be copied. Well, fear not: the final destination feature implemented into the plotter runs the copy operations in the background, which means when one plot finishes it will immediately begin a new plot while transferring the old plot in the background so there is no waiting around.

This info could be in README lot of users are not aware about this

Can there not be a staging drive to quickly get the plot off of tmp and move it onto a fast storage space and then have a final phase that will move the plot to long term storage while having already started the next plot, if desired?
This is about the only advantage that swar has at the moment. I can set a temporary destination and a final and have it start the new job as soon as it is in its temp destination.

I'm not sure why you have opened a pull request for what seems to be a question - did you mean to do that? Anyway, I'll answer the question. The answer is that this functionality already exists: I assume your reasoning for wanting it is so that the plots won't get held up waiting for the previous plot to be copied. Well, fear not: the final destination feature implemented into the plotter runs the copy operations in the background, which means when one plot finishes it will immediately begin a new plot while transferring the old plot in the background so there is no waiting around.

Sorry, I didn't mean to comment in the wrong spot.
I'm also not sure I clearly explained the desired functionality.
In my mind, the process should work as follows.
Plotting happens on tmp1&2 drives.
Plot is moved to a very fast staging space (maybe a another small nvme or ssd)
New job kicks off
Plot is moved from staging space to long term location.
As it is right now, I believe it just goes from the working space to the final destination, which is okay at the end of the day, but it means that my work temp space has io competition while it moves the finished plot to the final destination.  It takes about 15-20 minutes to go from an NVME to an HDD, but if I could go to another temporary NVME first, my working space could be done transferring in maybe 2 minutes and have all of its IO available.

Can there not be a staging drive to quickly get the plot off of tmp and move it onto a fast storage space and then have a final phase that will move the plot to long term storage while having already started the next plot, if desired?
This is about the only advantage that swar has at the moment. I can set a temporary destination and a final and have it start the new job as soon as it is in its temp destination.

I'm not sure why you have opened a pull request for what seems to be a question - did you mean to do that? Anyway, I'll answer the question. The answer is that this functionality already exists: I assume your reasoning for wanting it is so that the plots won't get held up waiting for the previous plot to be copied. Well, fear not: the final destination feature implemented into the plotter runs the copy operations in the background, which means when one plot finishes it will immediately begin a new plot while transferring the old plot in the background so there is no waiting around.

Sorry, I didn't mean to comment in the wrong spot.
I'm also not sure I clearly explained the desired functionality.
In my mind, the process should work as follows.
Plotting happens on tmp1&2 drives.
Plot is moved to a very fast staging space (maybe a another small nvme or ssd)
New job kicks off
Plot is moved from staging space to long term location.
As it is right now, I believe it just goes from the working space to the final destination, which is okay at the end of the day, but it means that my work temp space has io competition while it moves the finished plot to the final destination. It takes about 15-20 minutes to go from an NVME to an HDD, but if I could go to another temporary NVME first, my working space could be done transferring in maybe 2 minutes and have all of its IO available.

Ok, I see what you mean. I'm not sure if this would actually improve anything, but it might. This functionality, however, will likely not be added to the plotter as it adds too much additional complexity. The best way to do what you describe is to set the staging NVMe as your final directory, and then write a script that checks whenever a file enters the staging directory and automatically moves it to the HDD.

Ok, I see what you mean. I'm not sure if this would actually improve anything, but it might. This functionality, however, will likely not be added to the plotter as it adds too much additional complexity. The best way to do what you describe is to set the staging NVMe as your final directory, and then write a script that checks whenever a file enters the staging directory and automatically moves it to the HDD.

I believe it would.  I've noticed that when I run mad max the first time through it always completes 3 or 4 minutes faster.  My subsequent plots are all slower, so I believe it is related to the drive having competition for its IO.  Certainly possible its related to something else.
I appreciate your responses.

Ok, I see what you mean. I'm not sure if this would actually improve anything, but it might. This functionality, however, will likely not be added to the plotter as it adds too much additional complexity. The best way to do what you describe is to set the staging NVMe as your final directory, and then write a script that checks whenever a file enters the staging directory and automatically moves it to the HDD.

I believe it would. I've noticed that when I run mad max the first time through it always completes 3 or 4 minutes faster. My subsequent plots are all slower, so I believe it is related to the drive having competition for its IO. Certainly possible its related to something else.
I appreciate your responses.

Now it all makes sense why my first plot is so much faster then the rest - temp1 = 10K SAS RAID0 so IO would be going like crazy copying from a mechanical disk to my final dir while in Phase 1 doing the next plot.

This is unneeded.

sorry this cannot be merged


Fix intrusive_base documentation

Source documentation for instrusive_base::set_self_py() and intrusive_base::self_py() were swapped.
The api_extra.rst documentation does not need to be changed - it is already correct.

Thanks!


[modify]line 102 should not transpose.

@agyorev
Hi, agyorev
I think the code exit some problem, in line 102, you should not transpose evectors. Otherwise, an error is thrown:

After comment the line 102, all is well:

Thanks for submitting a fix!


wget cant load https sites (openssl not foud)

wget https://launchpad.net/
Returns wget: can't execute 'openssl': No such file or directory

+1

We'll consider adding it to a next version.
Currently you can enable debian-console (or ubuntu-console)
sudo ros s enable debian-console
sudo reboot

and install openssl package (and other packages you need in the console)
apt-get install --no-install-recommends openssl

Keep in mind that consoles are currently (in v0.3.1) ephemeral, so you'll need to install the packages again after reboot.

It looks like OpenSSL was added to the base image since this issue was created. If you continue to have similar problems, feel free to reopen.


API documentation is almost empty

This is almost the same issue as mila-udem/blocks#832 but Fuel API documentation is absolutely empty except 'Toy dataset' section which is also empty.

@hantek in order to build the documentation locally, type
sphinx-build -b html docs docs/_build/html

inside the repo's root directory. You can then view docs/_build/html/index.html in your web browser.

#232 is trying to add something for api docs.

Closed via #232.


Code optimization: convert fields to local variables where it's possible

Code optimization: convert class fields to local variables where it's possible
2854

I guess, The build issue relates to https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/3287
@kwin @davidjgonzalez

@MikhailNavitski Seems more like a temporary glitch because the GHA is already leveraging the NVD API Token, I just re-executed the action again. Let's see if that fixes it...


Create Isomorphic.java

#731
Checking whether two strings are isomorphic or not.
Two strings s and t are isomorphic if the characters in s can be replaced to get t.
All occurrences of a character are replaced with another character while preserving the order of characters. No two characters map to the same character, but a character may map to itself.

The problem already exists here. If you are using a different approach, then explain how yours is different.

The problem already exists here. If you are using a different approach, then explain how yours is different.

The solution here is of O(n).
The idea is to create an array to store mappings of processed characters.

Kindly elaborate @ushmita4

If lengths of str1 and str2 are not the same, then return false.
Here for every character in str1 and str2
a) If this character is seen the first time in str1,
then-current of str2 must have not appeared before.
(i) If the current character of str2 is seen, return false.
Mark current character of str2 as visited.
(ii) Store mapping of current characters.
b) Else check if the previous occurrence of str1[i] mapped
to the same character.


Nullable Boolean Decorated with RequiredAttribute Is Created as Boolean

I have the following code
[Required]
public Nullable<bool> PropertyName { get; set; }

The problem with this is that "Required" is then put into the swagger document, and so PropertyName is then generated as a non nullable property. But this is not correct.
I expect that this field can be set as "null" because The its a question to the user that they must answer "Yes" or "No" to, If they don't answer the question, Then the use of [Required] will cause validation back from the API.
But because its getting generated as a boolean not a Nullable (or bool?) then it can never be null and defaults to as if they have answered the question.
I believe that the swagger document should only have properties listed as required if they are of non nullable types. and shouldn't be using the Required parameter.
This is what swagger json document I have currently
Subscription:{
   required:[
      "propertyName"
   ],
   type:"object",
   properties:{
      id:{
         format:"int32",
         type:"integer"
      },
      propertyName:{
         type:"boolean"
      },

   }
},

A few things to note ...
Firstly, Swagger 2.0 does not support nullable data types. Therefore, SB cannot generate a type of nullable or bool?
Secondly, I disagree with your logic that suggests the property in your example above should NOT be described as required. If a null value is passed, then the request is going to fail due to server-side validation, and the client will have to resend with a non-null value to have the request successfully processed. In the context of API documentation, that is exactly the purpose of the required field. To tell the client what MUST be provided for the request to be successfully processed.
Finally, there is still a lot of confusion around how SB infers if a field is required for a request or not. It's been very difficult to get this to a point that everyone is agreed on. Furthermore, ASP.NET Core now includes additional attributes at the binding layer (BindRequired, BindNever) that also need to be taken into account. To gain some alignment and optimize for the most common cases, I've rolled all issues related to required vs not required into #599 so I can capture discussion and feedback in one place before deciding on next steps wrt implementation.


Create single project asset

Add the assets being imported by participants for various workshop modules into a single project that would be imported as part of the pre-work.

Jupyter Notebook (for ML model build and OpenScale)
AutoAI CSV file

Also, update the Admin guide and various places in the docs to reflect the new location for the data.

Fixed in upstream and merged in PR #188


Error - This version of PhoneGap is too old for one your plugins

I did it in Phonegap build website and found this message in Android
What should I have to do to solve it
Regards

+1

Same here

Hey guy I can resolved it let's try this fork
https://github.com/YoSarin/cordova-plugin-background-mode

Awesome!. Thank you very much

I see the plugin does not work on Android v8 and up  due to the new Android OS restrictions for Background Mode Apps. Any way to get around this?

deonvisser I uses that fork with nokia 6.1 plus android 9 It's ok what's your mobile?

@zybermx, thank you for your reply. I am using Samsung S8+ with Android 9, however I am Targeting 7.1 so not sure why this is a problem.
An app will have restricted background processing if it is not considered a "foreground app" for android API 26+ and will prevent background pluggins from functioning properly.

I have also included this code....
Quirks
Various APIs like playing media or tracking GPS position in background might not work while in background even the background mode is active. To fix such issues the plugin provides a method to disable most optimizations done by Android/CrossWalk.
cordova.plugins.backgroundMode.on('activate', function() {
cordova.plugins.backgroundMode.disableWebViewOptimizations();
});

deonvisser Thank you for your info.I uses this plugin for GPS tracking too everthing work fine.
this is my config and the code activate background is the same as your

and i use this fork https://github.com/YoSarin/cordova-plugin-background-mode
only problem is notification icon on status bar gone. but I'm ok with it right now.
will uses it like this for a while then update my app with new version

Yes. That is the for I am using. My app not crashing anymore at least but no Background. Works while in sleep mode.
I have notification icon though.
I am running Cordova 6.3. Thinks this may be the problem?


[Suggestion] Library / syntax-rules implementation via unsyntax bootstrap?

There is a recent-ish project https://github.com/mnieper/unsyntax with MIT license, which expands scheme code with library and macros into a scheme code without them; it itself is written in scheme, and as such relies on an existing scheme implementation to function. Perhaps it's worthwhile investigating, if plugging unsyntax expander could be a cheap way to enable libraries and syntax-rules (and maybe some additional things) in biwascheme?

Oh, thank you for the information. I'm trying to port another expander at #192, but this would be a good potion.


How do I know when hosted field are ready?

Hi,
How do I know when hosted field are ready? This is my code:
braintree.client.create({

          authorization: braintree_client_token
        }, function (clientErr, clientInstance) {
          if (clientErr) {
            console.log(clientErr);
            return;
          }

          braintree.hostedFields.create({
            client: clientInstance,
            styles: {
              'input': {
                'font-size': '14px',
                'font-family': 'helvetica, tahoma, calibri, sans-serif',
                'color': '#3a3a3a'
              },
              ':focus': {
                'color': 'black'
              }
            },
            fields: {
              number: {
                selector: '#card-number',
                placeholder: '**** **** **** ****'
              },
              cvv: {
                selector: '#card-cvc',
                placeholder: "CVC"
              },
              expirationDate: {
                selector: '#card-expiry',
                placeholder: "EXPIRY"
              }
            }
          }, function (hostedFieldsErr, hostedFieldsInstance) {
            if (hostedFieldsErr) {
              console.log(hostedFieldsErr);
              return;
            }

HERE THE FIELD ARE NOT READY

}....

In the callback of the hosted field are not ready yet, how I can do?

Can you elaborate about what you mean that they are not ready? The hosted fields create callback should not be called until after the fields are completely set up and ready to be used.

Sure, If I put a debugger in the line where I write this: HERE THE FIELD ARE NOT READY and I look with the inspector the page I see this:

Instead if JUMP the debugger I see this:

So as you can see in the point where I write this: HERE THE FIELD ARE NOT READY the input element is not ready yet. I need to attach the input element to this library:
https://github.com/jessepollak/card
but doesn't work because I don't know where initialize it

I can't figure out how I can use this library: https://github.com/jessepollak/card with Braintree web, anyone can help me?

There may be a very slight delay between when the callback is called and the iframes are finished loading. We'll work to correct that, if possible.
In regard to that 3rd party library, you cannot use it with hosted fields. The credit card data is encapsulated inside an iframe, which takes the PCI burden off of you the merchant. This means that the data in the iframes is not directly accessible, so it cannot be passed to that 3rd party library.
You could do direct tokenization with braintree-web using the client component, but this requires a much greater degree of SAQ A compliance since the raw card details would be on your domain instead of inside Braintree's iframes.
I'm going to leave this open, because I believe you are correct that there is a slight delay where the inputs are not actually set up yet when the callback is called.

We did a little exploration of this, and in my testing, putting a breakpoint in the callback still allowed the fields to be rendered immediately. It's possible there is a fraction of a second delay, but as the fields cannot be manipulated anyway, and there should be little or no discernible delay to the user, I'm going to close this.


Can't launch after compiling from source

Hello,
I'm able to compile the VS project fine, but after generation it's missing the html folder
If I copy the html folder from your release into the bin/ directory where it has been compiled it works ok
But not if I copy the html/ directory from your src tree.
I've seen a make-junction.cmd but that links to an html/dist/ directory that is not present
What are the steps to generate the "release" html directory from the html/ directory in your src tree ?
I'd like to run a few tests and add a few features to app.js
Thanks

thats normal as stated by VRCX VRCX 2020.04.07 HTML JS and CSS are now packed (minified) and require you to build them yourselves

HTML is found at https://github.com/pypy-vrc/VRCX/tree/master/html
maybe try changing the make-junction.cmd to reflect to the correct directory

Yeah I have the master tree with the html,
I tried to link or copy the html/ from the tree to the Debug directory like the make-junction does with or without the /dist part.
mklink /J "%~dp0\bin\x64\Debug\html" "%~dp0\html\dist"
but it's not working.
I think it's just missing the step to pack it.
That step is what most likely generate the missing /dist directory that the make-junction expects
Not sure what tool is used for that ?

if I remember right WebPack is being used

ok thanks,
Was kinda hoping not to have to install nodejs/npm,
but got it to work.
For Future reference here are the steps to get a fully working test/release:

Install nodejs/npm  https://nodejs.org/en/

Launch CMD and go to the VRCX-master\html directory

run: npm run development   (or production)
that will generate the /dist directory

execute the make-junction.cmd to create the link into the bin directory

Launch the exe


StarDist error when run on annotation not a square

Hello,
StarDist is running fine when I use a square annotation, but when it is no then I get an error.
Best regards,
Stefan
Version:
v0.3.0-rc2
MyScript:
import qupath.ext.stardist.StarDist2D
// Specify the model .pb file (you will need to change this!)
def pathModel = '/Qupath/QP_ET/StarDist_pre/dsb2018_heavy_augment.pb'

def stardist = StarDist2D.builder(pathModel)
        .threshold(0.5)              // Probability (detection) threshold
        .channels('Kerne-DAPI')            // Select detection channel
        .normalizePercentiles(1, 99) // Percentile normalization
        .pixelSize(0.5)              // Resolution for detection
        .cellExpansion(10.0)          // Approximate cells based upon nucleus expansion //Ursprüngl 5.0
        .cellConstrainScale(3.0)     // Constrain cell expansion using nucleus size // Urspr. 1.5
        .measureShape()              // Add shape measurements
        .measureIntensity()          // Add cell measurements (in all compartments)
        .includeProbability(true)    // Add probability as a measurement (enables later filtering)
        .doLog() // Logs, wenn alles läuft weglassen
        .build()

// Run detection for the selected objects
def imageData = getCurrentImageData()
def pathObjects = getSelectedObjects()
if (pathObjects.isEmpty()) {
    Dialogs.showErrorMessage("StarDist", "Please select a parent object!")
    return
}
stardist.detectObjects(imageData, pathObjects)
println 'Done!'

The error is:
INFO: Detecting nuclei for 266 tiles
WARN: Normalization percentiles give the same value (0.0), scale will be Infinity
WARN: Skipped 1 nucleus detection(s) due to error in resolving overlaps (0% of all skipped)
WARN: Normalization percentiles give the same value (0.0), scale will be Infinity
WARN: Skipped 1 nucleus detection(s) due to error in resolving overlaps (0% of all skipped)
WARN: Skipped 1 nucleus detection(s) due to error in resolving overlaps (0% of all skipped)
WARN: Normalization percentiles give the same value (0.0), scale will be Infinity
WARN: Skipped 1 nucleus detection(s) due to error in resolving overlaps (0% of all skipped)
WARN: Skipped 1 nucleus detection(s) due to error in resolving overlaps (0% of all skipped)
WARN: Normalization percentiles give the same value (0.0), scale will be Infinity
ERROR: RuntimeException: OpenCV(4.5.3) D:\a\javacpp-presets\javacpp-presets\opencv\cppbuild\windows-x86_64\opencv-4.5.3\modules\dnn\src\layers\concat_layer.cpp:102: error: (-201:Incorrect size of input array) Inconsistent shape for ConcatLayer in function 'cv::dnn::ConcatLayerImpl::getMemoryShapes'

ERROR: org.bytedeco.opencv.opencv_dnn.Net.forward(Native Method)
    qupath.opencv.dnn.OpenCVDnn$OpenCVNetFunction.predict(OpenCVDnn.java:690)
    qupath.opencv.dnn.OpenCVDnn$OpenCVNetFunction.predict(OpenCVDnn.java:704)
    qupath.opencv.dnn.DnnModel.convertAndPredict(DnnModel.java:100)
    qupath.ext.stardist.StarDist2D.detectObjectsForTile(StarDist2D.java:1020)
    qupath.ext.stardist.StarDist2D.lambda$detectObjects$5(StarDist2D.java:796)
    java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
    java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
    java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
    java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
    java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
    java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
    java.base/java.util.stream.AbstractTask.compute(Unknown Source)
    java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source)
    java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
    java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
    java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
    java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
    java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

This should be resolved in the v0.3.0 release.


[GuestConfiguration] Include left out reportsV2 specs that is already…

… approved
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

This is related to my previous PR from yesterday https://github.com/Azure/azure-rest-api-specs/pull/3809. I forgot to include the specs in this PR in it.  These changes have already been approved by @jianghaolu when it was in private in https://github.com/Azure/azure-rest-api-specs-pr/pull/559. Please take a look and approve soon.

Automation for azure-sdk-for-go

Automation for azure-sdk-for-node

Automation for azure-sdk-for-java


rustdoc: Generate docs for all platforms at once

The below code:
#[cfg(target-platform("windows")]
mod winstuff {
     /// Explanation of Windows-specific tasks
}

#[cfg(target-platfrom("linux")]
mod linstuff {
    /// Explanation of Linux-specific tasks
}

Will generate different docs depending where it is run, and how it is targeted. There appears to be noway to generate docs in a cross platform manner.

This is a sorta-kinda-duplicate of https://github.com/rust-lang/rust/issues/1998

Yeah this is mostly a rustdoc issue rather than a Cargo issue, so I'm going to close this in favor of https://github.com/rust-lang/rust/issues/1998


Support for message.key of type bytes

Hi,
Thank you for your work on kafka_and_flask.
This PR fixes an issue I found an issue when confluent-kafka returns Message objects with the "key" parameter set with the type bytes.
According to confluent_kafka.cimpl.Message, both key and value can be str, bytes or None.
When key is bytes, it triggers an exception in flask_and_kafka.formatters.ConsumerFormatter.format, because variables of type bytes cannot be serialized to a JSON.
It also adds a few related tests and cleans the existing tests a bit, since they didn't run cleanly out of the box for me.
I hope you will consider this PR for inclusion in upstream.
Thank you!

Thank you for your pull request! I have reviewed and merged it into the project 😉. Your contribution is greatly appreciated 🙏


Simplify NativeExecutionDispatch and remove the native_executor_instance! macro

Polkadot companion: https://github.com/paritytech/polkadot/pull/3643
Part of the sc-executor refactor. As the previous NativeExecutionDispatch::dispatch(ext, method, data) function was only used once, it was be inlined.

bot merge


Unable to hit breakpoint after upgrading vs code to 1.43.0

I am not able to debug nodejs api in vs code 1.43.0 through postman. I was able to do it in the last version.
VSCode Version:1.43.0
OS Version:Windows 10 Home 1903
Steps to reproduce.

Go to run, select "Attach by ProcessId".
Click run and select "node server.js" processid.
Send a request through postman

Does this issue occur when all extensions are disabled?: Yes
Result - The debugger does n't hit, rather the Postman is giving results.
Note- Nothing changed in launch file. Everything was working fine before upgrade.

Are you using VS Code's new JavaScript debugger?
Do you actually have a breakpoint set in your server.js program?

I am using VS code,  "Attach to Process" debugging process. Please check this link which I follow.
https://blogs.sap.com/2019/07/15/how-to-debug-a-node.js-rest-api-in-visual-studio-code-locally/

First could you try this with our new debugger implementation? https://code.visualstudio.com/updates/v1_43#_new-javascript-debugger

But how it will help me in Postman debugging Node API endpoints ? Can you suggest me the steps? If its broken, then I understand I can wait for the next release. Please note everything was working before the upgrade.

Well, the node debugger didn't change in the last update and hasn't changed in awhile. And the new debugger has a lot of fixes in general. Since our focus is on the new one, I think it's better to investigate your issue there.

Ok Rob, Do you have documentation of this new debugger, how to debug through an external app like postman ? when I add the property "debug.javascript.usePreview": true in my launch.json node launch option, its giving error - Property debug.javascript.usePreview is not allowed.
The documentation/link you shared earlier was not clear.

That's a setting for your settings file, not the launch config. You can also change the "type" in your launch config to pwa-node, if that is easier.

Can I do it without installing insiders ? I selected "Debug:Pretty print for debugging", but still how can I debug with postman ? The process was so easy earlier with Attach to process.

FYI - With my old debugging process - Attach to process,  its showing "unbound breakpoint".

I am not sure, I may be silly or it might have fixed in 1.43.1. One thing I noticed, is putting a breakpoint in nodejs "exports" shows "unbound breakpoint", but when I put a breakpoint in the next line, it works. Strange not sure how breakpoints make a difference.


Create Form-Input stories

Create stories for the form-control component:

[ ] With label
[ ] With floating label
[ ] With hidden label
[ ] With different sizes
[ ] With helper text
[ ] With disabled state
[ ] With validation states
[ ] Add scss imports

Duplicate of #967


Fix link in Build local blockchain tutorial

Fix a closed bracket in the wrong place

Thanks for the fix!


Level Swipe doesn´t work if Dev mode: off

As far as my Dev mode is set to on the different level at a swipe work perfect. As far as I set Dev mode: off its complete static at the swipe. (Using: Samsung Galaxy Note Edge 2 - Android: 6.0.1) (React-Native: 0.23.1)

I'm in the simulator is normal. i don't have the physical machine, have the opportunity to help you test, it is theoretically capable of functioning.

I also have this issue, iPhone 6, iOS 9

I have this issue as well. But let me be clear, when running on the device using Xcode and in development mode; it works fine. Problems only occur upon release.

same issue  iPhone6,iOS9

test demo in iOS simulator(9.3) is not work too.  "dev=true" is fine.  "dev=false" is not work
change
jsCodeLocation = [NSURL URLWithString:@"http://<IP_ADDRESS>:8081/index.ios.bundle?platform=ios&dev=true"];
to
jsCodeLocation = [NSURL URLWithString:@"http://<IP_ADDRESS>:8081/index.ios.bundle?platform=ios&dev=false"];

I'm experiencing this as well. Trying to do some testing with a physical device but haven't found anything obvious yet...

I can echo that it works with a physical device as well, as long as the build is non-release.

       if (node.type.displayName === 'View') {           element = this.renderChild(node, pageIndex,${index}_${i});         }
is the problem. I bet that displayName is getting minified or something Prod-y. Anyway, removing it fixes the problem. 👍

it works 👍

Hard to debug - if anyone can figure out how to log while in release mode, it would be great to see what displayName is. I tried to put it into a <Text/> but didn't have enough time to see it through.

Awesome!!  The original react native when release <View>  displayName is not View, on ios is RCTView, No wonder that could not find the reason, I just started think that the problem is because performance, so there is no animated , fortunately, only a small problem


virtualbox: use wrapQtAppsHook

Motivation for this change
Fixes #66200
See: #65399
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] 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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @angristan testing would be appreciated :+1:

@angristan  How about rdesktop-vrdp? It's conditioned with !headless so I don't know if it uses qt.

I will try and let you know!

rdesktop-vrdp :heavy_check_mark:

Thanks @angristan


update TEAM.md

done!

The PR has already been made by @shekhar10feb , you can close this one.

alright

close PR


Fix #183 Add Gtihub Repo Policy

Once the policy is approved there are a few things we will need to do to actually enforce:

Let projects know about the change and policy
Adjust the org permissions so that members can not create public repos https://github.com/enterprises/chips-alliance/settings/member_privileges
Create a role that has the permissions to create public repos and assign this role to the tac (I will need help on sorting this out)
Note some folks have admin perms on the org due to github actions permissions, we will need to address this.

Thank you @bensternthal. LGTM


Incorrect size of a (re)imported empty

After (re)importing an empty, its size is set to a random(?) value in the data tab.
Steps to reproduce the behavior:

Create a few empties
Move them in any direction from the origin
Export the scene
Import it back
See the result

Expected behavior
The size should remain equal to 1.
Screenshots

**.blend file/ .gltf **
gltf_empty_node_bug.zip
Version

OS: [Linux]
Blender Version [3.2.2, 3.6, 4.1]

Hello,
No bug here.
Size of an Empty is not part of the glTF specification, this is a specific Blender property.
Exporting Empties will not store this data into glTF.
So importing them back can not have this data, and will create empties with default values, that is 1 meter.

The size should remain equal to 1.

This is the case, empties are created with size 1

Thank you for the response.

This is the case, empties are created with size 1

For some reason, this is not the case for me. The size somehow changes depending on the position of an empty. I'm using the latest build of Blender. The version of the addon is 4.1.61

Oh, you're right.
My bad, we set the display size at import.
Let's investigate what's happen here

I see. Is there a reason for this? I use empties in my project to set spawn position of characters on a map. It ends up looking pretty messy in the viewport. I would greatly appreciate it if some adjustments were made.

Hello,
I don't think there is a general formula that will fit every workflow.
We probably can add a hook for people that want to modify this value during import

Hi. Having more control over this would be great. However, I think something like this would suffice in my case. (If the size of an empty node is not 1 just leave its display size unchanged):
    def calc_empty_display_size(gltf, vnode_id):
        # Use min distance to parent/children to guess size
        vnode = gltf.vnodes[vnode_id]
        if vnode.trs()[2] != Vector((1, 1, 1)):
            return 1


HeatmapLayer/GPUAggregator: fix WebGL feature checking

For #3480
Requires: https://github.com/uber/luma.gl/pull/1210

Background
Fix feature checking in Heatmap Layer and GPUGridAggregator.

Change List

HeatmapLayer/GPUAggregator: fix WebGL feature checking

luma.gl now logs, when feature is checked and not supported. Updated HeatmapLayer to just log single statement when not supported.


[Feature Request]: Revert "Copy Link" button functionality to share link via the Twitter domain, rather than the "X" domain

At some point recently, Musk had the "Copy Link" option found within the share sheet in tweets updated to copy the X domain to clipboard, rather than the Twitter one. It's one of the few things to remind me of the X rebrand, so I'd love it if I'd be able to tweak the functionality to revert the domain back to twitter.com until such time as the domain stops working altogether!

This has already been requested at https://github.com/insin/control-panel-for-twitter/issues/413#issuecomment-1716877996.
Owner has explicitly elaborated that this is a change they're not going to make.
For those wanting to stay with sharing tweets with the Twitter domain. Click on the tweet that you want to share and copy the link from the address bar in your browser instead.


Illustration of multi-level parallelism in OpenMP

The test code for checkpointing experiments could be used to create an illustration of using multi-level parallelism in OpenMP.

Addressed by PR #380


cannot find vlseg3e8_v_u8m1

i wrote some test code for RVV intrinsic, but it looks like some function cannot find in GCC.
i am using riscv-gnu-toolchain repo and "rvv-intrinsic" branch" to build the GCC.
riscv64-unknown-elf-gcc -o test  rgb24_bgr24_test_c.o
/opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: rgb24_bgr24_test_c.o: in function `rgb24_bgr24_neon_intr':
/home/rlk/rlk/riscv_trainning/vectors/example_rgb24_bgr24_intrinsic/rgb24_bgr24_test.c:30: undefined reference to `vlseg3e8_v_u8m1'
/opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: /home/rlk/rlk/riscv_trainning/vectors/example_rgb24_bgr24_intrinsic/rgb24_bgr24_test.c:36: undefined reference to `vsseg3e8_v_u8m1'
/opt/riscv/lib/gcc/riscv64-unknown-elf/10.1.0/../../../../riscv64-unknown-elf/bin/ld: rgb24_bgr24_test_c.o: in function `main':
/home/rlk/rlk/riscv_trainning/vectors/example_rgb24_bgr24_intrinsic/rgb24_bgr24_test.c:70: undefined reference to `rgb24_bgr24_intr'
collect2: error: ld returned 1 exit status
make: *** [Makefile:19: test] Error 1

see https://github.com/riscv-collab/riscv-gcc/pull/291
Maybe you need to update the latest gcc source

Hi, I came across the same problem.
Here is my g++ info
sunmin@plct:~/rvv/hellorvv/aa$ riscv64-unknown-linux-gnu-g++ -v
Using built-in specs.
COLLECT_GCC=riscv64-unknown-linux-gnu-g++
COLLECT_LTO_WRAPPER=/home/sunmin/bins/riscv-gnu-toolchain-bin-rvv/bin/../libexec/gcc/riscv64-unknown-linux-gnu/13.1.0/lto-wrapper
Target: riscv64-unknown-linux-gnu
Configured with: /home/sunmin/aosp-out/riscv-gnu-toolchain/buildv/../gcc/configure --target=riscv64-unknown-linux-gnu --prefix=/home/sunmin/aosp-out/riscv-gnu-toolchain-bin-rvv --with-sysroot=/home/sunmin/aosp-out/riscv-gnu-toolchain-bin-rvv/sysroot --with-pkgversion=gcc035c5d867 --with-system-zlib --enable-shared --enable-tls --enable-languages=c,c++,fortran --disable-libmudflap --disable-libssp --disable-libquadmath --disable-libsanitizer --disable-nls --disable-bootstrap --src=../../gcc --disable-multilib --with-abi=lp64d --with-arch=rv64gcv --with-tune=rocket --with-isa-spec=20191213 'CFLAGS_FOR_TARGET=-O2    -mcmodel=medlow' 'CXXFLAGS_FOR_TARGET=-O2    -mcmodel=medlow'
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.1.0 (gcc035c5d867)

When I compile the code it complains:
v.h: In function 'void rgb24_bgr24_intr(unsigned char*, unsigned char*, long unsigned int)':
v.h:162:9: error: '__riscv_vlseg3e8_v_u8m1x3' was not declared in this scope; did you mean '__riscv_vlse8_v_u8m1_m'?
  162 |         __riscv_vlseg3e8_v_u8m1x3(src, vl);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
      |         __riscv_vlse8_v_u8m1_m

Yes this function  is referenced at auto-generated\api-testing\vlseg3e8.c
In fact, I can use functions listed within 01_vector_loads_and_stores_functions.md
But I failed to use data types or functions defined within 02_vector_unit-stride_segment_load_store_instructions_zvlsseg.md
Should I include the header files from this repo(overloaded-non-policy.h, non-policy.h, etc.) ?
Could someone give me a hand?
Thanks!!

@sunmin89 GCC 13 has implement 0.11 vector intrinsic except segment load/store, it will included in next GCC release :)
[1] https://gcc.gnu.org/gcc-13/changes.html#riscv

Thanks!

GCC 13 has implement 0.11 vector intrinsic except segment load/store, it will included in next GCC release :)

I wish my intrinsic code can  comply to v1.0, your mentioned v0.11 seems a lot out of date.  (：
Besides, I’d be appreciated if someone could explain what's the difference between ordinary load/store and segment load/store.
In order to  solve this  issue, I switch gcc under riscv-gnu-toolchain to master branch and recompiled my toolchain.
This  __riscv_vlseg3e8_v_u8m1x3  load interface can compile with success, and it seems working well so far.
While the __riscv_vsseg3e8_v_u8m1x3 store interface can be compiled too, but it doesn't work as I expected.

I wish my intrinsic code can comply to v1.0, your mentioned v0.11 seems a lot out of date. (：

the v0.11 is the intrinsic API version, not the RVV version number; intrinsics v0.11 does target rvv1.0.

Besides, I’d be appreciated if someone could explain what's the difference between ordinary load/store and segment load/store.

Here's what the ISA spec says: https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#78-vector-loadstore-segment-instructions .
You can view the "ordinary" load/store instructions as the special case of segment load/store instructions with NFIELDS = 1. (Indeed, this is how they are encoded.)


replaced all instances of bitcore-lib with viacore-lib

Please see https://github.com/viacoin/viacore-wallet-service/commit/6d35fe0070badf57e56d09447ff5096903c7303b


WIP: 2.0

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add ml-api-common to capi

Changes proposed in this PR:

Add capi-ml-common-devel to spec file
Add ml-api-common.h for dummy
Change error code accordingly

Resolves #75
Self evaluation:

Build test: [X]Passed [ ]Failed [ ]Skipped
Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #243. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @zhoonit, The last line of a text file must have a newline character. Please append a new line at the end of the line in api/capi/include/platform/ml-api-common.h.

:octocat: cibot: @zhoonit, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


makecode extension in vscode is throwing error: trg-arcade.userpxt.io refused to connect.

Describe the bug
After installing the makecode extension in vscode, running the simulator option shows error: trg-arcade.userpxt.io refused to connect.
To Reproduce
Steps to reproduce the behavior:

Go to makecode extension icon
Click on Import a project
Paste a makecode project url, click return to import
Click on Start MakeCode simulator
error displays

Expected behavior
Simulator to run the project
Screenshots
See attached
Desktop (please complete the following information):

OS:  Windows 11 Version 23H2
Browser Edge
Version 126.0.2592.102 (Official build) (64-bit)

we need to set the COEP header on our server's response to require-corp
that also means that we need to enable CORP everywhere, which we already do except I don't see it on responses from our CDN. this is likely something we need to manually enable
https://web.dev/articles/why-coop-coep#coep


.NET core 3 healthchecks

Hello there,
Thanks for the library, I'm using it often now a days, I wanted to know if there are plans to integrate the .NET core 3 healthchecks on app-metrics, I like the app-metrics one, but I've a requirement to use other as well. Would be nice if we could have some neat integration with those and deprecate the app-metrics one

I've decommissioned my health check implementation due to MS having their own, there is integration to publish health check results as metrics if that's what you're after?

not sure if that's what I'm after, I kinda wanted to have similar to what appmetrics has, and include some pre-defined healthchecks like pinging, and reporting automatically.

Have you looked at the microsoft implementation?

Not sure if I missed something,
microsoft has basic healthcheck, right? where I extend a class and implement everything myself?
but AppMetrics includes more than just that, one I liked was ping healthcheck, there was also sql check which I didn't have to implement myself. :) I'll check microsoft's again :)

MS have extensions for different types of health checks like SQL. Doesn't make any real sense to maintain my own when MS have an equivalent now.


Bug when accessing nested query parameters from the request objects get() method

Laravel Version: 7.17.2
PHP Version: 7.4.3
Database Driver & Version: None

Description:
Accessing nested query parameters using the Request works with except() (can exclude nested query parameter) but not for get() which is not able to fetch nested query parameters.
By "nested query parameters" I refer to parameters provided as arrays like the filter in this url, which holds both a search and a country: /?filter[search]=emma&filter[country]=us&sort=name.
Not sure if this is intended behaviour, but I would expect that the behaviour of $request->get() and $request->except() would be the same. Note that a query parameter with a dot ('filter.search) could also be presented and those are currently being changed to an underscore (filter.search => filter_search) - but this might change soon as I can see from this)
Let me know if anything needs clarification.
Steps To Reproduce:
Dump the request like so in web.php:
Route::get('/', function (\Illuminate\Http\Request $request) {
    dd(
        $request->query(), // entire query: works 👍
        $request->get('filter'), // get a single query parameter: works 👍
        $request->get('filter.search'), // get a nested query parameter: bug 👎
        \Arr::get($request->query(), 'filter.search'), // a workaround to get the nested value: works 👍
        $request->except('filter.search') // this works just fine for nested parameters: works 👍
    );
});

and check the result from the following request /?filter[search]=emma&filter[country]=us&sort=name
Result from $request->query(): works 👍
The query parameter filter has two nested values search and country as expected:
[
  "filter" => [
    "search" => "emma",
    "country" => "us",
  ],
  "sort" => "name",
]

Result from $request->get('filter'): works 👍
The query parameter filter has two nested values search and country as expected:
[
  "search" => "emma",
  "country" => "us",
]

Result from $request->get('filter.search'): bug 👎
Fetching the nested query parameter filter->search does not work:
null // should have been "emma"

Result from \Arr::get($request->query(), 'filter.search'): works 👍
Fetching the nested query parameter by using the Arr::get helper method works as expected:
"emma"

Result from  $request->except('filter.search'): works 👍
Excluding a nested value works just fine, note that the nested filter.country is not removed as epected:
[
  "filter" => [
    "country" => "us",
  ],
  "sort" => "name",
]

The get method is pretty much the Symfony implementation, you could use $request->input('filter.search') instead.

See above.

@koenhoeijmakers you are right that $request-> input('filter.search') works 👍  while both $request->query('filter.search') and $request->get('filter.search') does not.
A minor "problem" is that input() accesses the entire payload as described in the documentation:

... retrieves values from entire request payload (including the query string)

So currently there is no solution for accessing a nested query parameter while ensuring it is not from the payload, but anyone else encountering this can use:
\Arr::get($request->query(), 'filter.search') // if it's important to only get results from the query
$request->input('filter.search') // if it's not really an issue that the data could also be elsewere in the payload


Improvements for local network spinning up script (Part 1)

put serhii's changes onto compatible

@QuiteStochastic this one can be closed in favour of https://github.com/MinaProtocol/mina/pull/11105


Aborts if no package-lock.json is found

If a repo has package-lock=false set in the .npmrc file, ver should not use findUp to look for a package-lock.json file.
If the file is not found, the code will abort:
Running "exec:patch" (exec) task
No replacement made in C:\Repos\package-lock.json
>> Exited with code: 1.
>> Error executing child process: Error: Process exited with code 1.
Warning: Task "exec:patch" failed. Use --force to continue.

Aborted due to warnings.

In this case, C:\Repos\package-lock.json is two parent folders above the repo that is set to not use a package-lock.

Ive added package lock by making it package-lock=true set in the .npmrc
deleted node_modules and rerun npm i it still fails :/

v5.1.4 is working for me:
Running "exec:patch" (exec) task
+ git commit -a -m 1.22.115
[master 7c7f5969] 1.22.115
 4 files changed, 15 insertions(+), 6 deletions(-)
+ git tag -f -m 1.22.115 v1.22.115

Done.

Let's continue this conversation in Discord instead of here.

Fixed in 5.2.0. It will no longer look outside the directory hosting package.json. For package.json, it will still potentially go up to the root folder, but there's really no sane way to prevent that.


Support SDXL models

SDXL models are not currently supported. Currently, it only seems to recognize a "broken" VAE.

done


Check URL on Create OpenID Connect provider

source: https://github.com/go-gitea/gitea/issues/9833#issuecomment-575866022
"...some feedback on whether the URL is correct (like checking the response of the URL to see that it does return something that looks like a .well-known/openid-configuration) rather than blindly accepting the URL would be a big improvement in user experience."

source: #9833 (comment)
"...some feedback on whether the URL is correct (like checking the response of the URL to see that it does return something that looks like a .well-known/openid-configuration) rather than blindly accepting the URL would be a big improvement in user experience."

I would like to make a PR but I am unsure on how to check that the url looks like a .well-known/openid-configuration. Any pointers are appreciated :)

Hey @techknowlogick @zeripath  , auto-discover-url is being used in runAddOauth() & runUpdateOauth() . I was thinking of adding check for valid URL in parseOAuth2Config() so that it could be in a single place for everybody to use, but only runAddOauth() uses this parse method. So any suggestions regarding where the check could be placed?


Can brainfuck work with other ISP providers ?

Can brainfuck work with other ISP providers ?
on config.json file i change the rule akamai.net with other domain but it does not connect .
Can you explain how to use this program with other providers ? Not only XL or Telkomsel.
Please.

Use bugscanner --mode direct to scan bug, that tool will generate the config automatically for brainfuck psiphon pro go

Use bugscanner --mode direct to scan bug, that tool will generate the config automatically for brainfuck psiphon pro go

In '--mode direct', my ISP only allow 'cross-CDN' traffic, specifically Akamai.net.
With such topology, the only working protocols are FRONTED-MEEK- , that requires at least 4 hosts, 2 of which belong to the ISP's CDN, (1) & (2) ,as seen on the below picture.

So how to use bugscanner --mode direct to detect bugs and to generate config file?
I have run  'bugscanner --mode direct' but nothing happened.

Infact I have to inject scanning function into the psiphon-tunnel-core to find out the (1) bugs. But (2) bugs is another story, as it is a FQDN?


Remove log line from opslevel-go lib

This is the only log.* call in opslevel-go outside of tests and cache.go.
An error wrap is more appropriate here and we should avoid logging from opslevel-go since it can affect other programs.

❤ - does that mean we can remove zerolog as a dependency of opslevel-go?

@rocktavious not quite because cache.go still uses it.
Though IMO it would be better if cache.go returned errors instead of logging. That would help programs that call the cache be more aware of when the cache is having problems. I would like to make that change too, what do you think?


Filter NSFW Posts

Is there any way to filter NSFW memes?
I am using -
    if(data.nsfw = true) return

But this keeps returning and never works

Added on version 0.2.5.


Add support for passing message keys to handler

Right now message key is not passed to the handler. It is possible that information important for the handler may be contained in message key.

@sergeyevstifeev the key is in the metadata argument:
def consume(payload, metadata)
  puts metadata.key
end

https://github.com/klarna/phobos/blob/master/lib/phobos/listener.rb#L116

Indeed 👍


Adding Community Colleges of Spokane

@renke0 I am sorry, the domain spokane.edu is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Pack at https://education.github.com/discount_requests/application. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Custom build command renders template before args

What happened?
When specifying a custom build config for Google Cloud Build, the args are placed after the [IMAGE]:[TAG], causing an invalid command to be rendered:

If I forego the args section and instead place all of the args inline with the command, it includes the args into the binary name when it attempts to execute it:

What did you expect to happen instead?
Per the explanation section in the docs, the [IMAGE]:[TAG] substitution should be after the args. If this is the intended behavior (i.e. docs are out of date), disregard this report.
How can we reproduce the bug?
Run devspace build with the following config in place:
version: v1beta7
images:
  site:
    image: gcr.io/plaidcloud-build/site
    build:
      custom:
        command: gcloud
        args:
        - builds
        - submit
        - --tag

Local Environment:

DevSpace Version: 4.6.2
Operating System: Windows (WSL)

Anything else we need to know?
I think I can work around this with a script, but I'd rather not version a one-line script for each project we build and deploy using DevSpace.

/kind bug

@gbates101 thanks for reporting this issue! Yes currently the behaviour is that args are placed after the image, I'll change this to reflect the docs and also add a new option custom.afterArgs to be able to specify arguments after the image tag(s)

Should be fixed with v4.7.0


[Request] Mahoutsukai No Yoru

A script for Mahoutsukai No Yoru it will very helpfull, thanks

+1 Request


Cannot find module 'typescript'

Module typescript-to-lua require typescript. I think you need to  local depending  or  add note to documentation the global installation typescript

Works fine for me without any global packages as long as npm install is run first. NPM should always install dependencies - if it's not, your NPM is broken.


ocamlPackages.merlin: 3.3.4 → 3.3.6

Motivation for this change
Fixes & improvements: https://github.com/ocaml/merlin/releases/tag/v3.3.5 https://github.com/ocaml/merlin/releases/tag/v3.3.6
Things done

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

[x] NixOS
[ ] 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 nixpkgs-review --run "nixpkgs-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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build ocamlPackages.merlin


source_id registration of MPIESM-1-2-HAM

label = MPIESM1.2-HAM
label_extended = MPIESM1.2-HAM
source_id = MPIESM-1-2-HAM
institution_id = HAMMOZ-Consortium
release_year = 2017
activity_participation = [AerChemMIP,CMIP]
aerosol = HAM2.3
atmosphere = ECHAM6.3 (spectral T63; 192 x 96 longitude/latitude; 47 levels; top level 0.01 hPa)
atmospheric_chemistry = sulfur chemistry (unnamed)
land_ice = none/prescribed
land = JSBACH3.20
nominal_resolution_atmos = 200 km
nominal_resolution_landIce = None
nominal_resolution_ocean = 100 km
ocean = MPIOM1.63 (bipolar GR1.5, approximately 1.5deg; 256 x 220 longitude/latitude; 40 levels; top grid cell 0-12 m)
ocean_biogeochemistry = HAMOCC
sea_ice = unnamed (thermodynamic (Semtner zero-layer) dynamic (Hibler 79) sea ice model)

@nedavid we need some additional fields to correctly register your source_id please fill in/correct the entries below:
source_id = MPIESM-1-2-HAM
label = MPIESM 1.2 HAM
label_extended = MPIESM 1.2 HAM
institution_id = HAMMOZ-Consortium
release_year = 2017
activity_participation = [AerChemMIP, CMIP]

aerosol:
description = HAM2.3
nominal_resolution = 250 km !see https://github.com/WCRP-CMIP/CMIP6_CVs/blob/master/CMIP6_nominal_resolution.json
atmos:
description = ECHAM6.3 (spectral T63; 192 x 96 longitude/latitude; 47 levels; top level 0.01 hPa)
nominal_resolution = 250 km
atmosChem:
description = sulfur chemistry (unnamed)
nominal_resolution = 250 km
land:
description = JSBACH3.20
nominal_resolution = 250 km
landIce:
description = none
nominal_resolution = none
ocean:
description = MPIOM1.63 (bipolar GR1.5, approximately 1.5deg; 256 x 220 longitude/latitude; 40 levels; top grid cell 0-12 m)
nominal_resolution = 100 km
ocnBgchem:
description = HAMOCC !Is there a version to record?
nominal_resolution = 100 km
seaIce:
description = unnamed (thermodynamic (Semtner zero-layer) dynamic (Hibler 79) sea ice model)
nominal_resolution = 100 km

@durack1 200 km would be closer to the resolution of the aerosol, atmos, atmosChem and land modules. Would it be possible to add 200 km to the list of nominal resolutions (https://github.com/WCRP-CMIP/CMIP6_CVs/blob/master/CMIP6_nominal_resolution.json)? If not 250 km comes closest. The HAMOCC version number is added below.
source_id = MPIESM-1-2-HAM
label = MPIESM1.2-HAM
label_extended = MPIESM1.2-HAM
institution_id = HAMMOZ-Consortium
release_year = 2017
activity_participation = [AerChemMIP, CMIP]

aerosol:
description = HAM2.3
nominal_resolution = 250 km
atmos:
description = ECHAM6.3 (spectral T63; 192 x 96 longitude/latitude; 47 levels; top level 0.01 hPa)
nominal_resolution = 250 km
atmosChem:
description = sulfur chemistry (unnamed)
nominal_resolution = 250 km
land:
description = JSBACH3.20
nominal_resolution = 250 km
landIce:
description = none
nominal_resolution = none
ocean:
description = MPIOM1.63 (bipolar GR1.5, approximately 1.5deg; 256 x 220 longitude/latitude; 40 levels; top grid cell 0-12 m)
nominal_resolution = 100 km
ocnBgchem:
description = HAMOCC6
nominal_resolution = 100 km
seaIce:
description = unnamed (thermodynamic (Semtner zero-layer) dynamic (Hibler 79) sea ice model)
nominal_resolution = 100 km

@nedavid thanks for the revision. We set the nominal_resolution entries many months ago, so unfortunately it's too late to amend the list. Please take a peek at CMIP6_source_id.html and let me know if any further tweaks are required

Please change the names of the label, label_extended and source_id as follows (I changed the issue name as well):
label = MPI-ESM1.2-HAM
label_extended = MPI-ESM1.2-HAM
source_id = MPI-ESM-1-2-HAM


[12.1] ISPN-13079 Lock contention in DefaultCacheManager.getCache()

https://issues.redhat.com/browse/ISPN-13079

Integrated into 12.1.x, thanks @tristantarrant !