Connect to ADLS Gen2 using Service Principal

Hi,
I'm starting using Dask and I wanted to connecto to ADLS Gen2.
I was not finding any way to do it using a service principal and checking the code I see something that I'm not sure if make sense.
In the condition of line 324 of core.py, we are calling "self._get_token_from_service_principal()" if we don't have certain values, but one of those values is the "client_id", which seems to be required later inside that method to generate the credentials. So I guess that if I include the client_id, this is not going to call "self._get_token_from_service_principal()" and if I do not include it, I won't have the right one when it tries to create the "ServicePrincipalCredentials".
Is this ok? How can I use it correctly?
https://github.com/dask/adlfs/blob/c91106fbe9184e7c75efbc40cf292a7d5b8c8491/adlfs/core.py#L324

Fixed in adlfs 0.3.2, with supporting documentation.


Raycaster hitting shapes in opposite direction

I'm using a raycast with infinite turned off, but the raycast is hitting shapes behind me.
For example, I have a square in the middle of the room. If I'm on the right hand side of the square and face left, I hit the outside of the square the the raycast works. If I face right, the raycast now comes in from (what seems like) infinite distance away from the left and hits the square from the left side.
Facing towards the square:
https://dl.dropboxusercontent.com/u/20830426/differ_facingtoward.png
Facing away from the square:
https://dl.dropboxusercontent.com/u/20830426/differ_facingaway.png
It seems like you can replicate this in the github demo by moving the mouse past the raycaster on the left hand side:
https://dl.dropboxusercontent.com/u/20830426/differ_demobug.png
Is this a bug or a settings issue?

Can you try pull and see if it still reproduces after the commit below?
https://github.com/underscorediscovery/differ/commit/fb6932cb3eee411b99b3f3e900abc0786e28c258

wow that was a fast reply - yep that fixed it!
I noticed that when 'infinite' is turned on the same issue occurs, but I'm not sure if that's by design (I thought it would be infinite from the origin point, but perhaps its just an infinitely long line in both directions?).
Cheers.

To get infinite to work I changed line 287 to the following:
if((ray.infinite && min_u >= 0.0 && min_u != Math.POSITIVE_INFINITY) || (min_u <= 1.0 && min_u >= 0.0))
I don't know if this is the best way of doing it but it seems to work. It appears that min_u only gets modified if an intersection is detected. What I did was change line 287 so that it only returns a  collision if infinite is set and if min_u has been updated because of a collision.
I don't know if I'm misunderstanding how infinite works, but it seems to be working for me :)

This should all be fixed in 1.3.0, see the https://snowkit.github.io/differ/demo/ under the ray example, as it covers all the use cases intended!


Add ignored tests which fail in various ways when querying nested structures

This is a list of SQL tests which should pass, but fail.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Thanks for putting all of these together. I think these are all blocked by BEAM-9378 and the calcite upgrade (CC: @amaliujia). I think this is worth merging, if we just add @Ignore(BEAM-9378) on the failing test cases.
If we do go ahead with that I'd just ask that you separate out the refactor into a separate commit for ease of review.

Thanks for putting all of these together. I think these are all blocked by BEAM-9378 and the calcite upgrade (CC: @amaliujia). I think this is worth merging, if we just add @Ignore(BEAM-9378) on the failing test cases.
If we do go ahead with that I'd just ask that you separate out the refactor into a separate commit for ease of review.

Done

LGTM I think this is worth merging as well.


Turn prints into warnings where appropriate.

Fixes #135

Waiting for CI to finish, will merge it afterward.


no LICENSE in repo

Looking at the source for main.go I see an Apache 2.0 header, but there's no LICENSE actually defined for the project itself.
Please update with a LICENSE file in the root of the repository for clarity (and to make sure any other content outside the main.go file is explicitly licensed, not just that one file itself).

Thanks for the heads up; I added the LICENSE file.


Remove the additional pods from the AMS nodes

Is your feature request related to a problem? Please describe.
We have decided that it is time to free up the resources on the AMS nodes by removing the additional pods that are not needed.
This was discussed and decided in the arch meeting.
Describe the solution you'd like
Change the configuration so that the following pods will not be running on the AMS nodes, by not allowing them to run on these nodes that have specific labels and taints.
Remove the following pods from the AMS nodes:
Pod-Name                                                 Namespace
-----------------------------------------                ------------------------
- ingress-nginx-controller-****                           ingress-nginx
- fluentd-fluentd-elasticsearch-****                      fluentd
- restic-****                                             velero

Describe alternatives you've considered
Additional context
Make sure the above mentioned pods are no longer getting scheduled on the AMS nodes
Definition of done:
When the above listed pods are no longer being scheduled on the AMS nodes

closed in favor of https://github.com/elastisys/compliantkubernetes-apps/issues/808 and https://github.com/elastisys/ck8s-ops/issues/2550


MTU Size for Protocol Version 3

Please see: https://github.com/smartdevicelink/protocol_spec/issues/4

The iOS issue has more decisive information on MTU Size: https://github.com/smartdevicelink/sdl_ios/issues/256


Provide first class support for essential request and response properties in carbon message

Purpose
$subject.

Codecov Report

Merging #15571 into master will increase coverage by 20.81%.
The diff coverage is 32.25%.

@@              Coverage Diff              @@
##             master   #15571       +/-   ##
=============================================
+ Coverage      1.68%    22.5%   +20.81%
- Complexity      228     5570     +5342
=============================================
  Files           613     1595      +982
  Lines         39457    74996    +35539
  Branches       4356     9870     +5514
=============================================
+ Hits            665    16877    +16212
- Misses        38718    56226    +17508
- Partials         74     1893     +1819

Impacted Files
Coverage Δ
Complexity Δ

...java/org/ballerinalang/net/grpc/GrpcConstants.java
0% <ø> (ø)
0 <0> (?)

...ballerinalang/net/http/actions/httpclient/Put.java
14.28% <0%> (ø)
1 <0> (?)

...va/org/ballerinalang/net/grpc/OutboundMessage.java
0% <0%> (ø)
0 <0> (?)

...allerinalang/net/http/actions/httpclient/Post.java
14.28% <0%> (ø)
1 <0> (?)

...lerinalang/net/http/actions/httpclient/Delete.java
14.28% <0%> (ø)
1 <0> (?)

...alang/net/http/BallerinaHTTPConnectorListener.java
0% <0%> (ø)
0 <0> (?)

...allerinalang/net/grpc/ClientConnectorListener.java
0% <0%> (ø)
0 <0> (?)

...erinalang/net/http/actions/httpclient/Execute.java
5.55% <0%> (ø)
1 <0> (?)

...erinalang/net/websub/WebSubResourceDispatcher.java
0% <0%> (ø)
0 <0> (?)

...erinalang/net/http/actions/httpclient/Forward.java
4.54% <0%> (ø)
1 <0> (?)

... and 996 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 f452f57...18a6d29. Read the comment docs.


CB-11074 - Ensure settings from config.xml are taken into consideration

Take note of the disabled testConfigurationWithMediaPlaybackAllowsAirPlay unit test which demonstrates that the allowsAirPlayForMediaPlayback is not sticky (apparent Apple bug).
Also, mediaPlaybackRequiresUserAction configuration default differs on iOS 10 versus earlier versions (on iOS 10 it defaults to NO, when it was YES, previously). Probably due to: https://webkit.org/blog/6784/new-video-policies-for-ios/
This preserves updateWithInfo which is needed to update other settings, which was deleted in the other two pull requests.

Without having tested this, it seems reasonable to me


Embassy-sync: pipe - only partial bytearray written

Weird issue I encountered this morning, could be that I'm not using the pipe correctly but here it is nonetheless:
In essence, if I write u8 byte arrays to the pipe, even when there is space available in the pipe, the try_write function does not write the entire array to the pipe if the total number of bytes that have been written to the pipe in total nears the pipe's size.
For example:
I've got a pipe:
static SHARED_RX_PIPE: Pipe<ThreadModeRawMutex, 30> = Pipe::new();

say we have a byte array u8, of 20 elements we want to write to the pipe, we can do this as such:
let array: [u8;20] = [0;20]
let pipe_writer = SHARED_RX_PIPE.writer();
pipe_writer.try_write(&array[..]).unwrap();

This works fine, another task now reads all of the values, and the length of the pipe is thus 0 again.
Now if we try to write the same array again, only 10 bytes will be written to the pipe, even if the pipe is empty:
pipe_writer.try_write(&array[..]).unwrap(); // No error is returned, but only 10 bytes are written

If I loop over each one of the bytes individually and add them (thus not trying to add them as a slice), this works fine, each time.
for i in 0..20 {
    pipe_writer.try_write(&[array[i]]).unwrap();
    //pipe_writer_responses.try_write(&[buffer[i]]).unwrap();
}

Is there perhaps some wrap-over error occurring?
Thanks for this awesome project. It has made embedded fun again.

This is sort of working as intended. Pipe is a byte stream, so reading/writing work like the std::io traits:: they're always allowed to do "short writes". There's no guarantee like "if there is enough space for the entire buffer, then it will be entirely written".
If you want to write the entire buffer, you have to loop, or you can use write_all which does it for you.

Thanks for the clarification Dirbaio. I'll close this issue.


[3.0] ui: fix forced node removal modal paragraphs

bsc#1095252
Signed-off-by: Vítor Avelino<EMAIL_ADDRESS>(cherry picked from commit f50fb8a798de5e4ef04c2696b987b65be4b21849)
Backport of #567

Not sure we can backport this without a bsc#

I was afraid to get that comment =/

 Bug 1095252 - Wrong usage or paragraphs on force removal confirmation modal

Damn, I just missed that and I created (and merged) https://github.com/kubic-project/velum/pull/569 ...
Closing this one.


Fix bug in handling starttime and endtime

This is fixing #485 #484

I am not sure what to do with the error. The test that failed basically set starttime in exclude_keys. With the new changes, exclude_keys do not work on starttime and endtime. While I don't think people would ever do that, it does complicates things as exclude_keys now has exceptions.

Maybe those keys should be added in md2doc? What do you think? @pavlis

Three attributes in wf documents are special and need to be handled with care.   They are:  starttime, endtime, and npts.  The reason they are so special in MsPASS is that all three must be closely linked with three internal attributes that are part of the C++ class (attributes of the class):  npts, dt, and t0.  The endtime attribute is more of a sanity check as endtime is a method of BasicTimeSeries that is the superclass of both TimeSeries and Seismogram.   If we have tests listing any of these attributes int he exclude list the tests need to be changed.
These cannot be handled in md2doc.  The reason is that the "md" in md2doc is for Metadata.  The starttime attribute in Metadata can become disconnected with the value of the "t0" attribute in a TimeSeries or Seismogram.   I think a problem can happen because one can set t0 with a constuct like d.t0=t or d.set_to(t).  The later resets the "starttime" Metadata field but the first does not.   For that reason save_data must force starttime.   endtime is different because it is always derived, but is worse because i could also be stale when any of t0, npts, or dt change.


Try docker-compose 2.4.0

