[Mention The Feature]: button styling

Is your feature request related to a problem? Please describe.
Using css for hover on buttons
Describe the solution you'd like.
Background Color: Set different colors for default, hover, and active states to make the button interactive.
Border: Define border width, style, and radius for smooth edges or sharp corners.
Padding: Adjust the space inside the button for better text alignment and clarity.
Font: Select legible fonts and adjust size for readability.
Describe alternatives you've considered.
No response
Additional context.
No response
Show us the magic with screenshots
No response
Checklist

[X] I have checked the Existing Issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

this issue has been solved, so we are closing this issue.


Add Ising model simulation to 'examples' section

@crawfy48 made an Ising model simulation of 2D ferromagnetic material here. IT'S AWESOME!

(Finally) done!

That's great! Just in time I've updated my model so now it has periodic boundary conditions, von Neumann neighborhood and more new features. Many thanks for making all those useful changes in Terra, now the model feels truly complete :)

@crawfy48 it looks great!! Glad you like the additions, they were good suggestions :+1:


Feature Request: Support Indexing

As per #2 — it would be nice if breadcrumbs could support the bulding of an index somewhere.
An index might also generate fields for SN (scope notes) DF (definitions) and pages for OT/PT (parent terms, tops of hierarchies)

This links to the idea @weeyizhi had to "auto-generate" child and sibling fields based on their parents. I'll work on this after the refactoring mentioned in #1

Can you please elaborate more on what you mean here, Bri. I don't think I understand what the index would be or do.

Everytime the graph detects a new parent term it writes it to a file. A concanetned list of PTs. It would be cool if it could autogenerate a list but idk how hard that is. i.e.
PT Arthitecture
NT American Architecture
NT American Log Cabins
NT (etc)
NT (etc)

Interesting... So to have the entire hierarchy structure written to a single file?
The first thing that comes to mind is dealing with items the link up to multiple other parents, for example. But the common child could just be repeated in both places

It will be good to have an option for the hierarchy appended to the note. That way the links appear together with the text.

Thanks for the feedback @ashishbhateja.
I'm curious about how I should implement this. Currently there are two options:

Make one, giant index of the entire vault
Make an index for each page. Are you speaking about this option?

For 2., say the matrix view looked like this for the note Goals:

What would the appended index look like? Something like:
parent: [[Index]]
Sibling: [[Tasks]]
Sibling: [[Resources]]
Sibling: [[Projects]]
Sibling: [[Areas of Responsibilities]]
Child: [[Goals Inbox]]
Child: [[Closed Goals]]
Child: [[Archived Goals]]
@brimwats also curious to hear what you think of the second option. What other formats would be useful?

This is how Roam Research implements:

This problem is deceptively non-trivial, but I'm working on it

@brimwats @ashishbhateja I think I've got this working... Will you try out 0.9.15 and let me know if it works for you.
Currently, it will copy the index to your clipboard

@SkepticMystic this works great on a page where all the NTs and BTs (etc) point to. Is there any way to do it for the entire vault?

I'm gonna close this issue out as more recent discuss is happening in #67


Missing required parameters to create initial account, use the -help flag for reference on parameters

When trying to run the offen setup that if I am correct, configures things by asking for prompts.. I get : "FATA[0006] Missing required parameters to create initial account, use the -help flag for reference on parameters".
How can we fix this ?
Thank you !

offen setup does not work with prompts, but expects all needed parameters to be given when executed. offen setup -help prints:
"setup" is used to populate a fresh Offen instance with user(s) and account(s).
In the most basic case, you are likely going to create a single user and an
account will then use the UI to add more users create additional accounts.

A basic example for setting up a new instance looks like:

$ offen setup -name "My New Account" -email<EMAIL_ADDRESS>-populate

The command will then prompt for a password to use. Passing -populate will
create potentially missing secrets in your envfile. Do not pass the flag if you
plan to do this yourself.

If you do not want to use the CLI, you can also create an initial account and
user by visting "/setup/" in your browser while the Offen instance is running.

Usage of "setup":
  -email string
        the email address used for login
  -envfile string
        the env file to use
  -force
        allow setup to delete existing data
  -forceid string
        force usage of given valid UUID as account ID (this is meant to be used in tests or similar - you probably do not want to use this)
  -name string
        the account name
  -password string
        the password used for login (must be at least 8 characters long)
  -populate
        in case required secrets are missing from the configuration, create and persist them in the target env file
  -source string
        a configuration file (this is an experimental feature - do not use it if you are not sure)

If you prefer an interactive setup, you can use the browser based procedure served at /setup.

Oh wow, very good, I didn't know that this is how it can be done, thank you for this valuable information, and sorry for taking the time !


Added List component

Added the List component as per the feature request #584 .
Three types of Lists

Single Line
Two Line
Three Line

Each list item can have an Icon/avatar and secondary-info and/or secondary-action.
Not Implemented : Expand/Collapse . (Working on it)

This looks like a solid addition. Thanks for working on this @rohanthacker! My vote is for us to try reviewing/iterating on this with a view to landing in the 1.1 milestone.

There are few points I would like to share/ hear the teams opinions on
Areas in doubt

The amount of markup required. is it too much?
The text area of a three line list uses a hardcoded fixed height (i.e)  font-size * 2.  Your thoughts? ( Doing this to be lite)
The font-size of the list__item icon is also hardcoded at 40px, This is inline with the spec. but can cause problems if developers dont adjust their padding / margins appropriately.

Optimizations

Create a 'tile' mixin that can be used by list__item and menu__item

Use of JS
I've avoided the use of java script in this component as I believe this would be an essential component for the desktop developers using mdl. This have not yet implemented expand and collapse. Do we already have / are we open to Creating an independent collapse js plugin ?
Looking forward to the feedback. Do advise

The demo should also be split into a few examples under a "snippets" folder following the more recent updates to component organization.

I don't like the mixin idea here. Seems like it is going to duplicate a lot of stuff that is not needed. Looks best to move out the ruleset and use the modifiers to only change what is required (just like every other modifier use in existing components.)

I think the mixin is technically fine, but I agree that common styles should be moved to .mdl-list--item. We need to be careful with duplicating styles at it will weigh down on our final library size.

@surma Yup exactly. It is useful in the context to easily change what is needed within the given modifiers.
We should only override with new rules what is necessary and no more. That is the base point with not liking the mixin as it is.

@Garbee @surma  If there is anything else I can do to reduce the burden on you guys, do let me know.

Thanks a lot for your continued work, @rohanthacker! Added a few more comments :)

friendly ping @rohanthacker :)

@addyosmani  Sorry about that, seem to have missed the notifications form this thread, I'll make the corrections and commit in a few hours :)

Fantastic. Thank you!

This LGTM.
@sgomes / @Garbee can either of you take a second, final look before merge?

text-body and secondary-info should both have a color which is 54% of black (unquote("rgba(#{$color-black}, 0.54)")). Seems in alignment with what card supporting text is colored.

@Garbee Have made the changed outlined above :)

Yea, something funky is going on when hovering checkboxes in a list item. The checkbox's hover state seems to be blending in with whatever the hover state of the list item is. Not seeing anything in the MD spec about this. So looks like we have a bug that needs solving.
Also, labels aren't necessary for checkboxes in this context. So you can remove the mdl-checkbox__label nodes.

@Garbee  The MD Spec for List does not cover hover state for list-items. Perhaps we should remove the hover state from MDL?

Yea they don't, it is built for mobile-only atm. Drop list item hover stuff and we can deal with that once it is specced.

@Garbee Done.

Looks like the only thing left to fix is the radio alignment in a list item. It is way off center compared to switch and checkbox actions.

hmm, set all labels under the secondary action to display:block. That will get them all to align properly it seems to me.

Adding display:block moved it up a bit.   However removing display:inline-block to the radio label brings it inline.

The other two are also slightly off center. Setting display:block against label children fixed them all for me here.

Hi,
not being familiar with the process of integrating new components, is there a forecast that can be shared about the further actions to have the list component becoming available in the MDL master branch? Meanwhile, what's my best chance of getting hold of lists? Building Rohan Tacker's mdl-lists branch, I guess?
Best regards,
Vic

@vicmortelmans  Hey vic, this is probably gonna land in V1.1.
But yes in the mean time you can build the mdl-list brand and help test out this component. It would be a great help!

Hi together,
I built the list branch and noticed that the CSS rules for the material-icons font as provided by Google (https://fonts.googleapis.com/icon?family=Material+Icons) set the display style to inline-block, which breaks the vertical alignment of the mdl-list__item-icon. I am not sure if it is MDL implementation's responsibility to set display explicitly to inline or if it is down to the developer. I suspect that both might be used together frequently though. What are your thoughts on this?

@rohanthacker Thanks for your great work on the list! :) We're definitely hoping to get this into 1.1, yup!
@Garbee @surma Any other points that need attention before we merge this?

LGTM :)

Double-checking locally real fast. I recall some minor issues last time I tested it, verifying they are fixed.

Yea, list item secondary actions need to apply display: inline; to children labels. That way they align properly.
If we want, I can squash the commits locally and push, then instantly commit that change too so it is all done.
Sound good?

Sounds good, thanks @Garbee! @rohanthacker, you happy for your PR to be merged?

@sgomes Sure! Is there anything I need to do ? Or has @garbee done the needful?

I'm taking care of it. Already have things ready locally aside from the one alignment issue. Which I'm looking into once I get my IE VM working again.
Pushing your commit now into master.

Merged in through PR #1960.
No way to pull in directly to avoid a merge commit due to the age of the history here.

@Garbee Chaeers. Thanks

Is there any documentation on these lists yet?

@Craytor you can check the snippets folder.
Docs are coming soon


wstunnel: 10.1.0 - 10.1.1

