Remove dependency on identity_core default features

Description of change
identity_did and identity_document depend on identity_core but do not turn off default features. This means that these crates cannot be compiled for wasm32-unknown-unknown without a dependency on js-sys.
Given the default features are not required, removing them makes these crates compatible across a wider range of compilation targets.
Type of change
Add an x to the boxes that are relevant to your changes.

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] Enhancement (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Fix

How the change has been tested
Existing test suite.
Change checklist
Add an x to the boxes that are relevant to your changes.

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@itsyaasir: There are other features that we need (e.g. #1406) but in terms of compiling the library (at least the crates that we currently use) such that it works on the ICP platform, I can confirm that it works.
Thanks.

@itsyaasir: Could this be merged?


Segfault when using Distributed

If only use one task, @tturbo works well.
But after you add 2 procs, the segfault error happened
Worker 2 terminated.
ERROR: LoadError: ProcessExitedException(2)
Stacktrace:
  [1] UNHANDLED TASK ERROR: EOFError: read end of file
Stacktrace:
 [1] (::Base.var"#wait_locked#645")(s::Sockets.TCPSocket, buf::IOBuffer, nb::Int64)
   @ Base ./stream.jl:892
 [2] unsafe_read(s::Sockets.TCPSocket, p::Ptr{UInt8}, nb::UInt64)
   @ Base ./stream.jl:900
 [3] unsafe_read
   @ ./io.jl:724 [inlined]
 [4] unsafe_read(s::Sockets.TCPSocket, p::Base.RefValue{NTuple{4, Int64}}, n::Int64)
   @ Base ./io.jl:723
 [5] read!
   @ ./io.jl:725 [inlined]
 [6] deserialize_hdr_raw
   @ ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/messages.jl:167 [inlined]
 [7] message_handler_loop(r_stream::Sockets.TCPSocket, w_stream::Sockets.TCPSocket, incoming::Bool)
   @ Distributed ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:165
 [8] process_tcp_streams(r_stream::Sockets.TCPSocket, w_stream::Sockets.TCPSocket, incoming::Bool)
   @ Distributed ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:126
 [9] (::Distributed.var"#99#100"{Sockets.TCPSocket, Sockets.TCPSocket, Bool})()
   @ Distributed ./task.jl:423
(::Base.var"#892#894")(x::Task)
    @ Base ./asyncmap.jl:177
  [2] foreach(f::Base.var"#892#894", itr::Vector{Any})
    @ Base ./abstractarray.jl:2694
  [3] maptwice(wrapped_f::Function, chnl::Channel{Any}, worker_tasks::Vector{Any}, c::Vector{Float64})
    @ Base ./asyncmap.jl:177
  [4] wrap_n_exec_twice
    @ ./asyncmap.jl:153 [inlined]
  [5] #async_usemap#877
    @ ./asyncmap.jl:103 [inlined]
  [6] #asyncmap#876
    @ ./asyncmap.jl:81 [inlined]
  [7] pmap(f::Function, p::WorkerPool, c::Vector{Float64}; distributed::Bool, batch_size::Int64, on_error::Nothing, retry_delays::Vector{Any}, retry_check::Nothing)
    @ Distributed ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/pmap.jl:126
  [8] pmap(f::Function, p::WorkerPool, c::Vector{Float64})
    @ Distributed ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/pmap.jl:101
  [9] pmap(f::Function, c::Vector{Float64}; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
    @ Distributed ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/pmap.jl:156
 [10] pmap(f::Function, c::Vector{Float64})
    @ Distributed ~/.julia-1.7.2/share/julia/stdlib/v1.7/Distributed/src/pmap.jl:156
 [11] top-level scope
    @ ~/Yuby/AdiabaticTimeEvolution/julia/State1DTheoretic_d40.jl:80
in expression starting at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/State1DTheoretic_d40.jl:80
┌ Warning: Forcibly interrupting busy workers
│   exception = IOError: write: connection reset by peer (ECONNRESET)
└ @ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/cluster.jl:1249
┌ Warning: rmprocs: process 1 not removed
└ @ Distributed /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/cluster.jl:1045
      From worker 2:
      From worker 2:	signal (11): Segmentation fault
      From worker 2:	in expression starting at none:0
      From worker 2:	fftw_execute_dft at /WORK/hust_jmcai_1/.julia/artifacts/e95ca94c82899616429924e9fdc7eccda275aa38/lib/libfftw3.so (unknown line)
      From worker 2:	trotter! at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/trotter.jl:63
      From worker 2:	#evolution_dynamic#31 at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/trotter.jl:35
      From worker 2:	evolution_dynamic##kw at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/trotter.jl:7 [inlined]
      From worker 2:	#evo_adiabatic_trotter#67 at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/functions.jl:237 [inlined]
      From worker 2:	evo_adiabatic_trotter at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/functions.jl:231 [inlined]
      From worker 2:	#3 at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/State1DTheoretic_d40.jl:73
      From worker 2:	unknown function (ip: 0x2b17bb08a394)
      From worker 2:	_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
      From worker 2:	jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
      From worker 2:	jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
      From worker 2:	do_apply at /buildworker/worker/package_linux64/build/src/builtins.c:713
      From worker 2:	#106 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278
      From worker 2:	run_work_thunk at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
      From worker 2:	macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278 [inlined]
      From worker 2:	#105 at ./task.jl:423
      From worker 2:	unknown function (ip: 0x2b177544df9f)
      From worker 2:	_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
      From worker 2:	jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
      From worker 2:	jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
      From worker 2:	start_task at /buildworker/worker/package_linux64/build/src/task.c:877
      From worker 2:	Allocations: 111661073 (Pool: 111630290; Big: 30783); GC: 52
      From worker 3:
      From worker 3:	signal (11): Segmentation fault
      From worker 3:	in expression starting at none:0
      From worker 3:	fftw_execute_dft at /WORK/hust_jmcai_1/.julia/artifacts/e95ca94c82899616429924e9fdc7eccda275aa38/lib/libfftw3.so (unknown line)
      From worker 3:	trotter! at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/trotter.jl:63
      From worker 3:	#evolution_dynamic#31 at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/trotter.jl:35
      From worker 3:	evolution_dynamic##kw at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/trotter.jl:7 [inlined]
      From worker 3:	#evo_adiabatic_trotter#67 at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/functions.jl:237 [inlined]
      From worker 3:	evo_adiabatic_trotter at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/functions.jl:231 [inlined]
      From worker 3:	#3 at /WORK/hust_jmcai_1/Yuby/AdiabaticTimeEvolution/julia/State1DTheoretic_d40.jl:73
      From worker 3:	unknown function (ip: 0x2b45a4ef0394)
      From worker 3:	_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
      From worker 3:	jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
      From worker 3:	jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
      From worker 3:	do_apply at /buildworker/worker/package_linux64/build/src/builtins.c:713
      From worker 3:	#106 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278
      From worker 3:	run_work_thunk at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
      From worker 3:	macro expansion at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278 [inlined]
      From worker 3:	#105 at ./task.jl:423
      From worker 3:	unknown function (ip: 0x2b455f8348ef)
      From worker 3:	_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2247 [inlined]
      From worker 3:	jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2429
      From worker 3:	jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1788 [inlined]
      From worker 3:	start_task at /buildworker/worker/package_linux64/build/src/task.c:877
      From worker 3:	Allocations: 111673608 (Pool: 111642825; Big: 30783); GC: 53

Steps to reproduce?

I'll write a simple debug file which will reproduce ti.

Sorry, after some tests, it seems to have nothing to do with @tturbo. I will check my code carefully. Sorry to bother you.


React-Live integration to show editable code snippets on the website

Code from react-live repository itself is very useful in taking the design inspiration from:
https://github.com/FormidableLabs/react-live/blob/master/demo/pages/index.js

Closing as it is deployed into production as part of latest commit.


[Bug] Level Emitter causes extreme TPS drop when using Deep Item Storage Disks

Describe the bug
When using 256k disks which have a large amount of items in them, level emitters become extremely slow and gradually eat more tick time as more items are added to the network.
How to reproduce the bug
I managed to reproduce the bug in FTB Stoneblock 3 by:

creating a network with a few drive blocks
filling up all but one of them
then importing a bunch of random items from a mob farm.

It seems to require items to be flowed in gradually, and it seems to prefer large numbers of different types of items. In the level emitter, I set it to an item which the system has a lot of. I also set the threshold number to a high value.
In my singleplayer world where I first encountered the bug, the item was Certus Quartz Crystals and the value was 131,072 (2^17).
Expected behavior
The drives + level emitter should not take so much tick time.
Additional details
Modpack: FTB StoneBlock 3 1.5.0
OS: Linux 6.1
Ryzen 7 5700X / 32 GB RAM
Java: openjdk 17.0.1 2021-10-19 (Termurin)
Minecraft 1.18.2
Forge 40.1.92
AE2 11.7.0
AE2 Things 1.0.4
I was unable to reproduce the bug using regular AE2 drives.
Spark profile: https://spark.lucko.me/vzy1uXOEpS
Video of the bug in my singleplayer world:
https://user-images.githubusercontent.com/46203390/211126950-8331f4e3-6fac-4cbf-87ae-3751d1322323.mp4
Video of my reproduction in creative mode:
https://www.youtube.com/watch?v=c2tMSAQjjNI
The EMC links were for testing and don't seem to affect anything.

Thanks a lot for the detailed and excellent report. This issue occurs when having large amounts of NBT data, and should be addressed by AppliedEnergistics/Applied-Energistics-2#6885. I'll backport and release that fix shortly.

Well that took a while, but the very latest version of AE2 (11.7.2 on 1.18.2) should help a lot.


chore: clevel db removal

remove cleveldb as corruption of the underlying db was reported

I was going to write one in the tools repo. I think after two or so more prs we cut 1.0 of this repo and then allow for migrations


docs: Update compatibility.md

- What I did

I  merged the two matrices to get a clearer view.
I added docker-compose
I added version 2.x

- Description for the changelog
Update documentation regarding composefile version compatibility.
- A picture of a cute animal (not mandatory but encouraged)

(credits: u/kaitlynsara06 from reddit)

Ping @vdemeester and @simonferquel to update their reviews

Ping @shin- for a review update

This seems like a pretty massive/intractable PR review-wise, given that it clearly contains an improvement over the status quo perhaps we should merge it and correct that last few remaining inaccuracies in a followup (or followups)?


example - add more practical examples

We suggest to add more examples for demonstrating how to use this library.

transformed to LoveCommunity/flutter_love_provider#11


Quantified Elements

Web components done:

Tagging questions
Self-check
Inline-audio
Flash card /lib flash card answer box
Video Player
Haxor slevin
Training theme
Hal 9000 /lib Hal 9000 ui
Hax-body /lib hax-map
Hax-body /lib hax-tray

open a new PR / keep submitting new things after you rebase your repo to ensure it's up to date tomorrow when you get in.


Move test infrastructure from tests/suites/helpers.function into tests/src/helpers.c

Description
A few sentences describing the overall goals of the pull request's commits.
This PR moves the test infrastructure code from tests/suites/helpers.function to tests/src/helpers.c. Specifically it makes test_fail, test_set_step and test_skip available via the testing API: tests/include/test/helpers.h. This allows other functions in the test infrastructure to access and use these functions while still maintaining the previous behaviour.
test_info and test_result_t are also currently made available via the API however this may change.
This PR partially implements the changes described in #4028.
Status
IN DEVELOPMENT
Requires Backporting
Yes
Which branch? 2.16
Additional comments
This PR is still very much a work in progress and I have not finalised a design for making these changes, I very much expect this design to change over time due to feedback from reviews.
Todos

[ ] Move macros to tests/include/test/macros.h`
[ ] Documentation
[ ] Backported

Mbed TLS 2.16 doesn't have tests/src. We aren't going to backport these changes.

Mbed TLS 2.16 doesn't have tests/src. We aren't going to backport these changes.

Thanks for the review @gilles-peskine-arm.
Yes I will make a follow up to move across the macros soon. Would you like them added to this PR or would you like them in a separate PR?

Thanks for the review @gilles-peskine-arm.
Yes I will make a follow up to move across the macros soon. Would you like them added to this PR or would you like them in a separate PR?

This PR is a self-contained chunk of work, so I think a separate PR would be easier to manage, unless the second reviewer requests nontrivial changes.

This PR is a self-contained chunk of work, so I think a separate PR would be easier to manage, unless the second reviewer requests nontrivial changes.


Use proper UID encoding

Fixes #76
Also uses correct token generator for checking the token

@squio this repo is no longer maintained. See the PR on this fork:

https://github.com/iMerica/dj-rest-auth/pull/258


How to use it when testing

I'm not sure whether I need to use the function convert_to when testing. Besides, can model.eval() switches it to the test situation?

Yes, model.eval() will switch the BN mode.


gmsh: 4.8.3 -> 4.8.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gmsh/versions.
meta.description for gmsh is: "A three-dimensional finite element mesh generator"
meta.homepage for gmsh is: "http://gmsh.info/"
meta.changelog for gmsh is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4/bin/gmsh passed the binary check.

/nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4/bin/onelab.py passed the binary check.

1 of 2 passed binary check by having a zero exit code.

2 of 2 passed binary check by having the new version present in output.

found 4.8.4 with grep in /nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4

found 4.8.4 in filename of file in /nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4

directory tree listing: https://gist.github.com/2bb70f1aaf5a53b1cfc48f939e715b8e

du listing: https://gist.github.com/08ec18300de756e2b5d2d7594f907845

Rebuild report (if merged into master) (click to expand)

9 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gmsh
octavePackages.bim
octavePackages.msh
python38Packages.fipy
python39Packages.fipy

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A gmsh https://github.com/r-ryantm/nixpkgs/archive/697468743fa30460c9364f8925a862fff23ba645.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4
ls -la /nix/store/fx2rz62ls93nyxilvb5wlaqj4icm1a22-gmsh-4.8.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

5 packages built:

gmsh
octavePackages.bim
octavePackages.msh
python38Packages.fipy
python39Packages.fipy

Maintainer pings

Result of nixpkgs-review pr 121709 at 69746874 run on x86_64-linux 1

5 packages built successfully:

gmsh
octavePackages.bim
octavePackages.msh
python38Packages.fipy
python39Packages.fipy

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/applications/science/math/gmsh/default.nix:23:3:
   |
23 |   meta = {
   |   ^

Result of nixpkgs-review pr 121709 run on x86_64-linux 1

5 packages built:

gmsh
octavePackages.bim
octavePackages.msh
python38Packages.fipy
python39Packages.fipy


onHasTask is not triggered when second setTimeout macro task is scheduled and the first one completes

I have the following setup:
let timer;

const zoneBC = Zone.current.fork({
    name: 'BC',
    onHasTask(delegate, current, target, hasTaskState) {
        console.log(Date.now() - timer);
        console.log(hasTaskState.change);
        console.log(hasTaskState.macroTask);
    }
});

function a() {}

function b() {
    timer = Date.now();
    setTimeout(a, 2000);
    setTimeout(a, 4000);
}

zoneBC.run(b);

The output to console is:
1
macroTask
true

4006
macroTask
false

So it seems that it tracks only empty/not empty state, not any changes to the queue like a new task is added/executed. Is it correct?

@maximusk ,

yes, onHasTask only trigger when task queue become empty.
if you want to track new task was added, you should use onScheduleTask callback.

@JiaLiPassion , that's what I thought. Thanks a lot for the confirmation! I've almost finished the article on zones. Will ping you once it's ready and hopefully you'll have time to review it.

@maximusk , sure, looking forward to it!

@JiaLiPassion , fantastic!
To clarify, I can track when an individual task is being added with onScheduleTask, but how to know it finished executing and is removed from the tasks queue?

@maximusk , you can use onInvokeTask callback.
onInvokeTask(...) {
    const result = delegate.invokeTask(targetZone, task);
    // here the task is invoked.
    console.log('task invoked');
    return result;
}

@JiaLiPassion , great suggestion, thanks! Maybe that's the reason Angular NgZone uses onInvokeTask hook

@JiaLiPassion , and with onScheduleTask is my understanding correct that instead of the original task I get through the last parameter:
onScheduleTask?:  (parentZoneDelegate: ZoneDelegate, currentZone: Zone, targetZone: Zone, task: Task) => Task;
I can return a new task to be scheduled?

@maximusk ,
in onScheduleTask, you need to call return parentZoneDelegate.scheduleTask(targetZone, task);, otherwise onInvokeTask will not be triggered, and async operation will not be executed.
And return a different task from onScheduleTask are not supported, I am not sure I understand what is your use case.

@JiaLiPassion , appreciate your help! It worked!

And return a different task from onScheduleTask are not supported, I am not sure I understand what is your use case.

No particular use case, just for educational purposes.

@JiaLiPassion , where can I send you an article draft reference? Do you have a twitter account? Gmail account?

@maximusk , sure, you can send to<EMAIL_ADDRESS>

@JiaLiPassion , great, sent an email


Potential bug: GoogleUser.grantOfflineAccess asks user for all scopes instead of incrementally needed ones

When calling GoogleUser.grantOfflineAccess with include_granted_scopes set to true and an additional scope, the consent screen asks for authorization for all scopes instead of just the incrementally needed scope. I have confirmed that the user has granted access to the other scopes previously. This works when the URL is generated manually using the process described  in server side web apps
Sample Code tried
        gapi.auth2.init({
            client_id: "XXXX",
            hosted_domain: "YYYYY"
        }).then(function(googAuth) {
            googAuth.currentUser
                .get().grantOfflineAccess({
                    scope: "https://www.googleapis.com/auth/gmail.send"
                }).then(function(response) {
                    console.log("Success :  " + JSON.stringify(response));
                }, function(error_info) {
                    console.log("Error: " + JSON.stringify(error_info));
                });
        });

Found the issue, prompt is being set to consent by default, if we do not pass the prompt option, sending prompt as empty string fixes the issue and does incremental authentication


⚠ SceneTime has degraded performance

In 6f33b13, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 4923 ms

Resolved: SceneTime performance has improved in 685841e after 8 minutes.


initialize the framework

[x] init project https://github.com/zzxyb/wsm/commit/bac8c8afb53b5de7309322dbcf449f3118f08f77 ，generally includes the following functions：
text_node,show text display node on scene
image_node,show image display node on scene
xdg surface display support
input、seat、cursor and some protocol implementations
github action configuration, support arch linux and debian compilation
Debian packaging configuration
Note that there are still many missing features
[x] add support xwayland
[x] custom graphics node rendering

finished!


Set rate without animation

Hi!
Is there anyway to set the rate without the gauge animating from the previous rate to the new one?
I'm asking this because, in my project, I'll be using the gauge multiple consecutive times, from 0 to X and when it reaches X I set it back to 0. However, as it animates the transition from X to 0 it doesn't looks to good.
Thanks for the work on the kit btw!

Hi. please check demo project for animation example 👍

You can set animation time to 0.
Feel free to reopen if you have any questions.


[WIP] First version of service-broker-proxy-k8s

First working version for the service-broker-proxy-k8s.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: mvladev:white_check_mark: fabianschwarzfritz:x: AlexRiederYou have signed the CLA already but the status is still pending? Let us recheck it.


Expand error message if dependencies are not installed

Please see https://github.com/libp2p/go-libp2p/issues/156

Hrm... yeah. gx deps shouldnt require us to have deps installed


Doesn't work in Opera with built-in VPN

VPN off

VPN on

Never noticed similar behavior for any other website…

That's because of caching and queries (queries from one IP) limitations.
These restrictions were important for the initial wttr.in version, but they should not be so strict anymore.
I think we can remove them soon and then this anomaly disappears

The problem is fixed now, so if you are still using wttr.in and Opera with built-in VPN, please test
(if it still does not work, please comment)


compatible with macOS 11

https://en.wikipedia.org/wiki/MacOS_Big_Sur
stop hardcoding OS X since macOS Big Sur version no. is 11.0

Note, macOS Catalina returns:
$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.15.5
BuildVersion:   19F101


Numbers get parsed as dates

Hi,
I am experiencing an issue in which I try to parse a file containing both a date column and a five digit number (italian zipcodes). The date gets parsed correctly but the number gets parsed as a date as well!
I can provide a failing test case here:
https://github.com/lambrojos/xlsx-stream-reader/blob/number-formatted-as-date/test/test.js#L20
Thanks!

Sorry I had committed a wrong test case. The issue however, remains

Do you have a file with an example?

The branch on my fork containg the failing tests also includes an example file: https://github.com/lambrojos/xlsx-stream-reader/blob/number-formatted-as-date/test/import.xlsx

However I think I have tracked the issue..
Here
https://github.com/DaSpawn/xlsx-stream-reader/blob/master/lib/worksheet.js#L246
the library just checks for the existance of the format id, but it does note verify it is a date format..
For example in my test, format id contains:
// actual date
attributes:
   {
 numFmtId: '166',
 ...
}

// number
 {
numFmtId: '164',
...
   }

while numFts contains
 [ { name: 'numFmt',
    attributes: { numFmtId: '164', formatCode: 'General' } },
  { name: 'numFmt',
    attributes: { numFmtId: '165', formatCode: '@' } },
  { name: 'numFmt',
    attributes: { numFmtId: '166', formatCode: 'DD/MM/YYYY' } },
  { name: 'cellStyleXfs', attributes: { count: '20' } } ]

If we look up formats by  number format id it is evident that the number column (numFmtId = 164) matches with the ''General' format code  while the date (numFmtID = 166) matches with the DD/MM/YYYY format.
If that makes sense to you, I will provide a pr implementing this check. Moreover it would be nice to use https://www.npmjs.com/package/ssf to parse formats... what do you think? Here is a demo http://oss.sheetjs.com/ssf/

Looks like this was a lazy fix on my part to handle dates in my sheets at the time (most of my working sheets were inline cell data or shared string).  The SSF package looks like a good candidate/fix to handle that case of field formatting and would be much more compatible for all the various formats

https://github.com/DaSpawn/xlsx-stream-reader/pull/22

fixed with #22


[Cosmos] Setting up DevOps pipelines/jobs

Pipelines from azure-cosmos-js repo
https://cosmos-db-sdk-public.visualstudio.com/cosmos-db-sdk-public/_build/results?buildId=12569
https://cosmos-db-sdk-public.visualstudio.com/cosmos-db-sdk-public/_build/results?buildId=12568
Pipelines – Setting up DevOps pipelines/jobs for
a.	building the sdk,
b.	live tests,
c.	unit tests(and the emulator)
d. samples
e. consumer-tests

Done with #4881


WebIDL errors for default argument to dictionary input

In https://github.com/WICG/ua-client-hints/pull/70#discussion_r386968212:
Promise<UADataValues> getHighEntropyValues(optional UADataOptions options) = {}; triggers a bikeshed IDL error.
UADataOptions is a dictionary.
Removing  = {} makes the error go away.

That works just fine for me. Have you updated your Bikeshed recently?

(Well, it works fine once I move the = {} into the parentheses, which I assume you meant. ^_^)


Hello maintenance personnel, may I know if there is an error regarding matching the router and Chinese parameters?

The problem I encountered while using Axum was that I submitted an issue to Axium, and the response I received was that it might be a match issue. I don't know if this is the case?
axum discussions

Sorry, my problem. I tested it with a browser and there was no problem. It was an issue with the API platform I used


Get recent transactions for an account

How to get the last transactions for an account? I'm trying to check if a payment posted I would like a list of the transactions for an account. I haven't been able to figure out how to.

same here

I found the raw REST API function and that is what I'm using right now. I still haven't found the way to do it with this library:
var apiUrl = "https://api.trongrid.io";
var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Add("TRON-PRO-API-KEY", key);
var data = await httpClient.GetStringAsync($"{apiUrl}/v1/accounts/{address}/transactions/trc20");

install RestSharp:
dotnet add package RestSharp
Sample:
var client = new RestClient("https://api.shasta.trongrid.io/v1/accounts/{your wallet}/transactions");
var request = new RestRequest();
request.AddHeader("accept", "application/json");
IRestResponse response = client.Execute(request);

you could use grpc protocol,
reference sample:
public async Task<Protocol.BlockExtention> GetBlockByNumAsync(long blockNumber)
{
var wallet = _walletClient.GetWallet();
var result = await wallet.GetBlockByNum2Async(new Protocol.NumberMessage { Num = blockNumber }, headers: _walletClient.GetHeaders());
return result;
}
public async Task GetBlockByLatestNumAsync()
{
var client = new HttpClient();
var url = $"{_options.Value.ApiUrl}/walletsolidity/getnowblock";
client.DefaultRequestHeaders.Add("TRON-PRO-API-KEY", _options.Value.ApiKey);
var json = await client.GetStringAsync(url);
        var result = System.Text.Json.JsonSerializer.Deserialize<SolidityLatestBlockNumber>(json);

        //var wallet = _walletClient.GetWallet();
        //var result = await wallet.GetNowBlock2Async(new Protocol.EmptyMessage());
        return result.BlockHeader.RawData.Number;
    }

tron's api document: https://developers.tron.network/reference/background


only admin route decorator

Instead of invoking the function during admin only routes I made it a decorator, so you can just add it and be done with it.

One sec imma fix the tabs + indent errors

you should rename adminOnly to admin_only for consistency 👍

Ok

btw you misspelled functools in the import lol

btw you misspelled functools in the import lol

oof ok I'll fix that to

Need to fix tabs again

@mat-1 fixed all errors


Prepare release for 1.0.0-rc3

What does this commit/MR/PR do?

Prepare release for 1.0.0-rc3
update project deps
tidy up mix formatting in mix.exs

Why is this commit/MR/PR needed?

to make a new release

Coverage remained the same at 61.111% when pulling 1c42ac5f3e5bf951668ba92a47f567457f7b72db on feature/new-release-1.03rc into 34c595cb0f7706f1104af4bfc4d96b6592d27927 on master.

Coverage remained the same at 61.111% when pulling 1c42ac5f3e5bf951668ba92a47f567457f7b72db on feature/new-release-1.03rc into 34c595cb0f7706f1104af4bfc4d96b6592d27927 on master.

Coverage remained the same at 61.111% when pulling 1c42ac5f3e5bf951668ba92a47f567457f7b72db on feature/new-release-1.03rc into 34c595cb0f7706f1104af4bfc4d96b6592d27927 on master.


[Features] Enable Variable Partitioning in ParameterServerStrategy graph mode

Hi @yuefengz ,
Variable Partitioning is very important in Parameter Server architecture for loading balancing. It has been widely used in Recommendation systems for distributing the large embedding variables.
In DistributionStrategy architecture, the variable partitioner is ignored to all cases. I understand it will be complicated if we enable variables partitioner to all cases such as  Eager. It may be even involved with the PartitionVariableScope in TF 2.0 which will influence tf.Variable declaration with tf.variable_creator_scope.  However, it is easy and suitable to support partitioning on ParameterServerStrategy in graph mode. Every subclasses of  DistributionStrategy can override _allow_variable_partition method to decide whether to enable it or not. Currently, only ParameterServerStrategy has override it.
It would be appreciated to have a discussion  if there is another solutions to support variable partitioner.
Thanks.

@wangsiyu Hi, thank you so much for sending out this PR! Right now I am not able to import your PR. Is it because your repository is not up to date?

Hi @yuefengz, thanks for your comments and I will check the merge compatibility and simplify the test case.

Could you also try running unit tests with num_gpus=2? You don't have to have 2 GPUs to run that? Just to make sure AggregatingVariable works with PartitionedVariable. Thanks!

@yuefengz I have simplified the unit test and add test case when num gpus > 1.  It works with AggregatingVariable with VariableAggregation.SUM.  And I have merge the code with the latest version. Are you able to import this now?

@yuefengz Code have been refined. Please check again.

@wangsiyu Thank you for your PR! Please let me know whether ParameterServerStrategy works in your case and what else you need. Feel free to send me emails.

@yuefengz Yes. Currently ParameterServerStrategy has been used in training models for recommendation system in one business unit of Alibaba Group. And I am also trying push MirroredStrategy to other users.  Actually,  I have encountered some performance optimization problems and also want to have a discussion with you about how to improve them in DistributionStrategy framework. I will send PRs or e-mails to you when needed. Thanks very much.

@ymodak Could you please help merge this PR? Thank you!


Warnings from Solr in the log for DC when starting the DC container

When we start the DC container, we get the following warnings. We should check whether it is normal or not to get these warnings. In the best world, it would be better to not have warnings.
decisioncenter_1         | [WARNING ] CWWKG0033W: The value [decisioncenter-libraries] specified for the reference attribute [commonLibraryRef] was not found in the configuration.
decisioncenter_1         | [WARNING ] CWWKG0033W: The value [decisioncenter-libraries] specified for the reference attribute [commonLibraryRef] was not found in the configuration.
decisioncenter_1         | [WARNING ] Couldn't add files from /tmp/solr_config7046266713554902815.dir/lib to classpath: /tmp/solr_config7046266713554902815.dir/lib
decisioncenter_1         | [WARNING ] [dc] Solr index directory '/tmp/decisioncenter-solr-dir/dc/index' doesn't exist. Creating new index...
decisioncenter_1         | [WARNING ] Cannot write to config directory /tmp/solr_config7046266713554902815.dir/configsets/shared/conf; switching to use InMemory storage instead.
decisioncenter_1         | [WARNING ] Starting optimize... Reading and rewriting the entire index! Use with care.

The warnings related to decisioncenter-libraries have been fixed with the previous commit.

The optimize call in solr is not a "real" optimize.
See  https://issues.apache.org/jira/browse/SOLR-3141
I just discuss it with Cyril Mathey and he agree to remove it in bdsl-core-search
SolrService line 160
@Override
public final void endIndexUpdate() throws OperationFailedException {
	checkTransaction();

	try {
		getSolrClient().commit();
		getSolrClient().optimize();
		_txLock.unlock();
	} catch (Exception e) {
		throw new OperationFailedException(e);
	}
}

VTT tests doesn't show the following warning on liberty tests by removing optimize() call
[WARNING ] Starting optimize... Reading and rewriting the entire index! Use with care.
before
http://odmvttui04u.fr.eurolabs.ibm.com/rest/files/5a0d26b0669b900cab472390
after
http://odmvttui04u.fr.eurolabs.ibm.com/rest/files/5a0e7add669b900caba42ccf
Tests are ok
http://odm-services.francelab.fr.ibm.com/vtt/c/results/view?campaignId=1510886720775&requestId=5a0e7531f004b82879f78c01&testSuiteId=5a0e7ada669b900caba40f18&testSuiteName=com.ibm.rules.decisioncenter.web.functionaltests.tests.features.search.SearchTest&success&failures&errors
Concerning other warnings
[WARNING ] Couldn't add files from C:\Users\rulesadm\AppData\Local\Temp\solr_config4192384070092565137.dir\lib to classpath: C:\Users\rulesadm\AppData\Local\Temp\solr_config4192384070092565137.dir\lib
[WARNING ] [dc] Solr index directory 'C:\Users\rulesadm\AppData\Local\Temp\decisioncenter-solr-dir\dc\index' doesn't exist. Creating new index...
[WARNING ] Cannot write to config directory C:\Users\rulesadm\AppData\Local\Temp\solr_config4192384070092565137.dir\configsets\shared\conf; switching to use InMemory storage instead.
[ERROR   ] null
ilog.rules.teamserver.model.IlrConnectException
I still investigating. It looks like new Solr version deployed June 30 need some new variable environment


Revert " Release: v3.36.0"

Reverts kvhnuke/etherwallet#2251

@kris30pl Is there any reason why this is to be reverted?


Unable to run Clouseau after following the documentation

Description
Unable to run Clouseau even after following the installation procedure.
Steps to Reproduce
After carefully following the procedure here I'm unable to get it working on CentOS 8. Here is what I have done:

Installed Java 8 as described here.

Unzipped the Clouseau release in folder /opt/clouseau and added the clouseau.ini
log4j.properties files (as described in the procedure) in the same folder.

Error: A fatal exception has occurred. Program will exit.

In addition, I can see in the default.ini file of CouchDB some reference to dreyfus. Does it mean that I should add a configuration to CouchDB?
Also
cookie=monster

is described as "; set this to the same distributed Erlang cookie used by the CouchDB nodes" but I don't know where to find that.
Expected Behaviour
The Clouseau configuration should be easier to setup (probably by improving the documentation)
Your Environment

CouchDB version used: 3.0
Browser name and version: N/A
Operating system and version: CentOS 8

Additional Context

Hi @natcohen, thanks for the report.
The distributed Erlang cookie can be set a few different ways. The etc/vm.args file has a line that starts with -setcookie; this is probably the one that's in effect. It defaults to the same monster value above.
The -9 error looks like a problem with quoting in the shell. I'll confess that I tend to get that sort of thing working by trial and error 🙄 As a test you could remove the entire line:

     -XX:OnOutOfMemoryError=\"kill -9 %p\" \

and see if that gets you going.

@kocolosk Great, without this line, it seems to work (I will do some tests).
BTW, should we remove this line from the documentation? Also should we explain where this setcookie value is taken from?
In addition, once I run clouseau, do I have to restart CouchDB? Do I have to do anything within CouchDB (from the fresh install)?

It also works without the escaping the scopes:
-XX:OnOutOfMemoryError="kill -9 %p" \

You shouldn't need to restart CouchDB, any request that needs a Clouseau process will try to establish a connection to it if one does not already exist.
I do think we could improve the documentation based on your experience, especially the bit about the Erlang magic cookie. I'm not sure about removing the kill -9 direction altogether; it has been our recommended practice to set that flag to help the system quickly recover from any condition that could cause the JVM memory to balloon.
It'd be nice if we could find a way to make that easier to invoke, e.g. by including a script that starts / stops the Clouseau service. But I'm not sure anyone is ready to pick that up. Will need to give it some thought.

@kocolosk Thanks for your help!
Does it mean that escaping with backslashes depends on the server/OS? This could definitely be added to the documentation if we can  determine which OS require escaping

@kocolosk I am having some really hard time creating a systemd service in CentOS to be able to start Clouseau on server startup.
I have created the following start.sh script:
export CLASSPATH=/opt/clouseau/lib/*

/usr/bin/java -server -Xmx2G -Dsun.net.inetaddr.ttl=30 -Dsun.net.inetaddr.negative.ttl=30 -Dlog4j.configuration=file:/opt/clouseau/log4j.properties -XX:OnOutOfMemoryError="kill -9 %p" -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled com.cloudant.clouseau.Main /opt/clouseau/clouseau.ini

starting this script from the command line works but when invoking it in the service, it automatically stops it without notice:
[Unit]
Description=Clouseau
After=network.target

[Service]
Type=simple
User=root
WorkingDirectory=/opt/clouseau
ExecStart=/opt/clouseau/start.sh
Restart=on-abort

[Install]
WantedBy=multi-user.target

It's a bit out of scope but it's been few hours I'm trying to find a solution and I can't find any help...Also this thread can help others create a service in unix for Clouseau

I will close this since it's not a real but but more a documentation issue...

Hi guys, we are unable to run Clouseau.
We have searched the errors in google without obtaining results and we dont know whats going on.
We dont know where must be setted cookie=monster on Couchdb, we dont use cluster, instead we have a single node.


Fix: Remove trailing space in directory name

When cloning the repository on Windows, there are some error messages.
Cloning into 'BTN-Collected-Rules'...
...
error: invalid path '.github/ISSUE_TEMPLATE /config.yml'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

This PR fixes the issue.
renamed:    .github/ISSUE_TEMPLATE /config.yml -> .github/ISSUE_TEMPLATE/config.yml
renamed:    .github/ISSUE_TEMPLATE /start.yml -> .github/ISSUE_TEMPLATE/start.yml

lgtm


Size of month and year select boxes trimmed to 3 characters

The size of the month and year select boxes is trimmed to 3 characters, into Android. I just  try to edit datepicker-modal.html and set size to 26 but could not see any diference.

Can you send some screen shots for this issue?

@amrigo may refer to this @rajeshwarpatlolla!

Thanks guys. I will add some customisable CSS classes in the upcoming releases, then you will be able to customise it easily.

Customisable classes added in new version v0.5.0

Hi Rajeshwar wich is the file i can customize ? and wich selector  ? i try editing src/style.css but unsucessfully.

i try, and it work on windows phone but did not work into android  src/style.css :
.month_select{
width:60px !important;
}
.year_select{
width:60px !important;
}

i am using the version 0.6.0

inside drop_down class you will find the classes for drop downs. Please inspect the element, you will see those classes.


Make graph of results

Make awesome result graph of these windows.

It is done and pushed to the branch cleaning


Segfault on linux?

Using the kvm connector like so will result in a segfault.
inventory = Inventory()
connector = inventory.connector("kvm")
os = inventory.os("win32", connector)
process = os.process_from_name("process")
module = process.module_from_name("module") # Segfaults here

It appears that this happens no matter the connector on linux, the following is a clipped dump from valgrind:
Stack overflow in thread #1: can't grow stack to 0x1ffe801000

Process terminating with default action of signal 11 (SIGSEGV): dumping core
 Access not within mapped region at address 0x1FFE801FF0

Stack overflow in thread #1: can't grow stack to 0x1ffe801000
   at 0x5A20DAE: memflow::<impl core::convert::From<memflow::MemflowPyError> for pyo3::err::PyErr>::from (in memflow.abi3.so)

More investigation needed...

Weirdly enough the error has nothing to do with memflow or any specific connector, rather it had to do with the From impl for PyErr from the internal error type of the library. Fix will be pushed shortly!


HBASE-25221 Backport HBASE-24368 Let HBCKSCP clear 'Unknown Servers', even if RegionStateNode has RegionLocation == null

hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/GCMultipleMergedRegionsProcedure.java
Edit a log.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/HBCKServerCrashProcedure.java
Add override of isMatchingRegionLocation. Allow 'null' as a pass in
HBCKSCP.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
Add a method for HBCKSCP to override and be less strict filtering
assigns.
hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
Some doc on what 'Unknown Servers' are.
Co-authored-by: Peter Somogyi<EMAIL_ADDRESS>

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
4m  0s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-2.2 Compile Tests _

+1 :green_heart:
mvninstall
3m 16s
branch-2.2 passed

+1 :green_heart:
compile
0m 57s
branch-2.2 passed

+1 :green_heart:
checkstyle
1m 19s
branch-2.2 passed

+1 :green_heart:
shadedjars
4m  3s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 37s
branch-2.2 passed

+0 :ok:
spotbugs
3m 15s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 14s
branch-2.2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 56s
the patch passed

+1 :green_heart:
compile
0m 55s
the patch passed

+1 :green_heart:
javac
0m 55s
the patch passed

-1 :x:
checkstyle
1m 15s
hbase-server: The patch generated 1 new + 4 unchanged - 0 fixed = 5 total (was 4)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m  4s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
25m 29s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
javadoc
0m 37s
the patch passed

+1 :green_heart:
findbugs
3m 20s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
197m 43s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 35s
The patch does not generate ASF License warnings.

260m 39s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2590

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux e2f12b099584 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2590/out/precommit/personality/provided.sh

git revision
branch-2.2 / b213a22651

Default Java
1.8.0_181

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/1/artifact/out/diff-checkstyle-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/1/testReport/

Max. process+thread count
2958 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Should have called the original patch excellent... this one does have some nice addition though.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  7s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ branch-2.2 Compile Tests _

+1 :green_heart:
mvninstall
3m 17s
branch-2.2 passed

+1 :green_heart:
compile
0m 57s
branch-2.2 passed

+1 :green_heart:
checkstyle
1m 25s
branch-2.2 passed

+1 :green_heart:
shadedjars
4m 19s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 41s
branch-2.2 passed

+0 :ok:
spotbugs
3m 39s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
3m 37s
branch-2.2 passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m  2s
the patch passed

+1 :green_heart:
compile
0m 59s
the patch passed

+1 :green_heart:
javac
0m 59s
the patch passed

+1 :green_heart:
checkstyle
1m 17s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 13s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
25m 43s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 2.10.0 or 3.1.2 3.2.1.

+1 :green_heart:
javadoc
0m 36s
the patch passed

+1 :green_heart:
findbugs
3m 23s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
215m 39s
hbase-server in the patch passed.

+1 :green_heart:
asflicense
0m 31s
The patch does not generate ASF License warnings.

277m 12s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2590

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile

uname
Linux 75e0eebff479 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-home/workspace/Base-PreCommit-GitHub-PR_PR-2590/out/precommit/personality/provided.sh

git revision
branch-2.2 / b213a22651

Default Java
1.8.0_181

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/2/testReport/

Max. process+thread count
2904 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2590/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


[BUG] Numba >= 0.59.1 needs adding as a dependency

Presently building and installing doesn't induce the installation of a compatible Numba version into the environment - it needs to be manually installed by the user. Numba >= 0.59.1 should be added to the requirements.

Fixed by #35.


⚠ Samsung has degraded performance

In 1e9ea02, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2257 ms

Resolved: Samsung performance has improved in f03371c.


New slime

Can there be new blue slime you get from killing the end slimes? Would be nice to have

And what special properties should it have?

nothing. Just an aesthetic thing to match the entity

But all end slimes have different colors.

Wait, they do? I've only seen blue ones. Might be worth filing a bug report if I can provide screenshots when I have time.

Different biomes have different slimes

Like purple in chorus forest or yellow in amberlands

Ah. That. I haven't gotten around to exploring, sorry. I still think it would be a cool idea

All slimes drop vanilla slimeballs, this is unlikely to be changed, there are no valuable reasons to add custom slimeballs only for color difference


enhance: remove --ui option

Remove the ability to start the UI tool from gptscript. This drops the
--ui flag from the gptscript command.
Note: Let's hold off on merging this until electron support is merged into https://github.com/gptscript-ai/ui.

@thedadams

Should we also remove the workflow that tags the UI? Last I heard, the UI electron app was going to be on a slightly different release cycle

I think that's a good idea since there's currently at least one manual step -- bumping the version field in the package.json file -- to releasing. As it stands, we'll end up inadvertently updating the published builds for the previous release of the UI when gptscript releases.
I'll drop the workflow now.

done


I want play a song but this appear me

What is your question?
Paths.hx (line 364)
Character.hx (line 164)
PlayState.hx (line 571)
flixel/FlxGame.hx (line 637)
flixel/FlxGame.hx (line 724)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
Please report this error to the GitHub page: https://github.com/ShadowMario/FNF-PsychEngine

Crash Handler written by: sqirra-rng

broken png?


Loop through AB storage reference monitors on Windows

Under this section in the AB storage assignment part two, it says:

Then you can type the following in the bash shell to execute the testcases with the reference monitors:
for referencemonitor in reference_monitor_*; do for testcase in <net_id>_*; do python repy.py restrictions.default encasementlib.r2py $referencemonitor $testcase; done; done

This will print out the output from each program.
If you want to spot the referencemonitor that failed during the test run, you could add debug print statements during run as follows,
for referencemonitor in reference_monitor_*; do echo $referencemonitor under test; for testcase in <net_id>_*; do python repy.py restrictions.default encasementlib.r2py $referencemonitor $testcase; done; done

This will print out the name of each reference monitor before it starts executing the testcases against it.
If you are a Windows user and you create your own solution that does the same thing, please post it on the forum.

Here is the equivalent command on Windows:
FOR %r IN (reference_monitor_*) DO @FOR %a IN (<net_id>_*) DO @python repy.py restrictions.default encasementlib.r2py %r %a

If you want the code to echo the name of each reference monitor:
FOR %r IN (reference_monitor_*) DO @(ECHO %r under test & FOR %a IN (<net_id>_*) DO @python repy.py restrictions.default encasementlib.r2py %r %a)

Thank you very much! Is this snippet supposed to be run in the cmd shell or in PowerShell?

That snippet is for the CMD shell. Here is the equivalent for PowerShell:
foreach ($referencemonitor in Get-ChildItem reference_monitor_*) { foreach ($testcase in Get-ChildItem <net_id>_*) { python repy.py restrictions.default encasementlib.r2py $referencemonitor.Name $testcase.Name } }

To echo the name of each reference monitor:
foreach ($referencemonitor in Get-ChildItem reference_monitor_*) { Write-Host $referencemonitor.Name; foreach ($testcase in Get-ChildItem <net_id>_*) { python repy.py restrictions.default encasementlib.r2py $referencemonitor.Name $testcase.Name } }

Awesome! Do you want to send a Pull Request for this for extra GitHub credit? 😄

I have created a pull request in #36.


kue.createQueue taking 4 redis connections?

With only one instance of kue running i'm seeing 4 connections on redis and i'm wondering if there is an option to reduce the amount of connections?
In development environment i have limited amount of connections which is yielding connection problems when more than a few people are working at the same time, any suggestions on a workaround for this situation?

would you please read these first and then ask me further questions you may have?
https://github.com/LearnBoost/kue/issues/366
https://github.com/LearnBoost/kue/issues/143
https://github.com/LearnBoost/kue/issues/127

@behrad thank you very much for pointing me those out.
It's all clear now, the only thing i did not find is how to turn search indexing is off, if you could point me to that information i would be very thankful.

your welcome :)
here it is: https://github.com/LearnBoost/kue#get-jobsearchq

@behrad thanks!
i'm using the latest version so i believe i don't actually need to turn it off ( :
:8ball:


[2Q2024] Revise convert to cxg pipeline for deep zoom tiles [Previously: Learn CryoET Deep Zoom Data Pipeline Code]

RK:  Revise cxg conversion script and add logic for uns data  conversion -

NEW(Timmy): We also need to crop the image to use the short side of width/height, so the image is a square. This way we have 1:1 ratio, which simplifies the rendering
NEW(Timmy): We also need to flip the image before we generate the deep zoom tiles (Timmy has code in ticket comment)
On each iteration - along with copying uns data to the cxg, add logic to generate deep zoom tiles and xml manifest (using vips) for openseadragon deep zoom, based on the spatial metadata stored in AnnData
Save tiles and manifest to an S3 bucket under directory spatial-deep-zoom (Slack context)
Figure out how deep zoom files will be copied across dev/staging/prod
Add unit tests for above

DoD:

When above is complete, working and tested - and s3 bucket is populated with tiles and manifest in the desired hierarchy per dataset
Make sure above is compatible with MVP and Deep zoom implementation

Reference: https://github.com/chanzuckerberg/single-cell-explorer/pull/879

Timebox to 5, since it involves possible coordination with Jess and Manasa on Imagining Team

Previous description **************************
Context:

https://github.com/chanzuckerberg/cryoet-data-portal-backend/blob/main/ingestion_tools/scripts/mrc2omezarr.py
Jess and Manasa implemented the pipeline above, so we should reach out for consultation as needed

DoD:

Investigate CryoET pipeline and see how translatable it is to Cell Science's existing pipeline

Description revised to as well as for adding logic instead of replacing

@kaloster
Code to crop and flip the image before generating deep zoom files 👌
def spatial_metadata_get(spatial):  # type: ignore
    """
    Returns an object containing spatial metadata, including image width and image height.
    """
    resolution = SPATIAL_IMAGE_DEFAULT_RES

    try:
        library_id = list(spatial.keys())[0]
        image_array = spatial[library_id]["images"][resolution]
    except KeyError as e:
        raise Exception(f"spatial information does not contain requested resolution '{resolution}'") from e

    # Convert the image to a uint8 numpy array scaled to 0-255
    image_array_uint8 = np.uint8(image_array * 255)

    # Convert the numpy array to a PIL Image
    image_pil = Image.fromarray(image_array_uint8)

    # Crop the image using a predefined crop_box function
    image_pil = image_pil.crop(crop_box(image_pil.size))

    # Save the cropped PIL image to a BytesIO stream in WEBP format
    response_image = io.BytesIO()
    image_pil.save(response_image, format="WEBP", quality=90)
    image_str = base64.b64encode(response_image.getvalue()).decode()

    # Preparing data for pyvips from the cropped numpy array

    # NOTE: Flip the image vertically, since somehow the client flips the image
    image_pil = image_pil.transpose(Image.FLIP_TOP_BOTTOM)

    # Convert the flipped PIL Image back to a numpy array
    flipped_array_uint8 = np.array(image_pil)

    h, w, bands = flipped_array_uint8.shape
    linear = flipped_array_uint8.reshape(w * h * bands)
    vipsImage = pyvips.Image.new_from_memory(linear.data, w, h, bands, "uchar")

    # Save as Deep Zoom Image (this will create a directory with tiles and a .dzi file)
    vipsImage.dzsave("./server/common/web/static/deep_zoom/spatial", suffix=".jpeg")

    h = w = min(h, w)  # Adjust for 1:1 aspect ratio

    spatial_metadata = {
        "spatial": {
            "imageWidth": w,
            "imageHeight": h,
            "libraryId": library_id,
            "image": image_str,
        }
    }

    return spatial_metadata

Related ticket: https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/gh/chanzuckerberg/single-cell-explorer/913

Related ticket to flip the image:
https://app.zenhub.com/workspaces/single-cell-5e2a191dad828d52cc78b028/issues/gh/chanzuckerberg/single-cell-explorer/898


Describe the bug
Trying to release a a wallet-core into a private cocoapods repo
I changed a tools/ios-release.sh slightly to
pod repo push --verbose --allow-warnings REPO_NAME ${podspec}

instead of pod trunk push
OS: MacOS 14.0 (23A344)
XCode Version 15.0 (15A240d)
To Reproduce

tools/bootstrap.sh
tools/ios-release

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Log after runninng tools/ios-release.sh
 /var/folders/wq/56nzs2qn5y9fclq9jnzw6mvc0000gn/T/CocoaPods-Lint-20231020-30714-sov4bh-TrustWalletCore/Pods/Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 14.0.99. (in target 'SwiftProtobuf' from project 'Pods')
    ** BUILD SUCCEEDED **

   Testing with `xcodebuild`.
 -> TrustWalletCore (3.3.3)
    - WARN  | source: Git SSH URLs will NOT work for people behind firewalls configured to only allow HTTP, therefore HTTPS is preferred.
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Using codesigning identity override: -
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Building targets in dependency order
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Target dependency graph (4 targets)
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'SwiftProtobuf' from project 'Pods')
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Signing static framework with --generate-pre-encrypt-hashes (in target 'Pods-App' from project 'Pods')
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'App' from project 'App')
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 12.0 to 17.0.99. (in target 'SwiftProtobuf' from project 'Pods')
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  note: Using codesigning identity override:
    - NOTE  | [TrustWalletCore/Types,TrustWalletCore/Core] xcodebuild:  Pods.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.11, but the range of supported deployment target versions is 10.13 to 14.0.99. (in target 'SwiftProtobuf' from project 'Pods')
    - ERROR | [TrustWalletCore/Types] file patterns: The `source_files` pattern did not match any file.
    - ERROR | [TrustWalletCore/Core] file patterns: The `vendored_frameworks` pattern did not match any file.

[!] The `TrustWalletCore.podspec` specification does not validate.

/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command/repo/push.rb:156:in `block in validate_podspec_files'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command/repo/push.rb:140:in `each'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command/repo/push.rb:140:in `validate_podspec_files'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command/repo/push.rb:81:in `run'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/gems/cocoapods-1.13.0/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.13.0/libexec/bin/pod:25:in `<main>'

have you execute ./tools/generate-files ?

    - ERROR | [TrustWalletCore/Types,TrustWalletCore/Core] file patterns: The `source_files` pattern did not match any file.

what's the source_files define?
i got walletCore.xcframework & swiftProtobuf.xcframework by
./tools/bootstrap.sh
./tools/generate-files
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug
make -Cbuild
./tools/ios-build && ./tools-xcframework


Only the first topic is added

Describe the bug
When applying a list of two topics, only the first topic is created
To Reproduce

Create a file with multiple topics
Apply (success)
Only one topic (the first in the file) is created

Expected behavior
All topics should be created
Runtime environment
Jikkou: 0.16.0 (Docker)
Docker version: 20.10.21 baeda1f
Kafka Cluster Version: 3.3.2 (Amazon MSK)

hi @njlr, is this problem still present in version 0.18.0 or 0.19.0? Could you eventually share a sample of your file ?


Has search on emoji panel ever worked?

Probably check and fix
Plus I've noticed we showing some limited subset of emojis, curious why?
https://user-images.githubusercontent.com/5887929/152356419-4eb44272-c69d-451d-a275-57c2ad434224.mov

It does work for me

I feel special

search works, yet keyboard shortcuts listen everytime which I guess should not


docx.page is not working

I'm trying to explore this gem but when I'm trying to add a new page using docx.page, the generated docx file doesn't contain any new pages. Has anyone experienced this issue? What's the fix for this?

view_docx_progressive (31).docx
This is the sample file generated on my dev environment using the caracal-example template. The parts that are missing in this file are also the things that makes the app throw errors.
Thanks!


If a hashFn returns an odd length string, the buffer removes the last digit

My hash fn sometimes returns odd length strings and returns them as the hash of two leaves. Then behind the scenes this string probably gets turned to a buffer before it gets sent to the fn again. The problem is that a buffer from a hex string needs to be even in order to remain untouched. If its odd length it will remove the last digit. Is there a solution?

Could you paste some code here to see the problem better?

Of courswe , thanks.
Code:
const tree = new MerkleTree(elems, treeHashFn,)
const treeHashFn = (values:Bufffer[]) =>{
const val = values.map((e)=>e.toString("hex")) // switch the 2 values into hex strings for the hashing
const hash = mimc.F.toString(mimc.multiHash(val)) //hash [hex1, hex2]
console.log("hash:", hash)
return hash
}
// hash result:<PHONE_NUMBER>5146322184333458663331830026478753251653398840528918417862429045674
Now im assuming to calculate the next level of the tree it takes this result and changes into a buffer because in the next step this leaf gets sent to the hashFn: <Buffer 14 10 48 75 22 51 46 32 21 84 33 34 58 66 33 31 83 00 26 47 87 53 25 16 53 39 88 40 52 89 18 41 78 62 42 90 45 67>,
as hex string:<PHONE_NUMBER>514632218433345866333183002647875325165339884052891841786242904567
As you can see the last digit , 4, is not included in the buffer and so the next hash will be incorrect. Is there a way to bypass this or perhaps save the hashing results as string instead of buffers in the tree?
Thanks for the help and please let me know if you need more information.
process example with 4 leafs:
leaf 1 and 2:
values to hash: [
'6721386053596942657499136420107085293489819306492677961305769503065434130472',
'9523846939162501634457677040696707166045357078299403910716393700565177591185'
]
hash result:<PHONE_NUMBER>5146322184333458663331830026478753251653398840528918417862429045674
leaf 3 and 4:
values to hash: [
'6590299499582611792156487232666119892727223198299517924489421909519493268587',
'2109157874548174376358068484317679259521016273550960803979345000605185685917'
]
hash result:<PHONE_NUMBER>974527676667158189280148971132842972296509756333925416105675680238
NEXT LAYER:
values to hash: [
'1410487522514632218433345866333183002647875325165339884052891841786242904567',
'1510539597974527676667158189280148971132842972296509756333925416105675680238'
]
As you can see the last digit is gone.

Maybe the problem is the finite field. In ZKP every number is represented as X mod P where P is a large prime. Are you using these numbers everywhere?
I'm not fully sure, but maybe you should use mimc.F.toString instead e.toString

Thanks for the reply. I have tried doing that but what it does is change the buffer completely causing incorrect hashes and it still has the same problem.
I'm pretty sure the issue is with the bufferifying of the string since this:
Buffer.from("14104875225146322184333458663331830026478753251653398840528918417862429045674", "hex")
results in:
<Buffer 14 10 48 75 22 51 46 32 21 84 33 34 58 66 33 31 83 00 26 47 87 53 25 16 53 39 88 40 52 89 18 41 78 62 42 90 45 67>//  the buffer removes the 4 in the end same as in the code. I think it's just a compatibility error
SOLUTION:
It indeed was being turned into a buffer in bufferifyFn. I removed all of the return buffer.from in order to just return the hashed result and now it works. Now it returns the whole result as string.
bufferifyFn(f) {
return (value) => {
const v = f(value);
return v
//     if (buffer_1.Buffer.isBuffer(v)) {
//         return v;
//     }
//     if (this.isHexString(v)) {
//         return buffer_1.Buffer.from(v.replace('0x', ''), 'hex');
//     }
//     if (typeof v === 'string') {
//         return buffer_1.Buffer.from(v);
//     }
//     if (typeof v === 'bigint') {
//         return buffer_1.Buffer.from(value.toString(16), 'hex');
//     }
//     if (ArrayBuffer.isView(v)) {
//         return buffer_1.Buffer.from(v.buffer, v.byteOffset, v.byteLength);
//     }
//     // crypto-js support
//     return buffer_1.Buffer.from(f(crypto_js_1.default.enc.Hex.parse(value.toString('hex'))).toString(crypto_js_1.default.enc.Hex), 'hex');
};
}
Thanks for the help. Great package btw


Historical Events Calendar

Including a calendar of significant historical events that happened in the area, providing context and relevance to the location's history.

@Akshatchaube01  can u assign me this issue

@Akshatchaube01 i would like to work on this issue

working on this issue

@Akshatchaube01 can u please explain more about the issue im unable to understand it properly


Redundant calls being made to HLS child manifest

Have you read the FAQ and checked for duplicate open issues?
YES
What version of Shaka Player are you using?
2.5.4
Can you reproduce the issue with our latest release version?
YES
Can you reproduce the issue with the latest code from master?
YES
Are you using the demo app or your own custom app?
Demo App
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
Chrome 78, MacOS
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
https://shaka-player-demo.appspot.com/demo/#audiolang=en-GB;textlang=en-GB;uilang=en-GB;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-hls/hls.m3u8;panel=SEARCH;build=uncompiled

What did you do?

Redundant calls being made to child manifest
What did you expect to happen?
We only need to fetch a specific manifest only once instead, we can observe multiple calls. And increasing the video's start lag.
What actually happened?
Check the network tab, and search for playlist_a-eng-0128k-aac-2c.mp4.m3u8 you can see that a total of 5 calls being made to the same child manifest.

You are correct, we shouldn't have to fetch the audio playlist 5 times during startup.  Thanks for the report!

Thanks for the response, also what is the ETA for v2.6?

v2.6 is blocked on #1339 and a number of bugs.  This is marked "bug", so we will try to cherry-pick the fix to v2.5.x.  You won't have to wait for v2.6 to get this fixed.

This should be fixed with Hls refactor soon.


Signing on Xiaomi device with only swipe PIN and green bar wallet doesn't prompt for user presence

This is the wallet after https://github.com/AlphaWallet/alpha-wallet-android/issues/788.

User authentication event is valid for 30 seconds; if you sign within 30 seconds of a previous authentication event you don't need another event. Can you try again after 30 seconds and see if the authentication is required?
Perhaps UX should indicate somehow that authentication event is not required? Or reduce the valid time.

With the new build:

Tried to upgrade to "green bar"
Was prompted for swipe to unlock. Proceed.
"Green bar" shown
Went to app browser and sign a transaction

Expect:
Prompted for swipe to unlock
Observe:
Was not prompted. Signing failed. Was xcontract. The signature box remains empty.
Re-tried after waiting > 30 seconds after the prompt to swipe to unlock (from making it green bar) as well as killing the app. Not prompted.

This. I do get prompted when I try to back up, so it looks like the API is working. It only doesn't prompt when I try to sign from the dapp browser.

Got it! OK I hadn't wrapped dapp browser class with the new KeyService class. This would account for this. Again good catch.


[Filing home] [Design] Responsive layout

Page is not currently implementing effective responsiveness on smaller devices

@meissadia
Is there more work to do on this or has it been fixed? I took a look at the page and it looks like this on dev pub (I couldn't access beta at this time):

@meissadia Is there more work to do on this or has it been fixed? I took a look at the page and it looks like this on dev pub (I couldn't access beta at this time)

@natalia-fitzgerald It looks like Omar added some margins as part of his work on the mobile nav branch, so content no longer bleeds all the way to the edge on mobile screens.  However it does look like there are a number of elements that still need to be updated to account for the wrapping that happens on mobile screens.


Error response from daemon: rpc error: code = InvalidArgument desc = port '2181' is already in use by service 'stackname_servicename' as an ingress port

All three service bind same ports on host, after removing the host port mapping part i got the output of first service
[
    {
        "ID": "nxlr74hsfa0hk294ctqbkciuq",
        "Version": {
            "Index": 2163
        },
        "CreatedAt": "2017-10-14T15:58:38.563057069Z",
        "UpdatedAt": "2017-10-14T15:58:38.565532275Z",
        "Spec": {
            "Name": "zk-cluster_zk_1",
            "Labels": {
                "com.docker.stack.image": "jeygeethan/zookeeper-cluster",
                "com.docker.stack.namespace": "zk-cluster"
            },
            "TaskTemplate": {
                "ContainerSpec": {
                    "Image": "jeygeethan/zookeeper-cluster:latest@sha256:55d24058d87df2a83e9543bd248facdb0668a769c1c9649594be0adbbfa09b5c",
                    "Labels": {
                        "com.docker.stack.namespace": "zk-cluster"
                    },
                    "Args": [
                        "docker_host_1,docker_host_2,docker_host_3",
                        "1"
                    ],
                    "Env": [
                        "constraint:node==docker_host_1"
                    ],
                    "Privileges": {
                        "CredentialSpec": null,
                        "SELinuxContext": null
                    },
                    "Mounts": [
                        {
                            "Type": "bind",
                            "Source": "/var/lib/zookeeper",
                            "Target": "/var/lib/zookeeper"
                        },
                        {
                            "Type": "bind",
                            "Source": "/var/log/zookeeper",
                            "Target": "/var/log/zookeeper"
                        }
                    ],
                    "StopGracePeriod":<PHONE_NUMBER>0,
                    "DNSConfig": {}
                },
                "Resources": {},
                "RestartPolicy": {
                    "Condition": "any",
                    "Delay":<PHONE_NUMBER>,
                    "MaxAttempts": 0
                },
                "Placement": {
                    "Platforms": [
                        {
                            "Architecture": "amd64",
                            "OS": "linux"
                        }
                    ]
                },
                "Networks": [
                    {
                        "Target": "l4qrtzf6c2ar5648bxwwiw4qw",
                        "Aliases": [
                            "zk_1"
                        ]
                    }
                ],
                "ForceUpdate": 0,
                "Runtime": "container"
            },
            "Mode": {
                "Replicated": {
                    "Replicas": 1
                }
            },
            "UpdateConfig": {
                "Parallelism": 1,
                "FailureAction": "pause",
                "Monitor":<PHONE_NUMBER>,
                "MaxFailureRatio": 0,
                "Order": "stop-first"
            },
            "RollbackConfig": {
                "Parallelism": 1,
                "FailureAction": "pause",
                "Monitor":<PHONE_NUMBER>,
                "MaxFailureRatio": 0,
                "Order": "stop-first"
            },
            "EndpointSpec": {
                "Mode": "vip",
                "Ports": [
                    {
                        "Protocol": "tcp",
                        "TargetPort": 2181,
                        "PublishMode": "ingress"
                    },
                    {
                        "Protocol": "tcp",
                        "TargetPort": 2888,
                        "PublishMode": "ingress"
                    },
                    {
                        "Protocol": "tcp",
                        "TargetPort": 3888,
                        "PublishMode": "ingress"
                    }
                ]
            }
        },
        "Endpoint": {
            "Spec": {
                "Mode": "vip",
                "Ports": [
                    {
                        "Protocol": "tcp",
                        "TargetPort": 2181,
                        "PublishMode": "ingress"
                    },
                    {
                        "Protocol": "tcp",
                        "TargetPort": 2888,
                        "PublishMode": "ingress"
                    },
                    {
                        "Protocol": "tcp",
                        "TargetPort": 3888,
                        "PublishMode": "ingress"
                    }
                ]
            },
            "Ports": [
                {
                    "Protocol": "tcp",
                    "TargetPort": 2181,
                    "PublishedPort": 30000,
                    "PublishMode": "ingress"
                },
                {
                    "Protocol": "tcp",
                    "TargetPort": 2888,
                    "PublishedPort": 30001,
                    "PublishMode": "ingress"
                },
                {
                    "Protocol": "tcp",
                    "TargetPort": 3888,
                    "PublishedPort": 30002,
                    "PublishMode": "ingress"
                }
            ],
            "VirtualIPs": [
                {
                    "NetworkID": "xqg1illhhwj4ht2th2wnaof7u",
                    "Addr": "<IP_ADDRESS>/16"
                },
                {
                    "NetworkID": "l4qrtzf6c2ar5648bxwwiw4qw",
                    "Addr": "<IP_ADDRESS>/24"
                }
            ]
        }
    }
]

but no container open
docker service ls
ID                  NAME                MODE                REPLICAS            IMAGE                                 PORTS nxlr74hsfa0h        zk-cluster_zk_1     replicated          0/1                 jeygeethan/zookeeper-cluster:latest   *:30000->2181/tcp,*:30001->2888/tcp,*:30002->3888/tcp lseqgdkfks3l        zk-cluster_zk_2     replicated          0/1                 jeygeethan/zookeeper-cluster:latest   *:30003->2181/tcp,*:30004->2888/tcp,*:30005->3888/tcp fo08fx9cfo7g        zk-cluster_zk_3     replicated          0/1                 jeygeethan/zookeeper-cluster:latest   *:2181->2181/tcp,*:2888->2888/tcp,*:3888->3888/tcp

hi all. I have the same problem.
I use docker API. I create a service with it, and I delete it but after that, I try again to create another service with the same port.
but unfortunately, I got this error "Bad Request. rpc error: code = InvalidArgument desc = port '33033' is already in use by service 'mysql-app1' (9lffoy44ax8n0marqpm223fwe) as an ingress port"
what do you think?
I think this error occurred because of docker API.


schema expansion

curios to hear what y'all's thoughts would be on turning the Conflicts array each version of a mod has into a dictionary of mod guid to semver version specifier

Were you thinking of having fully incompatible mods for all versions conflicting with {"modguid": "*"} ?

yep

Seems reasonable to me

To note though, later on this kind of changes could break a lot of things once/if there's external tools that rely on the format.

seeing as we have no Conflicts currently in the manifest ive submitted a pr to our docs and when that is merged il mark this as complete


fix step flutter action

Description

Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How Has This Been Tested?

[ ] Test A (add screenshot, or videos to help understand the changes)
[ ] Test B

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

Deploy Notes

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@15e744d). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage        ?   96.51%
=======================================
  Files           ?        5
  Lines           ?      201
  Branches        ?        0
=======================================
  Hits            ?      194
  Misses          ?        7
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


unify style for image operations

Addresses #156 and corrects some docstrings. It's better to merge this after merging #157.

Do we change arguments for every python function or only functions decorated with @tf.function ?

All python ops. Most likely are decorated, but don't have to be.

A Python operation is a function that, given input tensors and parameters, creates a part of the graph and returns output tensors.


run Clippy on CI

and fix some things it complains about. Also use rustup-toolchain script on CI (reduces code duplication, and good thing to make sure it keeps working, since we recommend it in the docs).
I left ui_test out for now; I'll leave those nits to @oli-obk. ;)

@bors r+

@bors ping

:sleepy: I'm awake I'm awake

@bors r+

:pushpin: Commit 3d30aece836c5f524b49eb308ee516a09dd9e0a9 has been approved by RalfJung

:hourglass: Testing commit 3d30aece836c5f524b49eb308ee516a09dd9e0a9 with merge 5f988ab55357f3bf71e32597f3ae6707a7f1bf0b...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 5f988ab55357f3bf71e32597f3ae6707a7f1bf0b to master...


Using XmlToSvg loses shapes information

Hello,
I am trying to convert XML to SVG using Java.
But looks like the shapes information is getting lost in the process.
Given simple Draw.IO

I am getting this SVG

Was using this code for reference: https://github.com/jgraph/mxgraph/blob/master/java/examples/com/mxgraph/examples/Xml2Svg.java
Saved draw.io as uncompressed XML.
Using mxgraph-all.jar from this Repo

For programming questions please post to Stack Overflow using the mxgraph tag, https://stackoverflow.com/questions/tagged/mxgraph. Thanks.

Hello,
Thank you for letting me know.
Before I post it as a question could you please confirm it is the intended behavior?

No, it's incorrect.

OK, so I ran provided example from this project: Xml2Svg and it is not working as expected.
Not sure what should I ask on stack overflow.
It looks like a bug.

Adding link to a posted StackOverflow question for future reference: https://stackoverflow.com/questions/44179673/drawio-mxgraph-using-xmltosvg-loses-shapes-information

If it is not the intendant behavior, should it be re-opened?

No, the problem is the way you are using the software, the shapes are not defined in mxGraph and you're missing the correct stylesheet. I don't appreciate your behavior to bully us into answering this question, really not impressed...

I am not sure I follow "bully us" part :(  I am sorry if it felt this way. Definitely not my intention...
I took provided example and it is not working. I am merely trying to understand how to make it work. And reporting the fact that it is not working.


Update defender-for-containers-architecture.md

Docs Build status updates of commit 7f3a9f0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/defender-for-cloud/defender-for-containers-architecture.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@mayaherskovic Glad to see you feel comfortable editing.
#sign-off


fix: Internal error in make_case calls for GraphQL schemas.

Codecov Report

Merging #1236 (841c3b9) into master (3b8ee7f) will decrease coverage by 0.10%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1236      +/-   ##
==========================================
- Coverage   99.04%   98.93%   -0.11%
==========================================
  Files          74       74
  Lines        5852     5812      -40
  Branches      973      973
==========================================
- Hits         5796     5750      -46
- Misses         30       33       +3
- Partials       26       29       +3

Flag
Coverage Δ

unittests
98.93% <100.00%> (-0.08%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/schemathesis/models.py
99.18% <100.00%> (-0.03%)
:arrow_down:

src/schemathesis/schemas.py
99.39% <100.00%> (+<0.01%)
:arrow_up:

src/schemathesis/specs/graphql/schemas.py
96.96% <100.00%> (+0.19%)
:arrow_up:

src/schemathesis/specs/openapi/schemas.py
100.00% <100.00%> (ø)

src/schemathesis/extra/pytest_plugin.py
98.21% <0.00%> (-1.79%)
:arrow_down:

src/schemathesis/cli/callbacks.py
98.27% <0.00%> (-1.73%)
:arrow_down:

src/schemathesis/specs/openapi/serialization.py
98.00% <0.00%> (-1.00%)
:arrow_down:

src/schemathesis/runner/serialization.py
97.40% <0.00%> (-0.16%)
:arrow_down:

src/schemathesis/serializers.py
98.18% <0.00%> (-0.11%)
:arrow_down:

src/schemathesis/lazy.py
95.28% <0.00%> (-0.05%)
:arrow_down:

... and 16 more

Continue to review full report at Codecov.

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


query_map maps to incorrect columns of same type

Query map function maps to incorrect columns of the same type.
I'm sure it has something to do with the fact that tp and sl are both f64.
DB Table

Struct

Query

Result

As I thought, it has something to do with the default order of columns.
I'll just change the column order or do this https://github.com/blackbeam/rust-mysql-simple/issues/137


vscode remote doesn't work for wsl

We should be able to run code . within wsl and open remote session instead message shows and code starts without starting remote session.
Message:
'\\wsl$\Ubuntu' CMD.EXE was started with the above path as the current directory. UNC paths are not supported.  Defaulting to Windows directory.
Steps to reproduce:

Install vscode from extras
Install Remote Development extension
Run ubuntu.exe
Within terminal run cd /
Run code .

If vscode is installed using exe installer instead of using scoop everything works correctly.

I think it's an upstream issue.
vscode manifest setup to create shim like this:
"bin": [
    [
        "bin\\code.cmd",
        "code"
    ]
],

scoop creates 3 shims for this instruction:

code.cmd
code.ps1
code - this is a shell script, which is run when you type code . in wsl or git-for-windows.

The problem is, this script actually runs cmd.exe:
MSYS2_ARG_CONV_EXCL=/C cmd.exe /C "C:\Users\User\scoop\apps\vscode\current\bin\code.cmd"  "$@"

But when you install vscode with installer it adds bin directoroy in it's root to PATH. This directory contains to files to run vscode:

code.cmd
code - which should be run in wsl and git-for-windows instead for code.cmd.

Why it's an upstream issue and you just can't add another shim for correct file? Because you can't.

@ebugusey thanks for the detailed explanation! Unfortunately, I'm still a little confused.
When I install it via the regular installer, I can see that this has been added to my PATH: /mnt/c/Users/aljoh/AppData/Local/Programs/Microsoft VS Code/bin. And the code script still calls cmd.exe:
$ cat "$(which code)" | grep -n cmd
33:                     cmd.exe /C ".\\bin\\$APP_NAME.cmd --locate-extension $WSL_EXT_ID >%TEMP%\\remote-wsl-loc.txt"
34:                     WSL_EXT_WLOC=$(cmd.exe /C type %TEMP%\\remote-wsl-loc.txt)

So when it is installed via scoop, what's the issue with calling cmd.exe? Are you saying that .\\bin\\$APP_NAME.cmd doesn't exist?
Also, can you suggest a manual fix? Is it as simple as just adding this path to the PATH variable?

Seems like this is a pretty major issue, especially with WSL 2 now out. Here's another stack overflow user talking about it, for reference: https://stackoverflow.com/questions/61268923/cant-launch-vs-code-from-windows-terminal-inside-wsl-2

@AlJohri

And the code script still calls cmd.exe

Complete code:
		if [ $WSL_BUILD -ge 41955 -a $WSL_BUILD -lt 41959 ]; then
			# WSL2 workaround for https://github.com/microsoft/WSL/issues/4337
			CWD="$(pwd)"
			cd "$VSCODE_PATH"
			cmd.exe /C ".\\bin\\$APP_NAME.cmd --locate-extension $WSL_EXT_ID >%TEMP%\\remote-wsl-loc.txt"
			WSL_EXT_WLOC=$(cmd.exe /C type %TEMP%\\remote-wsl-loc.txt)
			cd "$CWD"
		else

This is some kind of workaround for certain builds of WSL.

So when it is installed via scoop, what's the issue with calling cmd.exe?

Problem is not in cmd, at least I don't think so. Problems is that scoop runs incorrect start script for code. Shell script handles code start better in shell environment. As you can see there are some workarounds and stuff there.

Also, can you suggest a manual fix?

There actually two ways.
Fix manifest
Imitate vscode installer and add bin directory to PATH. It's against what scoop is, but scoop is capable of that. You will need to fix vscode manifest and merge it through PR to this repository.
Fix shim
Every time you update vscode you will need to fix code shim.
You will need to replace something like this
MSYS2_ARG_CONV_EXCL=/C cmd.exe /C "C:\Users\User\scoop\apps\vscode-portable\current\bin\code.cmd"  "$@"

to this
/c/Users/User/scoop/apps/vscode-portable/current/bin/code "$@"

Shim fix by @ebugusey is correct.

I'm wondering if the shim fix by @ebugusey should be considered a general scoop feature request: If the target apps installer has a no-extension shell script in its bin directory, the generated shim should trampoline to it rather than to the windows batch file via cmd.exe?
And if so, should that be a separate issue that specifically says so?
Might become useful in general for other applications which (will) operate in a windows-client linux-server mode as Windows+WSL becomes a more popular development environment.

More precisely, @ebugusey solution works because the problem is that scoop is creating a shim that looks incomplete if you compare it to what the shell bin provided by vscode looks like ($SCOOP_PATH/apps/vscode/bin/code).
I guess this is a super edge case: vscode might be the only program out there that is providing a wsl/shell compatible bin, but it would be nice still if scoop would provide a way in app manifest to say "don't autogenerate the shell shim, use that file instead"

yeah, can you fix it please?

I've made a new upstream issue based on the comments from @david-bakin and @chadrien: https://github.com/lukesampson/scoop/issues/4413

I saw the same error. Then I removed VS code, which was installed into my PC about 3 years ago, and then reinstalled it from the website. The error doesn't happen, so it seems that the issue doesn't exist in the lastest VS code


TCP keepalive definition may be better expressed in seconds

Hello, found maybe a little mistake in how tcp_keepalive see OptsBuilder::tcp_keepalive() is defined in the lib. Thanks for the lib by the way.
By convention keepalive tcp parameters are seconds, in mysql_async it's currently defined from_millis().
https://github.com/blackbeam/mysql_async/blob/master/src/conn/mod.rs#L913
            } else {
                let keepalive = opts
                    .tcp_keepalive()
                    .map(|x| std::time::Duration::from_millis(x.into()));
                Stream::connect_tcp(opts.hostport_or_url(), keepalive).await?
            };

From socket2 lib source-code it's expected in seconds (not explicitly said in doc but readable in code).
#[allow(unused_variables)]
pub(crate) fn set_tcp_keepalive(fd: Socket, keepalive: &TcpKeepalive) -> io::Result<()> {
    #[cfg(not(any(target_os = "haiku", target_os = "openbsd", target_os = "nto")))]
    if let Some(time) = keepalive.time {
        let secs = into_secs(time);
        unsafe { setsockopt(fd, libc::IPPROTO_TCP, KEEPALIVE_TIME, secs)? }
    }

And From man 7 tcp man7.org tcp or linux.die.org man 7 tcp
TCP_KEEPCNT (since Linux 2.4)
    The maximum number of keepalive probes TCP should send before dropping the connection. This option should not be used in code intended to be portable.
TCP_KEEPIDLE (since Linux 2.4)
    The time (in seconds) the connection needs to remain idle before TCP starts sending keepalive probes, if the socket option SO_KEEPALIVE has been set on this socket. This option should not be used in code intended to be portable.
TCP_KEEPINTVL (since Linux 2.4)
    The time (in seconds) between individual keepalive probes. This option should not be used in code intended to be portable.

Warning: it may be a breaking change for users who expected milliseconds.
If i am wrong don't hesitate to correct me. :)

Hi.
This is the reason, I believe. I'll consider changing this to seconds or at least adding a note in the docs.

Thanks for the reply, it's more clear!
(from tokio doc you linked)

If None is specified then keepalive messages are disabled, otherwise the number of milliseconds specified will be the time to remain idle before sending a TCP keepalive probe.
Some platforms specify this value in seconds, so sub-second millisecond specifications may be omitted.


NeuralNetwork.toJSON() fails for newly created neural networks

What is wrong?
Newly constructed NeuralNetwork objects will give an error when stringifying it as JSON. This happens when using .toJSON or JSON.stringify().
Where does it happen?
In the NeuralNetwork. My OS seems irrelevant here, but I'm running Windows 10.
How do we replicate the issue?
JSON.stringify(new brain.NeuralNetwork());
How important is this (1-5)?
2
Expected behavior (i.e. solution)
I'd think it should create a JSON object with metadata about the neural network, even if it is untrained.
Relevant part of stack trace
As seen below, it's trying to index [0] of null.

node_modules\brain.js\dist\neural-network.js:1084
nodes = (0, _range2.default)(0, this.sizes[layer]);
TypeError: Cannot read property '0' of null

Well, what's the point of turning a blank neural network into JSON for future use? I don't see any reason for it. I suggest that you handle this error for empty Neural Networks than try to figure out what is wrong.
If you train it some data, the error goes away.

Close #348

Well, what's the point of turning a blank neural network into JSON for future use? I don't see any reason for it. I suggest that you handle this error for empty Neural Networks than try to figure out what is wrong.
If you train it some data, the error goes away.

It's still an unintended bug.

I agree. I'll suggest returning a blank JSON than to create a blank template. It seems more simple that way

Is this issue fixed?
https://github.com/BrainJS/brain.js/blob/017c00895dfeb4981fc22cf69ba1870db8754c89/src/neural-network.js#L84

Mind if anyone does a pull?

Mind if anyone does a pull?

This issue should be closed right?

No, since it is not fixed yet.

No, since it is not fixed yet.

What could be a possible fix to this?

You need to call net.initialize(), if you'd like to export an untrained neural network.  Example: https://observablehq.com/@robertleeplummerjr/brain-js-issue-348


⚠ Bofrost.fr has degraded performance

In 5c63c9e, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 2114 ms

Resolved: Bofrost.fr performance has improved in 4bc12db after 23 minutes.


enable_gossip property in the .yml

Simplifying configuration commands by moving gossip enable/disable to YAML.

Replaced by #386