The Problem/Issue/Bug:
The previous release, 2.3.4, was unusable, so we'll run a set of tests against this one.

docker-compose 2.4.0 is nonfunctional - mounts parent directory instead of what it should mount.

https://github.com/docker/compose/issues/9344


Legend for line chart

Are there any plans to implement a legend for line chart? in case there are multiple lines shown then the legend should show each series/line name (See attached image)

+1

Agreed this would be nice. Would be happy to review PR for anyone who wants to submit one. This one is similar to #105 asking for the same thing but for the pie chart instead of a line chart

Any update regarding this enhancement? I need to show legend in my stock lime graph.
Thanks!


Unhandled Promise Rejection for 'ctra --help'

When command 'ctra --help' is executed the following error occurs:

(node:11092) UnhandledPromiseRejectionWarning: Error: You must specify an action, e.g.: cantara e2e
at Object. (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\cli-tools\index.js:103:31)
at step (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\cli-tools\index.js:44:23)
at Object.next (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\cli-tools\index.js:25:53)
at C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\cli-tools\index.js:19:71
at new Promise ()
at __awaiter (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\cli-tools\index.js:15:12)
at Object.execCantaraCommand (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\cli-tools\index.js:97:12)
at Object.setupCliInterface [as default] (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\cli\index.js:175:24)
at main (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\index.js:9:18)
at Object. (C:\applications\nvm\v12.13.0\node_modules\cantara\dist\index.js:11:1)
(node:11092) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:11092) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Will be fixed with #5
There is currently no --help command 😬


Fix issue with encoding nested keywords

Also allow keywords to be passed directly to the BSON.encode/1 function.

Thank you!


python3.pkgs.systemd: Fix compatibility with Python 3.10

Description of changes
Required for fail2ban to start correctly:
https://github.com/systemd/python-systemd/issues/107

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Verified that after applying this patch, fail2ban starts without printing the following error on startup:
fail2ban.jail[556855]: INFO Creating new jail 'sshd'
fail2ban.jail[556855]: INFO Jail 'sshd' uses systemd {}
fail2ban.jail[556855]: INFO Initiated 'systemd' backend
fail2ban.filter[556855]: INFO   maxLines: 1
fail2ban.transmitter[556855]: WARNING Command ['server-stream', …] has failed. Received SystemError("PY_SSIZE_T_CLEAN macro must be defined for '#' formats")
fail2ban[556855]: ERROR NOK: ("PY_SSIZE_T_CLEAN macro must be defined for '#' formats",)

When is this going to be merged ? I'm just having errors with fail2ban due to this I believe, when I just did `nixos-rebuild test --upgrade :
fail2ban-server[64881]: ERROR: cannot import name 'MutableMapping' from 'collections' (/nix/store/6wiycdxh63mk4krdd75db0hshicna6yy-python3-3.10.4/li>

Thanks !


Migrate to date-fns 3.0.0 or remove dependency

Is your feature request related to a problem? Please describe.
date-fns 3.0.0 improves imports allowing for smaller bundle sizes without tree shaking
attempting to use date-fns 3.0.0 alongside react-datepicker which uses 2.x.x causes errors
Describe the solution you'd like
Migration or branch to date-fns 3.0.0 (this would be a major release or react-datepicker)
or
Refactor to remove this dependency

This is a duplicate of https://github.com/Hacker0x01/react-datepicker/issues/4433. We welcome any contributions to upgrade to the latest version.


parse integer from string before converting to integer

Signed-off-by: Mike S<EMAIL_ADDRESS>Description
Fixes integer comparison on CentOS 8.3.2011 so /usr/libexec/openssh/sshd-keygen is run instead of /usr/sbin/sshd-keygen.
Issues Resolved
Resolves #139
Check List

[ ] All tests pass. See TESTING.md for details.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

Not needed.


Progress Bar when importing data

It would be very nice if we could have a progress bar when we are importing data. With large amounts of data (several images for example) we have no reference if the import process is working.

Are you talking about S3/GSC storages or Local storage?

In this case I am talking specifically of local storage, but I don't know if that is also the case for S3/GSC storage.

How many tasks do you try to import? Do you use LS on your local machine?

I was trying to import 8000 images more or less.

Ok. Do you import them as a task json file?
On Mon, Jul 6, 2020, 11:07 mcombalia<EMAIL_ADDRESS>wrote:

I was trying to import 8000 images more or less.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/heartexlabs/label-studio/issues/335#issuecomment-654083183,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD2QFGXILINVXHHJNRIYKLR2GA2VANCNFSM4OMHBYKQ
.

I was dragging them to the browser window (the image files). At the end I decided to import them as csv and it worksbetter, but I think it would still benefit from a Progress Bar.

When you use a lot of images it is better to import them over console at
label studio start:
https://labelstud.io/guide/tasks.html#Directory-with-image-files
On Mon, Jul 6, 2020, 11:40 mcombalia<EMAIL_ADDRESS>wrote:

I was dragging them to the browser window (the image files). At the end I
decided to import them as csv and it worksbetter, but I think it would
still benefit from a Progress Bar.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/heartexlabs/label-studio/issues/335#issuecomment-654098404,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD2QFAJHRMRL4WEMDYWHM3R2GEXFANCNFSM4OMHBYKQ
.

Thanks that was very useful! It worked fine. However, still I think maybe a future feature could be the inclusion of a progress bar.
Thanks :)

@mcombalia Can you check importing speed with the last commit in the branch release/0.7.4 ? I hope progress bar is not necessary now.


Add "more" links below Congressional Record entry summaries

Don't see a spot that calls for 'more' links. Will reopen and add if anyone has specifics.


Track Length check to confirm video ad is playing

Will this fix the crash you mentioned in #41 ?
It seems like this only updateds IsAd()

True it only updates IsAd()
If the Track Length is "0" it will be no track for sure and a video returns "0"
So when its "0" will threat it as an ad and will not update the track
As with the new code it will fix the crash that @iUltimateLP mentioned
if (track.IsAd())
                return;


custom resolve for a field

Hi,
I would like to know if there's a way (or if you're envisioning one) of having a custom resolve method for a specific field. For instance, imagine I've got a field that to be populated I must engage to a third party API or another database.
Best regards.

hi @magalhas not yet but good idea. Could you send a pr?

I guess a good place would be the graffiti models used internally? Maybe we can pick up a resolve method from mongoose models (if provided) and use them instead of the ones generated.

@hardchor I agree. Eventually the graffiti models to graphql models generator should be in a different package. I made progress to decouple the implementation in this direction.

I am closing this in favor of #42.


Add increment decrement couter using ReactJS

This fixes #174
I am Gssoc'22 participant
Checklist:

[x] My code follows the style guidelines of 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 included a README.md file
[x] My project follows this structure: Domain Folder/ Project Name Folder/ Project files and Readme.md files
[x] I have added demonstration in the form of GIF/video file
[x] I am a GSSoC'22 Participant

Sample Video:
https://user-images.githubusercontent.com/78564629/158885992-91f85bd1-48f8-43c0-a88a-25133f6fb0eb.mp4

Please review, I have added everything(readme, file) @abhijeet007rocks8 @heet-kumar @manisha-27


[layers] Move constructors must be noexcept

Make all move constructors to be noexcept
Without noexcept, compiler many times does not use move constructor but rather uses copy constructor
Self evaluation:

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

Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

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


Fix typo in task description

All tasks were with the same description, which was hard to identify the steps checking the logs. This is a simple patch to fix the description for each task in the playbook.
This PR has:

[ ] Appropriate testing (molecule, python unit tests)
[ ] Appropriate documentation (README in the role, main README is up-to-date)

/lgtm


⚠ Bofrost.at has degraded performance

In 86e2926, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1971 ms

Resolved: Bofrost.at performance has improved in 9cc294e.


Precision sawmill will not accept torches or ladder as input

Issue description:
Precision sawmill will not accept torches or ladder piped in from any side, regardless of transport settings or technology used for transport (hopper, logistical transporter, whatever).
The recipes for torches and ladder work if torches or ladders are loaded manually, but not for torches or ladders piped in via automation.
Piping in logs works just fine.
Forge: 1.12.2-<IP_ADDRESS>5
Mekanism: Mekanism-1.12.1-<IP_ADDRESS>6

Works fine for me.

Works fine for me too, closing due to inactivity.

Reproducible with basic logistical transporter. When the transporter's end is designated to pull from the chest, the single torch is pulled from the chest and ejected from the transporter mid-transit.
To avoid this quirk ( especially a pleasure for the newcomers ), either advanced logistical transporter is needed or ANY other piping (e.g. thermal servo/itemduct )that transports items in packets of 4 or more
Forge: 1.12.2-<IP_ADDRESS>15
Mekanism: Mekanism-1.12.2-<IP_ADDRESS>6

Don't worry, the devs have confirmed this one and marked it as needing fixed in the next release (IIRC, the itemstack handler code need updating).  Do not ask me how long it took me to figure out I needed to use something like the ESM from IC2 (which I prefer to the TE methods) to work around this bug.


Fixed hyperlinks for different ConfigMap headers

ConfigMap Header names are starting with "create", but in link it is written as "creating", because of that hyperlink was not working.

This change is

Yes, links are working now. Here is test link


Fixes NameError exception with deprecated ActiveSupport method

Related to #7.

Great! This PR fixed my issue that I filed a while back #7

What do we need to pull this in?

Works for me too. Thanks! Had to fork and update rails dependancy to allow for Rails 5 as well though.


selecting frequency components

Hi, I want to know how did you select the frequency components like Figure6?
I want to select 1, 3, 6, 10 frequencies like zigzag DCT.
And, I want to know the meaning of the numbers in the layer.py.
num_freq = int(method[3:])
if 'top' in method:
    all_top_indices_x = [0,0,6,0,0,1,1,4,5,1,3,0,0,0,3,2,4,6,3,5,5,2,6,5,5,3,3,4,2,2,6,1]
    all_top_indices_y = [0,1,0,5,2,0,2,0,0,6,0,4,6,3,5,2,6,3,3,3,5,1,1,2,4,2,1,1,3,0,5,3]
    mapper_x = all_top_indices_x[:num_freq]
    mapper_y = all_top_indices_y[:num_freq]
elif 'low' in method:
    all_low_indices_x = [0,0,1,1,0,2,2,1,2,0,3,4,0,1,3,0,1,2,3,4,5,0,1,2,3,4,5,6,1,2,3,4]
    all_low_indices_y = [0,1,0,1,2,0,1,2,2,3,0,0,4,3,1,5,4,3,2,1,0,6,5,4,3,2,1,0,6,5,4,3]
    mapper_x = all_low_indices_x[:num_freq]
    mapper_y = all_low_indices_y[:num_freq]
elif 'bot' in method:
    all_bot_indices_x = [6,1,3,3,2,4,1,2,4,4,5,1,4,6,2,5,6,1,6,2,2,4,3,3,5,5,6,2,5,5,3,6]
    all_bot_indices_y = [6,4,4,6,6,3,1,4,4,5,6,5,2,2,5,1,4,3,5,0,3,1,1,2,4,2,1,1,5,3,3,3]
    mapper_x = all_bot_indices_x[:num_freq]
    mapper_y = all_bot_indices_y[:num_freq]