https://github.com/erebe/wstunnel/releases/tag/v10.1.1
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

On x86_64-darwin:
wstunnel> warning<EMAIL_ADDRESS>In file included from /private/tmp/nix-build-wstunnel-10.1.1.drv-0/wstunnel-10.1.1-vendor.tar.gz/aws-lc-sys/aws-lc/crypto/fipsmodule/bcm.c:133:
wstunnel> warning<EMAIL_ADDRESS>In file included from /private/tmp/nix-build-wstunnel-10.1.1.drv-0/wstunnel-10.1.1-vendor.tar.gz/aws-lc-sys/aws-lc/crypto/fipsmodule/rand/urandom.c:69:
wstunnel> warning<EMAIL_ADDRESS>/nix/store/9av79iiy4ianwnklxx0hl4q55ak9n6ws-Libsystem-1238.60.2/include/CommonCrypto/CommonRandom.h:35:9: error: unknown type name 'CCCryptorStatus'
wstunnel> warning<EMAIL_ADDRESS>typedef CCCryptorStatus CCRNGStatus;
wstunnel> warning<EMAIL_ADDRESS>        ^
wstunnel> warning<EMAIL_ADDRESS>In file included from /private/tmp/nix-build-wstunnel-10.1.1.drv-0/wstunnel-10.1.1-vendor.tar.gz/aws-lc-sys/aws-lc/crypto/fipsmodule/bcm.c:133:
wstunnel> warning<EMAIL_ADDRESS>/private/tmp/nix-build-wstunnel-10.1.1.drv-0/wstunnel-10.1.1-vendor.tar.gz/aws-lc-sys/aws-lc/crypto/fipsmodule/rand/urandom.c:394:42: error: use of undeclared identifier 'kCCSuccess'
wstunnel> warning<EMAIL_ADDRESS>  if (CCRandomGenerateBytes(out, len) == kCCSuccess) {
wstunnel> warning<EMAIL_ADDRESS>                                         ^
wstunnel> warning<EMAIL_ADDRESS>2 errors generated.

@sikmir this was already broken in previous versions. Someone will need to figure out how to fix the darwin build.


GPT partition option

This adds a -g flag to select gptmbr.bin for MBR image, allowing installation on a GPT harddrive.
I'm really not sure how to test it, but if someone can explain it to me, I'd be happy to test.

@konsumer I think this needs a rebase to build successfully.

Happy to do this once I get home. It was merging clean before, maybe a new change?  Any ideas on how to actually test it? I have a harddrive I am fine with formatting.

In the log it looks like  RUN if [ -n "${!KERNEL_URL}" ]; then         curl -fL ${!KERNEL_URL} > ${DOWNLOADS}/kernel.tar.gz is failing, which is unrelated to my changes (as far as I can tell.) Am I misreading this?

No, you're correct that it's not related to this PR. That problem is fixed in master so a rebase should fix it :smile:

sweet! I will update tonight when I get home.

mmm, I'm tempted to merge this, and then import the bits into my re-write - but i need to get a test disk setup (i'm not at home until mid-next week - and my 3TB disks are all there)

mmm, VBox only lets me make disks up to 2TB :( going with VMWare :D

Hehe, yeh that was the issue I was having with testing. How do we add a flag to ros install?

I'll add the flags in #1456 - but initially, its possible to use the installer container directly - annoyingly the first test i did had issues with the partitions i'd set up :)

What I'm trying:

[ ] replace fdisk with parted
[ ] convert the use of parted to gpt

using parted manually, and then continuing the install manually
parted /dev/vda mklable msdos
parted -s -a optimal /dev/vda mklabel gpt -- mkpart primary ext4 1 -1
mkfs.ext4 -F -i 4096 -L RANCHER_STATE /dev/vda1
system-docker run --rm -it --net host --privileged --volumes-from=user-volumes --volumes-from=command-volumes zombie/os:64ec90f -d /dev/vda -t noformat --a "rancher.autologin=tty1"

wow. the number of times I forgot to push the zombie/os:.. image and then had to do it again :(

@konsumer can you please merge https://github.com/konsumer/os/pull/1 - it contains changes to make it possible to use your changes :)
after that, I'll merge this PR, and then apply the changes to #1456 - and then @deitch and I can work on getting UEFI and gpt support done.
The gptsyslinux install works, and boots from the 4TB disk - but its not mounted and used - so more work is needed.

Hey @SvenDowideit definitely glad to see this come back to life. I know what needs to be done, happy to finally bring this to a close, both for booting live UEFI and for ros install. Let me know when we are at a point to bring it in and I will reopen the PR on latest base.

I finally had some time to try it out and got a "Missing OS" error. Can anyone tell what I did wrong?
I decided to make a 100GB partition for state, and give the rest of the 4TB to media storage.
sudo parted -s -a optimal /dev/sda mklabel GPT mkpart primary ext4 1 100GB
sudo parted -s -a optimal /dev/sda -- mkpart primary ext4 100GB -1
sudo parted /dev/sda set 1 boot on
sudo mkfs.ext4 -F -i 4096 -L RANCHER_STATE /dev/sda1
sudo mkfs.ext4 -F -i 4096 -L MEDIA -m 0 /dev/sda2
sudo system-docker run --rm -it --net host --privileged --volumes-from=user-volumes --volumes-from=command-volumes zombie/os:64ec90f -d /dev/sda -t noformat -a "rancher.autologin=tty1"

I used this cloud-config.yml.
Then ran this:
sudo ros install -d /dev/sda -c cloud-config.yml --no-reboot -i zombie/os:64ec90f -t gptsyslinux -f

On reboot it won't boot.


Speed up npm

Running with an idea from @penalosa - this PR changes the pullrequest.yml GitHub action so that it caches all the node_modules for the project rather than running npm install.
Notably, we cache based on a hash of the package-lock file along with the current OS and node version.
Are there any other variables that we should incorporate into the key?
Also, if the cache misses then we run a full npm ci to ensure a clean reliable set of node modules.

OK let's give this a go and keep an eye on the cache hits/misses.


add_touchPoint

Made for mobile use event. : )

Looks good to me. I imagine we'll want to support multiple touches later, but that can come later. This is likely good for most use cases.


Upload connector to Confluent Hub

Hey all
Congratulations on your recent new release.  I'm just reaching out to see if you are interested in uploading this connector to a listing on the Confluent Hub; as I work with connector listings to the hub. If you are interested in having a listing I would advise the current released version has two HIGH level CVEs present:
https://github.com/advisories/GHSA-xpw8-rcwv-8f8p
https://avd.aquasec.com/nvd/cve-2023-1370
and as such Confluent security policy does not allow the upload of Critical or High CVEs to the hub.  If these can be remediated with fixes as outlined in links above; or these vulnerabilities signed off as a false positive or valid but non exploitable within code we can upload this for you.
If you have any questions please let me know
Confluent Integrations Team

Hi @ddonaghy-c - thanks for reaching out pro-actively! Good to see the experience around the hub improved 👍
I am interested in updating out listing - and happy to tackle the CVE first. This is already patched in the zeebe-java-client 8.4.0-alpha, and we will see a release beginning of January. Once this is there I will update the dependency and do a new release, then the CVE should be gone (I also added the project to our internal Snyk scanning so I can check violations myself first). We can keep this issue open and use it for the update.
Quick question: Is there some way to see user data around the connector? The last time I asked I got a rough number checked manually by somebody - can I either get an update on it or probably some more in-depth data (ideally via Email)?


Debug mongoose queries and Add angular-translate

Option to debug mongoose queries on development environment

@rubenjgarcia can you split this PR into 2?

@rubenjgarcia can you pull out the mongoose debugging into a separate PR? We'll merge that into 0.4.0 because it's a good idea.

Since @lirantal took the mongoose debug features from here and did it in #707, can this be closed?

yeah, thanks @codydaig


Error in replicate tutorial

Hi [Author's Name],
I hope this message finds you well. I've been trying to replicate the results you've achieved in your project, particularly regarding the neatness of the boundaries you've plotted. However, I seem to be encountering some difficulties in reproducing them accurately.

Regardless of adjustments made to either the apertureSize or L2gradient parameters, the observed outcomes remain consistent. Could this discrepancy potentially be attributed to variations in OpenCV versions？

Thanks for your interest in TESLA!
The contour in the tutorial was detected using:
cnt=tesla.cv2_detect_contour(img, apertureSize=5,L2gradient = True)

The image you show, which also looks good to me,  seems generated from the scan_contour() function.
The slight difference in the boundary region will not affect the results much.Feel free to proceed with your current contour


_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
buf
0m  0s

buf was not available.

+0 :ok:
buf
0m  0s

buf was not available.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
hbaseanti
0m  0s

Patch does not have any anti-patterns.

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 15s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 54s

branch-2 passed

+1 :green_heart:
compile
3m 44s

branch-2 passed

+1 :green_heart:
checkstyle
0m 50s

branch-2 passed

+1 :green_heart:
spotbugs
4m  6s

branch-2 passed

+1 :green_heart:
spotless
0m 56s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 42s

the patch passed

+1 :green_heart:
compile
3m 48s

the patch passed

+1 :green_heart:
cc
3m 48s

the patch passed

+1 :green_heart:
javac
3m 48s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 46s

the patch passed

+1 :green_heart:
spotbugs
4m 20s

the patch passed

+1 :green_heart:
hadoopcheck
18m 10s

Patch does not cause any errors with Hadoop 2.10.2 or 3.3.6 3.4.0.

+1 :green_heart:
hbaseprotoc
1m 22s

the patch passed

+1 :green_heart:
spotless
0m 53s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 20s

The patch does not generate ASF License warnings.

50m 20s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6122/1/artifact/yetus-general-check/output/Dockerfile

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

Optional Tests
dupname asflicense cc buflint bufcompat codespell detsecrets hbaseprotoc spotless javac spotbugs checkstyle compile hadoopcheck hbaseanti

uname
Linux d6ceeb4c1f94 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 3b0e37d9e90a6a02db073c38e61b4e42555813e3

Default Java
Eclipse Adoptium-11.0.23+9

Max. process+thread count
79 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-server U: .

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

versions
git=2.34.1 maven=3.9.8 spotbugs=4.7.3

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 45s

Docker mode activated.

-0 :warning:
yetus
0m  6s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 11s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 30s

branch-2 passed

+1 :green_heart:
compile
1m  3s

branch-2 passed

+1 :green_heart:
javadoc
0m 33s

branch-2 passed

+1 :green_heart:
shadedjars
5m 11s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 21s

the patch passed

+1 :green_heart:
compile
1m  5s

the patch passed

+1 :green_heart:
javac
1m  5s

the patch passed

+1 :green_heart:
javadoc
0m 35s

the patch passed

+1 :green_heart:
shadedjars
5m  8s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 23s

hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
212m 44s

hbase-server in the patch passed.

237m 19s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6122/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

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

Optional Tests
unit javac javadoc compile shadedjars

uname
Linux fa260b371183 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 3b0e37d9e90a6a02db073c38e61b4e42555813e3

Default Java
Temurin-1.8.0_412-b08

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

Max. process+thread count
4284 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-server U: .

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

versions
git=2.34.1 maven=3.9.8

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

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 42s

Docker mode activated.

-0 :warning:
yetus
0m  4s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m 11s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 20s

branch-2 passed

+1 :green_heart:
compile
1m 22s

branch-2 passed

+1 :green_heart:
javadoc
0m 36s

branch-2 passed

+1 :green_heart:
shadedjars
6m 13s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 17s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 10s

the patch passed

+1 :green_heart:
compile
1m 23s

the patch passed

+1 :green_heart:
javac
1m 23s

the patch passed

+1 :green_heart:
javadoc
0m 35s

the patch passed

+1 :green_heart:
shadedjars
6m 12s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 32s

hbase-protocol-shaded in the patch passed.

+1 :green_heart:
unit
222m 58s

hbase-server in the patch passed.

251m 43s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6122/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

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

Optional Tests
unit javac javadoc compile shadedjars

uname
Linux c803a7b533f8 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 3b0e37d9e90a6a02db073c38e61b4e42555813e3

Default Java
Eclipse Adoptium-11.0.23+9

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

Max. process+thread count
4379 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-server U: .

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

versions
git=2.34.1 maven=3.9.8

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 48s

Docker mode activated.

-0 :warning:
yetus
0m  4s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-2 Compile Tests _

+0 :ok:
mvndep
0m  9s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m  8s

branch-2 passed

+1 :green_heart:
compile
1m 31s

branch-2 passed

+1 :green_heart:
javadoc
0m 49s

branch-2 passed

+1 :green_heart:
shadedjars
5m 50s

branch has no errors when building our shaded downstream artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m  2s

the patch passed

+1 :green_heart:
compile
1m 31s

the patch passed

+1 :green_heart:
javac
1m 31s

the patch passed

+1 :green_heart:
javadoc
0m 40s

the patch passed

+1 :green_heart:
shadedjars
5m 29s

patch has no errors when building our shaded downstream artifacts.

_ Other Tests _

+1 :green_heart:
unit
0m 33s

hbase-protocol-shaded in the patch passed.

-1 :x:
unit
228m 16s
/patch-unit-hbase-server.txt
hbase-server in the patch failed.

256m 59s

Subsystem
Report/Notes

Docker
ClientAPI=1.46 ServerAPI=1.46 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6122/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

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

Optional Tests
unit javac javadoc compile shadedjars

uname
Linux e375b88bf193 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2 / 3b0e37d9e90a6a02db073c38e61b4e42555813e3

Default Java
Eclipse Adoptium-17.0.11+9

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

Max. process+thread count
4300 (vs. ulimit of 30000)

modules
C: hbase-protocol-shaded hbase-server U: .

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

versions
git=2.34.1 maven=3.9.8

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

This message was automatically generated.


Make cross-server RPCs more reliable

Description
Better randomness by abusing FGuids, and larger buffer by increasing retention to 30 seconds.
Both of these changes worsen performance, but I don't think it will be too significant.
Release note
N/A ?
Tests
Ran tests a LOT of times.
Documentation
N/A ?
Primary reviewers
idk yet

Small update, made use of all the bits of a guid and moved the constexpr inside the class header.

@m-samiec do we want to actually merge this? Or do you want to go ahead with removing the ids altogether? I think that would take some more time and more testing/theorycrafting.

@m-samiec do we want to actually merge this? Or do you want to go ahead with removing the ids altogether? I think that would take some more time and more testing/theorycrafting.

This is better than we've got - so lets go with it 👍


Nifi 13185

Summary
NIFI-13185
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[ ] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[ ] JDK 21

UI Contributions

[ ] NiFi is modernizing its UI. Any contributions that update the current UI also need to be implemented in the new UI.

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

Dear Reviewer,
Please note I did indeed build this on the back of another PR.  So when reviewing and deciding to merge this please take only the one relevant commit.
Thanks


[5.7] Add changelog for v5.7.6

Could someone update a releases on GitHub also?

@themsaid are you able to do this?


What is this sorting?

Uhhh....

I have a Node.js app open - which could be affecting the "recommended" values at the top of the list. What do you have open?

A JavaScript function app

Related to https://github.com/Microsoft/vscode-azureappservice/issues/880
It probably is related to the "recommended" values.

Closing as dupe


Add RM coin

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

I can help you add you token, :)

Tq for your help sir. I have successfully add the token. My question is when will the new change be active


Slow startup time

related: #24
Hi, I'm running neovim 0.5 and have switched over my entire config to fennel with aniseed. However, I'm getting noticeable slower startup now since aniseed apparently takes around 50ms to load according to nvim --startuptime:
...
069.000  050.430  048.199: sourcing /home/javyre/.local/share/nvim/site/pack/paqs/start/aniseed/plugin/aniseed.vim
...

This ~50ms represents 50% of my now 100ms startup time. Can you reproduce this or is it something wrong in my config? I don't think its just my disk being slow as was mentioned on #24 as I'm running on an m.2 ssd as well.
I'm loading aniseed with compile=false and compiling on file save to save on startup time already (which saved me around 20ms)
Update: The same exact dotfiles synced on my laptop give me a total startup time of 260ms with aniseed taking up 195ms)

Hey thanks for reporting this! I did some work to speed it up in the past but clearly not enough. I'll take a look at benchmarking various sections to work out what's slowing thing's down soon. It could be all the extra code I need to add to each module to make interactive evaluation work nicely or maybe my aniseed.core standard library.
I was planning on replacing a lot of my core map / filter / reduce with https://github.com/luafun/luafun at some point, which may massively help alongside simplifying my module macro output (if possible...).
Since Lua / Fennel doesn't really support namespaces I got clever with my module macros, but I guess that's hitting performance at larger codebase scales (i.e. Conjure). Sotte on the Conjure discord has also measured really high load times (relatively) from Conjure.

Thanks for the response!

It could be all the extra code I need to add to each module to make interactive evaluation work nicely

Are you talking about the fennelview stuff? I feel like requiring fennelview can be deferred to when we're actually calling serialize. It seems to get required on every module macro.

I was planning on replacing a lot of my core map / filter / reduce with https://github.com/luafun/luafun at some point, which may massively help alongside simplifying my module macro output (if possible...).

Luafun sounds great, but would this speed aniseed up? wouldn't there be more code to load with luafun?

Sotte on the Conjure discord has also measured really high load times (relatively) from Conjure.

I'll be looking forward to your benchmark results!

Not fennelview, no, it's the extra maps and meta data that I add to enable autocompletion + context aware evaluations. Without this there's not enough information to enable the smarter interactions you'd expect because Lua just wasn't intended for the sort of interactions Aniseed allows. I'll rethink an idea I had a while back about producing "slim" module code on disk and then upgrading it to metadata laden code when required.
I don't think it's volume of code but more the amount of work being performed while loading it. I'm pretty sure Lua can load a LOT of code very quickly, so maybe Aniseed pokes the filesystem once or twice and that's enough to slow it down. Needs some investigation, but I'm thinking speeding up my core functions I use a lot while slimming down macro output code will be the way to go.
Luafun is a very small library, I think it just has better implementations of functional lazy concepts. Might be a lot of work but I'll have a look.

Sounds good! Let me know if there's anything I can do to test or help out!

So I added a system environment variable and Lua global called ANISEED_LIGHT which enables "light" module output in the module macros. This is the default for all AOT compiling as well as aniseed.env configuration loaded for the moment. I may regret this and roll it back if this breaks things horribly.
This is all on the develop branch of Aniseed and Conjure, you should see a difference in file size at the very least. I don't know if you'll see a significant reduction in load time though, I had a quick look and it seems to have made a difference but I'd like to get your 3rd party take on it.
The downside / tradeoff: The lua modules on disk are now regular lua modules, lacking all the magic metadata that Aniseed adds through the module macros which enables the fancy interactive evaluations. You may run into weird issues while interacting with a file through Conjure until you evaluate the file again in Conjure, enriching it with metadata.
A way around this I may add if you think this has made a significant difference: Have Conjure detect "light" modules and warn you about this caveat and prompt you to load the file through Conjure to enable interactivity.
I won't experiment any further until people confirm that this is VERY much in the right direction though. If it's saving only like 5-10% it's probably not worth the added complexity. If it's more like 60% or more, then maybe it's worth it and will require further investment.