else:
    raise NotImplementedError
return mapper_x, mapper_y

solved. Thank you!

Hi, I want to know how did you select the frequency components like Figure6?
I want to select 1, 3, 6, 10 frequencies like zigzag DCT.

Hello,  I want to know how did you select the frequency components too, can you share a little , thank you very much!


Add multi quota tree

Ⅰ. Describe what this PR does
add quota manager  for profile

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/lgtm

/lgtm
/approve


Add Currency to the Wallet input struct

Hi, The Currency field in for the input of creating a Wallet seems to be required according to the documentation but it wasnt included in the GO Library. I have added it in this pull request.

Thank you @HenkBourgonje for this pull request.
Indeed this was an issue with the Go library.
I'm merging it right away. It will part of the next release

@vincent-pochet thank you for the fast response!


ZRANGEBYLEX usage

Hi :)
I am sorry to bother you, but I cannot figure how to use zrangebylex in ioredis.
I found the command using ioredis-command but I can't come around with the proper function call.
In my redis console I can input
zrangebylex _gpu [GTI "[GTI\xff"
And get an array of results, how can I do this with your awesome lib ?
Where can I look to find every command available and their signature in ioredis ?
Thanks a lot for your time and your work!
Cheers :]

Just pass the arguments correspondingly:
> redis-cli
zrangebylex myzset [aaa (g

redis.zrangebylex('myzset', '[aaa', '(g')


Prepare Changlelog for 1.8.0

Breaking Changes ✔

Refactor TapHold handler (#7026 by @johnd0e)
Refactor DivOverlay/Popup/Tooltip (#7540 by @johnd0e)
Move Popup related options from DivOverlay to Popup (#7778 by @Falke-Design)
Change Tooltip class from leaflet-clickable to leaflet-interactive (#7719 by @Falke-Design)
Map.closeTooltip: make argument not optional (#7533 by @johnd0e)
Refactor DomEvent.Pointer (#7059, #7084, #7415 by @johnd0e)
Refactor DoubleTap simulation (#7027 by @johnd0e)
Refactor disableClickPropagation (#7439 by @johnd0e)
Change undefined argument handling in Map.hasLayer() and LayerGroup.hasLayer() (#6999 by @johnd0e)
Events: improve argument handling (#7518 by @johnd0e)
Class.include keep parent options (#7756 by @johnd0e)
Avoid modifying source props object in Class.extend (#6766 by @johnd0e)
Control.Layers: stop relying on Browser android and touch properties (#7057 by @johnd0e)
Get rid of android legacy hacks (#7022 by @johnd0e)
Correct Browser.touch (#7029 by @johnd0e)

API changes ✔

Make DivOverlay / Tooltip interactive (#7531, #7532 by @johnd0e)
Add referrerPolicy to TileLayer (#7945 by @natevw)
Add playsInline to VideoOverlay (#7928 by @Falke-Design)
Refactor Popup/Tooltip to use common code from DivOverlay (#6639 by @johnd0e)
Add getCenter to ImageOverlay (#7848 by @Falke-Design)
DomEvent.off(el) removes all listeners (#7125 by @johnd0e)
Allow to prevent round-off errors by passing false to Util.formatNum / toGeoJSON (#7100 by @johnd0e)
Fire a tileabort event when a TileLayer load is cancelled (#6786 by @dstndstn)
Add crossOrigin to L.Icon (#7298 by @syedmuhammadabid)

Improvements ✔

Replace div with span in Control.Layers container. Fix HTML error "Element div not allowed as child of element label" (#7914 by @tmiaa)
Improve memory footprint by removing will-change CSS property on tile images (#7872 by @janjaap)
Better icon image path detection (#7092 by @johnd0e)
Remove all references of Bower (#7831 by @jonkoops)
Makes L.Browser mutable (#7335 by @bozdoz)
Converte Plugins.md to single files (#7805 by @Falke-Design)
Move code from L.Layer to L.Control.Attribution (#7764 by @johnd0e)
Minifiy marker icon svg (#7600 by @rala72)
Remove Browser.touch check for Tooltip (#7535 by @johnd0e)
L.GridLayer.onAdd: avoid excessive _update() call (#7570 by @johnd0e)
Update panInside calculation (#7469 by @daverayment)
TileLayer allow template keys in url with spaces (#7216 by @lubojr)
Tooltips can rely on parent layer getBounds() too, so they work on ImageOverlays (#7306 by @IvanSanchez)
Refactor vmlCreate() so that it does not expose closure to TypeError (#7279 by @darcyparker)
Remove gap between Popup tip and content dialog (#7920 by @Malvoz)
Fire mousemove through Canvas to map if it has no layers (#7809 by @johnd0e)
Add print styles to prevent printers from removing background-images in controls (#7851 by @Malvoz)

Accessibility ✔

Add accessibility section to plugins guide (#7277 by @Malvoz)
Hide the attribution separator from screen readers (#7969 by @Malvoz)
Apply :hover styles to :focus as well (#7274 by @Malvoz)
Set role="button" on the <a> Layer control (#7850 by @Malvoz)
Enable outlines on leaflet-container for keyboard users (#7996 by @Malvoz)
Multiple enhancements to popup's close button (#7794 by @Falke-Design)
Hide the +/- characters in zoom controls from screen readers to prevent erroneous announcements (#7795 by @Falke-Design)
Make the disabled state of zoom controls available to screen readers (#7280 by @akshataj96)
Update Marker: role=button, alt=marker (#7895 by @tmiaa)
Use relative font-size units for resizable text (#7800 by @Chandu-4444)
Allow WCAG21 focus visible criteria for keyboard navigation by not stripping outline on focus for keyboard events. (#7259 by @jafin)

Docs ✔

Upgrade Code of Conduct to Contributor Covenant v2 and improve its visibility (#7984 by @mourner)
Lint examples (#7827 by @mourner)
Update usability in Docs (#7982,  #7703, #7950, #7906, #7907, #7696, #7816, #7345, #7815, #7948, #7901 by @Falke-Design, @avioli, @Malvoz, @fulldecent, @saerdnaer, @MxDui)
Typos / Fixes in Docs, Samples, ... (#7263, #7284, #7339, #7349, #7381, #7371, #7485, #7380, #7578, #7758, #7602, #7857, #7860, #7336, #7819 by @timgates42, @IvanSanchez, @ipovos, @elfalem, @BakuCity, @simon04, @user073, @Dev-Steven, @vanillajonathan, @aquelle-cp, @matkoniecz, @Falke-Design)

Update API Docu:

Clarify zoomend event (#7460 by @xeruf)
Add false to prefix of Control.Attribution (#7814 by @Falke-Design)
LayerGroup inherit from Interactive Layer (#7763 by @johnd0e)
Improve Map.panInside documentation (#7397 by @daverayment)
Update Renderer documentation to clarify tolerance option is for Canvas only (#7515 by @Hippl-Eric)
Add documentation for Event-Listener propagate argument (#7103 by @riffaud)

Bug fixes ✔

Fix Marker position while zooming (#7967 by @Falke-Design)
Fixing noConflict (#7855 by @Falke-Design)
Fix opening / closing Tooltip while dragging map (#7862 by @Falke-Design)
Break the reference to the options of the Class prototype (#7459 by @Falke-Design)
Make permanent & sticky Tooltip option working together (#7563 by @Falke-Design)
Locate: Check if map container is still connected with Leaflet (#7813 by @Falke-Design)
Tooltip.bindTooltip should unbind existent tooltip (#7633 by @Falke-Design)
Correct if condition to add zoom limits for Layer (#7609 by @vcoppe)
GridLayer redraw tiles after changing maxNativeZoom (#6443 by @cherniavskii)
Fix Popup keepInView if the map needs to panned over a long distance (#7792 by @Falke-Design)
add/removePointerListener: tolerate wrong event names (#7808 by @johnd0e)
Reset width & padding to prevent cascading CSS from breaking tile rendering (#6843 by @Spudley)
Canvas: mousedown event not called after dragging map (#7781 by @johnd0e)
Decrease console.warn pollution (#7748 by @johnd0e)
Fix contextmenu event default-preventing when there are >1 target candidates (#7544 by @johnd0e)
Prevent click on Popup-tip from firing on map. (#7541 by @johnd0e)
Fix error by calling Path.setStyle before adding the layer to the map (#6941 by @NielsHolt)
Reset BoxZoom after cancel with ESC (#7597 by @Falke-Design)

Plugins ✔

Add / Update Plugins (#7986, #7956, #7942, #7888, #7896, #7885, #7875, #7874, #7833, #7834, #7832, #7812, #7786, #7802, #6534, #6547, #7367, #7392, #7412, #7631, #7437, #7408, #6500, #7957, #7484, #7236, #7053, #7050, #7312, #7623, #7534, #7626, #7553, #7423, #7619, #7065, #7663, #7690, #7180, #7714, #7665, #7179, #6641, #7647, #7635, #7473, #7471, #7363, #7323, #7295, #7292, #7291, #7257, #7276, #7470, #7700, #7617)

Workflow ✔

Add Bundlemon to watch bundle size (#7934, #7983, #7905 by @jonkoops)
Add npm run serve to serve docs on localhost (#7973 by @Falke-Design)
Rename master branch to main (#7921 by @jonkoops)
Upload files to AWS even if the file-size is the same (#7853 by @jonkoops)
Remove leaflet-include.js from debug samples (#7776 by @Falke-Design)
Lint adjustments (#7676, #7743, #7757 by @jonkoops, @mourner)
Simplify release process (#7711, #7854, #7727 by @mourner)
Simplify docs update process on release (#7730 by @mourner)
Update dependencies and add Dependabot config (#7455, #7653, #7677, #7725 by @jonkoops)
Split main workflow into multiple parallel jobs (#7710 by @jonkoops)
Run CI on Github actions (#7691, #7654, #7702 by @jonkoops)
Continue running tests even if one fails (#7723 by @jonkoops)

Tests ✔

simplify .near and .nearLatlng usage (#7820 by @johnd0e)
Run tests on Internet Explorer 11 (#7741 by @jonkoops)
Run tests on FirefoxNoTouch (#7736, #7742 by @johnd0e)
Drop PhantomJS from test suite (#7660, #7724 by @jonkoops)
enforce forbid-only rule in the continuous integration (#7448 by @johnd0e)
Increase captureTimeout and browserSocketTimeout (#7856 by @Falke-Design)
Added / update tests (#7790, #7147, #7721, #7461, #7126, #7451, #7450, #7447, #7438 by @Falke-Design, @johnd0e, @phloose)
Added missing Test-Spec-Files to index.html (#7845 by @Falke-Design)

@mourner @Malvoz @IvanSanchez @jonkoops this are all commits since 1.7.1 I sorted them by category but now they need a deeper check and a better describtion, help is welcome. I suggest to simply edit the main post and add ✔ to the commit.
Many commits are follow ups from one Feature / Bug or to revert some changes. So we need to check which commits are releated to the same topic and merge them together.
The biggest changes in this release are:

Refactor [touch/pointer] events
Refactor DivOverlay/Popup/Tooltip
Accessibility

Also I would like to add a thank you for @johnd0e to the Release notes. He refactored the touch events and DivOverlay without much help. Maybe I'm wrong but in my eyes kept @johnd0e Leaflet alive until we get a fresh wind in November.

Thanks @Falke-Design, much appreciated. I don't think I will have much time in the coming weeks, but I will try to see if I can walk through some of them. Unfortunately with the invasion of Ukraine I think @mourner has other priorities at the moment, so we'll have to get this done with the rest of the team.

Yes I think too, but I still wanted to inform him even though he wont see it.
I already made the first points and it wasn't that much work for me. So if you don't have time, let me do it, is no problem ;)

Thanks for doing all this work @Falke-Design! I'm a bit busy atm but a couple of notes:

Accessibility changes

https://github.com/Leaflet/Leaflet/pull/7851 probably does not belong to that list, since it's just a small UX improvement for printed maps.

Add fallbacks to font-size (https://github.com/Leaflet/Leaflet/pull/7800 by @Chandu-4444)

I think the title of this item can be renamed "Use relative font-size units for resizable text".

Thanks so much for taking on this huge task @Falke-Design! I haven't read this through carefully, but several improvement tips I usually use when writing changelogs:

Sort everything from most important to least important. For categories, it should roughly be 1) Breaking changes, 2) Features & Improvements, 3) Bugfixes, 4) Everything else. Within each category, also sort from most impactful to least.
Where possible, reword changes to reflect impact on the user rather than underlying change. E.g. not "Remove will-change", but rather "Improve memory footprint by removing will-change CSS property on tile images".
Edit for consistency — e.g. same form ( ...), capitalized, etc.

Once the changelog is ready, I think we can simply tag a new version and do a release. Given the huge number of changes, we could first do a v1.8.0-beta.1, ask people to test it out, and then do a final a week later.

@Falke-Design let me know when you think the changelog is ready for publishing.

@IvanSanchez maybe you can have a quick editing run on it when you have a chance. We can create a "draft" release in the GitHub Releases section to quickly edit the changelog for convenience.

I will finish it in the next days. My biggest problem will be reword changes to reflect impact on the user. I will reword them to show the impact on the user but I think someone has to go over it, to make the sentences grammitcal correct 😄

I've resolved https://github.com/Leaflet/Leaflet/issues/8021#issuecomment-1053606589, and https://github.com/Leaflet/Leaflet/issues/8021#issuecomment-1059765135:

E.g. not "Remove will-change", but rather "Improve memory footprint by removing will-change CSS property on tile images"

and also turned the generic "Accessibility changes" list item with 10 or so items to individual list items with descriptions.

Very nice!

@Falke-Design I've made many small changes, to reword a few descriptions and to roughly "Sort everything from most important to least important" per https://github.com/Leaflet/Leaflet/issues/8021#issuecomment-1059765135, almost all of my edits are to the Accessibility section.
Also added some of the latest PRs that have been merged.

Should we remove the Plugins section?

I think so. It looks like there are only about 10 "plugin" entries in CHANGELOG.md and they're regarding breaking changes that affect plugins and otherwise compatibility, not regular additions/updates.

Fantastic work everyone! Making an edit pass now, please stand by.

You can find the edited draft for the v1.8.0 changelog here — let's follow up with any edits in GitHub Releases section from now on: https://github.com/Leaflet/Leaflet/releases/tag/untagged-6040f9e0a17f2efc871a


Make the spec validator configurable

In the current implementation, all the options (e.g. framework) in the spec is all hardcoded, including keys in the general RDF which are meat to be undefined (e.g. type).
It would be good that if we can separate the values (e.g. in a separate json config file), and keep the dry rules in the validator code. This means when we add a new type or framework, we don't need to change the source code or upgrade spec version.

But aren't valid values for specific fields part of the spec version? Adding or removing any would require a spec version bump, otherwise the released spec version could become inconsistent...

But aren't valid values for specific fields part of the spec version? Adding or removing any would require a spec version bump, otherwise the released spec version could become inconsistent...

I think that's the current behavior, but I think it would worth some more discussion to see what's the best option.
We can separate the dicussions into two parts:

regarding the implement, Maybe it's a personal favor, I don't like hardcoded stuff in the code in general, so even if we want to bump version for any change to the spec, I would keep the code dry and take out the options store it in either a module or a json file. The advantage is that when we want to add new types, new definiton, we don't touch the code, but only the config. I would vote for json because this will allow the website/packager to pull those information directly.

regarding whether we should bump the spec version for any change in the added or removed options, we need to keep in mind that every new version we create, we make all our previous model looks older (even if the change does not affect the consumer software at all), and it create confusion for the developer since they won't know it's a breaking change or simply because we now defined a new preprocessing type which doesn't affect anything. So I would propose we see the frameworks/pre/postprocessing options differently, we take out them from the spec, but treat them as "implmentations" of the validator. This means if we add or remove stuff, we keep the spec version but change the validator version. This will make the spec version more stable, and more meaningful for the developers. A spec version change means we added or removed some keys, not because of we now support a new framework mxnet which we should have added in the beginning.

Happy to see what you think.

regarding the implement, [...]

IMHO the "spec code" is marshmallow and our whole spec-bioimage-io uses that marshmallow library to specify our specific BioImage.IO RDFs. We discussed at length how to do this and tried json schema besides marshmallow. We decided to stick with marshmallow as it allows more precise validation compared to json schema (and the generation of json schema). Of course the code base can be improved, there is room for interesting discussions and improvements. None of which seem urgent at this point, though.

2 a regarding whether we should bump the spec version for any change [...]

this is what we can use the patch part of the format versions for. small changes that do not invalidate existing resources. major and minor version can be very stable with non-invasive patch changes. Any addition of framework/pre-/postprocessing could contribute to a patch bump. And yes, we should strive for this!

IMHO the "spec code" is marshmallow and our whole spec-bioimage-io uses that marshmallow library to specify our specific BioImage.IO RDFs. We discussed at length how to do this and tried json schema besides marshmallow.

To be clear, I am not suggestion json schema, I propose that we extract those configurable options (e.g. framework) and store it in a json file. Same as the SPDX license which are stored in a json file, so one can easily add and remove license without touching the code, I think we should do the same for those options. It's rather a way to make it easier for the those who don't actively work with the library. This should even be in a contributor guideline, e.g. if you want to add a new type of framework, edit this json file.
This would be a good way to enable more collaborations on it, otherwise, even for me, I won't be confident to change the code to just add some options.

Of course the code base can be improved, there is room for interesting discussions and improvements. None of which seem urgent at this point, though.

Right, the easier we make it to maintain by multiple people (or even the external users) the better.
Sure this is not urgent, but it's nice to discuss this. And in general don't take everything I posed here as urgent. In most case I just want to record it down. But it's easily enough to extract those configurable values and store it in a separate file, I might do it later.

this is what we can use the patch part of the format versions for. small changes that do not invalidate existing resources. major and minor version can be very stable with non-invasive patch changes. Any addition of framework/pre-/postprocessing could contribute to a patch bump. And yes, we should strive for this!

Good!


Final Fantasy 8

Project link: https://github.com/MaKiPL/OpenVIII-monogame
Project license: MIT License
Does it work on 64-bit only Linux: MAYBE
Is source code available?: YES
Is source code stored in Git?: YES
List of Steam AppIds of supported games:

https://steamdb.info/app/39150/
https://steamdb.info/app/1026680/

Additional information
OpenVIII-monogame
They keep saying remaster. I don't think they know what that means.

Does this support both the original and remastered?

From https://makipl.github.io/OpenVIII-monogame/
Is Steam version enough to play with OpenVIII? Can I use PC2000 version?
Yes. The Steam release is the best option to be used with OpenVIII. Other than that we also fully support the first PC release.
It looks like he wrote that before the "remaster". There should be some large data file that's constant between all 3 versions. PC2000, Steam (Normal) and Steam Remaster. Still digging into what is available.

This one requires research (similar to Flotilla FNA) for building with MonoGame and providing necessary dependencies.
How playable is this engine? I'd also need to know if the remastered version worked or only the original.

It looks like at the moment the engine isn't ready for packaging.
One of the big things there is that the Linux directory path is hardcoded (https://github.com/MaKiPL/OpenVIII-monogame/issues/181) which would make it difficult to package this for wide use.
If that changes, let me know so I can re-open.


StyleCop msbuild discussion

Moving conversation started in #9 (ReSharper 9.2 support) around msbuild to a new thread.

@adamralph, as part of the ReSharper work, I haven't changed StyleCop itself, just the ReSharper plugin, so the existing msbuild stuff will work just fine.
What would ReSharper need to do differently in the scenario where you have the msbuild support installed?

@jimmyheaddon - I haven't looked but I suspect making msbuild respect the Settings.StyleCop "Treat violations as errors" wouldn't be too tricky. Of course, if you fancy taking a look yourself, pull requests would always be welcome :)

So, I was going to discuss plans for msbuild here, but that response grew a bit to include all of StyleCop, so I've opened yet another issue :)
Please take a look at #12, and see what you think.


Add episode 03 (Repeating Actions with Loops).

Dear @maikia,
I'm not exactly sure that this episode will fit in (5 + 5) minutes, hence the flexible coffee break (somewhere between 20 and 30 minute-long)...
Thank you,
Marianne

Don't forget to add the link to the README

Good catch! Done 49c5b47b93.


Simulations keep on cancelling after completion

Recently I have been facing the issue regarding Simulations running for resource scheduling optimization.
I have scheduled and they are running on specific timings but before I open and go for "APPLY CHANGES" options the simulation cancels out

I recently figured out that when simulations are being completed in bunch and when any amongst them is closed others cancels out automatically. Is this due to conflicts?

@MansiMorzariya looks like you removed the reference for the article you are referring to so we don't know how to help you. I'm closing this issue. You can reopen it and provide more context or open a new one on the article in question while keeping the default information in the description in place.
Thanks,
Michael


Add +powershell to lang/sh module

Added ability to get syntax highlighting on powershell scripts. Also added check for LSP to enable completion

I have made the changes in my fork but the changes are not reflected in the PR

Looks good to me. Thanks for your help!


Fix pinpointer interactions with cryogenic storage units and special respawn objectives

About the PR
Currently, CryostorageSystem sends mobs to a paused map while keeping track of their equipment. This breaks pinpointer interactions such as the nuclear authentication disk.
With this PR, a pinpointer can search for 'proxy' targets from systems that respond accordingly. Cryogenic storage units are one example which allow the pinpointer to track the unit itself while the real target is somewhere off-map. Once the target is returned, the pinpointer automatically switches to it.
This PR also makes pinpointers switch to the new entity after a special objective has been deleted and respawned.
Why / Balance
#25055
Technical details

Adds BeforeEnterCryostorageEvent, AfterExitCryostorageEvent and SpecialRespawnEvent for PinpointerSystem to react to
Adds GetPinpointerProxyEvent for CryostorageSystem to respond to

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: Krunk

fix: Pinpointers continue to track objectives after they enter or exit cryogenic storage units.
fix: Pinpointers continue to track special objectives after they've respawned.

@Krunklehorn is this better off just using polymorph as otherwise we'll get problems with anything else that shunts to another map.

@metalgearsloth How about this? Systems still handle the parenting/unparenting, but now paused map storage is a common system which can at least mark entities and raise an event on arrival/departure.

@Krunklehorn you coming back to this?

No, someone else can pick it up from here.


Support jacoco.xml sourcefiles that don't have branches information

For example this file produces:
    <class name="net/uniform/html/renderers/HiddenRenderer">
      <method desc="()V" line="31" name="<init>">
        <counter covered="3" missed="0" type="INSTRUCTION"/>
        <counter covered="1" missed="0" type="LINE"/>
        <counter covered="1" missed="0" type="COMPLEXITY"/>
        <counter covered="1" missed="0" type="METHOD"/>
      </method>
      <method desc="(Lnet/uniform/html/elements/Hidden;)Ljava/util/List;" line="35" name="render">
        <counter covered="35" missed="0" type="INSTRUCTION"/>
        <counter covered="8" missed="0" type="LINE"/>
        <counter covered="1" missed="0" type="COMPLEXITY"/>
        <counter covered="1" missed="0" type="METHOD"/>
      </method>
      <counter covered="38" missed="0" type="INSTRUCTION"/>
      <counter covered="9" missed="0" type="LINE"/>
      <counter covered="2" missed="0" type="COMPLEXITY"/>
      <counter covered="2" missed="0" type="METHOD"/>
      <counter covered="1" missed="0" type="CLASS"/>
    </class>

The produced exception is:
Uncaught TypeError: Cannot read property '$' of undefined
      at node_modules/jacoco-parse/source/index.js:68:44
      at Array.map (native)
      at node_modules/jacoco-parse/source/index.js:23:35
      at Array.forEach (native)
      at unpackage (node_modules/jacoco-parse/source/index.js:21:14)
      at node_modules/jacoco-parse/source/index.js:114:22
      at Parser.<anonymous> (node_modules/xml2js/lib/xml2js.js:489:18)
      at Object.onclosetag (node_modules/xml2js/lib/xml2js.js:447:26)
      at emit (node_modules/sax/lib/sax.js:640:35)
      at emitNode (node_modules/sax/lib/sax.js:645:5)
      at closeTag (node_modules/sax/lib/sax.js:905:7)
      at Object.write (node_modules/sax/lib/sax.js:1452:13)
      at Parser.exports.Parser.Parser.parseString (node_modules/xml2js/lib/xml2js.js:508:31)
      at Parser.parseString (node_modules/xml2js/lib/xml2js.js:7:59)
      at exports.parseString (node_modules/xml2js/lib/xml2js.js:540:19)
      at Object.parse.parseContent (node_modules/jacoco-parse/source/index.js:107:5)
      at node_modules/jacoco-parse/source/index.js:129:15
      at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

See #6


Alternative SSH Implementation

It crashes - #649

The crashes are due to improper management of memory in NMSSH, especially when multiple sessions are used. Instead of trying to figure out an almost decade old codebase, we might take a look at alternative ssh clients like https://github.com/orlandos-nl/Citadel.

It doesn't support modern cryptography -  #688 #715

Both issues are fixed by modifying and updating NMSSH. This issue can be closed for now.


Added Hopcroft_Karp_algorithm.cpp

Assigned Issue Number ?
#1445
Language Opted ?
C++
Number of files added or updated ?
1
Name of these files ?
Algorithm=>Graph=>Hopcroft_Karp=>Hopcroft_Karp_algorithm.cpp
Checklist

[x] I've read the contribution guidelines.
[x] I've referred the correct issue number.
[x] I've fill up this entire template correctly.

@ahampriyanshu can you please review this PR :-)


The dialog that explains what the "hide amounts" mode is about should be shown only once.

also, the text should say "until the eye icon is tapped again"
https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5cb58c39f9317b134dd77a45

checked


Speeding up inference tips/tricks? [thread]

Anyone have any tips/tricks on how to speed up MusicGen inference? I'm already using the smallest model possible, any help is appreciated (multi-GPU inference, etc.) Thanks!

Any update, i'm also trying to use multi-GPU inference to speed up MusicGen inference for the medium. Any luck?


Increase z-index on slideout panel so it appears on top of loading indicators (etc)

Fixes https://github.com/chec/ui-library/issues/474

I don't think that the loading indicator should be specifying a z-index at all. Are you happy for me to remove it from that component?

Hmmmn. I like this in theory, but I'm not sure if it's going to be easy to do in practice. We might rely on the z-index too much already. If you want to give it a quick test then I'm happy for you to do that.


Correcting errors in the menu

(Sorry – I realized direct editing of the files has been disabled. Hence, I have to open an issue.)
@thisdapo

This file should be titled Pitching for NIEs and PSI, rather than, as now, National Innovation Ecosystem Toolkit. When I say "titled" I refer to the navigation menu (see screnshot below).
This file should be titled Understanding National Innovation Ecosystems (NIEs) and Public sector innovation (PSI) with the "s" at the end of "Ecosystems" and "NIEs", following the English convention  on pluralizing acronyms. When I say "titled" I refer to both the navigation menu and the title of the page itself.
The parent file should be titled Understanding and pitching NIEs, with the final "s".
The order of the two menu items under Understanding and pitching NIEs should be reversed: first should come "understanding", second "pitching".

Fixed.


ESLint Errors w/ Typescript *.test.ts files

Describe the bug
Given a typescript test file with the name *.test.ts eslint will complain that none of the jest global objects exist. The api image will not build as a result.
cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha`.
Cannot find name 'expect'.

To Reproduce
Steps to reproduce the behavior:

Create a folder in the services/api/src/resources/ called test.
Create a file in in that folder called error.test.ts
Copy/Paste the following

// Unit Under Test
describe('Calculations', () => {
  describe('TEST', () => {
    // scenarios and expectation
    it('When a thing happens, it should be...', () => {
      expect(1 + 1).toBe(2);
    });
  });

Expected behavior
I expect eslint to not throw errors in my IDE and I expect the api image to build.
Screenshots

I can't seem to reproduce on the latest - so I'm closing for now (happy for @wintercreative to repoen)


[Stdlib] Add Missing Implementations of underestimatedCount

Fixes SR-9570.
The following types, which, to my knowledge, are all Sequences from the Standard Library, have been checked:

AnyBidirectionalCollection
AnyCollection
AnyIterator
AnyRandomAccessCollection
AnySequence
Array
ArraySlice
ClosedRange
CollectionOfOne
ContiguousArray
DefaultIndices
Dictionary
DropFirstSequence
DropWhileSequence
EmptyCollection
EmptyCollection.Iterator
EnumeratedSequence
EnumeratedSequence.Iterator
FlattenSequence
FlattenSequence.Iterator
IndexingIterator
IteratorSequence
JoinedSequence
KeyValuePairs
LazyDropWhileSequence
LazyFilterSequence
LazyMapSequence
LazyPrefixWhileSequence
LazySequence
LazyFilterSequence.Iterator
LazyPrefixWhileSequence.Iterator
LazyMapSequence.Iterator
PartialRangeFrom
PrefixSequence
Range
Repeated
ReversedCollection
ReversedCollection.Iterator
Set
Slice
StrideThrough
StrideTo
String
String.UnicodeScalarView
String.UTF16View
String.UTF8View
Substring
Substring.UnicodeScalarView
Substring.UTF16View
Substring.UTF8View
UnfoldSequence
Unicode.Scalar.UTF16View
UnsafeBufferPointer
UnsafeMutableBufferPointer
UnsafeMutableRawBufferPointer
UnsafeRawBufferPointer
UnsafeRawBufferPointer.Iterator
Zip2Sequence

Please test and review.

/cc @Lantua @stephentyrone @airspeedswift

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - b80884fe75b490ef3110919932c121596decc26a

Build failed
Swift Test Linux Platform
Git Sha - b80884fe75b490ef3110919932c121596decc26a

Really doubting the package manager failures are yours.  Let's try again
@swift-ci please smoke test

Ah, that's more like it.  Just make sure the ABI changes you've made to stdlib are benign and update that test if they are.

Can one of the admins verify this patch?

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Is it possible to populate "options" from another collection?

As subject says.
Regards

Sorry, solved. Found it.

@neilyoung, Could you post the solution, please?

Hi, yes.
this works for me:
where your schemas are defined:
Schemas.Cars = new SimpleSchema({
brand: {
type: String,
label: 'Brand'
}
});
Schemas.People = new SimpleSchema({
name: {
type: String,
label: 'Name'
},
favoriteCar: {
type: String,
optional: true
}
});
where your collections are defined:
Cars = Collections.Cars = new Mongo.Collection("cars");
Cars.attachSchema(Schemas.Cars);
PeopleWithCars = Collections.PeopleWithCars = new Mongo.Collection("peoplewithcars");
PeopleWithCars.attachSchema(Schemas.People);
Then, in your template markup:

and in your viewmodel:
Template.test.helpers({
carOptions: function () {
return Cars.find().map(function (c) {
return {label: c.brand, value: c._id};
});
}
});
Somehow like this. Gives you a select containing the elements from the Car collection to be chosen from.

thanks it is nice
but if i want to get this value in checkbox


STF missing parameters for action in issue870_ebpf.p4

The P4 file has an action pipe.Reject(IPv4Address add) that updates the source IP of the packet before flagging it to be dropped. The STF file uses the action but doesn't pass any parameters to it, so the interpreter ends up crashing.
add pipe.Check_src_ip 0 key.field0:0x0a019846 pipe.Reject()

We should double check what the p4c/bmv2 does with this test... maybe I am misunderstanding the meaning of the STF here.

I add an arg here and it passes. My guess is that p4c's stf semantics has stf implicitly adding in the args or something


Keep getting these errors after following the installation steps

Internal Server Error: /blog/
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/handlers/exception.py", line 39, in inner
response = get_response(request)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/handlers/base.py", line 217, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/handlers/base.py", line 215, in _get_response
response = response.render()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/response.py", line 109, in render
self.content = self.rendered_content
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/response.py", line 86, in rendered_content
content = template.render(context, self._request)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/backends/django.py", line 68, in render
reraise(exc, self.backend)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/backends/django.py", line 89, in reraise
six.reraise(exc.class, new, sys.exc_info()[2])
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/backends/django.py", line 66, in render
return self.template.render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 208, in render
return self._render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 994, in render
bit = node.render_annotated(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 961, in render_annotated
return self.render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/loader_tags.py", line 174, in render
return compiled_parent._render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 199, in _render
return self.nodelist.render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 994, in render
bit = node.render_annotated(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/base.py", line 961, in render_annotated
return self.render(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/loader_tags.py", line 152, in render
compiled_parent = self.get_parent(context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/loader_tags.py", line 149, in get_parent
return self.find_template(parent, context)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/loader_tags.py", line 129, in find_template
template_name, skip=history,
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/template/engine.py", line 146, in find_template
raise TemplateDoesNotExist(name, tried=tried)
TemplateDoesNotExist: INHERIT

@wilzha which version of Django, django CMS and djangocms-blog are you using?

Django==1.10.5
django-cms==3.4.4
djangocms-blog==0.8.12

@wilzha is django CMS installed and working?
For some reason the "magic" INHERIT django CMS template is not recognised.

@wilzha have you made further tests?

@wilzha do you have any update on this?


set up performance metrics & profiling

as able now, related to #8

questions on what we need for this:

[ ] application profiling
[ ] host/container monitoring
[ ] middleware profiling

[ ] identify and investigate go profile tools/tooling?

https://stackimpact.com/blog/practical-golang-benchmarks/

Also a lot of resources here: https://github.com/dgryski/go-perfbook
Apparently Damian is one of the big go performance guys and is continuously working on a book... This is is the resource list.

This needs to be split into smaller / more specific tickets.

Related to #252 https://github.com/sul-dlss-labs/identifier-service/issues/36

Thinking about using DataDog for the container monitoring and application log handling


Allow using any stablecoin for gas fees

Description
We can now use any stablecoin to pay for gas fees :) It ended up taking a bit longer than expected. Here's a related PR in the blockchain-api: https://github.com/valora-inc/blockchain-api/pull/101
One exception to this is reclaiming invites. There's more work that's needed there, right now pending invites in cREAL don't even show up as a in-app notification! I'll fix reclaiming in a future PR.
Other changes
I'm trying to phase out the use of Currency when we can since it's a static enum in favor of using coreTokens from the selector since that allows us to add new stablecoins dynamically without an app update.
Tested
Manually and with unit tests.
How others should test
Try and action that signs a transaction:

Sending
Inviting
Signing a tx with Wallet Connect.
Signing a tx with dappkit (ubeswap)
Exchanging

All should work normally!
Related issues

Fixes #1747

Backwards compatibility
N/A

Hey @MuckT We have verified the above issue in Latest iOS test Flight Release build V:1.25.1 and updated the status in test rails.
Test rail link :
iOS13: https://valoraapp.testrail.io/index.php?/tests/view/4409
Devices : iPhone 7 (13.3)
Cc: @gnardini
Thanks..!

Hey @MuckT We have verified the above issue in Latest Android Internal Release Build V:1.25.2 and updated the status in test rails.
Test rail link :
Android 10:
https://valoraapp.testrail.io/index.php?/tests/view/7090&group_by=cases:section_id&group_order=asc&group_id=30
Devices : Samsung Galaxy M40(10.0)
Cc: @gnardini
Thanks..!

Hey @MuckT, We have verified the above issue in Latest Android Internal Release Build V:1.25.2 and updated the status in test rails.
Android 8:
https://valoraapp.testrail.io/index.php?/tests/view/7153&group_by=cases:section_id&group_order=asc&group_id=30
Observation : Error is seen when user is trying to scan QR code from desktop for ubeswap and we have raised [bug] (https://github.com/valora-inc/wallet/issues/1285) for it
Devices : Samsung Galaxy J5 Prime(8.0.0)
Cc: @gnardini
Thanks..!!

Hey @MuckT, We have verified the above issue in Latest Android Internal Release Build V:1.25.2 and updated the status in test rails.
Test rail links:
Android 9: https://valoraapp.testrail.io/index.php?/tests/view/7477
Observation : Error is seen when user is trying to scan QR code from desktop for ubeswap and we have raised bug for it
Devices : Redmi Note 5 Pro (9.0)
Cc: @gnardini
Thanks..!!


Update using-diagnostic-logs.md

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


Refreshing results page should maintain results

when you refresh the results page, the current query is lost and no results are shown.  Perhaps store that  data locally so a refresh doesn't lose the search.

@mok4ry, I agree


Added checkIfPodsAreUpdated param to CL2 scheduler-throughput and pod…

What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds checkIfPodsAreUpdated param to WaitForControlledPodsRunning step in cl2/load scheduler-throughput and pod-startup-latency modules. This param just adds more flexibility when running load tests, default behaviour remains the same.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/ok-to-test
/lgtm
/approve


MMap fails with code 0x8000000d

DLL size: 512000 bytes
I think that line fails:
https://github.com/DarthTon/Blackbone/blob/38fa514b0893f71f23cbc11b30c7e9aef20bafe7/src/BlackBone/ManualMap/MMap.cpp#L101
Console output:
Mapping failed with error 0x8000000d. {Partial Copy}
Due to protection conflicts not all the requested bytes could be copied.

When DLL size was about ~500000bytes everything was OK, after reaching 512000 size it's not working.
WinVer: 1803 (17134.165)
BlackBone commit: latest atm (38fa514b0893f71f23cbc11b30c7e9aef20bafe7)

Trace:
BlackBone: ManualMap: Mapping image 'MemoryImage_0x0000020338F84690' with flags 0x4004
BlackBone: ManualMap: Loading new image 'MemoryImage_0x0000020338F84690'
BlackBone: ManualMap: Image base allocated at 0x0000000180000000
BlackBone: ManualMap: Performing image copy
BlackBone: ManualMap: Failed to copy image section at offset 0x7b000. Status = 0x8000000d


Add text to event title

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The title for the event shown on the Calendar card is exactly as it recorded in the 'Message' attribute of the calendar entry in HA.
Expected behaviour
The ability to add some text before and/or after the text recorded against the event message in HA to be displayed on the Atomic Calendar Revive card
Possible Solutions
Fields at the Entity level to set a static string to be prefixed to or appended to the 'Message' text that is displayed for the calendar entry
Context / Reason
I currently have a work calendar fed in HA via my personal Google account (i.e. it's Shared from my work Google account to my personal). I can't (policy) connect my work calendar directly to HA, and my sharing is limited to free/busy only. This means that all my "work" calendar events have no title in HA to show on the Calendar. I don't actually need the real event name, as the use case for this card is for my family to see when I have work meetings - but what those meetings are have no relevance (So in this case, it's essentially better for me to only have free/busy coming across).
I'd like to be able to add some text to events on that calendar so that instead of being blank, they could say "Work Meeting" or whatever I needed.
I've proposed a more generic solution because while the solution should also solve the issue I have of 'Blank' meeting names (only times show) for my work Calendar, there may be other situations where you may want to add some context to an event title.
An alternative (or additional) solution more specific to my use case would be to have a field at the entity level to set the text to show where the 'Message' attribute was blank for an event.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, my upcoming release will include a new option to add a title to blank entries, is this sufficient?
I can add an appendix to the front of each title but not sure that is worth the effort if the above is enough
Same as #972

Yep this is good. Thanks!


Fix title and minor typos in documentation

The title of our documentation is "Welcome to the HPX documentation!" which I feel like is a bit odd.
This means that also when someone searches for the docs in google they see this title. Apart from being odd, if you use a device with smaller screen, the title doesn't fit and you only see "Welcome to the..."
Our title could simply be "HPX documentation". The welcome message is moved to the beginning of the first paragraph.

Performance test reportHPX PerformanceComparisonBENCHMARKFORK_JOIN_EXECUTORPARALLEL_EXECUTORSCHEDULER_EXECUTORFor Each------InfoPropertyBeforeAfterHPX Datetime2024-03-18T14:00:30+00:002024-10-21T19:27:31+00:00HPX Commitd27ac2efb17ed7a61d0417a1926ba8991f4f477f65356a2b1377444b0bdeca127df7135e14e411cbEnvfileDatetime2024-03-18T09:18:04.949759-05:002024-10-21T14:35:03.512784-05:00ClusternamerostamrostamHostnamemedusa08.rostam.cct.lsu.edumedusa08.rostam.cct.lsu.eduCompiler/opt/apps/llvm/13.0.1/bin/clang++ 13.0.1/opt/apps/llvm/18.1.5/bin/clang++ 18.1.5ComparisonBENCHMARKNO-EXECUTORFuture Overhead - Create Thread Hierarchical - Latch--InfoPropertyBeforeAfterHPX Datetime2024-03-18T14:00:30+00:002024-10-21T19:27:31+00:00HPX Commitd27ac2efb17ed7a61d0417a1926ba8991f4f477f65356a2b1377444b0bdeca127df7135e14e411cbEnvfileDatetime2024-03-18T09:19:53.062988-05:002024-10-21T14:36:53.609731-05:00ClusternamerostamrostamHostnamemedusa08.rostam.cct.lsu.edumedusa08.rostam.cct.lsu.eduCompiler/opt/apps/llvm/13.0.1/bin/clang++ 13.0.1/opt/apps/llvm/18.1.5/bin/clang++ 18.1.5ComparisonBENCHMARKFORK_JOIN_EXECUTOR_DEFAULT_FORK_JOIN_POLICY_ALLOCATORPARALLEL_EXECUTOR_DEFAULT_PARALLEL_POLICY_ALLOCATORSCHEDULER_EXECUTOR_DEFAULT_SCHEDULER_EXECUTOR_ALLOCATORStream Benchmark - Add------Stream Benchmark - Scale------Stream Benchmark - Triad------Stream Benchmark - Copy-------InfoPropertyBeforeAfterHPX Datetime2024-03-18T14:00:30+00:002024-10-21T19:27:31+00:00HPX Commitd27ac2efb17ed7a61d0417a1926ba8991f4f477f65356a2b1377444b0bdeca127df7135e14e411cbEnvfileDatetime2024-03-18T09:20:13.002391-05:002024-10-21T14:37:14.193435-05:00ClusternamerostamrostamHostnamemedusa08.rostam.cct.lsu.edumedusa08.rostam.cct.lsu.eduCompiler/opt/apps/llvm/13.0.1/bin/clang++ 13.0.1/opt/apps/llvm/18.1.5/bin/clang++ 18.1.5Explanation of SymbolsSymbolMEANING=No performance change (confidence interval within ±1%)(=)Probably no performance change (confidence interval within ±2%)(+)/(-)Very small performance improvement/degradation (≤1%)+/-Small performance improvement/degradation (≤5%)++/--Large performance improvement/degradation (≤10%)+++/---Very large performance improvement/degradation (>10%)?Probably no change, but quite large uncertainty (confidence interval with ±5%)??Unclear result, very large uncertainty (±10%)???Something unexpected…


possible regression: v-bind and vee-validate on custom elements

Versions

vee-validate: 2.1.0.beta8
vue: 2.5.16

Describe the bug
When using v-bind with vee-validate on custom bootstrap-vue checkboxes, the elements are no longer passing validation. This is a possible regression from version 2.0.9.
To Reproduce
Steps to reproduce the behavior:

Use v-bind: on a custom element (Bootstrap-Vue Checkbox in this example).
Check the checkbox.
run a ValidateAll call
The element fails validation despite being checked.

Expected behavior
As per in version 2.0.9, the element should pass validation.
If you change the version of Vee-Validate to 2.0.9, in the demo below, it works as expected.
Demo Link
This is a reduced sample- I'm actually using JSX in production, which means I can't use v-model directly, and have to use v-bind.
https://codesandbox.io/s/v0mnjjm84l

Thanks for the suggestion, unfortunately this doesn't have any affect, nor does it address similar code in JSX.

Experiencing identical issue.

Having the same issue here.

This happens when vee-validate cannot infer the value on its own, it looks first for a model which the main way to communicate a component's value to its parent, if it cannot find it, vee-validate will instead try to find the value prop and use that which isn't always an accurate representation.
Since checkboxes naturally maintain two types of information: value and the checked state which makes it a little bit harder to detect the current value. You should use v-model and it would work fine. Here is a demo: https://codesandbox.io/s/4w06w75ypx
Now whether it worked or not before it could be actually a bug since the old versions probably did not re-check the inputs (a lot of changes was introduced in the betas so I can't put my finger on the differences that may cause it to work in older versions).

Thanks for the response.
Unfortunately, I can't use v-model, because this does not work when using JSX.
IS there another solution/workaround?

I see, I don't use JSX myself, sorry about that. Can you try replicating the JSX in codesandbox and I will fiddle around to check for a workaround or implement a solution.

The JSX example is below. It's not 100%, because for some reason codesandbox isn't implementing babel-preset-vue or the babel plugins to transpile JSX correctly (This is why I replicated the issue i was seeibng without usig JSX).
https://codesandbox.io/s/qqqr5n0yv4


[QUESTION] Scan-to-scan odometry with TEASER-plusplus (Quatro version)

Have you read the documentation?

[x] Yes
[ ] No - then this issue will be closed.

I saw these isseus.

https://github.com/MIT-SPARK/TEASER-plusplus/issues/49
https://github.com/MIT-SPARK/TEASER-plusplus/issues/110

Post your theoretical questions / usage questions here.
Hello, I want to calculate an odometry of our mobile robot by using the TEASER-plusplus package (Especially, Quatro version)
The example of quatro in TEASER-plusplus package is excuted well like below screen capture.

So, I make a ros2 package including TEASER-plusplus cmake.
The progress is below

Prepare the dataset (Point Cloud Data{t=1}, Point Cloud Data{t=2}) from pointcloud callback function
Convert the sensor_msgs::msg::PointCloud2::SharedPtr to pcl::PointCloud<pcl::PointXYZ>::Ptr
Convert the pcl::PointCloud<pcl::PointXYZ>::Ptr to teaser::PointCloud
So, I have the data called teaser::PointCloud tgt_cloud (=Point Cloud Data{t=1}) and teaser::PointCloud src_cloud (=Point Cloud Data{t=2})
Excute the example code (https://github.com/MIT-SPARK/TEASER-plusplus/blob/master/examples/teaser_cpp_fpfh/quatro_cpp_fpfh.cc)

Total code like below.
    case LO_ALGORITHM_MODE_QUATRO:{

      teaser::PointCloud tgt_cloud;
      teaser::PointCloud src_cloud;

      Eigen::Matrix4d T = Eigen::Matrix4d::Identity();

      size_t min_size = std::min(pcl_point_cloud_filter->size(), pcl_point_cloud_pre_filter->size());

      pclToTeaser(pcl_point_cloud_filter, src_cloud, min_size);
      pclToTeaser(pcl_point_cloud_pre_filter, tgt_cloud, min_size);

      std::cout << "src_cloud.size() = " << src_cloud.size() << std::endl;
      std::cout << "tgt_cloud.size() = " << tgt_cloud.size() << std::endl;

      // Compute FPFH
      teaser::FPFHEstimation fpfh;
      auto obj_descriptors = fpfh.computeFPFHFeatures(src_cloud, 0.02, 0.04);
      auto scene_descriptors = fpfh.computeFPFHFeatures(tgt_cloud, 0.02, 0.04);

      teaser::Matcher matcher;
      auto correspondences = matcher.calculateCorrespondences(
          src_cloud, tgt_cloud, *obj_descriptors, *scene_descriptors, false, true, false, 0.95);

      // Prepare solver parameters
      teaser::RobustRegistrationSolver::Params quatro_param, teaser_param;
      getParams(NOISE_BOUND / 2, "Quatro", quatro_param);
      std::chrono::steady_clock::time_point begin_q = std::chrono::steady_clock::now();
      teaser::RobustRegistrationSolver Quatro(quatro_param);
      Quatro.solve(src_cloud, tgt_cloud, correspondences);
      std::chrono::steady_clock::time_point end_q = std::chrono::steady_clock::now();
      auto solution_by_quatro = Quatro.getSolution();

      std::cout << "=====================================" << std::endl;
      std::cout << "           Quatro Results            " << std::endl;
      std::cout << "=====================================" << std::endl;
      double rot_error_quatro, ts_error_quatro;
      calcErrors(T, solution_by_quatro.rotation, solution_by_quatro.translation,
                rot_error_quatro, ts_error_quatro);
      // Compare results
      std::cout << "Expected rotation: " << std::endl;
      std::cout << T.topLeftCorner(3, 3) << std::endl;
      std::cout << "Estimated rotation: " << std::endl;
      std::cout << solution_by_quatro.rotation << std::endl;
      std::cout << "Error (rad): " << rot_error_quatro << std::endl;
      std::cout << "Expected translation: " << std::endl;
      std::cout << T.topRightCorner(3, 1) << std::endl;
      std::cout << "Estimated translation: " << std::endl;
      std::cout << solution_by_quatro.translation << std::endl;
      std::cout << "Error (m): " << ts_error_quatro << std::endl;
      std::cout << "Time taken (s): "
                << std::chrono::duration_cast<std::chrono::microseconds>(end_q - begin_q).count() /
                      1000000.0 << std::endl;
      std::cout << "=====================================" << std::endl;

      break;
    }

The rviz with two point cloud is like this.

The terminal is like this.

Is it possible to calculate the odometry (scan-to-scan) by using TEASER++?
Why the Max core number is 0 in the terminal?
Do point cloud data have to be the same size? (For your information, I forced myself to fit the smaller of the two point cloud data.)

Thank you!

1-1. Is voxelization applied?
1-2. In outdoor cases, radiuses should be larger (see how we set the parameter: https://arxiv.org/abs/2409.15615)
2. I guess it's because of the radii settings of 0.02 and 0.04, respectively. It's too small in outdoor cases.
3. How can the source and target point clouds be of the same size? could you elaborate on that more?


Laravel 4.0 compatibility

Now that I went through all 4.1.x versions, I should do the same for 4.0.x to find out what it would take to add compatibility for that.

Apparently 4.0 is vastly different in handling the registered routes than 4.1 and 4.2.


Needs jquery.fitvids for embedded YouTube videos

The Casper theme has this, but Alto does not. Embedded YouTube videos in Alto appear square when embedded and not at their natural, 16:9 aspect ratio.

Alto has Reframe.js which is a jQuery-free alternative for FitVids. And it supports YouTube, Vimeo and Kickstarter videos. Would you be able to send the video URL?

Ah...that explains it. I was modifying the theme and didn't use built/main.min.js. Closing...


xgboost Integration

Search before asking

[X] I have searched the EvaDB issues and found no similar feature requests.

Description
Expand our integrations with ML libraries
Use case
No response
Are you willing to submit a PR?

[ ] Yes I'd like to help by submitting a PR!

We shall use Flaml Auto ML models for this purpose. The reasons for this are:

It is supported on Mac.
Microsoft maintains it, so it shall have a long time support.


no mouse pointer indication on hover "show more (open the raw..."

The cursor does not change to notify of a clickable item.

Good catch!


AWS Lambda module

PR for AWS Lambda handler(https://github.com/tipsy/javalin/issues/1174)
Uses https://github.com/awslabs/aws-serverless-java-container as underlying library that does bulk of work.
Missing:

Docs/examples
Tests

We'll add this to the samples section of the new org.

Did this ever get merged?

No


Recommended practices for passing around Database objects and CouchResults

Hi all,
When creating a db object through client.db() method, I'm overflowing stack quite frequently when calling from tokio workers. Is this expected (as in Database is a heavy object) and I should be using a Box ? I was theorizing that all couch-rs objects will be small in size as its just a http client to the couch.
Let me know what would be the recommended practice in this case.

I haven't seen this and I am using tokio as well.
Do you have a sample code you could share that reproduces the problem?

hi @horacimacias ,
I'm posting the version of the code that works vs the one that doesn't (only difference is the Box). This code gets executed from warp web server which uses tokio for async. I don't get this error on the first call to get_db. It comes, when I call it a few times in the same tokio worker.
`    pub async fn get_db(&self, db_key_orig: &String) -> Option<Box>
{
if db_key_orig.len() == 0 {
println!("Trying to open a empty dbname {:?}", db_key_orig);
return None;
}
    let mut res = None;
    let db_key = self.form_db_name(db_key_orig);

    let cr = couch_rs::Client::new(&self.prefs.read().unwrap().db_host,
                                   &self.prefs.read().unwrap().db_user_name,
                                   &self.prefs.read().unwrap().db_pass);
    if cr.is_ok() {
        let client = cr.unwrap();

        let dbr
            = Box::new(client.db(&db_key).await);

        if dbr.is_ok() {
            let db = Box::new(dbr.unwrap());

            res = Option::from(db);
        } else {
            println!("Unable to create db {:?}. Err: {:?}", &db_key, dbr.err());
        }
    } else {
        println!("Unable to create cdb client. Err: {:?}", cr.err());
    }

    return res;
}

pub async fn get_db_no_box(&self, db_key_orig: &String)
    -> Option<Database>
{
    if db_key_orig.len() == 0 {
        println!("Trying to open a empty dbname {:?}", db_key_orig);
        return None;
    }

    let mut res = None;
    let db_key = self.form_db_name(db_key_orig);

    let cr = couch_rs::Client::new(&self.prefs.read().unwrap().db_host,
                                   &self.prefs.read().unwrap().db_user_name,
                                   &self.prefs.read().unwrap().db_pass);
    if cr.is_ok() {
        let client = cr.unwrap();

        let dbr
            = client.db(&db_key).await;

        if dbr.is_ok() {
            let db = dbr.unwrap();

            res = Option::from(db);
        } else {
            println!("Unable to create db {:?}. Err: {:?}", &db_key, dbr.err());
        }
    } else {
        println!("Unable to create cdb client. Err: {:?}", cr.err());
    }

    return res;
}`

hi @option-greek ,
it's a bit hard to follow your example as I see it's relying on several other functions not provided. In any case, I really doubt the problem is related to Boxing or not Boxing the client.
If you want, you can run your program with RUST_BACKTRACE=1 which will print a bit more information on the stack trace and you can copy paste the stack trace here.
I've taken your example and adapted it a bit to do something similar; perhaps you can use this to try at your end:
Cargo.toml
[package]
name = "testingcouchrs"
version = "0.1.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
couch_rs = "0.8.32"
tokio = { version = "1", features = ["full"] }
warp = "0.3.1"

main.rs
use std::convert::Infallible;

use warp::{Filter, Reply};

#[tokio::main]
async fn main() {
    // Match http://localhost:8080/open/dbname and open/create the database "dbname"
    let open_db = warp::get()
        .and(warp::path!("open" / String))
        .and_then(get_db);
    let routes = open_db;
    warp::serve(routes).run(([127, 0, 0, 1], 8080)).await;
}

pub async fn get_db(db_name: String) -> Result<impl Reply, Infallible> {
    if db_name.is_empty() {
        return Ok(warp::reply::html(
            "Trying to open a empty dbname".to_owned(),
        ));
    }

    match couch_rs::Client::new("http://localhost:5984", "admin", "password") {
        Ok(client) => match client.db(&db_name).await {
            Ok(db) => {
                return Ok(warp::reply::html(format!(
                    "Successfully created / opened db {}: {:?}",
                    &db_name, db
                )));
            }
            Err(e) => {
                return Ok(warp::reply::html(format!(
                    "Unable to create db {:?}. Err: {:?}",
                    &db_name, e
                )));
            }
        },
        Err(e) => {
            return Ok(warp::reply::html(format!(
                "Unable to connect. Err: {:?}",
                e
            )));
        }
    }
}

if you start couchdb on localhost:5984 with username "admin" and password "password", and run this rust program, you will be able to do a curl http://localhost:8080/open/dbname and this will create or open a database in couchdb.
I don't have any problem calling this multiple times.
As a side note, I see you're using unwrap() and is_ok()several times. I strongly suggest you use match instead or if let Ok() as it will make your code much more readable and idiomatic.
Still, this should make no difference to stacks overflowing but again I think it will help you focus on the rest of the code where the problem is likely to be.
Last but not least, I also suggest you run cargo clippy as many good suggestions will come from that.

☝ you can start couchdb using
#!/bin/bash
set -e

COUCHDB_USER=admin
COUCHDB_PASSWORD=password

docker run --rm -p 5984:5984 -e COUCHDB_USER=$COUCHDB_USER -e COUCHDB_PASSWORD=$COUCHDB_PASSWORD couchdb:3

@option-greek: This example may also help you if you want to share the database across multiple REST requests:
use couch_rs::database::Database;
use serde_json::json;
use std::{convert::Infallible, sync::Arc};
use warp::{Filter, Reply};

const TEST_DB: &str = "test_db";

#[tokio::main]
async fn main() {
    start_warp().await;
}

pub async fn start_warp() {
    let client = couch_rs::Client::new_local_test().unwrap();
    let db = client.db(TEST_DB).await.unwrap();
    let db = Arc::new(db); // wrap it in an Arc to share

    let get_doc_path = warp::path!("api" / "v1" / "document" / String)
        .and(warp::get())
        .and(with_db(db))
        .and_then(|id: String, db: Arc<Database>| async move { get_doc(&id, db).await });

    let api = get_doc_path;
    warp::serve(api).bind(([0, 0, 0, 0], 8080)).await;
}

async fn get_doc(id: &str, db: Arc<Database>) -> Result<impl Reply, Infallible> {
    match db.get_raw(id).await {
        Ok(doc) => Ok(warp::reply::json(&doc)),
        Err(err) => Ok(warp::reply::json(&json!({"error": err.to_string()}))),
    }
}

fn with_db(
    db: Arc<Database>,
) -> impl Filter<Extract = (Arc<Database>,), Error = std::convert::Infallible> + Clone {
    warp::any().map(move || db.clone())
}

Hi @horacimacias and @mibes ,
The original issue occurs no more despite several retries on the test code so I'm assuming its probably due to the function call to create the database being very low down the chain of functions that result in the call (without all that nesting it works fine).
I explored the approach of using Database with Arc earlier @mibes but the biggest issue is it works only in case the DB is already created before warp starts. Lets assume we have a dynamically created DB mapped to a key with the DB name. In that case, we will end up using a Hashmap to lookup the Database key and a RwLock to be able to insert the Database obect into the hashmap. Unfortunately it doesn't appear that the Database is 'Send' across the threads so when ever there is a await after the reference to the Arc<RwLock<HashMap<String, Database>>>, we get a compiler error stating that the RwLockGuard is not Send so we can't await. I slightly modified your code (which works) to demonstrate this case:
use couch_rs::database::Database;
use serde_json::json;
use std::{convert::Infallible, sync::Arc};
use warp::{Filter, Reply};
use std::sync::RwLock;
use std::collections::HashMap;
const TEST_DB: &str = "test_db";
#[tokio::main]
async fn main() {
start_warp().await;
}
pub async fn start_warp() {
let db_list = Arc::new(RwLock::new(HashMap::new()));
let get_doc_path = warp::path!("api" / "v1" / "document" / String)
    .and(warp::get())
    .and(with_db(db_list))
    .and_then(|id: String, db: Arc<RwLock<HashMap<String, Database>>>| async move { get_doc(&id, db).await });

let api = get_doc_path;
warp::serve(api).bind(([0, 0, 0, 0], 8080)).await;

}
async fn get_doc(id: &str, mut db_list: Arc<RwLock<HashMap<String, Database>>>) -> Result<impl Reply, Infallible> {
let mut db_list_ref = db_list.write().unwrap();
if !db_list_ref.contains_key(TEST_DB) {
let client = couch_rs::Client::new_local_test().unwrap();
let db = client.db(TEST_DB).await.unwrap();
db_list_ref.insert(TEST_DB.to_string(), db );
}

let db = db_list_ref.get(&TEST_DB.to_string()).unwrap();
match db.get_raw(id).await {
    Ok(doc) => Ok(warp::reply::json(&doc)),
    Err(err) => Ok(warp::reply::json(&json!({"error": err.to_string()}))),
}

}
fn with_db(
db: Arc<RwLock<HashMap<String, Database>>>,
) -> impl Filter<Extract = (Arc<RwLock<HashMap<String, Database>>>,), Error = std::convert::Infallible> + Clone {
warp::any().map(move || db.clone())
}

I think your issue is you're using std::sync::RwLock which is not Send.
The Database itself is Send.
If you use tokio::sync::RwLock instead (you'll need db_list.write().await instead of db_list.write().unwrap()) the code should compile.

So that was the issue then. It works perfect now! (I'm new to rust and had no clue that both RwLock's are different)
Thank you @horacimacias and @mibes for your patience and help.

happy to help!
I suggest you also have a look at the tokio tutorial; I found it quite useful. E.g. https://tokio.rs/tokio/tutorial/shared-state
And remember, clippy is your friend!


Support Line of Sight Analysis

Requires #26
Visual Line of Site Analysis should allow the user to check if planned or current flight path will go beyond line of sight.
Using a similar tool we could also add basic physics checks for radio LOS to check quality of signals for planned flight paths.  Stick with basic assumptions such as free space path loss and fresnel zone and allow others to add more complex modules if/as required.

LOS?

Sorry.  Line of sight.

What is LOS analysis, and what is it used for?  I have a reasonable idea, but it's a good idea to be unambiguous when documenting the requirement.

you are correct.  added to original.  thanks.

Radio LOS simulator: https://github.com/Cloud-RF/Signal-Server

SPLAT is another one, I've used both working with Motorola shops.
https://github.com/jmcmellen/splat


DRILL-5275: Sort spill is slow due to repeated allocations

DRILL-5275 -  Sort spill serialization is slow due to repeated buffer
allocations
Rather than create a heap buffer per vector when writing and reading,
the revised code creates a single, shared buffer used for all I/O
within a particular container. This improves performance by reducing GC
and CPU costs during I/Os.

+1


AttributeError for VolumeAttachment volume_id and server_id

Using Python example from the guide: https://www.pulumi.com/docs/reference/pkg/hcloud/volumeattachment/
I'm getting an error for wrong type of the input.

Expected behavior
VolumeAttachment should be properly created
Current behavior
VolumeAttachment is not created due to the AttributeError
Steps to reproduce

Create new stack
Copypaste example from the snippet on official documentation website

UPD:
instance_id = instance.id.apply(lambda x: int(x))
Type conversion helps here and things work as expected. Either documentation or types needs to be updated.


Hack to stop dataloader related errors

This is an ugly hack to stop TF/Helm data loader errors that freezes data loader version.
It should be removed in scope of https://github.com/gpii-ops/gpii-infra/pull/163, once the "new" dataloader is ready to be used.
After potentially failing once (if the dataloader is at older version), no more errors should appear, as TF will not try to update it even if versions.yaml change.

LGTM

LGTM

@mrtyler thanks, it will not change the behavior on already existing clusters - as the dataloader will not run anyway in a current state, so the only difference will be on newly created clusters.

Anyone else we should notify? Email to architecture@?

Hey @mrtyler, thanks for the heads up, I think it's fine as long as @cindyli and @klown (and probably @sgithens, since I know he's been using gpii-infra) are aware of it.
In any case, just to confirm, if I need to re-deploy the dataloader for whatever reason, I need to update this file with the correct sha in addition to the change in the versions.yml file, right? Also, given that this is a temporary solution, I assume that you'll let us know again when this is not required anymore?

@javihernandez currently, if you would need to redeploy new data loader, it's correct you would have to update the sha at the same place this PR freezes it (gcp/modules/gpii-dataloader/main.tf) but also the dataloader as of now will only actually run once when creating a new cluster (or delete the dataloader batchJob from the existing cluster first).
Otherwise this is temporary only till we get to resolve https://github.com/GPII/universal/pull/626 and related https://github.com/gpii-ops/gpii-infra/pull/163 PRs


fix(docs): fixed typo in routing overview

Description

docs
Hey! I fixed a typo on the docs where it said "/`" when it should be "/".

Fixes
Fixes #3550

Not sure if I did the template right... one of the checks failed

thanks! @all-contributors add @PossiblePanda for docs


bazel/ci: Prepare repo for using Engflow RBE

this fails CI as it requires some flag changes in the .github/ dir - should pass once it lands


Support for version compatibility check

Closes #166

@jenkins-cscs retry daint dom

@jenkins-cscs retry all

@vkarak I wasn't very sure about which message to print when skipping a test and where to put it.

Codecov Report

Merging #287 into master will decrease coverage by 0.1%.
The diff coverage is 81.01%.

@@            Coverage Diff             @@
##           master     #287      +/-   ##
==========================================
- Coverage   91.45%   91.34%   -0.11%
==========================================
  Files          66       66
  Lines        7807     7883      +76
==========================================
+ Hits         7140     7201      +61
- Misses        667      682      +15

Impacted Files
Coverage Δ

unittests/test_versioning.py
100% <100%> (ø)
:arrow_up:

reframe/core/decorators.py
75.86% <40.9%> (-21.44%)
:arrow_down:

reframe/utility/versioning.py
88.88% <95%> (+5.55%)
:arrow_up:

Continue to review full report at Codecov.

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

@jenkins-cscs retry daint

@jenkins-cscs retry daint