hmm, I switched to devel and now I'm getting:
Error detected while processing /home/javyre/.local/share/nvim/site/pack/paqs/start/aniseed/plugin/aniseed.vim:
line    4:
E5108: Error executing lua [string "luaeval()"]:1: Vim(echoerr):E121: Undefined variable: vim

A way around this I may add if you think this has made a significant difference: Have Conjure detect "light" modules and warn you about this caveat and prompt you to load the file through Conjure to enable interactivity.

This seems very reasonable to me.

Hmm that one just involved updating the Fennel compiler which passed all tests 🤔 I'll have a dig! Do you happen to be on Neovim 0.4.4 or 0.5+?

Not sure what I'll do to fix your error just yet (no idea why we'd see that, vim is a global within the nvim lua context) but I just had a thought: I might introduce lazy loading of requires, kind of like vim script's autoload idea. So by default all Aniseed module macros will add an invisible layer of indirection that lazy loads modules as they're actually used. This could make a HUGE difference 👀
I'll need a way to opt out for some specific reasons, but yay, could make more Aniseed based projects automatically faster! I like improving Aniseed since it improves EVERYTHING that depends on this tower of parens 😄
I think it's already a lot faster, but this should get us another jump in performance. All I really need to do is shift the load time from startup to some later user interaction.

Alright so I poked around and I think I found where it's coming from.
This line is sending an unquoted/escaped string to the echoerr command which is trying to evaluate the error message as a vim expression: https://github.com/Olical/aniseed/blob/ac29422c024586e0f82a76c76019e4b158851eb0/fnl/aniseed/env.fnl#L12
This leads to the confusing and meaningless "vim not found" error. If I add a print(err) manually before the echoerr, I get the actual error that the fennel upgrade caused:
vim.lua:129: /home/javyre/.local/etc/nvim/lua/init.lua:282: ambiguous syntax (function call x new statement) near '('

It looks like there may have been some regression in this version of fennel... I'll do some more research and try to find it.

I removed the 0.9 upgrade commit on my local copy and tested out the light mode anyways. I can't really tell any noticeable difference in startup time sadly :frowning_face:. I do (unsurprisingly) notice that there's less code generated though which is always a plus.

I have to admit that halfway through all this I realized that the startuptime listing for aniseed.vim I showed in the OP includes the time of executing my own config files since aniseed.env loads them in aniseed.vim. I'm now optimizing my config and getting many good time savings by deferring lots of innocent-looking requires.
Aniseed may or may not be slow at this points I really don't know how to measure it in isolation...

Closing this issue as I was able to greatly reduce the startup time by deferring the module requires in my config. If anyone wants to use aniseed in a "light mode", I think aniseed is very usable without the (module) and (defn) macro magic and I'm guessing that's a use case you'd like to support.
I don't think aniseed is really to blame for any major startup time issues I can see right now.

Hmm interesting! Well I'm probably going to revert the ANISEED_LIGHT stuff because it introduces two separately maintained chunks of macros that is a recipe for disaster. It didn't actually make it faster but it added a LOT of complexity for me as the maintainer as well as users.
Going to experiment with making all requires lazy (so they require at the point you look something up in them) with an optional opt out where required (shouldn't be noticeable in 99% of cases though)

Okay! All pushed! So the slight bloat to the code will be back (afraid it's either that or MASSIVE risk of bugs / reduced interactivity for weird reasons that users will get bitten by all the time), might try to reduce it again in the future but I'm not too worried about it.
I've added an autoload function that works just like require but it performs the load when you first try to use the table.
(module foo
  {require {my-mod x.y.z}})

;; becomes...

(module foo
  {autoload {my-mod x.y.z}})

I've swapped this over for every Aniseed, Conjure and nvim-local-fennel module on the develop branches of each repo. I'm actually seeing a fairly large jump and I could probably get a LOT more by deferring specific things like my personal configuration.
I don't want to add automatic deferring since that can break so many assumptions. This autoload should be completely invisible in most cases but delays the require until it's actually used. Sometimes this won't help, but I'd argue that it's worth using as a default over require until you hit an issue, then swap to require (like if you need eager loading for side effects).
I hope this helps and is interesting!

Yeah, I actually did something similar in my config: https://github.com/Javyre/etc/blob/d4b307b933aa50ebc9f99575ba02f312e9452520/nvim/fnl/macros.fnl#L1
I find it most useful for smaller scopes like here for example where I only need to require when the keybind is called and not when it is defined: https://github.com/Javyre/etc/blob/d4b307b933aa50ebc9f99575ba02f312e9452520/nvim/fnl/init.fnl#L306

Exactly what autoload is designed for ☺
On Sun, 25 Apr 2021, 17:03 Javier Pollak, @.***> wrote:

Yeah, I actually did something similar in my config:
https://github.com/Javyre/etc/blob/d4b307b933aa50ebc9f99575ba02f312e9452520/nvim/fnl/macros.fnl#L1
I find it most useful for smaller scopes like here for example where I
only need to require when the keybind is called and not when it is
defined:
https://github.com/Javyre/etc/blob/d4b307b933aa50ebc9f99575ba02f312e9452520/nvim/fnl/init.fnl#L306
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Olical/aniseed/issues/37#issuecomment-826347681, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACM6XPSANT6FB5AMROB2T3TKQ4NRANCNFSM43CH5Q2A
.


Bug report- Express Route Failed to Import

Is there an existing issue for this?

[X] I have searched the existing issues

Community Note

Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Version of the module you are using
5.5.5
Rover Version
No response
Terraform Version
1.2.3
AzureRM Provider Version
2.99.0
Affected Resource(s)/Data Source(s)
express route
Terraform Configuration Files
express_route_circuits = {
  er2 = {
    name                  = "test-cor-erc-001"
    resource_group_key    = "express_route"
    service_provider_name = "Equinix"
    peering_location      = "Dallas"
    tier                  = "Standard"
    bandwidth_in_mbps     = 10000
  }
}

Expected Behaviour
Expected behavior in this situation would be successful import of Express Route and there shouldn't be any drift in terraform configuration on the next plan or apply
Actual Behaviour
Post Import it's asking for re-creation of express route on the next plan/apply.

Steps to Reproduce
1.Create a express route manually
2. Import the manually create express route
3. Post Import trigger plan/apply
Important Factoids
No response
References
No response

Anybody got a chance to look at this issue and help us to fix?


SaveChangesAsync does not save changes to the database

SaveChangesAsync does not save changes made within the context to the database. No error's are noticed. However the changes cannot be seen in the database.
Exception message:
NA
Stack trace:
NA
I have attached the trace files.
efcore_sqlserver_new_trace.txt
Steps to reproduce:
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Debug;
using System;

namespace CodeFirstAsync
{
  class Program
  {
    static void Main(string[] args)
    {
      Console.WriteLine("Hello World!");
      Program p = new Program();
      p.Run();
    }

    public async void Run()
    {
      try
      {
        using (var db = new BloggingContext())
        {
          await db.Database.EnsureDeletedAsync();
          await db.Database.EnsureCreatedAsync();
          var blog = new Instructor { Name = "async" };
          db.Instructors.Add(blog);
           await db.SaveChangesAsync();
        }
      }
      catch (Exception error)
      {
        Console.WriteLine(error.ToString());
      }
    }
  }

  public class BloggingContext : DbContext
  {
    public static readonly LoggerFactory MyLoggerFactory
    = new LoggerFactory(new[] { new DebugLoggerProvider((_, __) => true) });

    public DbSet<Instructor> Instructors { get; set; }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
      base.OnModelCreating(modelBuilder);
    }

    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
      optionsBuilder.UseSqlServer(@"Data Source=YOUR DATA SOURCE;Initial Catalog=mynewdb;Integrated Security=True;Pooling=False").UseLoggerFactory(MyLoggerFactory);

      optionsBuilder.EnableSensitiveDataLogging();
    }
  }

  public class Instructor
  {
    public int Id { get; set; }
    public string Name { get; set; }
  }
}

Further technical details
EF Core version: 2.1.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Microsoft Windows 10
IDE: Visual Studio 2017 15.9.11

Looks like you are stiil doing async wrong

This is no place to learn C#. Please ask such questions on https://stackoverflow.com/ or similar websites. The EF Core team has more important things to do than answer such questions.

@pfdsilva Here's some code that works:
class Program
{
    static async Task Main(string[] args)
    {
        Console.WriteLine("Hello World!");
        Program p = new Program();
        await p.Run();
    }

    public async Task Run()
    {
        try
        {
            using (var db = new BloggingContext())
            {
                await db.Database.EnsureDeletedAsync();
                await db.Database.EnsureCreatedAsync();
                var blog = new Instructor { Name = "async" };
                db.Instructors.Add(blog);
                await db.SaveChangesAsync();
            }
        }
        catch (Exception error)
        {
            Console.WriteLine(error.ToString());
        }
    }
}

Notice that it uses an async Task Main method--you'll need C# 7 for this. It then awaits the call to Run, which in this case means the app won't try to exit while the async code is running.

Thanks @ajcvickers .


typos-Update entry_point.rs

Fix: Corrected typos in Rust source files
What was changed

Corrected typos:

Replaced transction with transaction in crates/blockifier/src/execution/entry_point.rs:173.
Replaced inludes with includes in crates/blockifier/src/execution/entry_point.rs:224.

Why these changes were made

Fixing typos improves the clarity and professionalism of the codebase, ensuring accuracy and ease of understanding for developers.

Additional Notes

These changes focus solely on correcting typographical errors and do not affect the functionality of the code.

This change is


Pointpillar pytorch model to onnx conversion

Hi, I am now working with the pointpillar and want to check if customize model is working fine in autoware. But I don't know exactly what is the pointpillar structure in pytorch before converted to onnx.
I am pretty sure this is not the same as here right?

Thanks for using Autoware and for your question. However the issue tracker is for posting confirmed bugs and feature requests.
We ask that you please ask questions at the ROS Answers website following our support guidelines: https://github.com/autowarefoundation/autoware/wiki/Support-guidelines#ros-answers. Please pay particular attention to the information we ask you to provide.


fix: :bug: Fixed the error (Typescript: Type 'string' is not assignab…

I would have preferred to implement it directly in BlurFadeProps, but unfortunately, MarginType isn't considered a public type.

I tried fixing my issue with this but when I deployed my site I got the client side exception. with this error
syntaxerror: Failed to construct 'IntersectionObserver': rootMargin must be specified in pixels or percent.
So to fix this I simply made the type as any

Hello @agb @dillionverma
I tried fixing my issue with this but when I deployed my site I got the client side exception. with this error
syntaxerror: Failed to construct 'IntersectionObserver': rootMargin must be specified in pixels or percent.
So to fix this I simply made the type as any

I don't know exactly what the problem is, but you can change const inViewResult = true; if you just want to skip the bug.


Changed initialization procedure & Image library

I believe the initialization should be done in the client library:
const StreamDeck = require('elgato-stream-deck');
var myStreamDeck = new StreamDeck();

or
const HID = require('node-hid');
const StreamDeck = require('elgato-stream-deck');
const devices = HID.devices();
var selectedDevice = devices[0]; // just an example
var myStreamDeck = new StreamDeck(new HID.HID(selectedDevice.path));

Also, I changed the image processing library to Jimp, as it is based on javascript-only. I have tested it on Windows and it installs fine without windows-build-tools. It would be awesome if someone could give it a go on MacOS & linux/Raspberry and then we could simplify the installation process a bit.
I also threw in a new function for putting an image on the whole panel, it's good example code if nothing else. :-)

Nice! Thanks for this PR -- having less native dependencies is great.
This PR is currently failing tests because it doesn't match our ESLint style rules. You can see what is failing here: https://travis-ci.org/Lange/node-elgato-stream-deck/builds/235110157?utm_source=github_status&utm_medium=notification
In addition, it'd be nice if you could add a new test for your new feature, so that test coverage remains at 100%.
Thanks again! :+1:

I think we may also want to use JIMP's .cover method instead of .resize. This is what matches the current behavior we get from sharp:
image.cover( w, h[, alignBits || mode, mode] );      // scale the image to the given width and height, some parts of the image may be clipped

@nytamin Could you also share your reasoning behind leaving construction to the consumer? I'm not opposed to the change I'm just curious. Lange's original setup meant less boilerplate code in the module's use.

I'll be sure to look into the issues @Lange pointed out! :)
@ProbablePrime When we have the initial "automatic" setup in the module as of now we limit the user to only be able to use the automatically selected StreamDeck. If the user has several connected SD:s he would like to select which one to use himself.
Another scenario (which will be my first implementation of this library) would be that the app first checks which HID-devices are connected (StreamDecks, XKeys, keyboards etc), and later on starts to initialize and use one (or several) devices.

Just to put it out there, we know that the current way the library is coded isn't useful for anything besides proof-of-concept demos, and are working on making it usable in production via this pull request: https://github.com/Lange/node-elgato-stream-deck/pull/27

Apparently the tests fail, although I've verified that the functionality works fine on my machine. It looks like I only recieve zeroes from the streamDeck.device.write callback. I'm at a loss what to do I'm afraid.. :/

One of us (most likely @ProbablePrime) will look into this when we have time. We're both in the middle of crunching on our respective projects so we've put this down for a bit.

Ok time to review this, comments coming soon :)

I restarted the build for this PR, it looks to be timing out this may be a run away promise, if it fails again ill run the tests locally.

Okay, so I think I've addressed most of the issues. Maybe it would be easiest for you now to accept the PR and make the changes you'd like afterwards?
I have another feature coming up which adds caching of images, dropping the latency about 10x, but I think it would be best to put that in a separate PR?

You could try and use stacked PRs to potentially build ontop of this one.
I'd actually like to get a release of this module out before we merge this one as this is breaking and we have features that are unreleased.
@Lange Can we release 1.2 early(I know there are some roadmap issues) and then get this in to then start the basis of 2.x? This is breaking and i dont want to hold it up whilst we do the current 1.2 milestone'd items.

I'm happy with this PR now, the other comments can be handled as a tidy up later.

@ProbablePrime sure, I'm okay with releasing 1.2 early and changing the roadmap.

I'll adjust our issues list and prepare for a 1.2.0 release

Fixing up this build in the next branch


Realtime client side validation doesn't work with schema with 2+ refinements

Description
Realtime client side validation doesn't work with schema with 2+ refinements
Example
https://github.com/ThatRex/superforms-test/tree/master/src/routes/superform-b

note that the same happens when you use
export const schema = z.object({
	name: z.string().min(1),
	email: z.string().email(),
 // the z.optional causes a problem
	items: z.optional(z.array(z.object({ title: z.string(), name: z.string().min(3) })))
});

see https://stackblitz.com/edit/sveltekit-superforms-testing-3pajxe

Both of these should work now with 0.8.3, please check it out!

Thanks! Just updated and this problem is fixed.
There is some weird behavior however as seen in this example where name 1 and 2 should match.

Steps To Reproduce:

Taint Name 2
Set Name 1 to a non matching name. (Error gets added to name2)
Set Name 1 to a matching name. (Error does not get removed from name2)

Yes, the updating of the data was missing during side effects. Thanks, there will be another patch soon.

It was a multi-faceted problem, there is some timing issue with select fields and bind:value, so the bindings are triggered in a different compared to the events. But v0.8.4 is released, this should be fixed.
The only thing that cannot be fixed is if you, in this example, change name 1 and expect to see the error message. This doesn't work since field 2 isn't tainted, and that's where the error is. Otherwise all seemingly unrelated fields would have errors set on them.

Cool, Thanks! Just updated, tested and cant find any further issues.


Revert "APP-95: [Java] Basic level Apps: Data collection"

Reverts kaaproject/sample-apps#246
The PR includes change to the schema with drop of timestamp field which breaks other related applications functionality (and build).

"timeStamp" field is not exists in schema in updated descriptions of the epic APP-107:
http://jira.kaaproject.org/browse/APP-227
http://jira.kaaproject.org/browse/APP-228


Update resource.robot - Append Https port number

possible fix for https://github.com/openbmc/openbmc-test-automation/issues/2100

Closing this PR.. since we dont support anymore code drops through this but via the above Gerrit and CLA process.. Thanks


.whl for Linux  ARM64 error

I have some trouble to install python datasketches==4.0.0 on Linux  ARM64, I receive the following error when I run pip3 install datasketches==4.0.0
Building wheels for collected packages: datasketches
  Building wheel for datasketches (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 /usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpr2gn81le
       cwd: /tmp/pip-install-r9ab7pna/datasketches
  Complete output (68 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-cpython-37
  creating build/lib.linux-aarch64-cpython-37/datasketches
  copying python/datasketches/PySerDe.py -> build/lib.linux-aarch64-cpython-37/datasketches
  copying python/datasketches/__init__.py -> build/lib.linux-aarch64-cpython-37/datasketches
  running build_ext
  -- The CXX compiler identification is unknown
  CMake Error at CMakeLists.txt:25 (project):
    No CMAKE_CXX_COMPILER could be found.

    Tell CMake where to find the compiler by setting either the environment
    variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
    to the compiler, or to the compiler name if it is in the PATH.

  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-install-r9ab7pna/datasketches/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeOutput.log".
  See also "/tmp/pip-install-r9ab7pna/datasketches/build/temp.linux-aarch64-cpython-37/CMakeFiles/CMakeError.log".
  Traceback (most recent call last):
    File "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
      main()
    File "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 205, in build_wheel
      metadata_directory)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 414, in build_wheel
      wheel_directory, config_settings)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
      self.run_setup()
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 335, in run_setup
      exec(code, locals())
    File "<string>", line 109, in <module>
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
      return distutils.core.setup(**attrs)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 325, in run
      self.run_command("build")
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 132, in run
      self.run_command(cmd_name)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/dist.py", line 1208, in run_command
      super().run_command(command)
    File "/tmp/pip-build-env-_wmx9kjy/overlay/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
    File "<string>", line 46, in run
    File "<string>", line 78, in build_extension
    File "/usr/lib64/python3.7/subprocess.py", line 363, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-r9ab7pna/datasketches', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-r9ab7pna/datasketches/build/lib.linux-aarch64-cpython-37', '-DWITH_PYTHON=True', '-DCMAKE_CXX_STANDARD=11', '-DPython3_EXECUTABLE=/usr/bin/python3', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for datasketches
Failed to build datasketches
ERROR: Could not build wheels for datasketches which use PEP 517 and cannot be installed directly

how can i generate a whl that will work on Linux  ARM64 of datasketches==4.0.0?

It looks like we don't have ARM64 on linux as part of the cibuildwheel configuration. I'll fix that going forward.
That said, the error is that it's not finding a compiler. Either g++ or clang++ will work. Does your container include one of those? And if no, can you try an image that does?

thanks for the reply, I need a whl to use on aws glue job that accepts libraries with Python/C only a whl format (aarch64manylinux) [https://docs.aws.amazon.com/glue/latest/dg/author-job-ray-python-libraries.html](see the doc)

Ray jobs do not support compiling native code in the job environment. This can be a limitation if Python dependencies transiently depend on compiled native code. Ray jobs can run the binaries provided, but they must be compiled for Linux on ARM64. This means that you can use the contents of the aarch64manylinux wheels. You can provide your own native dependencies in compiled form by repackaging a wheel according to Ray standards. Typically, this means removing the dist-info folders so that there is only one folder at the root of the archive.

I use an EC2 with Amazon Linux AMI on arm64.

I don't have an immediate fix, unfortunately. I'm running the change to the build workflow, although I don't think I have a way to test it beyond trying to trigger a "wrong architecture" error locally.
If it does seem to work, we can start a release process. There's at least a 3 working day delay baked into that, assuming we can get enough release votes within that window. With luck I'll manage to start that (it'd be <IP_ADDRESS>, I think; this wouldn't even be a patch release) today or tomorrow.

Ok, the first quick attempts did not work. This might take longer than I'd expected.

I did the whl on a AWS AMI linux arm64 machine
datasketches-4.0.0-cp37-cp37m-linux_aarch64.whl
but when I run the script on glue I receive this error:
{
    "Event": "GlueETLJobExceptionEvent",
    "Timestamp":<PHONE_NUMBER>659,
    "Failure Reason": "Traceback (most recent call last):\n  File \"/tmp/pip-datasketches.py\", line 8, in <module>\n    import datasketches\n  File \"/home/spark/.local/lib/python3.7/site-packages/datasketches/__init__.py\", line 20, in <module>\n    from .PySerDe import *\n  File \"/home/spark/.local/lib/python3.7/site-packages/datasketches/PySerDe.py\", line 18, in <module>\n    from _datasketches import PyObjectSerDe\nModuleNotFoundError: No module named '_datasketches'",
    "Stack Trace": [
        {
            "Declaring Class": "<module>",
            "Method Name": "from _datasketches import PyObjectSerDe",
            "File Name": "/home/spark/.local/lib/python3.7/site-packages/datasketches/PySerDe.py",
            "Line Number": 18
        },
        {
            "Declaring Class": "<module>",
            "Method Name": "from .PySerDe import *",
            "File Name": "/home/spark/.local/lib/python3.7/site-packages/datasketches/__init__.py",
            "Line Number": 20
        },
        {
            "Declaring Class": "<module>",
            "Method Name": "import datasketches",
            "File Name": "/tmp/pip-datasketches.py",
            "Line Number": 8
        }
    ],
    "Last Executed Line number": 8,
    "script": "pip-datasketches.py"
}

@jmalkin  you might need it for debugging.

Thanks for that.
I managed to get it "working" last night via emulation. The job took >2hrs to complete, so about 10x slower than the normal wheel generation. But at least it worked, so forward progress.
Trying to test is a challenge currently. I was able to check that the generated .so artifact does appear to be for the right architecture. Interestingly, swapping in that one for the working x86_64 library on my linux desktop produced the same error you got. That makes me suspect there's some sort of mismatch, but also has me a little bit optimistic that the build tool's generic approach might let it auto-select the correct one.
I'm going to make an attempt at cross-compiling since that'd be vastly faster if it works. But since I (might) have a working solution I won't let that be a long blocker in favor of having something to test.

@jmalkin I can help you test whl directly from my AWS account

@bllmo It's very much not an official release -- I'm not sure off-hand what changes we've merged since the 4.0.0 release even. But I'm testing in my personal fork just so I don't spam everyone with push and error messages while testing.
The archive with an aarch64 wheel is here: https://github.com/jmalkin/datasketches-cpp/actions/runs/3964659089. There's an "archive.zip" at the bottom. Trying to show my work so you know what you're testing.
It seems to be using python 3.7 based on your previous error messages so I think you'll want datasketches-4.1.20230120.dev425-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

@bllmo Please let me know if you get a chance to test it. Hoping we can try for a release and get it into pypi later this week (which will depend on how fast we get votes on the release -- there's a process for Apache releases).

@will-lauer helped me test this on an AWS instance. Did a quick test of importing and feeding data into a theta sketch, which ensured it both loaded the .so and successfully farmed out calls it out.

This should now be live in pypi


address: removing the throwing variant of parseInternetAddress

Risk Level: low
Testing: updated tests
Docs Changes: n/a
Release Notes: n/a
https://github.com/envoyproxy/envoy-mobile/issues/176

/retest

tagging @tyxia for first pass

oh argh, merged instead of autosubmit.  @RyanTheOptimist PTAL and will address comments TBR?


Support for textarea in prompt type

Implemented multiline support for a better experience with large texts (e.g. somekind of feedback).

This change is

Apologies for the delay, I'll review this within the next couple days!


Deconz 6.2.0 exit after start

Just updated Deconz to the latest version. For some reason the addon quits after it is started. In the logs I see these lines:
[19:08:51] INFO: Starting VNC server (local/no)...
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

No change was made to the configuration. I don't know what is causing this behavior. Anyone??
--QuaySo

Same here. Rebooted everything but it doesnt help.

same here as well

Is there a way to revert to the previous version of Deconz?

@QuaySo No idea. Not sure if its a good idea to delete and reinstall. Nothing is working so a fix would be great

Same here. And that is a desaster as it controls a lot in my HomeAssistant environment.

Reinstalling Deconz does not fix a thing. Can't even start it right now.

i just sucessfully restored the plugin through a snapshot i did two days ago (only selected to restore the plugin itself). This seems to work properly, so i hope you all got your backups right :-/
This update should be pulled ASAP so there won't be any more damage.

i just sucessfully restored the plugin through a snapshot i did two days ago (only selected to restore the plugin itself). This seems to work properly, so i hope you all got your backups right :-/

I did exactly the same. Glad to have nightly backups...

I can offer to upload the old plugin-version itself in V6.1.2 as Snapshot, but i don't know if it comes with any personal data. Anyone knows more about partial backups?

Same here... 👎

Same here... and no snapshot since over a month ☹

Same issue here. Awaiting an upgrade soon or will revert to a backup.

If anyone is interested, I have made a deconz backup. You can download it here
Its only available for 7 days, so lets hope its solved by then

Please upgrade to 2.6.1 of the add-on.

Confirm 6.2.1 resolved the issue. I'm up and running again without restoring snapshot (just upgraded again!). Thanks for quick resolution!

How to upgrade to 6.2.1 ?
I don´t have that option yet ?

To force update from the store: from the SSH plugin use ha addons reload then the 6.2.1 should be available from the web interface of HASS.


[Feature Request] Pass custom scroll event when shallow routing.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
More like desired behavior; but it would be nice if a customScroll event could be passed by the user when executing shallow routing if the default scroll event provided by next here is not the desired effect.
Current Behavior
At the moment if trying to create your own custom scroll events or if using a third party library the scroll events will either be ignored or the scroll event being used by next takes precedence leading to two scroll events happening.
Steps to Reproduce (for bugs)
Please see this repo for demo & a proposed solution (albeit probably not the greatest idea)
Context

Really wanting shallow routing for a website I'm building with a scrolling layout. I'm using the react-scroll library to achiever the scrolling layout; but so far have found no concrete method for using the customScroll events being called by the library with the shallow routing feature in next.
Your Environment

Tech
Version

next
3.0.1-beta.8

chrome
59.0.3071.115

node
8.1.3

macOS
10.12.5

I'm willing to spearhead this since it's something that I would really like :smile: :tada:

@rockchalkwushock could you please submit the table you added instead of the text to the issue template. I love it 😄 ❤
Regarding your proposal, cc @arunoda

@timneutkens so you need the table in the issue as text, sorry didn't quite understand what you meant. I'm working on this now btw.

nevermind I understand now....and English is my first only language :joy:

I've got this working, at least a rough copy anyways. As soon as I can get my text editor to quit making format changes that prevent me from committing I'll push the code and open a PR.

@timneutkens
Still fighting formatting issues with the example I made 🙄 , but I do have a question about the how to integrate these changes into the <Link /> API. I realize we would need to add the new props to the component, but where I'm a little lost is how to update the code here to reflect this addition 😕 .
You can see the changes I have made to the code base in these commits. If you have any concerns about potential setbacks or better methodology for handling this please let me know I'm all ears and by no means a wiz a this.

nevermind I understand now....and English is my first only language 😂

@rockchalkwushock drawback of me typing stuff on my phone :joy:
Regarding your questions, @arunoda could you have a look on if we even want this in the core 😄👌

@timneutkens
haha no prob man I understand, I'll standby for direction from @arunoda

I think we can have a setting to turn-off the scrolling we use here.
We can do something like this:
import Router from 'next/router'
Router.disableScrolling()

@arunoda
I think that would be good. No rework to the code revolving around the shallow routing or props needing to be added to the <Link /> component. Would we just want disableScrolling to look for scrolling events and remove them?
router.js
// ...
disableScrolling (as) {
  const [ , hash ] = as.split('#')
  const el = document.getElementById(hash)
  // I've been reading around and it looks as if there is
  // no method for checking if an element has an event listener attached.
  // This is currently experimental, maybe a future fix should it become standard:
  // https://developer.mozilla.org/en-US/docs/Web/API/Document/scrollingElement
  if (el) { // bad
    el.removeEventListener('scroll')
  }
}

Actually, I don't like ^^^ code.
I am looking at something like this:
disableScrolling () {
  this.dontScroll = true
}

scrollToHash (as) {
  if (this.dontScroll) return

  const [ , hash ] = as.split('#')
  const el = document.getElementById(hash)
  if (el) {
    el.scrollIntoView()
  }
}

@arunoda
I see so if the user passes Router.disableScrolling() at the top of the file, this code will run. Would the user need to do the same for using <Link href='#foo' shallow />, or would we prefer a prop be defined for that use case? My assumption is donScroll is a prop, but I want to make sure before I proceed. I undo my commits and implement this. I saw there is a test file for router.js is that the location I should write the tests for this, & the <Link /> API update?


SoapyLMS7: add channel 0 as default to setupStream()

setupStream() was setting up no channels when called with the default
argument (empty list), but the SoapySDR device API specifies that an
empty channel list should result in automatic setup.

Thanks, thats the way to do it. I think that this is something that got lost accidentally in the latest LMS-API merge.


Mint test tokens:HORSE at Katla test net,but no one HORSE token is dispatch,and then the faucet show "This token is not mintable on this network"

Describe the bug
goto the faucet page,mint  the "HORSE" token,mint ,but tip success,but no one HORSE is dispatch,and then the mint button is unavailabe
Steps to reproduce
1.goto the faucet page
https://bridge.katla.taiko.xyz/faucet
2.select the "HORSE" token
3. mint
Additional context
Additional context here.

no transations:

Closed by https://github.com/taikoxyz/taiko-mono/issues/15523#issuecomment-1899936366

You cannot mint HORSE on Katla, only Holesky
Your Transactions only show bridge transactions, go to the explorer or wallet to see your transactions

Roger，Thanks，Mybe it's my fault

You cannot mint HORSE on Katla, only Holesky
Your Transactions only show bridge transactions, go to the explorer or wallet to see your transactions

Hey,bro,please check this:show "processing"


Why Should i need to clear certificate

In Product phase we dont have any control of clients certificates. So hence clearing certificates is a bad notion right

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c7ddfb2f-5dea-5e31-2a27-02a4dc16104c
Version Independent ID: 12ca0b9a-2638-a4ce-c45f-d4579c83dafb
Content: Enforce HTTPS in ASP.NET Core
Content Source: aspnetcore/security/enforcing-ssl.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Where does it say that?

Rick,
https://docs.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-3.1&tabs=visual-studio
If you get the error ERR_SPDY_INADEQUATE_TRANSPORT_SECURITY in Chrome, run these commands to update your development certificate:
Regards
Punnoose
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10
From: Rick<EMAIL_ADDRESS>Sent: 18 March 2020 23:52
To<EMAIL_ADDRESS>Cc: Punnoose<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [dotnet/AspNetCore.Docs] Why Should i need to clear certificate(#17355)
[Boxbe]https://www.boxbe.com/overviewRick Anderson<EMAIL_ADDRESS>is not on your Guest Listhttps://www.boxbe.com/approved-list?tc_serial=52180293624&tc_rand=422706201&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=zLQ%2FHCDAXUKa%2FAeEYGCRv9oro%2BBkoXqH9GjJ0RBawug%3D&token=JpyTdwa9fZKorz7K%2F8CQQ9Ifb%2BBA8TbXRnjvTR56q9u%2FUbag5jyLDsRsi1Ik%2F2Mu | Approve senderhttps://www.boxbe.com/anno?tc_serial=52180293624&tc_rand=422706201&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&key=zLQ%2FHCDAXUKa%2FAeEYGCRv9oro%2BBkoXqH9GjJ0RBawug%3D&token=JpyTdwa9fZKorz7K%2F8CQQ9Ifb%2BBA8TbXRnjvTR56q9u%2FUbag5jyLDsRsi1Ik%2F2Mu | Approve domainhttps://www.boxbe.com/anno?tc_serial=52180293624&tc_rand=422706201&utm_source=stf&utm_medium=email&utm_campaign=ANNO_MWTP&utm_content=001&dom&key=zLQ%2FHCDAXUKa%2FAeEYGCRv9oro%2BBkoXqH9GjJ0RBawug%3D&token=JpyTdwa9fZKorz7K%2F8CQQ9Ifb%2BBA8TbXRnjvTR56q9u%2FUbag5jyLDsRsi1Ik%2F2Mu
Where does it say that?
â€”
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/AspNetCore.Docs/issues/17355#issuecomment-600788737, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGMLIQVHGGY4CBSJW34DDUTRIEGNFANCNFSM4LOXSNTQ.

Those are development certs. The instructions are correct.


Cosmos DB: Correcting issue raised in LiveFyre.

@mimig1,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Error: listen EADDRINUSE :::5858

Steps to reproduce:

Run node-debug.
(don't execute the script ie. by stepping through all the way or pressing the play/pause button in the debugger)
Quit using ctrl + c.
Run node-debug.
Observe error.

Am I doing something wrong?
Edit: It seems the issue might be that I'm quitting from the command line before I let the whole script execute. Is that it?
Console output:
projects/10 » node-debug Compiler/main.js ArrayTest
Node Inspector v0.12.8
Visit http://<IP_ADDRESS>:8080/?port=5858 to start debugging.
Debugging `Compiler/main.js`

Debugger listening on port 5858
^C%
projects/10 » node-debug Compiler/main.js ArrayTest
Node Inspector v0.12.8
Visit http://<IP_ADDRESS>:8080/?port=5858 to start debugging.
Debugging `Compiler/main.js`

Error: listen EADDRINUSE :::5858
    at Object.exports._errnoException (util.js:870:11)
    at exports._exceptionWithHostPort (util.js:893:20)
    at Agent.Server._listen2 (net.js:1234:14)
    at listen (net.js:1270:10)
    at Agent.Server.listen (net.js:1366:5)
    at Object.start (_debug_agent.js:21:9)
    at startup (node.js:70:44)
    at node.js:968:3

I'm on OSX El Capitan, if that's relevant.

Hello @adamzerner
I`m getting the same problem here.
Run on the terminal:
$ sudo lsof -i:5858
You`ll find the process that is using the port.
And the, kill the process by running:
$ sudo kill 0000
Where the 0000 is the number of the process that is using the :5858 port.
Just warning: For me , also running Mac , it solved half of the problem, because I `m still unable to run node-debug without getting an error.

Just tried that, solved my problem, thanks!

sudo killall -9 node
This is how i solve it on MAC


Unexpected DateTime Format in assertDatabaseHas Method with Date

Laravel Version
10.39.0
PHP Version
8.3
Database Driver & Version
8.0.33
Description
When using the assertDatabaseHas method in tests, there seems to be an inconsistency with how date fields are handled.
Despite the field being cast as a date in the Eloquent model and stored as a date in the MySQL database, the assertDatabaseHas method is returning the date as a datetime string.
This causes the assertion to fail when comparing the date value from the test data with the date value from the database.
Steps To Reproduce

Migration:
$table->date('due_date')->nullable();

Model:
protected $casts = ['due_date' => 'date:Y-m-d'];

Factory:
'due_date' => now()->addDays(fake()->numberBetween(1, 365))->format('Y-m-d'),

Test:
it('should test correctly', function () {
  $owner = User::factory()->create();
  $this->actingAs($owner);

  $this->assertDatabaseCount('deliveries', 0);

  $delivery_data = Delivery::factory()->make()->toArray();

  $response = $this->postJson(route('me.deliveries.store'), $delivery_data);

  $this
    ->assertDatabaseCount('deliveries', 1)
    ->assertDatabaseHas('deliveries', [
      'title' => $delivery_data['title'],
      'description' => $delivery_data['description'],
      'due_date' => $delivery_data['due_date'],
      'visibility' => $delivery_data['visibility'],
      'user_id' => $owner->id,
    ]);
});

Result:
Tests\Feature\API\Controllers\MeDeliveryStoreTest > it should test correctly
  Failed asserting that a row in the table [deliveries] matches the attributes {
    "title": "Maiores tempore enim fuga qui.",
    "description": "Iure ipsum tempora est sequi et optio. Omnis rerum qui architecto officiis. Deleniti quos et harum et nobis. Nobis veniam excepturi corrupti placeat.",
    "due_date": "2024-12-03",
    "visibility": "public",
    "user_id": 1,
}.

Found similar results: [
    {
        "title": "Maiores tempore enim fuga qui.",
        "description": "Iure ipsum tempora est sequi et optio. Omnis rerum qui architecto officiis. Deleniti quos et harum et nobis. Nobis veniam excepturi corrupti placeat.",
        "due_date": "2024-12-03 00:00:00",
        "visibility": "public",
        "user_id": 1,
    }
].

  at tests/Feature/API/Controllers/MeDeliveryStoreTest.php:21
     17▕   $response = $this->postJson(route('me.deliveries.store'), $delivery_data);
     18▕
     19▕   $this
     20▕     ->assertDatabaseCount('deliveries', 1)
  ➜  21▕     ->assertDatabaseHas('deliveries', [
     22▕       'title' => $delivery_data['title'],
     23▕       'description' => $delivery_data['description'],
     24▕       'due_date' => $delivery_data['due_date'],
     25▕       'visibility' => $delivery_data['visibility'],

  Tests:    1 failed (3 assertions)
  Duration: 0.63s

Hey there,
Can you first please try one of the support channels below? If you can actually identify this as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


Create abhinav2.c

This Pull Request resolves Issue #
Description:
In this Pull Request we have done the following additions/edits for the code:
Note: Delete all the text including this!

Make sure you replace #<IssueNumber> with the particular Issue that you are referencing with!
Make sure you describe the Issue properly and ask as many people as possible to review your Pull Request so that it can be merged as soon as possible!

Hi Abhinav! Thank you for contributing :)
A better way to structure code would be to provide an API function. For example, in the first case you are doing a binary search in an array. A developer would prefer having a function to call from your library as:
int result = abhinavs_binary_search(arr, key);

It makes code more reusable and better looking.


Build fails with configuration in allprojects section with 0.73.0

Plugin version
0.73.0
Gradle version
6.8.3
Android Gradle Plugin (AGP) version
Not an android build
Describe the bug
Updating to version 0.73.0 results in build issues.
It's reporting errors in configuration sections that seem to work with previous versions.
To Reproduce
Here's a build.gradle file that demonstrates the issues:
plugins {
    id 'com.autonomousapps.dependency-analysis' version '0.73.0'
}

wrapper {
    gradleVersion = '6.8.3'
}

allprojects {
    apply plugin: "com.autonomousapps.dependency-analysis"

    // Per: https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/wiki/Customizing-plugin-behavior#failure-conditions-and-filtering

    // Adding in either of the two config blocks below breaks the build
    dependencyAnalysis {
        issues {
            onAny {
                severity('fail')
            }
        }
    }

    //dependencyAnalysis {
    //    all {
    //        issues {
    //            onAny {
    //                severity('fail')
    //            }
    //        }
    //    }
    //}
}

Steps to reproduce the behavior:

Copy the above build.gradle file to a file
Attempt to execute the wrapper task (i.e. gradle wrapper or ./path/gradlew wrapper)
There is an error
Change the version of the plugin to 0.72.0
Run the wrapper task
It succeeds with the earlier version

Expected behavior
The task should run without an error
Additional context
I tested with 0.71.0 and 0.72.0 and both of those seemed fine.
I included two code blocks related to the documentation link and both seem to have problems.
If both code blocks are removed, the build succeeds.
This is a very simplified example without any actual sub projects, Java code/dependencies, or other project setup but the errors that are demonstrated here are also being seen in our actual projects that are working fine with version 0.71.0 currently but are having issues with 0.73.0.

Thank you for the report. I suspect my documentation is out of date (and I'm working on upgrading it now). To achieve what it seems you want to, this should work:
dependencyAnalysis {
  issues {
    // The "all" here refers to "all projects".
    all {
      onAny {
        severity('fail')
      }
    }
    // This is the alternative to "all". It configures just a single subproject, by path.
    project(":lib") {
      // as above
    }
  }
}

Your first example used a function that has been deprecated for a while, and which was removed in 0.73.0, in anticipation of the upcoming 1.0 release. I don't think your second example ever worked.

Ohh, I see what's happening now. You put that in the allprojects block. The following is legal only in subprojects
dependencyAnalysis {
  issues {
    onAny {
      severity('fail')
    }
  }
}

That would fail in the root project, as the root needs the all {} or project(":lib") {} variant. If you want to configure these rules for the entire project, you're better off just putting that configuration outside of allprojects {} and using the root extension variant of the code (from my earlier comment).

I gave that a try and haven't been able to find a configuration that works for us yet. I've attached some more complete examples here.
Something like this is what we currently have today with version 0.71.0. It uses the allprojects block which I understand isn't supported but it's what we've been using so far.
plugins {
    id 'com.autonomousapps.dependency-analysis' version '0.71.0'
}

wrapper {
    gradleVersion = '6.8.3'
}

allprojects {
    apply plugin: 'java'
    apply plugin: 'checkstyle'
    apply plugin: 'com.autonomousapps.dependency-analysis'

    dependencyAnalysis {
        issues {
            onAny {
                severity('fail')
            }
        }
    }
    check.dependsOn buildHealth
}

When I try to use alternative configurations, I'm not able to get the check.dependsOn statement to work. I can pull chunks out into the root project directly and/or use subprojects but I can't seem to get it to function with the additional dependency.
Here's an example of something I tried that doesn't work:
plugins {
    id 'com.autonomousapps.dependency-analysis' version '0.73.0'
}

wrapper {
    gradleVersion = '6.8.3'
}

apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'com.autonomousapps.dependency-analysis'
dependencyAnalysis {
    issues {
        all {
            onAny {
                severity('fail')
            }
        }
    }
}
check.dependsOn buildHealth

subprojects {
    apply plugin: 'java'
    apply plugin: 'checkstyle'
    apply plugin: 'com.autonomousapps.dependency-analysis'

    check.dependsOn buildHealth
}

I'm going to keep working away at it but any advice or suggestions would be appreciated.

As I understand it, you want the check task that exists for each project to depend on buildHealth. I can think of a couple of ways to achieve something like that. Here's an example
root build.gradle
plugins {
  id 'com.autonomousapps.dependency-analysis' version '0.73.0'
  id 'java' // it's unusual to apply this plugin instead of java-library
  id 'checkstyle'
}

dependencyAnalysis {
    issues {
        all {
            onAny {
                severity('fail')
            }
        }
    }
}

check.dependsOn buildHealth

subprojects {
  check.dependsOn ':buildHealth'
  // or
  check.dependsOn projectHealth
  // or
  check.dependsOn aggregateAdvice
}

Couple of things to note here:

You don't need to apply this plugin in the subprojects block. When you apply the plugin in the root, it auto-applies itself to all subprojects.
check.dependsOn ':buildHealth' refers to the ':buildHealth' task by path instead of with an accessor.
Every project has a projectHealth task registered, which is like buildHealth but for just that project.
Every project has an aggregateAdvice task registered, which is basically equivalent to projectHealth. The difference is that buildHealth literally depends on aggregateAdvice (you can verify by running ./gradlew buildHealth -n and inspect the output), while projectHealth is more of an alias and intended as a project-level analog to buildHealth.

I would personally recommend having the subprojects depend on projectHealth, as I think that most closely matches your intention. I don't think it makes sense for lib:check to trigger a full build, which buildHealth does.
Hope that helps.

I really appreciate the help and support on this. I've got something up and running with 0.73.0.
The key piece for me seemed to be switching to projectHealth. I'm not sure if that was expected or not. When I copied the build.gradle setup from your last post and tried to run ./gradlew clean check, it fails on setting the dependency on buildHealth. Switching it to projectHealth seems to resolve that issue.

Glad to hear you've got something working!
On June 15, 2021, GitHub @.***> wrote:

Closed #412 <https://github.com/autonomousapps/dependency-analysis-
android-gradle-plugin/issues/412>.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/autonomousapps/dependency-analysis-android-gradle-
plugin/issues/412#event-4893810017>, or unsubscribe
<https://github.com/notifications/unsubscribe-
auth/ABJG5PJFNS5EGGPAO6CGSGTTS6XIHANCNFSM46O5LJSQ>.


Add an example

Thanks for angular-tabletop, exactly what I was looking for.
Would be great if you could include a simple example.html in the codebase.

Happy to do so, but think it will really be any more explanatory than the example given in the README?

Probably it's just me and my basic angular knowledge. Just trying to get the google sheets data in an angular array and struggling to do so.

I'll add this to the docs eventually, but here's a working example:
http://plnkr.co/edit/k3qdY0YZ6WofyihT623g

This is great! Thanks a lot.
Jesse


Migrate Toast and Toaster component tests from Enzyme to React Testing Library

Description
This issue is related to refactoring the Toast.test.tsx and Toaster.test.tsx file tests.
We've recently been migrating our tests from Jest + Enzyme to Jest + testing-library/react to support a full migration to React 18.
You may refer to this previous PR beginning the migration for code examples - https://github.com/dcos-labs/ui-kit/pull/771.
Acceptance Criteria
Refactor the test to use React Testing Library instead of Enzyme (which is no longer supported with React 18).
More information: Migrate from Enzyme
How to Contribute
Please review the contributing documentation beforehand.
Steps to Contribute:

Fork the repository.
Clone it to your local system.
Create a new branch.
Make your changes. Make sure that tests are still passing. To update snapshot tests, run npm run test -- -u and include the updated tests in your commit.
Commit your changes.   For example, refactor: <component_name> tests.
Push up your changes. In GitHub, click the compare & pull request button to begin drafting your pull request.
Fill out the pull request form and attach the "ready for review" label when complete.

Can I work on this issue?

I've assigned you thanks @deek121477

Let us know if you need any help here as well!

This issue has been completed so I am closing it.


Emulation stopped working

Describe the issue
On the newest version (4.1.3) emulation and jit is not supported through trollstore. It was in a previous version (I think it was 4.1.1) but after upgrading it stopped working and gave me an alert.
Configuration (required)

UTM Version: 4.1.3
OS Version: 15.5b4
Device Model: iPad Air 5
Is it jailbroken (name jailbreak used)? No (TS)
How did you install UTM? TrollStore

Crash log
n/a
Debug log
n/a
Upload VM
n/a

It’s been fixed in https://github.com/utmapp/UTM/commit/cd77a5ef0611faaadc6144066773e57af6903ae7


Confirmation Message after Suggesting Event

Go to events, click suggest, type a message, click save, send.  Nothing happens.  After 30 seconds or so you get the error "the request timed out."

Message ends up being delivered to admins but it doesn't look like it to the end user.

We should add a confirmation message: "Thanks for submitting that event!"

I'm not able to replicate this... @applbaum This wasn't an action that you took after a period of inactivity, was it? The staging server "spins down" if no one is using it for a while. So, I'm wondering if you made the request and things timed out before the server spun back up. This won't be an issue in live.
If it's repeatable on your end, can you let me know what region you are sending comments for?
Tested on iphone 7 and 9.7" ipad pro, Portland region. Got back "Thank you for the message" notification.

It was after a period of inactivity in staging and I was just able to reproduce it again after a long inactivity.  Therefore, you are probably right about it not "waking up" in time.

Closing!


Unable to update mounted config.json

I'm having a similar issue to the currently open issue (https://github.com/kerberos-io/agent/issues/63) regarding pixel region not updating in the mounted config. However, with my mounted config none of the settings are saving from the configuration panel. Total noob here, was I supposed to give the container permissions for it to be allowed to update the config.json on the host machine?

Not sure if this is linked -> https://github.com/kerberos-io/agent/issues/80

Thanks for the link, I'll test it asap and let you know.

Hey @cedricve,
Thanks for the link! My user owned the directory, but telling the container to use the host credentials seems to have fixed it.
Ran the container with these settings and seems to be saving properly now.
docker run -p 80:80 --name mycamera \ -v /home/user/agent/config:/home/agent/data/config \ -v /home/user/agent/recordings:/home/agent/data/recordings \ --user 1000:1000 \ -d --restart=always kerberos/agent:latest

Makes sense. I'll try that if I spin up another kerberos agent.